• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

TOC, LOF, and LOT formatting

Explorer ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

I am constantly struggling to get my TOC, LOF, and LOT to format the way I'd like from project to project. I have had the most success with importing the formatting from a previous file that has the look I am after. (attached file) When I import the format of the desired TOC I still have to reformat the "Title" above the TOC entries and sometimes I have to reformat the tabstops and the <$paranum>-<$paratext> tabstop<$chapnum>-<$pagenem> I have tried saving as a template but I do not think I am doing it correctly as I have yet to make a "plug and play" TOC, LOF, or LOT. Any tips on how to do this would be greatly appreciated. Thank you!

TOPICS
Formatting and numbering

Views

1.2K

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

correct answers 1 Correct answer

Community Expert , Jul 29, 2020 Jul 29, 2020

Do you have a TOC that does exactly what you want? If so:

 

  1. Copy the good TOC file to a template directory and rename it TOC.fm.
  2. Delete the text content in the file but leave the master pages, reference pages, and all catalogs intact. Save the file.
  3. Create a new book for your new document and copy the name. For example, if the book file is named StartingWithFrameMaker.book, copy "StartingWithFrameMaker".
  4. Copy the TOC.fm file to the directory that contains the StartingWithFrameMaker.book file.
  5. R
...

Votes

Translate

Translate
Community Expert ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

Rather than importing, try copying the "templates" to another book. After you make copies, you need to:

  1. Rename the files based on the book name at the desktop--not in the book. (Place the files in the same folder as the book file.) For example, if the book name is "MyNewManual.book", your TOC would be named "MyNewManualTOC.fm." Same for the LOT and LOF files. 
  2. Back in FrameMaker, do not add the renamed TOC, LOT, LOF files into the book--you must generate them (as if the first time). If the files are named correctly, the newly generated files will be created using the formats from the files in the folder. 
David Creamer: Community Expert (ACI and ACE 1995-2023)

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
Explorer ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

I am not sure I follow 100% do you know of a video tutorial or something that I can see the process step by step? I am sure what you are suggesting will work well I am just confused about how you are describing the technique used to accomplish this. Thank you for your answer and your patience to try to explain this.  

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 ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

Do you have a TOC that does exactly what you want? If so:

 

  1. Copy the good TOC file to a template directory and rename it TOC.fm.
  2. Delete the text content in the file but leave the master pages, reference pages, and all catalogs intact. Save the file.
  3. Create a new book for your new document and copy the name. For example, if the book file is named StartingWithFrameMaker.book, copy "StartingWithFrameMaker".
  4. Copy the TOC.fm file to the directory that contains the StartingWithFrameMaker.book file.
  5. Rename the TOC.fm file to StartingWithFrameMakerTOC.fmDO NOT ADD StartingWithFrameMakerTOC.fm to the StartingWithFrameMaker.book.
  6. In the StartingWithFrameMaker.book file, add a new standalone TOC
    1. Click Insert > Create TOC
    2. Select the paragraph tags you want included in the TOC; do not select paragraph tags that end with TOC
    3. Generate the TOC.

FrameMaker will generate the new TOC and save it in the file you created (StartingWithFrameMakerTOC.fm).

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
Explorer ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

Thank you that makes much more sense. I will try this. One more follow up question. I have successfully laid out the TOC, LOF, and LOT but they end up looking rather plain. I usually go in after the fact and add titles "Table of Contnts", List of Figures", Lost of Tables" as a Heading but that gets overwritten when I update them any advice how I can include that info in the template just like the formatting. Thank you again for the tips!!

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 ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

Do you have your text symbols turned on? If so, you should see a T right before the first entry in your generated file, indicating a marker.

 

first marker in TOC.png

 

Put your cursor BEFORE that marker symbol (I usually put it in the line and press the Home key about 3 times) and press return a couple of times to move the generated entries down the page (the T needs to remain with the generated entry!), then insert your heading and apply the paragraph tag. If the heading tag has spacing below it (and it should, inserting extra lines is bad formatting), delete the empty paragraphs. The heading should remain the next time you regenerate.

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
Explorer ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

