TeX4ht is a highly configurable TeX-based authoring system dedicated mainly to produce hypertext.

learn more… | top users | synonyms

1
vote
1answer
429 views

In which order execute htlatex and bibtex?

I would like to learn the correct order of calling htlatex and bibtex. So far I tried the following order: htlatex main bibtex main htlatex main htlatex main and (I use pdflatex to generate pdfs ...
1
vote
0answers
382 views

htlatex puts images for math formula in the wrong place if imgdir option used [closed]

I'm creating html from LaTex using the command htlatex ebook "html,info,imgdir:img/" All images are in the subdirectory img/ and this works perfectly. However I have a footnote containing a formula: ...
6
votes
3answers
1k views

Htlatex and Tikz creates sometimes incorrect svgs

I have a document with a large number of Tikz pictures and I need to generate a html page from it. I have declared a driver to have TikZ pictures as SVGs (after this question) and run htlatex ...
4
votes
1answer
367 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 ...
4
votes
1answer
167 views

TeX4ht and Plain TeX

According to tug.org TeX4ht can be used with Plain TeX. I've tried the commands listed in the site above, but nothing works! All I can have is a simple text file, with .html extension, but without any ...
0
votes
1answer
1k views

Using the command window to convert LaTeX to HTML [closed]

I am trying to convert a LaTeX file to HTML. I have tried to do this by typing cmd into the search bar of the START menu. When the black background box comes up, I type in htlatex filename.tex where ...
5
votes
2answers
8k views

Using htlatex to convert LaTeX to HTML

I appear to have htlatex and htxelatex already installed on my computer. However when I try to run them, it comes up with the message, 'I can't write on file 'texput.log'' I am trying to convert a ...
9
votes
2answers
326 views

PDF page references in TeX4ht generated html?

I'm using TeX4ht to make html and epub versions of documents that are also processed to pdf. I'm unclear on how to include some kind of visual page references in the html and epub that correlate to ...
9
votes
2answers
716 views

Incompatibility of biblatex and tex4ht when using defernumbers

There seems to be a known incompatibility between biblatex and tex4ht when using defernumbers=true. I have one large .bib file. In the document I want to group the references into different ...
2
votes
0answers
2k views

Convert Latex to odt using tex4ht [closed]

Based on advice from this question I'm trying to use tex4ht to convert a latex document into something readable by MS Word. I was planning to use tex4ht to convert .tex to odt format. I'm running ...
1
vote
2answers
186 views

tex4ht incompatible with expdlist

I try to convert the below document with htlatex and no options and it spits this error on me: ! LaTeX Error: Something's wrong--perhaps a missing \item. There's no error if I remove the square ...
19
votes
1answer
1k views

Maintaining layout of Tikz diagrams with TeX4ht (converting as single pictures)

A Tikz diagram such as \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \path (0,0) node[draw] (A) {A}; \path (2,0) node[draw] (B) {B}; \draw (A) -- (B) ...
6
votes
1answer
613 views

tex4ht leaving equations unchanged - including \[…\] and \(…\)

I want to let tex4ht leave the equations unchanged. Using the tip given at tex4ht leaving equations unchanged, it works for $ and $$ equations. In the case of \[...\] and \(...\) equations it does not ...
2
votes
1answer
1k views

Tex4ht under MiKTeX: How to convert multiple tex files

I'm using MiKTeX 2.9 and installed the miktex-tex4ht-base2.9 in order to convert my LaTeX files into HTML. I just updated everything before starting so I should have the latest packages for ...
34
votes
3answers
1k views

LaTeX to Braille

Accessibility for the visually impaired is becoming a big issue. The posts that I have linked to below ask questions about alt-tags or tooltips, both of which would be great options. I would like to ...
9
votes
1answer
847 views

text4ht and LuaTeX

There is a specific command to run tex4ht with XeTeX: htxelatex (which doesn't really work actually as far as I'm concerned). What is the command to run text4ht with LuaTeX instead?
4
votes
1answer
514 views

tex4ht leaving equations unchanged

I'm trying to convert a LaTeX document to a webpage that'll be hosted on a server that's capable of processing and rendering simple TeX equations, but not doing section-level formatting. So I'm ...
3
votes
1answer
781 views

Tex4ht, biblatex and biber: what is proper processing?

How to run htlatex with biblatex bibliography included? That's the simplest example: \documentclass{article} \usepackage{biblatex} \addbibresource{libr.bib} \begin{document} ...
0
votes
1answer
278 views

Any tricks for using the currvita style with tex4ht?

TeX4ht doesn't quite understand the currvita style's cvlist environment. It appears that cvlist takes the heading as an argument, typesets this heading into an \sbox, and uses the sbox inside the ...
1
vote
1answer
567 views

Configure tex4ht for package scrjura

I'm drafting agreements on the topic of renewable energies. Trouble is, clients sometimes need a word-version = my agreement in html. The package tex4ht does the job pretty well, unless I use the ...
2
votes
2answers
259 views

How to make tex4ht output a title

Compiling with htlatex the following small2e.tex \documentclass{article} % Your input file must contain these two lines \begin{document} % plus the \end{document} command at ...
2
votes
2answers
681 views

Error when compiling with Tex4ht

I'm trying to compile a part of my thesis with tex4ht (to use LibreOffice grammar checker). It was working well few weeks ago but now it fails with the error: ! Undefined control sequence. ...
5
votes
1answer
740 views

Writing HTML code directly from LaTeX?

At exporting a LaTeX file to HTML via tex4ht I have to write some HTML comments to the HTML source. So I would like to write the HTML code in the LaTeX file and let tex4ht export it directly. How can ...
3
votes
0answers
223 views

Customizing the target at creating context sensitive JavaHelp with Tex4ht [closed]

With tex4ht I created all the files needed for javahelp (to show the html pages and accessing specific pages for a context sensitive help). I have to access these specific pages by a key. ...
1
vote
1answer
509 views

Tex4ht on document: error “\leftmargin doesn't match its definition” when \small is used in acronym name

Is it possible to change the settings of dvi compilation in tex4ht? I ask, because I get a strange errors, when trying to generate html for my latex file: ! Use of \leftmargin doesn't match its ...
3
votes
1answer
955 views

How to make htlatex split large html file into sub-documents

I've used HEVEA and HACHA in the past to make web-pages from TEX sources. The result is a separate web page for each \section{} of the original manuscript. My latest manuscripts are more complex and ...
4
votes
1answer
399 views

How to get tex4ht to respect listings styling better ?

I've been producing PDFs and HTML from Latex sources, using tex4ht for the HTML (I'm on Debian/Lenny; so whatever versions are default on that). I'm using the listings package to include source code. ...
11
votes
2answers
806 views

How do I tweak the output of tex4ht's latex-to-openoffice conversion?

Every now and then I am required to circulate a document in Word format; I write in LaTeX, of course. I use xelatex because I frequently need Unicode; I do bibliographies with biblatex; and I ...
22
votes
4answers
522 views

Is there an \iftex4ht command, and if not, how should it be defined?

Background: I'm using TikZ to generate a load of pictures that I want to put on the web as SVGs. So I'm using the pgfsys-tex4ht.def driver and it's working very well. My gut feeling is that the SVG ...