0 голосов
273 просмотров

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 от (934 очков)
снова показан | 273 просмотров

1 ответ

+1 голос
Лучший ответ

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.

Старое сообщение — показано на исходном языке
от (1,8тыс. очков)

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…

Старое сообщение — показано на исходном языке

Похожие вопросы

0 голосов
4 ответов 877 просмотров
In Print Draft (PT 9), if I select Page Size A5 and also select two columns, the format of the first page is all ... we can do booklet printing and get two A5 pages on one A4.
viverechristus 296 задал вопрос мар 2, 2020
0 голосов
1 ответ 243 просмотров
I found several threads here about Print Draft Changes. I have used them for a few years now. For one project I would ... or two working examples, that would help a lot. Thank you.
Tim 934 задал вопрос фев 1, 2019
0 голосов
3 ответов 533 просмотров
I filed a problem report a while ago but I also wanted to ask whether anyone has seen this sort of problem or has ... might be possible and what dependencies I could look out for.
rowbory 510 задал вопрос авг 9, 2017
0 голосов
1 ответ 366 просмотров
A user is using the Khmer script for their project. They are using the Khmer Mondulkiri font. In the project text ... of how it looks in PrintDraft, U+17C9 incorrectly above letter
[Expert]
sewhite
3,3тыс.
задал вопрос апр 27, 2015
0 голосов
3 ответов 348 просмотров
I am trying to adjust the line spacing of the main title in Print Draft in PrintDraft-mods.sty, because some main titles ... in the same way. How can the line spacing be changed?
Paulus Kieviet 517 задал вопрос авг 21, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Accept the one whose faith is weak, without quarreling over disputable matters.
Romans 14:1
3,048 вопросов
6,007 ответов
5,672 комментариев
2,028 пользователей