I am almost in business. I got the formatting of the chapters, sections, subsections, and appendix to function correctly but I can't get the "Title" to carry over to the Table of Contents generated output. Does the Table of Contents get saved to the master page in the TOC template? I currently saved that on the body pages with line spacing built in above and below the Heading "Table of Contents" but once i regenerate the Title gets overwritten. 

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 ,
Jul 29, 2020 Jul 29, 2020

Copy link to clipboard

Copied

Can confirm that what IDEAS-Training suggests works well. I keep a blank file in my templates folder I call TOC.fm with my layouts, reference pages, and tags all set up the way I want them. When I create a new book, I copy the TOC.fm file over to the new location and rename it as he suggests. 

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 ,
Aug 03, 2020 Aug 03, 2020

Copy link to clipboard

Copied

Sorry for the delay--it sounds as if you have this under control but here is a short video on reusing generated files:

https://youtu.be/ZsIBhfibsRg

 

David Creamer: Community Expert (ACI and ACE 1995-2023)

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
Explorer ,
Aug 07, 2020 Aug 07, 2020

Copy link to clipboard

Copied

From what I can see in the video I am doing what you demonstrate but the "templates" are still not being picked up by FM when I generate the TOC, LOF, and LOT it has none of the formatting.  I am not sure what I am missing as your video was simple enough to follow. Book Version of LOT, LOF, and LOT files (renamed)Book Version of LOT, LOF, and LOT files (renamed)"Template" (original name)"Template" (original name)book outputbook outputoutput when template is opened as stand alone documentoutput when template is opened as stand alone document

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 ,
Aug 07, 2020 Aug 07, 2020

Copy link to clipboard

Copied

How did you add the files to your FM Book?

 

Also, are the Tag/Styles names EXACTLY the same? If the style names are different, you will have to re-format the styles on the reference page.

David Creamer: Community Expert (ACI and ACE 1995-2023)

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
Explorer ,
Aug 07, 2020 Aug 07, 2020

Copy link to clipboard

Copied

As luck would have it I think I was copying your tutorial a little too well.. I added the .fm extension to the file names and had gotten into the beat my head against the wall pattern so even though what I was doing was correct I have file extensions hidden and thus when I added the .fm to InternalTOC it read it as InternalTOC.fm.fm and was not reading it correctly once I took the .fm off to make it InternalTOC the formatting came over perfectly thank you for your help. 

 

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 ,
Aug 03, 2020 Aug 03, 2020

Copy link to clipboard

Copied

I like your video, David. 😊

 

I've also got the instructions on my blog, Dustin, along with links to related posts that may be helpful down the road:

https://www.rockymountaintraining.com/reusing-a-framemaker-toc-or-index/

 

~Barb

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
New Here ,
May 01, 2022 May 01, 2022

Copy link to clipboard

Copied

Hi Barb.  Your site is blocked on both my work network and my personal mobile network. 

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
Contributor ,
May 01, 2022 May 01, 2022

Copy link to clipboard

Copied

It blocks me as well.

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 ,
May 02, 2022 May 02, 2022

Copy link to clipboard

Copied

Hi @Mandy5E74  and @shalomb61686619 :

 

My apologies for that. There was a hacking attempt over the weekend so my ISP blocked access from all but the US and Canada. It sounds like it'll be unblocked today.

 

This does happen on occasion and if it happens again you can always email  or message me. I'm happy to send you the content from the blog post directly.

 

~Barb

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
New Here ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Hi Barb. Your site is still blocked. I thought you'd like to know.

Mandy5E74_0-1651714533214.png

 

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 ,
May 05, 2022 May 05, 2022

Copy link to clipboard

Copied

LATEST

Hi @Mandy5E74:

 

It hasn't been blocked anywhere since last weekend's attack. Try reloading the page. 

 

~Barb

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