Wed Aug 16 16:33:01 2023, original submission:
I create html from latex with
htlatex
tex4htStyOptions xhtml,uni-html4,2,svg,pic-tabular
tex4htOptions ’ -cunihtf -utf8’
t4htOptions the empty string
The latex file has in header
`\usepackage[tex4ht,destlabel]{hyperref}`
and has a section
```
\section{Exporting in various formats}\label{sec:stableUsage}
```
As a result, I obtain a html file
with following headline
```
<h3 class="sectionHead"><span class="titlemark">3.2</span>
<a id="x8-130003.2"></a>Exporting in various formats</h3>
```
Here, the label in the latex source does not occur.
Instead there is a generated label which may change,
e.g. when inserting another section.
When referencing this, it reads in the output
```
included and a Section <a
href="#x8-130003.2">3.2<!--tex4ht:ref: sec:stableUsage --></a>
```
and here, the label `sec:stableUsage` occurs,
i.e. it is know, but it occurs only as a comment.
I would expect, that there are two anchors,
one with generated id and an other one with id
taken from the label in the source.
I think, i cannot use the reference `file.html#x8-130003.2`
because it is not stable.
I could use `file.html#sec:stableUsage`.
|