0 votes

Hi

I've tried a number of options for the scripture reference in the header in PTXPrint, and the behaviour seems a bit strange.

1 - When I try to choose Reference Range in the Header+Footer selection, the range separator alternates randomly between the em-dash I currently have in the PT reference settings, and language-specific alternative (faa ). I've now removed the alternative (faa ) altogether from the PT ref settings (s/r, restart PT and PTXprint etc.), but this problem persists. I can't find where this is persisting - maybe it's somewhere in the hidden system program files.

\def\RangeSeparator{\kern.1em faa \kern.1em} % what to put between first - last of a reference range

2 - When I choose First Reference, this puts the first reference on the odd pages, and the last reference on the even pages. Not what I want.

%% Even Header
\def\RHevenleft{\empty}
\def\RHevencenter{\lastref}
\def\RHevenright{\empty}

%% Odd Header
\def\RHoddleft{\empty}
\def\RHoddcenter{\firstref}
\def\RHoddright{\empty

If I try and correct this in ptxprint-mods.tex, the corrections are inserted at the top of the file, so would be over-ridden by the above.


Any thoughts? Phil

PTXprint by (124 points)
edited by
Hi Phil. It makes life much easier for us if you're able to "Create Archive..." using the button on the Help tab and then send it to us. I'm not sure how "faa " is still being remembered if you have changed the setting, and saved the project in Paratext, AND restarted PTXprint.

Regarding the header, anything in ptxprint-mods.tex should get inserted to overwrite the UI settings. You have told us what you don't want, but I'm not clear on what you DO want to appear.

What timezone are you in. It might be quicker to do a Zoom call to iron out these issues quicker. Let me know on ptxprint_support @ sil.org (remove spaces obviously).

1 Answer

+1 vote
It looks like you know enough of what you are doing to take the necessary control. The good news is that you don't have to edit the TeX files you can just override the settings. That is what ptxprint-mods.tex is for. Enable that in advanced and then edit it to put in the particular \RHoddleft or whatever definitions you want. These will override whatever ptxprint is putting out. I do wish you every success in getting what you want. If you are still having difficulties perhaps one of our people can work through this with you.
by (656 points)

Thanks Martin

I've put the changes in ptxprint-mods.tex as you suggested. This solves the problem of the first/last references.

For the reference ranges - I have put in this line:

\def\RangeSeparator{\kern.1em —\kern.1em} % what to put between first - last of a reference range

In the headers I mostly get one em-dash sometimes, but occasionally there are two. I guess \kern.1em is an em-dash anyway. Do I need to change this?

The \kern .1em is a hard space of .1 * the point size of your main text. The - following it is the emdash. You can change all of that to be whatever you want it to be. The kerns are useful to give some space around whatever you put in the middle. Feel free to increase the values if you are using real words there (e.g. .4em). Tweak to taste :)
Thanks - I've just sent my archive to the PTX support email re. another thread which Mark responded to.
deleted a comment that was here.
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,033 questions
5,988 answers
5,657 comments
2,020 users