0 votes
156 views

I'd like to include multiple introduction articles to the ToC. So it would look like this:

Article 1 .... i

Article 2 .... ii

Article 3 ... iii

Book 1 .... 1

But I can't get it to work. If I add \toc1 lines into either the FRTlocal.sfm file or into the PT INT book that it's pulling from, I get one toc entry (the final \toc1 that I add). And it has page number 1, not the roman numeral number that it ought to have. Also, very oddly, in the temporary _ptpx.toc file it's listed with the id code of Book 1 (which means that code is used twice). I'd expect it to either use \id FRT or \id INT. And if it requires different id's for each \toc1, I'd expect that adding in \id lines would reset things even if they weren't at the beginning of the file.

Any idea of how I could do this?

PTXprint by (1.9k points) | 156 views

1 Answer

0 votes

I realize that you are trying to automate this completely, and hope that MH might have a more elegant and longer-term solution for you. But in the meantime, have you considered using \ztocbefore and manually adding the entries at the start of the generated ToC?

by (3.2k points)
Yes, I had considered that. In typical fashion, I spent an hour or two trying to get it to work with no success, then as soon as you suggested it, I tried the same thing again and it worked! It's sufficient; since it's an intro, I won't need to worry about page numbers changing as I continue work (like pagination).

A couple questions:

I actually thought the --- \cat toc\cat* --- information in the repository might be a mistake until I saw your example here. Is that needed one time, and then after that it's not needed?

Is it possible to turn \ztocbefore off? For example, if I'm printing an OT ToC and then a NT one, can I have the intros before the OT toc but not before the NT one?

Related questions

0 votes
1 answer 193 views
I don’t seem to be able to print the introduction. Just the chapters. I tried starting from chapter 0, but that didn’t seem to work.
anon088806 115 asked Sep 30, 2023
0 votes
2 answers 35 views
I cannot figure out how to do this. I turn on the TOC options, and check the TOC1 box and my TOC just ... to an unrecognized setting in ptxprint_mods.tex PTXprint Version 3.0.7
[Expert]
sewhite
3.3k
asked Jan 13
0 votes
2 answers 300 views
I'm typesetting a single-book Genesis publication. We want to display 7 "Major Section" labels in the TOC, and the ... , adding page numbers to it as the final typesetting step?
KimB 670 asked Jun 26, 2024
0 votes
1 answer 49 views
We are typesetting a diglot project using PTXPrint, and the primary project has book introductions but the secondary ... full-width mode and back again? Or other suggestions?
marvinson 304 asked Oct 18, 2024
0 votes
1 answer 14 views
Is there a style for the TOC title? I would like to add some blank space before the TOC title, and haven't found a way to do that. Jeff
jeffh 1.4k asked Dec 5, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And over all these virtues put on love, which binds them all together in perfect unity.
Colossians 3:14
3,037 questions
5,994 answers
5,661 comments
2,022 users