[tex4ht] [bug #130] Bug in hyperref.4ht/nameref.4ht ?

PétiardFrançois puszcza-hackers at gnu.org.ua
Thu Apr 29 08:51:06 CEST 2010


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

                 Summary: Bug in hyperref.4ht/nameref.4ht ?
                 Project: tex4ht
            Submitted by: petiard
            Submitted on: jeudi 29.04.2010 à 06:51
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hello

It seems there is a bug with hyperref.4ht/nameref.4ht.

I attach the file test.tex.

If you run twice pdflatex on test.tex, the commands \nameref{test1} and
\nameref{test2} gives hyperlinks Court1 and Court2.

If you run htlatex on test.tex, the commands \nameref{test1} and
\nameref{test2} gives hyperlinks Long1 and Long2.

I have found a patch: if you uncomment lines 12 to 22 of test.tex and if you
run htlatex, then the commands \nameref{test1} and \nameref{test2} gives
hyperlinks Court1 and Court2

But:

1/ I don't know if that patch is robust and works in all cases (side-effects
if package hyperref not loaded?)

2/ I don't know where to put these lines of code (I think the new definition
of \:StartSec must be in nameref.4ht, but where must be the new definition of
\no at sect?)

Best regards

François Pétiard



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: jeudi 29.04.2010 à 06:51  Name: test.tex  Size: 1 ko   By: petiard

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=11>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list