Re: Enh. Req: Option to have Table of Contents Tool Create Numeric Id's
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Message-ID | <[email protected]> |
In an attempt at user friendliness and configurability, why not offer an option to allow the user to set the root term with numbering to start at 0 rather than a blank --- and a default of step|id|amaya|whatever that way the user could set a root that is meaningful and non-conflicting to other ids for example jwr0, jwr1, jwr2, for my own johns wonderful ritings haha <original message follows> In a document that looks like this: <h1>Main Title</h1> <h2>Step 1</h2> <h2>Step 2</h2> <h2>Step 3</h2> after generating a Table of Contents the headings are assigned id's that look like this. <h1>Main Title</h1> <h2 id="Step">Step 1</h2> <h2 id="Step1">Step 2</h2> <h2 id="Step2">Step 3</h2> Not only is it confusing to have a document where "Step2" identifies a section labeled "Step 3" but things get worse when the section headings change. E.g. <h1>Main Title</h1> <h2 id="Step">Task 440</h2> <h2 id="Step1">Task 450</h2> <h2 id="Step2">Task 470</h2> Now we have "Step" identifying headings that do not even use the term "Step". It would be nice if the Table of Contents tool could assign unique, non-intelligent id's like "id-1", "id-2", "id-3" to headings. Mozilla based editors already take this approach by creating id's of the form "mozTocId260519". Thx. (tested on Amaya 11.2) -- -- John Russell, [email protected] http://home.cogeco.ca/~ve3ll http://home.cogeco.ca/~trains http://home.cogeco.ca/~cipher