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

learn more… | top users | synonyms

3
votes
1answer
222 views

Problem with custom auxiliary file and tex4ht

I have a LaTeX file that's working very well with pdflatex. I want to turn it into HTML, so I'm using tex4ht (under MiKTeX 2.9 on Windows 7). I've already gotten around some problems (the old graphics ...
3
votes
1answer
499 views

tex4ht conversion of tables (memoir class problem)

I am trying convert my document to HTML using htlatex. Everything my document (70+ pages) works fine until I look at the tables. The tables generated do not actually follow any kind of table format. ...
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 ...
4
votes
1answer
459 views

Can tex4ht output a 'flat XML' (fodt) OpenDocument file?

I'm guessing the answer to this question is no, but no harm asking - tex4ht, when outputting oolatex, outputs an .odt OpenDocument, which is actually a .zip file (which then contains content.xml, ...
3
votes
1answer
727 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 ...
8
votes
1answer
300 views

tex4ht problems with footnotes

I have a problem with footnotes and tex4ht. The following document has a wrong next pointer in subsection 1 and a bad previous pointer in subsection 3: \documentclass{book} \begin{document} ...
4
votes
3answers
463 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 ...
8
votes
3answers
2k views

LaTeX to HTML: PolyTeXnic and PlasTeX

I was stunned by the elegant appearance of the Tau manifesto page, for which the source is in LaTeX. The author used a home-made tool that he calls PolyTeXnic, but which he is not willing to release. ...
3
votes
2answers
370 views

.htf for Chinese utf8 fonts other than unisong*

In continue with this question: Producing html for Chinese documents with Tex4Ht Tex4Ht requires .htf fonts for converting Chinese documents. I've managed to make all the unisong*.htf fonts work ...
2
votes
1answer
288 views

Producing html for Chinese documents with Tex4Ht

I'm using TexLive 2011 on Ubuntu 11.10. Take this for example: \documentclass[UTF8]{ctexart} \begin{document} 文章内容。 \end{document} Then I run htlatex test.tex to convert it to html, but after ...
6
votes
1answer
475 views

Converting all math to graphics with TeX4ht

TeX4ht converts all \(...\), \[...\], $$...$$ and other math environments to png format. However, it does not convert $...$ to png. It first tries to use html codes for $...$ math, and if it is not ...
11
votes
2answers
2k views

PDF image files and `htlatex`

When eps files are provided, htlatex from tex4ht automatically converts to png files so that graphic files can be shown in the final html output. However, I use most of the time the pdf graphic file ...
3
votes
2answers
378 views

tex4ht: limit toc

When I run the following file through htlatex main html,4, the first (main) page has a table of contents that is too deeply nested. I only need part,chapter and section in my toc. The section page ...
8
votes
1answer
507 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 ...
41
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
242 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
353 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
680 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
353 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
459 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
395 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
380 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
183 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
9k 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
336 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
750 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
200 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
638 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 ...
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
896 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
566 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
808 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
283 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
579 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
276 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
701 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
776 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
228 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
516 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
407 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
828 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
533 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 ...