sillsdev / ptx2pdf

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

An issue to list files missing from archives #820

Open davidg-sil opened 1 year ago

davidg-sil commented 1 year ago

Missing files, where they were included, and suggested solutions.

(recent TestPicPages archive from @markpenny )

  1. applyHyphens.py says: d = readHyphens(os.path.join(os.path.dirname(sys.argv[0]),"..", "..", "hyphenatedWords.txt")) a. Parse python scripts?!? b. Allow user to supply extra files they happen to know are needed? c. Prompt user (and store result) when custom scripts involve any open() commands??

  2. ptxprint-mods.tex says: \setbox\stretchedversestarbox=\hbox{\XeTeXpdffile "c:/Users/Mark/BridgedVerseRoundedBox.pdf" scaled 760 \relax}
    a. check .tex files for XeTeXpdffile / XeTeXpicfile

  3. ProjectDir/shared/ptxprint.sty says \FontName Padauk Book a. Keep track of locally defined par/charstyles, and make sure the required fonts are actually included in the archive (copyright permitting)!

markpenny commented 3 months ago

@mhosken While you're in this neck of the woods chasing down missing font files for the ZIP archive, do you want to think about whether we can/should also add the kinds of files mentioned above?

mhosken commented 1 month ago

If you find a file that is missing from the archive that should have been added because there is a direct reference from ptxprint, then raise a bug for it. This issue is unactionable since it asks to find all future bugs. Notice that any files in the shared/config directory (but not subdirs) is included in the archive, so if someone has a secondary reference to a file (because say a script references it), then it is best if they put a copy in the their shared/config directory, where it will be shared with all other team members so they can typeset too.