sillsdev / ptx2pdf

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

Change the default behaviour so that FN/XR callers are reset at every book #923

Closed markpenny closed 8 months ago

markpenny commented 8 months ago

According to GPS, the callers need to be reset at the start of EVERY BOOK. However, we should also be able to override that behaviour if the user prefers not to do so. (perhaps a TeXhacks checkbox)

davidg-sil commented 8 months ago

I'll implement this on the TeX side as \ifbookresetcallers (true to do it)

davidg-sil commented 8 months ago

There is a potential clash between \bookresetcallerstrue and \PageResetCallers(f) I propose to make it so that book resets only happen to a given marker if page-based resets are not happening.

davidg-sil commented 8 months ago

Patched in 1131922eb5da

markpenny commented 8 months ago

@davidg-sil I couldn't make it work, and don't see any reference to bookresetcallers in the code, so wonder if something didn't get saved before you pushed.

davidg-sil commented 8 months ago

Fixed now, I hope! A key file got left out :-(