Numbering with leading zeroes
Problem
- You want to number headings from Whatsowever 0001 to Whatsowever 9999. How can you set up the paragraph numbering for the headings? Of course you want to get these headings also in the Table of Contents.
- The graphic artist choose to present page numbers with leading zeroes. How to achieve this?
Solution
For numbering with leading zeroes even FrameMaker 13 does not support an
appropriate feature.
Basically there are two approaches for a solution:
- Use a distinct paragraph format for every 10-magnitude. That is a distinct paragraph format for numbers 0001 to 0009, another for 0010 to 0099 etc. This is a clean solution.
- Use the figure zero as leader character in a right tab position. The same method must be used for the page numbers (with leading zeroes) in a Table of Contents. This method requires optical tweaking.
For a sultion with ExtendScript (since FM-10) see #series markers are an "extension to automatic numbering". This however can not work on master pages.
Example
See the complete example as PDF or FrameMaker (MIF-7).