0 votes

Print Draft is mostly working fine. We have people with special needs, so managed to boost font size to 16. And got the “DRAFT” footer comment, away from the edge of the paper, so it will get printed.

(Background information:
Our main stylesheet is usfm_blo.sty. It is not in the project folder but one layer above, in the main PT8 projects-folder, because we are using one special marker for our local admin needs: \zblo

Since \zblo is not mentioned in usfm.sty, we did not manage to tweak it in our custom.sty at project-folder level. So our custom.sty is basically empty.

This is just background in case it might be relevant. Please note that all the above is working great within PT8.)

There are only a few details not working as expected:

This is a specific example of our problem:
We use the normal marker \add … \add* a lot for translation-acountability.

But in print draft I want to remove the default bold and italic format and have put
\Bold -
\Italic -
into our \PT8\BLO02\PrintDraft\PrintDraft-mods.sty. The print draft process seems to ignore this.

It also ignored all my testing with font-sizes and colors (because I suspected the syntax " -" to be the issue). So feels like the entire file is being ignored. Does this work like CSS, where I only write what needs to be changed, or do I need to copy the entire definition for \add from our usfm_blo.sty and then edit for overrides?

Interestingly, I also have some page-layout tweaks in our \PT8\BLO02\PrintDraft\PrintDraft-mods.tex and all those are being applied just fine.

What are the proper steps please to include our PrintDraft-mods.sty in the PDF generation process please? I tried guessing many tricks (like re-starting PT8 after each edit) but did not succeed.

The help does not mention printdraft-BLO02-LUK.log any more, just PrintDraftChanges.txt (which is working fine).

The printdraft-BLO02-LUK.log is showing one mysterious line:
(no adjustment list “C:/Users/…/PT8/BLO02/PrintDraft/43LUKBLO02-draft.SFM.adj” found)

And Google did not bring up anything about such an “adjustment list”. Do I need to make one? Is this new in PT8?

Any help is welcome, because that project is entering a phase, where a lot of drafts shall get printed on paper in different layouts (one double-spaced and several normal-line-spaced) for testing with people outside the office. So getting a good grasp of the print draft will help a lot. Thank you.

Paratext by (842 points)
reshown

1 Answer

+1 vote
Best answer

In PT8 you need to use \Regular in your custom.sty style sheet to turn off \Italic \Bold and \Underline . You may need to do this in your case as well.

by (1.8k points)

Awesome, CrazyRocky you made my day. It is 22:52 h local time and I hereby call it a day.

All my print draft settings are now working as expected on most markers: colors, fontsize, weight of font, etc.

That syntax change from “\Bold -” to “\Regular” needs to be corrected in the inbuilt PT8 help please:

How do I implement a custom stylesheet for my project?

is stil giving this:

Marker attributes can be removed as follows:
\Marker pn \Bold -
…will remove Bold from \pn
and:
\Marker pn -
…will remove \pn altogether.

And for other supporters or power-users who want to learn more about their Print Draft, I found this very helpful little trick:

If you hold down CTRL when clicking OK, Print Draft will preserve all of the temporary files created and needed by XeTeX for producing the final PDF. These might be of interest for users concerned with understanding and further customizing the output process.

And then, reading the logs, you will discover other very helpful documentation, hidden on your computer like this:
"C:\Program Files (x86)\Paratext 8\xetex\share\texmf-dist\tex\ptx2pdf\ptx2pdf-MacroSetupParameters.pdf"

So all is well for now. This was an amazing finale for an office day: The helpful answer within minutes of asking. Thank you again.

FWIW, the syntax of including a ‘-’ to turn off bold, italics, and underline does still work for normal stylesheets (for backwards-compatibility reasons). However, because of some limitations with XeTex (i.e. no one on our team is fluent in it :sweat:), the ‘-’ syntax does not work for Print Draft.

Thank you @anon291708 for this extra information.

Still I am mildly worried about your little aside

no one on our team is fluent in it (XeTex)

because that gives me less hope for my next question about hyphenation tuning…

Related questions

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They devoted themselves to the apostles’ teaching and to fellowship, to the breaking of bread and to prayer.
Acts 2:42
2,475 questions
5,169 answers
4,863 comments
1,278 users