TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following document when compiled with htlatex test-nameref.tex "html,4" generates wrong targets (but correct displayed text) for the subsection and subsubsection references with the updated nameref.4ht provided by Radhakrishnan CV on the tex4ht mailing list. The targets for the links are correct with

% nameref.4ht                           2010-09-04-21:02 %
% Copyright (C) 2005--2010       Eitan M. Gurari         %

distributed with MikTeX, but the displayed text is wrong.

Can anyone see what the problem is and provide a solution?

% test-nameref.tex









\chapter{Second Chapter}


share|improve this question
up vote 3 down vote accepted

This has been fixed now. Please grab the nameref.4ht from here. This will soon migrate to TeXLive.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.