Tagged Questions

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

learn more… | top users | synonyms

8
votes
1answer
571 views

tex4ht: alt text for images of equations

I'm using tex4ht to translate LaTeX to (X)HTML. Tex4ht automatically generates images of equations it could not translate directly into text. Problem: the filename of the image generated, as well as ...
43
votes
5answers
3k views

Why haven't any TeX->HTML converters been updated to use current web standards/style?

I think that updating these converters would help TeX stay relevant as a document processing language. In these last few years, web development has really skyrocketed. CSS3 has brought along a lot of ...
7
votes
1answer
2k views

LaTeX --> (X)HTML with tex4ht: bad quality images of equations

I'm using tex4ht to produce XHTML files from a LaTeX file. The XHTML file I obtain uses images for some equations which tex4ht could not convert directly to XHTML. Problem: images of equations have ...
0
votes
2answers
257 views

tex4ht: create (dummy) eps images on the fly

I am using tex4ht to create a document in HTML and my images are PNG files. For tex4ht I need eps images although in the final HTML page I use original PNG files (see my other question here on ...
5
votes
1answer
381 views

Custom heading with tex4ht

tex4ht generates a page head and foot with navigation elements, such as [next] [tail] [up] with hyperlinks. Now I would like to change that appearance to have the page heading left and right of the ...
6
votes
2answers
737 views

tex4ht: reuse png images instead of creating new ones

I have a lot of PNG images in my document, which (the document) I'd like to convert to HTML using tex4ht (htlatex). Now the images need to be in EPS format, as htlatex uses DVI mode. So I run convert ...
1
vote
0answers
367 views

Content page, page numbers and few images missing after converting from LaTeX to HTML using htlatex [closed]

I am trying to make a User Manual in both PDF and HTML format. I have generated the HTML file using htlatex but my content page, page numbers and few of my images are missing from it. My images are ...
1
vote
1answer
490 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
423 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
403 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 ...
5
votes
1answer
210 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
10k 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 ...
10
votes
2answers
345 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
795 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
3k 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
209 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
685 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
2k 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 ...
36
votes
3answers
1k views

LaTeX to Braille

I would like to make my LaTeX documents as accessible as possible to those that are blind or visually impaired. The posts that I have linked to below ask questions about alt-tags or tooltips, both ...
9
votes
1answer
971 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?
5
votes
1answer
648 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
846 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
296 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
613 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 ...
3
votes
2answers
314 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
740 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. ...
6
votes
1answer
841 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
235 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
533 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
1k 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
433 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
873 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
568 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 ...