[Tex/LaTex] htlatex/tex4ht without hyperlinks in HTML file

hyperreftex4ht

How do I disable the creation of hyperlink with tex4ht? They are unnecessary when preparing a paper for publication in one of those … (insert any attribute you find appropriate) journals that require Word.

I have removed the hyperref package, no luck. It doesn't appear in the logs, I have checked that. My command line is:

htlatex paper.tex "word" 'symbol/!' "-cvalidate"

The tables, figures and bibliography entries are accessible via hyperlinks. How do I get rid of the anchors and of the links?

EDIT: The document in question uses the natbib package. Adding

\Configure{cite}{}{}{}{}
\Configure{bibitem}{}{}

to a custom .cfg file didn't change anything.

Best Answer

Generate html that is compatible with word

  1. htlatex 'html,word' 'symbol/!' (note single quotes are needed in Unix shells to prevent ! being expanded)

  2. Open in Microsoft Word. Change to Print Layout

  3. Select all text (or specific regions as you need)

  4. Cmd-shift F9 (Mac) or Ctrl-shift F9 (PC) removes the field codes and replaces them with the text equivalent

  5. Use advanced search for formatting "superscript + underline" and replace with "superscript + no underline"

  6. (Optional) Use advanced search and replace to change colour of superscripts and to increase point size

  7. Save as Word document

I also find that some manual font size corrections are needed for inline (simple) math symbols

Related Question