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

learn more… | top users | synonyms

4
votes
1answer
569 views

on Tex4ht conversion to HTML, can this conversion be improved?

I have been trying tex4ht and comparing its output to Latex2html (l2h). I still find l2h to produce better math in the HTML than tex4ht. But it could be I am not doing something right and I thought ...
6
votes
0answers
68 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 ...
6
votes
0answers
93 views

Can you run mk4ht on iPad or Android?

I need to create html files from tex using mk4ht on an iPad or an Android tablet... Is there any way to run mk4ht on iOS or Android? Preferably without requiring Internet connection, but if that's not ...
5
votes
0answers
222 views

Removing spaces before command

When using French guillemets with TeX4HT, the resulting symbols are not followed/preceded by non-breaking spaces like they should, resulting in wrong line-breaking in HTML. I tried resetting \og and ...
4
votes
0answers
266 views

htlatex options

I'm using htlatex (Miktek 2.9, on windows command prompt) with the command: htlatex source.tex "3" "" "" "--interaction==nonstopmode" to generate HTML from existing documents written in LaTeX. I've ...
4
votes
0answers
85 views

Bad mathchar (79119) using htlatex+mathml with \uparrow with align from amsmath package

texlive 2012 debian package: \documentclass[]{article}% \usepackage{amsmath} \begin{document} \begin{align} & \uparrow\sum F \end{align} \end{document} compile with htlatex ...
3
votes
0answers
60 views

“Display math should end with $$” when using MathML with amsmath and \fbox with tex4ht

I just like to get an understanding on why I get this error, only when I use MathML and not in other configurations. pdflatex work fine with this MWE. Only when there is an \fox{}, will tex4ht gives ...
3
votes
0answers
94 views

Missing $ error using htlatex

Running the code posted in this question, the first code shown there, posted by the accepted answer by Andrew Swann. When running the code through htlatex on texlive 2012 debian, I get the error ...
3
votes
0answers
103 views

References are positioned under the chapter/section number in HTML using tex4ht

I am converting documents to (X)HTML using tex4ht. The program works well, but the only thing that doesn't is the references. I included a table of contents and made links using the hyperref package. ...
2
votes
0answers
46 views

Compilation error with tex4ht when using the authblk package

The following example, taken from Adding more than one author with different affiliation and saved as example.tex, compiles well with pdflatex example.tex. \documentclass[11pt,a4paper]{article} ...
2
votes
0answers
30 views

tex4ht compile error using mathml switch using multline with pmatrix and easybmat

It took me a long time to find this and be able to make a MWE. I hope someone has an idea what is causing it and if there is a work around. This problem shows up in this small example, only when I use ...
2
votes
0answers
53 views

siunitx package use with tex4ht and generation of invalid mathml for units

This file \documentclass{article} \usepackage{siunitx} \begin{document} \SI{10}{\square\meter} $\SI{10}{\square\meter}$ \end{document} Builds fine in padlatex, but fails in the HTML generated by ...
2
votes
0answers
54 views

Unexpected blank lines between paragraphs and lists after \section

A \section will cause unexpected blank lines to appear between paragraphs and lists in a odt document created by TeX4ht. If \section is dropped, however, no extra blank lines will appear in thoses ...
2
votes
0answers
37 views

What exactly do \EndP and \IgnorePar do?

What exactly do \IgnorePar and \EndPar do? Many configurations start like this: \Configure{foo}{% \ifvmode \IgnorePar\fi \EndP ... I'm trying to learn TeX4ht to improve conversion to OpenDocument ...
2
votes
0answers
69 views

TeX capacity exceeded and parsing errors using decoration on chapter name with tex4ht

My first htlatex issue of 2014 and on the first day also :) I added this line \chapter*{\centering \begin{normalsize}my chapter title\end{normalsize}} which works fine with pdflatex, but htlatex ...
2
votes
0answers
79 views

Producing odt from tikzpicture?

How can I produce an odt file from a tex source which includes tikzpicture ? I tried mk4ht oolatex test.tex but I only be able to produce an empty odt file from the following code : ...
2
votes
0answers
173 views

Tex4ht options to convert beamer slides

I tried to used tex4ht utility to convert beamer-latex presentation to OpenOffice ODT, and I'm really not happy with the results. Please find below the snapshots of PDF and ODT files. Please note, ...
2
votes
0answers
107 views

tex4ht and texMemo.cls

Running tex4ht on the example files that use the texMemo class http://www.oak-tree.us/2010/08/02/texmemo/ give the following error: ! LaTeX Error: No \gdef \GenericError { }{LaTeX Error: No \gdef ...
2
votes
0answers
187 views

using the multirow package with tex4ht to generate tables in html document

I am trying to generate a html document using latex and I am experiencing some minor bug with tex4ht and the multirow package (I am working with MikTex 2.9 and WinEdt 7). It appears that the ...
1
vote
0answers
26 views

Error compiling empheq with texlive 2013 tex4ht. Missing } inserted

MWE \documentclass{article} \usepackage{empheq} \begin{document} \begin{empheq}[box=\fbox]{align*} \lambda_{dutch} & =-0.40293\pm1.9803i\\ \lambda_{spiral} & =-0.069088\\ ...
1
vote
0answers
19 views

How can I make braket's \Set work with align* and htlatex/tex4ht

I have the following test.tex file: \documentclass{article} \usepackage{tex4ht} \usepackage{amsmath} \usepackage{braket} \begin{document} \begin{align*} \Set{|} \end{align*} \end{document} When I ...
1
vote
0answers
128 views

TeX4ht and PSTricks

I tried to compile the code below with mk4ht htlatex file.tex 'xhtml, charset = utf-8 pmathml' '-cunihtf-utf8-cvalidate' Formulas and text are transcribed, but not graphics. How to solve this ...
1
vote
0answers
97 views

Move section anchors generated by tex4ht

When compiling a file with tex4ht, the sections are transformed with header HTML tags with anchor. So, if I compile \documentclass{article} \usepackage[xhtml,mathml]{tex4ht} \begin{document} ...
0
votes
0answers
10 views

How can I make \cref{foo,bar} from cleveref work with htlatex?

I have the following test2.tex file: \documentclass{article} \usepackage{tex4ht} \usepackage{etoolbox} \usepackage{hyperref} \AtEndPreamble{\usepackage{cleveref}} \begin{document} ...
0
votes
0answers
241 views

tex4ht on MiKTeX fails on the simplest document

Document: \documentclass{article} \begin{document} This is just some sample text. \end{document} Error: mk4ht oolatex nodecolon mk4ht (Version 1.1) htlatex nodecolon "xhtml,ooffice" "ooffice/! ...
0
votes
0answers
76 views

Making \marginpar work with tex4ht

I tried using \marginpar using tex4ht and pdflatex. Here is the PDF output: Here is the HTML output: Is it possible to configure tex4ht to produce HTML output with good looking marginal notes? ...