0 votes

Just a heads-up here that some stuff in changes.txt can cause the new PDF viewer's right click menu to be truncated to just "zoom to fit" and "zoom to 100%" (no options to shrink or expand or edit style).  Only by commenting out ALL of changes.txt was I able to get the right click menu back again. For what it's worth, by a process of elimination I found that the following change (and maybe others, too) was the culprit:

at GAL 0:0  "(\\mt1 Maktup na Pol ada gumbulu kina Galati)" >   "\\esb\n\\cat middle \\cat* \1 \n\\zgap|-4mm\* "

Anyway, if you can't get the full menu, start commenting out your changes file.

*** Actually on further study, it has nothing to do with the changes.txt file. It looks like the truncated right-click menu is due to the presence of the \esb ... \esbe in the file (which in my case was being inserted by changes.txt).    

PTXprint by (187 points)
edited by

3 Answers

0 votes
We'll have to dig into this sometime. For the right-menu to work then each paragraph needs to be uniquely identified by the TeX code in a way that the viewer can read the .parlocs file and understand. esbs and figure-captions probably add several layers of confusion, both to the bit that does the identifying and the bit that tries to understand it.
t
I was going to write that  'automatic sidebars' (cat:headingsbox|esb  / cat:titlebox|esb) are handled by the same code, so there's not much point in trying them. However, if I remember correctly, there are some subtle differences in the sequencing, i.e. I think they generate a normal heading block, and then put that inside a sidebar, meaning that you won't ever get something like a cat:headingsbox|s1 to work, where in your example, cat:middle|s1 would be valid styling.

So it might be worth trying if you're feeling adventurous. All this is from months old memory, though, without re-reading the code, so I could be sending you on a wild goose chase..
ago by (753 points)
0 votes
Thanks for that explanation. Makes sense.  This is a longshot, but is there any chance you do something so that the right-click menu still works for the "normal" text which CAN be identified in the .parlkocs file, even if it can't work for the esb material? There is a precedent for this in that the right click menu doesn't work on footnotes (probably for similar complexity reason) but that doesn't seem to keep it from working on everything else. As it is, the right-click menu works nowhere at all when there is any esb anywhere in the file.
ago by (187 points)
0 votes
We rushed to get something out the door in time for Christmas, but have a long way to go on this new feature. So, yes, our hope is that we will gradually be able to increase the scope of what one can do with the right-click context menu.  For example, resizing or relocating Pictures, and possibly shrinking/growing footnotes and other peripheral materials. But don't hold your breath - there are some other pressing priorities for early in the year.
ago by (2.6k points)

Related questions

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And I tell you that you are Peter, and on this rock I will build my church, and the gates of Hades will not overcome it.
Matthew 16:18
2,657 questions
5,411 answers
5,076 comments
1,465 users