我正在排版一本单卷《创世记》出版物。我们希望在目录中显示 7 个“主要章节”标签,这里讨论的解决方案基本上有效。
https://support.bible/11592/toc-for-bible-modules
然而,PTXPrint 生成的目录坚持显示 \toc2 和 \toc3 的空列。
我截图中的绿色方块显示了我手动输入的目录行(但我希望的样子,不过页码列是空的)。上方是 PTXPrint 生成的目录。第一行包含《创世记》的条目:toc1 “全称” toc 2 “简称” toc3 “缩写”。我不希望目录中出现这一行。
主要章节 显示正确,但由于每个章节下缺少 toc2 和 toc3 字段,换行效果不佳。我想去掉红框中的引导符,只显示 toc1 和页码列。我尝试过
- 删除 GEN 1:0 中的 \toc* 行,但 PT 太聪明了——它不断重新插入它们。
- 删除经文引用列表条目,但它们不断在列表中以及生成的目录第一行中重新出现。
- 我在 Scr.Ref.List 中为每个 GEN 条目只输入了一个句点,但名称仍然出现在目录中。
- 我创建了一个新项目,并在删除 toc 条目后将 GEN 导入其中。不知怎的,PT 竟然把那些烦人的书名条目带到了新项目中!

在某个阶段,我曾将每个章节的 \mr 引用复制到 \toc2 行中(如我的模拟表格所示),但这没有帮助,所以我手动将引用移到了 \ms+\toc1 行中。
关于如何去除生成的目录表格中空的 toc2 和 toc3 列,大家有什么想法吗?或者我应该只在前置部分使用我手动输入的表格,并在最后排版步骤中添加页码?
I'm typesetting a single-book Genesis publication. We want to display 7 "Major Section" labels in the TOC, and the solution discussed here works, mostly.
https://support.bible/11592/toc-for-bible-modules
However, the TOC generated by PTXPrint insists on displaying empty columns for \toc2 and \toc3.
The green square in my screenshot shows my manually entered TOC lines as I want them (but with an empty page number column). Above this is the TOC generated by PTXPrint. The first line contains the entries for Genesis: toc1 "full name" toc 2 "short name" toc3 "abbreviation". I do not want this line in my TOC.
The Major Sections appear correctly, but they wrap poorly because of the missing toc2 and toc3 fields under each section. I want to get rid of the leaders in the red box, displaying just toc1 and page# columns. I have tried
- deleting the \toc* lines in GEN 1:0, but PT is too smart for me–it keeps re-inserting them.
- deleting the Scripture Reference List entries, but they keep popping back in both the List and in line one of the generated TOC.
- I entered just a full-stop in the Scr.Ref.List for each of the GEN entries, but the names still pop up in the TOC.
- I created a new project and imported GEN into it after deleting the toc entries. Somehow PT carried those pesky book name entries along into the new project!

I did, at one stage, duplicate \mr references for each section into \toc2 lines (as in my mock-up table), but this didn't help so I moved the references manually into the \ms+\toc1 lines.
Any thoughts on how to get rid of empty toc2 and toc3 columns in a generated TOC table, please? Or should I just use my manually entered table in the Front Matter, adding page numbers to it as the final typesetting step?
机器翻译自 English