Enh. Req: Option to have Table of Contents Tool Create Numeric Id's

Joe Webster <[email protected]>
Newsgroups gmane.comp.web.amaya.general
Message-ID <[email protected]>
Hi,

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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.