Copy link to clipboard
Copied
I have a FM 2022 document with two columns. Each column is a separate text flow, so I have text flow A and text flow B. Two columns - two languages. When I generate a standalone TOC I would ideally like FrameMaker to generate two TOC's. The TOC has the same page layout as the chapters. So two columns with a toc in each column. But I can't figure out how to make FrameMaker generate a toc in each column. FM insists on putting all headings in ONE column. Which is what I kind of expected, but can it be done the way I want? Having FM separate the two toc's?
Copy link to clipboard
Copied
I can't think of a way to do this with stock FrameMaker unless you have two separate books and TOCs and then combine them into a two-column document with text insets. Otherwise, we can probably devise a clever scripting solution.
Copy link to clipboard
Copied
With paragraph numbering you could add a counter at the beginning of the paragraph. In the left column let it start with 1 and in the right column add a character like # before the counter. And after the counter add a unique character like &.
This would be something like:
<n>< >& for the first column
#< ><n>@ for the second column
Then update your TOC. This way the TOC headings of the two columns are not mixed.
Then you can cut the TOC headings of the second column easily and paste them into the second TOC column
And then delete all this special numbering with regular expressions.
Not elegant, but not too many extra steps.