当我打开项目时,我看到样式表列示为 usfm.sty,然后在右侧显示 (Customized)。 我假设您看到的是不同的内容,可能是某个与 usfm.sty 名称不同的文件。
如果您关闭 PT 并在项目目录中打开 Settings.xml 文件,那么您应该能够手动更改样式表名称。我认为,如果您将其命名为 usfm.sty(并确保当前目录中不存在该文件),它将在上一级的 My PT # Projects 文件夹中查找 usfm.sty,并且也会使用 custom.sty。
然后您需要将必要的样式移植到 custom.sty 中。这可能会有点繁琐,因为通常您只需要列出更改 usfm.sty 的地方,而您旧的自定义样式表可能包含许多仅复制默认值的地方。
When I open my projects, I see the Stylesheet listed as usfm.sty and then off to the right, it says (Customized). I'm assuming you're seeing something different, probably something with a different name instead of usfm.sty.
If you close PT and open the Settings.xml file in the project directory, then you should be able to manually change the stylesheet name. I think if you name it as usfm.sty (and make sure that file isn't present in the current directory, then it will look for usfm.sty in the My PT # Projects folder one level higher, and also use custom.sty.
You would then need to port the necessary styles into custom.sty. This can be a little tedious because in general you only want to list places which change usfm.sty, whereas your old customized stylesheet probably had lots of places which just copied the default values in.
机器翻译自 English