Skip to main content
Participant
August 12, 2015
Question

Indexing numbers with decimals and no extra 0s

  • August 12, 2015
  • 3 replies
  • 204 views

I have a manual with custom markers labeled "14CFR" so that I can put regulatory references from each page into an index based on that reference. The Index I've created lists the 14CFR reference (i.e. 121.135) and the associated page number(s) that it's found on.

The problem I'm having is that some regulatory references are numbers less than 3 digits on either side of the decimal. For example, I might have 121.15, 121.17, 121.11, 91.13, etc. When these are listed in the generated index, they come out in the order as if they were numbers... so:

121.11

121.113

121.116

121.2

121.25

121.277

121.278

121.3

121.311

121.312

etc..

What I want is that 121.3 is not 121.300 (which it would be as a number), but that it's actually a 3 and it would come way before a 113. Without adding unnecessary zeros (i.e. 121.003), is there any way I can get these in the order I need them?

Also, how do I change the header? It keeps filing the numbers under "Numerics" but I want to permanently change that to something else.

Thanks.

This topic has been closed for replies.

3 replies

Arnis Gubins
Inspiring
August 12, 2015

When you insert the index marker contents, enter the desired sort order in square brackets after the content, i.e. for 121.3 [121.003]. Then FM uses the entry in the square brackets for the sort, yet displays the other content.

Bob_Niland
Community Expert
Community Expert
August 12, 2015

re: What I want is that 121.3 is not 121.300 (which it would be as a number), but that it's actually a 3 and it would come way before a 113. Without adding unnecessary zeros (i.e. 121.003), is there any way I can get these in the order I need them?

Quick fix would be to use "121.003", and tag the "00" as Conditional Text (say, "HiddenLZ"). Generate the document with that condition enabled. Switch it off to render.

Legend
August 12, 2015

I very rarely do anything with indexing … but is the second part of your question related to Group Titles?

Have to say that if I was an innocent reader looking for 121.113 in an index, I'd expect to find it just where FM puts it :-} but I appreciate that regulatory requirements/references often seem to have been devised by a committee in a different galaxy :-}