Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

numbering chapters in nested books

$
0
0

I have tried all the options available to me, but FrameMaker keeps getting it all wrong. There must be a way to do this, but I cannot figure it out. Maybe someone else has experience with this and can point out where the solution is. Or maybe someone from Adobe can explain what the thinking behind the book numbering scheme is, so that I can figure out how to adapt it to my needs.

 

Here is the setup (simplified): I have a master book with a couple of chapters and some nested books.

 

master book

  • chapter 1
  • chapter 2
  • nested book A
    • chapter A1
    • chapter A2
    • chapter A3
  • chapter 3
  • nested book B
    • chapter B1
    • chapter B2
  • chapter 4

 

I cannot use folders or groups as the nested books must also be available as separate books for publishing to the online help system. This is the reason for choosing books over groups or folders in the first place. In the online help system I do not need any chapter numbering, so everything works fine. But now that I also need to produce a PDF, the numbering logic (or lack thereof) is giving me a hard time. I want to get consecutive chapter numbers in the entire book, regardless of whether the chapters are in the main book or a nested one. I am running a script to explicitly set the numbering on each chapter as follows:


master book

  • chapter 1
  • chapter 2
  • nested book A
    • chapter 3
    • chapter 4
    • chapter 5
  • chapter 6
  • nested book B
    • chapter 7
    • chapter 8
  • chapter 9

 

Setting all chapters to use the following number makes all the nested chapters come out with the same chapter number. This must be considered a bug, which means I need to find a way around it. I have tried all other options (setting the chapter number explicitly in each of the nested chapters, and setting the numbering properties of the book components to "read from file"). But when I update the book, FM keeps complaining about inconsistent numbering in the nested books, and telling me it is using the numbering in the main book. I either get all chapters in the nested books showing the first available chapter number or the last one in that nested book. If I tell FM to not update the numbering, it looks OK (as I have done the numbering explicitly for each chapter) but when I save to PDF, even when setting DoNotNotifyAPIClients to true, FM messes up the numbering before creating the PDF.

 

Does anyone have an idea on either the numbering scheme logic, or how to tell the Save as PDF to keep its fingers off the numbering as it currently appears? It would be really useful if I can get an answer TODAY. The deadline is approaching and this project must be finished before Xmas.

 

Thanks in advance

 

Jang


Viewing all articles
Browse latest Browse all 23442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>