6
votes
0answers
169 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 ...
2
votes
2answers
355 views

HtLaTeX - problem when using relative paths

I'm currently working on a little thing I called offline blog engine. The idea is to write my articles in simple (La)TeX files and create some static HTML files which contains the blog posts. The ...
3
votes
0answers
544 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
595 views

what is the correct way to check for latex, pdflatex and html in the same latex document?

What is the correct way to check for if one is running in pdflatex vs latex vs. an html processor such as tex4ht? Suppose I have some latex code that I only want to show up in html, and not show up ...
5
votes
4answers
2k views

Verbatim environment with background color (PDFLaTeX and tex4ht)

I need to make a verbatim environment with gray background color, such as: That needs to work with PDFTeX and tex4ht on an older TeX installation (from 2009 I believe). My approach so far is ...