0 votes
206 views

I can pull in the prefaces in a diglot using this sequence in the local front matter:

\rem -------------------------------------------------------------------------
\periph Inline Prefaces|id="prefaces"
\rem -------------------------------------------------------------------------
\zNeedOddPage
\resetpagenums -1
\dopagenums
\rem Prefaces are pulled in from the T1=L and T2=R INT books using periph
\zglot|L\*
\zgetperiph|side="L" id="preface"\*
\pagebreak
\zglot|R\*
\zgetperiph|side="R" id="preface"\*
\rem The next line never gets removed in diglots
\zglot|\*

Now I need to pull in the preface in a monoglot publication.

I tried this but it did not work:

\rem -------------------------------------------------------------------------
\periph Inline Preface|id="preface"
\rem -------------------------------------------------------------------------
\zNeedOddPage
\resetpagenums -1
\dopagenums
\rem Preface is pulled in from the INT book using periph
\zgetperiph|id="preface"\*
\pagebreak

How can I change this to make PTXPrint pull in the preface in my monoglot publication?

Thanks for any help you can give me on this.

John Nystrom

PTXprint by (312 points)
reshown | 206 views

3 Answers

0 votes

My guess is that PTXprint is confused by a \periph called “preface” which is trying to import (another) \periph called by the same name “preface” from the INT book.

Try changing the first one to something else (like “prefaces” in the earlier example) to see if that solves the issue.
image

by (3.2k points)

Thank you for the suggestion.

I changed it to id=“Intro” but that did not help.

JN

0 votes

FYI - this turned out to be a stray/unwanted command referring to a diglot setting in the previous \periph section. Once that was removed, it all worked as advertised. The lesson learnt from this is that these files are fragile, and something in one section may even affect something else further down. The way to pinpoint the problem is to isolate it to a particular \periph, or combination of \periphs.

by (3.2k points)
0 votes

When naming periphs, please check the ‘defined names’ list in the USFM standard. Also avoid the names used in making covers: coverspine, coverfront (The standard name, cover is used on the front if this is not defined), coverback and coverwhole, unless they are actually what you want to define.

Please do note while you can make use of previously stored periphs with \zgetperiph, that is not something in the standard. Also, note that you cannot nest a periph, and I have no idea if you can use zgetperiph to include a periph that contains another zgetperiph. It might get nasty. Also, periphs are not nesting. (And there is no \+periph)

by (1.1k points)

Related questions

0 votes
3 answers 247 views
I am able to include our preface using this in the local front matter in PTXPrint: \rem ------------------ ... . Thanks for any help you can give me on these issues. John Nystrom
john_nystrom 312 asked Jan 19, 2023
+1 vote
1 answer 255 views
I don't believe that the MASTER SLIDES have sufficient information on setting up use of the Ornaments plugin in ... any ornaments. What are the basic setup steps required?
jeffh 1.4k asked Apr 8, 2024
0 votes
1 answer 25 views
I'm working with someone who has correctly (as far as I can tell) associated his FLEx project in Paratext. But when ... ' genre. What could be going wrong here? Thanks, Aaron Wade
aaron_wade 124 asked Dec 1, 2025
0 votes
2 answers 34 views
Can someone help walk me through setting up and using a diglot? I have downloaded several resources onto ... Public Domain English translations/our own project back translation?
Jordan K 110 asked Apr 6
0 votes
1 answer 17 views
I am using PTXprint 3.0.11 but haven't used it for a while so there are new features. I want to print select verses using the configuration I used previously. thanks!
MnKN 134 asked Feb 21
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Live in harmony with one another. Do not be proud, but be willing to associate with people of low position. Do not be conceited.
Romans 12:16
3,037 questions
5,995 answers
5,661 comments
2,022 users