TeX4ht is a highly configurable TeX-based authoring system dedicated mainly to produce hypertext.
10
votes
2answers
842 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 ...
18
votes
3answers
390 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 ...
16
votes
1answer
820 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) ...
5
votes
1answer
820 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 ...
4
votes
2answers
4k 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 ...
1
vote
1answer
502 views
Problems building article with oolatex and hyperref
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 ...
22
votes
3answers
2k views
Recommended workflow? LaTeX -> ePub with math viewable on iPad
This started as a comment in an older thread, but I thought I repost it here as a question to the forum...
I'm looking for a workflow that will take me efficiently and reliably from existing LaTeX ...
29
votes
2answers
750 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 ...
4
votes
1answer
376 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
370 views
Avoid eps to png conversion using mk4ht oolatex
I have a big set of eps images and I need to place them into an OpenOffice (odt) document. I wrote a simple script that creates a tex file containing these eps images and now I'm trying to convert it ...
4
votes
0answers
184 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
2answers
408 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 ...
3
votes
2answers
236 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 ...
37
votes
5answers
2k 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 ...
9
votes
1answer
555 views
Generation of simple, CSS-less HTML with htlatex
When htlatex converts a document, emphasis and bold-face are converted to spans of a certain style which is defined in the accompanying CSS file.
Input:
\documentclass{scrartcl}
\begin{document}
...
8
votes
1answer
133 views
how to redefine \begin{align*} … \end{align*} to \begin{eqnarray*} … \end{eqnarray*}
Scientific word insists in generating displayed math using
\begin{align*} ... \end{align*}
and htlatex has a bug in that it does not generate bit mapped images in this case.
The fix that I found ...
4
votes
2answers
741 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 ...
6
votes
1answer
449 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 ...
5
votes
1answer
555 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?
3
votes
1answer
623 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}
...
2
votes
1answer
161 views
Inconsistent footnote size in converting LaTeX to OpenOffice.org
When a LaTeX document containing 2 footnotes — footnote #1 is plain ASCII, but footnote #2 has diacritics or other extended characters — is converted to odt (OpenDocument Format), the number in ...
2
votes
1answer
204 views
Cross references and citations do not show in LibreOffice after htlatex conversion
When trying to convert a simple LaTeX document to LibreOffice/OpenOffice, cross references and citations do not show in the final document. They do when converting to (X)HTML, but this has other ...
2
votes
1answer
331 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.
...
2
votes
1answer
212 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 ...
1
vote
1answer
199 views
How to get UTF-8 output with tex4ht under MikTeX 2.9?
Compiling this MWE (mwe.tex)
\documentclass{article}
\usepackage[greek,italian]{babel}
\usepackage[utf8x]{inputenc}
\begin{document}
\latintext chars with àccéènts
greek chars \greektext ασδφγη
...
1
vote
1answer
268 views
htlatex - need help converting latex to html
I am trying to convert a set of tex file to html.
The attached code generates perfect pdf.
While it gives the following error with htlatex.
I have not much knowledge of tex so please help by being ...
1
vote
1answer
856 views
MiKTeX's tex4ht gives:
I am trying to compile a LaTeX document to HTML using tex4ht, using the MiKTeX's tex4ht and Texmaker. I am trying to do this using a user command:
C:\MiKTeX\miktex\bin\x64\tex4ht.exe htlatex %.tex
...
0
votes
1answer
229 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 ...
