• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Create TOC from document with two text flows

Community Expert ,
Feb 28, 2023 Feb 28, 2023

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?


BjĆørn Smalbro - FrameMaker.dk

Views

142

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 28, 2023 Feb 28, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 28, 2023 Feb 28, 2023

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines