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

learn more… | top users | synonyms

6
votes
0answers
41 views

tex4ht removes spaces in array column when including a package even if the package is not used

In the following cases, Tex4ht generates an HTML file with no spaces between the columns of the matrix if some package is included, even if the package is not used. Removing the package, the space ...
6
votes
0answers
133 views

error using pgfsysdriver with tex4ht, only shows up with texlive 2014, ok with texlive 2013

Update: Thanks to the comments below. Using the link by Michal below, it appears this is a known bug but the fix was not in 2014. Doing the change as pointed out in the link below, seems to have fixed ...
6
votes
0answers
168 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
100 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
99 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 ...
5
votes
0answers
243 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
35 views

Changing the image path of html-documents created using the htlatex command

So I've created a .tex document using TeXShop for os X, and I've specified an absolute graphicspath for all the images. Now I'm supposed to render a .html file from the .tex and I've done so using the ...
4
votes
0answers
304 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 ...
3
votes
0answers
84 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 ...
2
votes
0answers
15 views

tex4ht styling breaks after figure containing tikz drawing

\textbf works in tex4ht before the figure environment, but not after: \documentclass{book} \usepackage{tikz} \begin{document} \textbf{this is bold} \begin{figure}[h] \begin{tikzpicture} ...
2
votes
0answers
63 views

framed color environment is not converted in htlatex

I have using pdflatex and htlatex for converting framed color box in html. Successfully converted in pdflatex and not converting in htlatex. Please find the MWE below: \documentclass{article} ...
2
votes
0answers
32 views

Conversion of latex to html for Word does not work

In order to get html code that is appropriate for Word I used the following command that I found on a TUG page: htlatex filename "html,word" "symbol/!" "-cvalidate" If I do this in Cygwin I get the ...
2
votes
0answers
57 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\\ ...
2
votes
0answers
94 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
90 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
151 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
53 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
110 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
91 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
202 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
139 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
204 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
33 views

htlatex on file including files from subdirectories, and output directory

Parts of my issue has already been answered in different questions on this site and elsewhere, however none of them solves my problem as a whole. A question about just specifying the output directory ...
1
vote
0answers
42 views

Equations in captions causing compile error while converting LaTeX to HTML

I can manage to convert LaTeX files into HTML with Tex4ht while keeping equations as they are with the config file provided by @michal.h21 on http://tex.stackexchange.com/a/185802/52068 But it fails ...
1
vote
0answers
39 views

Running htxelatex in nonstopmode

I am trying to run htxelatex in nonstomode Here are my tries: htxelatex manual.tex config.cfg "-interaction=nonstopmode" htxelatex manual.tex config.cfg "--interaction=nonstopmode" htxelatex ...
1
vote
0answers
34 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} ...
1
vote
0answers
28 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
139 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
109 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
267 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/! ...