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

learn more… | top users | synonyms

7
votes
0answers
95 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
121 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
48 views

\ScriptEnv with argument problem

I am trying to set up a package for code formatting which works in both pdf and tex4ht, thanks for nice idea shown by Michal at tex4ht mailing list. In tex4ht, \ScriptEnv is used to set up an ...
5
votes
0answers
147 views

Conversion to *.odt - error in odt's styles.xml

I'm trying to turn my latex document into an odt file to be able to open it with LibreOffice (to then be able and save it as MS Word file so colleagues can open and comment on it). Although the file ...
4
votes
0answers
138 views

Border control for LaTeX tables generated using TeX4ht

In producing simultaneous pdfs and html/word files using xelatex and TeX4ht I have noticed that the table produced by TeX4ht is kind of illogical and is clumsy to clean up and manipulate. I would ...
4
votes
0answers
122 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
255 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 ...
4
votes
0answers
616 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
17 views

tex4ht changes \_ in math mode to X in HTML when not including \usepackage[T1]{fontenc} why?

I had to comment out \usepackage[T1]{fontenc} when running tex4ht to bypass an issue why-tex4ht-do-not-change-font-size-of-verb-when-including-usepackaget1font but now I find a strange side effect for ...
3
votes
0answers
34 views

tex4ht does not show top and bottom rules of table when loading colortbl package

