[tex4ht] [bug #607] tex4ht with package hyperref and option destlabel creates no ancor

Ernst Reissner puszcza-hackers at gnu.org.ua
Thu Aug 17 23:05:25 CEST 2023


Follow-up Comment #2, bug #607 (project tex4ht):

First of all, thank you a lot for your quick reply! 

One thing I don't understand: 

```
You can try something like this:
%%%%%%%%%%%%%%%%%%%
\Preamble{xhtml}
\let\origlabel\label
\def\label#1{%
\HCode{<span id="#1">}%
\origlabel{#1}%
\HCode{</span>}%
}
\begin{document}
\EndPreamble
%%%%%%%%%%%%%%%%%%%
```

Where shall I add this? in the source? 
Please explain .... 

    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?607>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list.