0 votes
78 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) | 78 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 396 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 573 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 53 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 868 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 492 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.
I appeal to you, brothers and sisters, in the name of our Lord Jesus Christ, that all of you agree with one another in what you say and that there be no divisions among you, but that you be perfectly united in mind and thought.
1 Corinthians 1:10
3,049 questions
6,008 answers
5,673 comments
2,029 users