3
votes
1answer
88 views

can't understand why this simple macro causes complex error

I've written a book, and now I'm trying to produce the e-book using tex4ht. Adapting this post, I introduced the following macro: \newcommand{\gpifpdf}[2]{\ifx\HCode\UnDef{#1}\else{#2}\fi} Which ...
6
votes
0answers
166 views

Undefined control sequence \Hy@MakeCurrentHrefAuto when using tex4ht

I'm producing a small encyclopedia with the memoir class which relies fairly heavily on \nameref. If it's relevant, I have my project directory set up so that I have a folder called articles/ which ...
3
votes
1answer
269 views

LaTeX Error: \theHchapter undefined when using tex4ht with hyperref and appendix package

Using texlive 2013. The following MWE compiles fine with pdflatex, but gives the error: ./foo.aux) [1] Chapter 1. ! LaTeX Error: \theHchapter undefined. when I run it using the command: htlatex ...
0
votes
1answer
390 views

Bibliography and Tex4ht

I am converting TeX containing references to HTML using TeX4ht installed under MikTeX. The program produces HTML but the bibliography is missing, any ideas? The following test.tex produces a clean ...
3
votes
1answer
165 views

using \label causes error with htlatex when hyperref is used in TL 2013

in TL 2013, new installation. When adding \label below causes an error in htlatex \documentclass[12pt]{article}% \usepackage{hyperref} \begin{document} \begin{equation} \label{eq1} x=y ...
10
votes
1answer
289 views

extra “]” displayed when using htlatex in TL 2013 with \usepackage{hyperref}

I noticed I am getting a new char displayed on the HTML page which did not exist when I was using TL 2012 with htlatex. I narrowed it down to including \usepackage{hyperref} This extra "]" shows only ...
2
votes
1answer
89 views

how to prevent part of section name from being part of the hyperlink generated automaticaly in TOC?

sometimes I'd like part of the section name text (and subsection and anything that goes to TOC) to show up but without it being part of the link that is generated automatically by pdflatex and by ...
3
votes
0answers
543 views

running pdflatex after htlatex causes hyperref error Undefined control sequence [closed]

UPDATE Jne 22, 2013 After installing TexLive 2013, this problem went away on its own. So this question is now resolved for me, as I will be using TL 2013 from now on. This question can closed or ...
4
votes
1answer
147 views

autoref in French documents incompatible with TeX4ht

I'm currently using MiKTeX 2.9 on Windows 7 and can't get to compile a French document correctly. Here is a very minimal example: \documentclass[francais]{article} \usepackage[T1]{fontenc} ...
6
votes
1answer
164 views

Hyperlinks in zref

I use the great package zref to create my own referencing system. Can I make hyperlinks for pdftex (and tex4ht)? See the following code. I'd like to make the \showref command clickable, so that I ...
5
votes
1answer
170 views

How do I preserve hyperreferences in the index when converting text from LaTex to HTML

I have written a book with three indexes in LaTex. I can produce a perfect hyperreferenced pdf file using the dvipdf filename command, but I cannot convert Latex into HTML using htlatex or TEX4ht ...
6
votes
1answer
479 views

Apparent conflict between hyperref and tex4ht packages

I am trying to use both the hyperref and tex4ht packages to format a textbook into a web textbook. Everything works except if I comment out chapter one, but if I include chapter one in the document, ...
3
votes
1answer
755 views

Problems building article with oolatex and hyperref [duplicate]

I'm getting into a bit of trouble, trying to convert a Latex article to OpenOffice. First of all, I'm using Ubuntu 11.04, with a texlive 2011 installation (installed via tlmgr). EDIT1: There is now ...
4
votes
3answers
475 views

htlatex/tex4ht without hyperlinks in HTML file?

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 ...
4
votes
1answer
391 views

\autoref from hyperref with tex4ht

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 ...