This MWE \documentclass[12pt]{book}% \usepackage{amsmath} \usepackage{longtable} \usepackage{colortbl} \begin{document} \begin{longtable}[t]{|c|c|}\hline x & y \\\hline \end{longtable} \end{...
3
votes
0answers
62 views

tex4ht breaks bibliography punctuation with 'american' language and biblatex-chicago

To follow the guidelines of The Chicago Manual of Style, the package biblatex-chicago will put trailing punctuation inside closing quotation marks in bibliographic notes (like this "end,"--not like ...
3
votes
0answers
64 views

Difference between equation and align using tex4ht

I'm trying to produce an html copy of my book, which is written in LaTeX using tex4ht. Things are going better than I expected. But in some places I use the equation environment and in others align. ...
3
votes
0answers
85 views

TeX4ht without converting math formulas

Maybe my question is very silly or maybe very trivial, but I can't figure out the solution... I want to regularly publish parts of Latex documents to a Wordpress where I have the MathJax plugin ...
3
votes
0answers
254 views

Missing chemical sub- and super-scripts in html file compiled with htlatex

Current problem is typesetting with the chemical packages. As would be expected, the PDF is produced without any problems but distinct issues arise with the html production using tex4ht. The HTML ...
3
votes
0answers
293 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 "...
2
votes
0answers
56 views

Tex4ht: Lists inside multicols

I use the multicol package to generate "2x2" lists (two rows, two columns), which works fine with pdflatex but not with tex4ht. While multicol works with tex4ht generally, there seems to be something ...
2
votes
0answers
29 views

texh4ht how NOT to print math as images when math is displayed

Edit: I use an extension of tex4ht, https://github.com/michal-h21/helpers4ht ================================ I define a trivlist2 in order to control the space around \[ and \]. I want tex4ht to ...
2
votes
0answers
39 views

tex4ht configure a personal list after the configuraiton of enumerate

Edit: I use an extension of tex4ht, https://github.com/michal-h21/helpers4ht ================================ I have defined a customized list MYLIST in my .tex. this list MYLIST is very simple: I ...
2
votes
0answers
50 views

tex4ht and listings: lines don't break when using escapeinside

This is the first I'm posting a question. So, I hope I don't do anything wrong. I've tried to get HTML from my latex document by using tex4ht. For cross-referencing within the lstlisting environment, ...
2
votes
0answers
86 views

htlatex adding _ after - in URLs

I'm using htlatex on Fedora 21, texlive-tex4ht-svn33024.0-1.1 I noticed that whenever a URL has a hyphen within it, in the HTML output it's formatted with an underscore symbol following -. For ...
2
votes
0answers
172 views

Why using {newtxtext,newtxmath} packages breaks MathML generation in tex4ht?

I found when adding the line \usepackage{newtxtext,newtxmath} breaks mathml generated by tex4ht and hence the math looks bad when viewed in the browser. It seems to be a font issue. I am using ...
2
votes
0answers
95 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
76 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
159 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 manual....
2
votes
0answers
97 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\\ \lambda_{rolling}...
2
votes
0answers
188 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
301 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
93 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
125 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 : \documentclass{...
2
votes
0answers
410 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, ...
1
vote
0answers
25 views

tex4ht manual for header, footer, toc

I'm converting a book (6 parts, 30 sections,...) with dynamic graphs into a series of HTML pages using tex4ht. However, I'd like to have a nicer way to navigate. The standard is "next, prev, up, .." ...
1
vote
0answers
46 views

Fatal error while converting to HTML

I've just started using TeXstudio, so probably I'm missing something really simple, but, as it stands, I get a fatal error whenever I try to run an HTML conversion using the Tools -> Convert to Html ...
1
vote
0answers
26 views

mcode package with tex4ht and lualatex produce invalid HTML for strings in Matlab code

This is a new question following the one tex4ht-scrambles-some-matlab-code-when-using-mcode-package This one fails when Matlab code used has strings in it. tex4ht removes the single quote around the ...
1
vote
0answers
30 views

tex4ht: bot symbol in hypertarget

I use tex4ht to compile my document. However I have one problem with $\bot$symbol. Command \hypertarget{Symbol$\bot$test}{UserText} leads to compilation error: Missing \endcsname inserted ...
1
vote
0answers
64 views

Can't include diagram with tex4ebook

I would like to convert a scientific book with lots of formulas and tables to epub3. So far I have read all the posts that are tagged and related to tex4ebook, tex4ht etc. and I have managed to ...
1
vote
0answers
71 views

tex4ht doesn't work after an update of TexMaker

tex4ht doesn't work after a recent update of TexMaker When I try to export via tex4ht I got this message : "htlatex" "C:\Users\serge\Desktop\BERNARD\FAUST.tex" " " " " " " -interaction=nonstopmode ...
1
vote
0answers
58 views

dvisvgm not working when called by htlatex

I'm trying to make tex4ht produve svg-pictures instead of the normal png ones. I'm working with MiKTeX 2.9 under Windows 10. I tried the following tex-file (mwe.tex): \documentclass{book} \begin{...
1
vote
0answers
25 views

Customized table and figure tags and corresponding text citations

I am using tex4ht and I will try to get the customized tags for the purpose of xml usage. MWE: \documentclass{article} \usepackage{amsmath} \usepackage{booktabs} \usepackage{graphics} \usepackage{...
1
vote
0answers
98 views

\autoref for figures uses “section” instead of “figure” as text

My problem looks very similar to the problem in this question, and is exactly the same as the problem described on another forum. But none of those seem to have solved the problem. When I use the ...
1
vote
0answers
45 views

Getting tex4ht to output all math “unprocessed” between html tags

I would like to use tex4ht to convert a LaTeX document to an electronic book format, but rather than MathJaX or MathML, I want all math-mode code to be dumped into the html output between identifying ...
1
vote
0answers
74 views

Is there conflict with package arydshln and tex4ht?

This MWE gives an error with tex4ht, but compiles with no error in pdflatex \documentclass[12pt]{report} \usepackage{arydshln} \begin{document} \begin{tabular}{|l|l|l|}\hline text & text 1 &...
1
vote
0answers
35 views

htlatex outputs extra word not in document when using \columnbreak with multicols

texlive 2014, Linux. MWE \documentclass{article}% \usepackage{lipsum,multicol} \begin{document} \begin{multicols}{2} \section*{Introduction} This is introduction \columnbreak \section*{my section}...
1
vote
0answers
64 views

How to get pictures from every \halign line?

I'm trying to get separate images from eqnarray lines. Problem is that I can't properly insert starting/closing image \specials for tex4ht. Lets consider a minimal example (plain tex): \def\startpic{\...
1
vote
0answers
125 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
83 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
108 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 ...
0
votes
0answers
46 views

LaTeX Macros Expanded in Equation

How do expand the user defined macros in the equation when using htlatex? My LaTeX MWE is : \documentclass{article} \usepackage{amsmath,amsfonts} \newcommand\EquationAlt[1]{#1} \def\alp{\alpha_{zzz}^{...
0
votes
0answers
25 views

tex4ht \ifdefined\HCode equivalent for Latex2rtf

One of my favorite features of tex4ht is that I can customize formatting or content depending on what compiler is being used by enclosing code in an if statement that is capable of providing a flag ...
0
votes
0answers
41 views

LaTeX to Customized LaTeX file conversion using htlatex

I would like to convert LaTeX to Customized LaTeX code using htlatex. It's possible in tex4ht? Our ultimate goal is natbib cross-link need to convert to without \cite tag, \def command need to ...
0
votes
0answers
31 views

TeX4ht aliasing on equations' images

I am compiling a .tex file to html using TeX4ht induced by the htlatex command. When TeX4ht compiles a document and turns equations into images, however, it produces low-quality images with little ...