0 votes

I had my pdf looking just right and I made an archive. Then the translation team needed to make a bunch of changes. This took several months. In the meantime, PTXprint has changed and maybe I’ve changed things. When I produce the pdf now it doesn’t look good. How can I take what is in the archive and restore it to the right places so that I can use the same settings I had back then?

PTXprint by (256 points)

2 Answers

0 votes

First close PTXprint, then if you unzip the PTXprint Archive file (e.g. <XYYprj-CfgName>PTXprintArchive.zip) into a temporary location and then copy the various config settings found in this folder to your live project, then it should all just work as before:

\XYZprj\shared\ptxprint\CfgName\

But, if the TeX macros have changed (which is quite likely if we’re talking several months since you last ran this Prj-config), there could be layout changes which will throw off all the careful alignment/balancing work that you’ve done. However, the archive also contains a backup copy of all the TeX macros, so you can tell the current version of PTXprint to use those older macros if you wish to match the output precisely. To do this, you will need to use the command-line parameter** to point to the location (\src folder) of those older TeX macros:

ptxprint.exe -m “path-to-old-macros”

I hope this helps get back to where you want things to be.

** Note that using the command-line options isn’t as slick as it should be. More information here.

by (2.6k points)
edited by
0 votes

You might also notice that there is a recently added command-line option -Z “full-filepath-to-zip-archive” which will unpack an archive for you into the location set by -p “path-to-temp-projects-location”. (But be warned that if you run again with -Z it will erase the previously unzipped files and re-create them afresh from the .zip file. So avoid running it with -Z twice if you intend to keep any config changes.)

by (2.6k points)

Related questions

0 votes
1 answer
0 votes
3 answers
0 votes
1 answer
0 votes
5 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
May the God who gives endurance and encouragement give you the same attitude of mind toward each other that Christ Jesus had.
Romans 15:5
2,614 questions
5,349 answers
5,037 comments
1,420 users