首先关闭 PTXprint,然后将 PTXprint 存档文件(例如 <XYYprj-CfgName>PTXprintArchive.zip)解压到一个临时位置,并将该文件夹中找到的各种配置设置复制到您的当前项目中,这样一切应该就能像以前一样正常工作:
\XYZprj\shared\ptxprint\CfgName\
但是,如果 TeX 宏已经更改(如果我们说的是距离上次运行此 Prj-config 已经过了几个月,这种情况很有可能发生),可能会出现布局变化,从而破坏您所做的所有精心对齐和平衡工作。不过,存档中还包含所有 TeX 宏的备份副本,因此您可以告诉当前版本的 PTXprint 使用这些旧宏,如果您希望精确匹配输出结果的话。要做到这一点,您需要使用命令行参数** 指向这些旧 TeX 宏的位置(\src 文件夹):
ptxprint.exe -m “path-to-old-macros”
希望这能帮助您恢复到想要的状态。
** 请注意,使用命令行选项的体验并不如预期般流畅。更多信息请参见此处。
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.
机器翻译自 English