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

Strange Autonumbering Problems

New Here ,
Aug 18, 2008 Aug 18, 2008

Copy link to clipboard

Copied

Hello Help,<br /><br />I have an autonumbering problem and I am stumped. There must be a simple solution.<br /><br />So I have four heading levels (Chapter.H1.H2.H3), and I need to have numbered headings. I have the following autonumber formats.<br /><br />H1 - <$chapnum>.<n+> <br />H2 - <$chapnum>.<n>.<n+> <br />H3 - <$chapnum>.<n>.<n>.<n+><br /><br />Everything should be fine, right? Well, it works in most of my chapters, but in others it fails. The typical failure looks like:<br />3.2<br />3.2.1<br />3.0.1 (where it should be 3.3.1)<br />Then I get 3.0.1 many times, suddenly a 3.2.1 and on and on, and it seems to be random.<br /><br />I believe that my autonumbering format is correct, but that the numbering must obviously be continued. A journey to Format > Document > Numbering has been unsuccessful.<br /><br />When I created the document, I copied and pasted from previous headings, and I can´t help but think I´ve found a bug in the software.<br /><br />Any help you guys can provide would be much appreciated.<br /><br />Thanks,<br /><br />Robert

Views

343
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 Beginner ,
Aug 18, 2008 Aug 18, 2008

Copy link to clipboard

Copied

Robert,

Because you are using chapnum, I am guessing you are working with a book. If so, you need to set the numbering from the book file, NOT within the document. That is, in the book file, right-click the document and select Numbering. In the Numbering dialog box, set the paragraph numbering to restart for each chapter; I am assuming that this what you want but not sure from your post. The chapter numbering is set to continue from previous and the page numbering is set to restart (if that is what you want).

Van

Votes

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 Beginner ,
Aug 18, 2008 Aug 18, 2008

Copy link to clipboard

Copied

If the numbering fails within a chapter file, the numbering setup in the<br />book file is not the culprit.<br /><br />You either have a paragraph override in a H2 which defines another number,<br />or you use the same numbering series for different purposes.<br />If you don't use numbering series for your headings, you should, to<br />separate that numbering from others (like steps).<br /><br />That is, add a series label (e.g. "H:") to all your heading paragraphs:<br />H1 - H:<$chapnum>.<n+><br />H2 - H:<$chapnum>.<n>.<n+><br />H3 - H:<$chapnum>.<n>.<n>.<n+><br /><br />Then use another series labels for steps, etc.<br /><br />-- <br />/Thomas Michanek

Votes

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 ,
Aug 18, 2008 Aug 18, 2008

Copy link to clipboard

Copied

Hi Van & Thomas,<br /><br />Thomas - your advice was perfect, and after having read your post to that lady with the terribly difficult figure numbering, I should have thought of this.<br /><br />I have found a brief mention of this in the FM live docs help, but they by no means make it clear. My understanding is:<br /><br />Frame gets confused about the value of <n> when the string is not labeled, because it does not know which counter to go to in order to find the correct value of <n>.<br /><br />I understand that strings should be labeled all of the time, as a matter of best practice, but especially when you have different numbering formats (as in my case) that must count together properly.<br /><br />Thanks for your help! If I am misunderstanding something, please let me know.

Votes

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 Beginner ,
Aug 18, 2008 Aug 18, 2008

Copy link to clipboard

Copied

LATEST
> Frame gets confused about the value of <n> when the string is not labeled, <br />> because it does not know which counter to go to in order to find the correct<br />> value of <n>.<br /><br />I don't think that a call to "void Confuse()" is part of the source code for FM :-)<br /><br />It's actually quite easy: all numbering that is labelled with a series label "X:"<br />becomes independent of all other numbering series. All numbering that is *not*<br />labelled is considered to be part of the same single, un-labelled series, also<br />independent of all other numbering series.<br /><br />Within a numbering series, any number of numbering positions (fields) can be<br />defined. When a paragraph doesn't specify all the numbering positions, the<br />remaining positions are reset to zero.<br />For example:<br /><br />A numbering string of "<n>.<n>.<n+>" may result in 1.2.3.<br /><br />Then, a numbering string of "<n+>" increments the first position to 2 and<br />resets the other to zero (2.0.0). (Only the first number is displayed)<br /><br />The next numbering string of "<n>.<n>.<n+>" will then result in 2.0.1.<br /><br />A numbering string of "<n+>< >< >" increments the first position to 3 and<br />leaves the other two as is (but doesn't display them), i.e. 3.0.1.<br /><br />You only need to specify "< =0>" if you want to reset some positions, but<br />not all the rest of the positions. You may still *want* to specify "< =0>" for<br />all positions to make the numbering strings consistent and clearer (or not :-)<br /><br />-- <br />/Thomas Michanek

Votes

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