sillsdev / ptx2pdf

XeTeX based macro package for typesetting USFM formatted (Paratext output) scripture files
21 stars 7 forks source link

Add UI for margin verse marker #886

Open markpenny opened 11 months ago

markpenny commented 11 months ago

\def\marginversemarker{*}

where * is whatever marker you want to use. Note that you can also add a kerning space after the marker if required. So, for example, if you want a dash ‘-’ to be the marker to show where the verse starts and then have a 1pt space before the 1st word of the next verse, then use this:

\def\marginversemarker{-\kern 1pt}

Currently this does it everywhere (even at the start of a paragraph/line) which may not be ideal, but it is as far as we’ve got so far.

https://community.scripture.software.sil.org/t/marker-for-the-inside-text-of-verses/3750/2

I have several projects who are asking for this feature and I’m not sure how tech savvy they are to follow your excellent instructions. They want to use this for community checking the books and portions as they work through the translation process.

davidg-sil commented 11 months ago

There was a snippet around for making these marks, and them only occurring mid-paragraph, maybe a year ago. I'll have a look.

davidg-sil commented 11 months ago

OK, I can't find the snippet, but I've reimplemented it. Once I've pushed (I'm running pytest now), then if you only want them mid-paragraph, set \noparstartmvmtrue (the default) otherwise \noparstartmvmfalse.