0 votes
24 views
I would like to do something like the following in my local FRT, but cannot find enough documentation to know how to do it:

If the zvar "version-name"  = "readers version", then output \pb. Else, output \zNeedOddPage
I found enough documentation on this subject on github and PTXprint technical reference to know it should be possible, but with no examples, it is hard to know what to do.
PTXprint by (206 points) | 24 views

1 Answer

0 votes
You can't easily check the content of zvars, at the moment, sorry, it is only testing to see if the value has been set or unset (and what set-but-empty counts as).
This might work, it takes advantage of \zifvarset setting \tmp to be the variable's value internally, if it is configured...

\let\tmp\empty
\def\readersversion{readers version}
\zifvarset|version-name\*
\ifx\tmp\readersversion
%READERS VERSION STUFF HERE
\else
% Default case here.
\fi
by (1.1k points)

Related questions

0 votes
2 answers 324 views
L.S. We are preparing a publication of Old Testament selections via a Bible Module. Instead of adding Front and Back matter ... , GLO etc have all been used for the New Testament.)
goodgoan 347 asked Apr 12, 2023
0 votes
3 answers 452 views
L.S. I am looking for a paratext resource or example project that has the FRT, INT, BAK and OTH well filled ... have these Thanks for pointing me in the right direction.
goodgoan 347 asked May 13, 2021
0 votes
1 answer 23 views
I have a similar problem but can't figure out how to force my local FRT to keep doing roman numerals right straight ... ,3. But that pretty much defeats the purpose of \zgetperiph.
mvk1000 206 asked Aug 1, 2025
0 votes
3 answers 738 views
In our project, we sometimes put a word or two from the national language (Khmer) in a footnote or glossary entry, and ... into the text. Is there any way to overcome this? Thanks!
viverechristus 296 asked May 26, 2020
0 votes
2 answers 367 views
L.S. I would like to be able to specify a colour code of some sort in Paratext, to be used in the orthography ... file for colour output? Thanks in advance for your help. goodgoan.
goodgoan 347 asked Apr 18, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
3,037 questions
5,995 answers
5,661 comments
2,022 users