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

learn more… | top users | synonyms

7
votes
0answers
88 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
120 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 ...
4
votes
0answers
131 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
112 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
223 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
588 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
57 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
100 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 ...
3
votes
0answers
57 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
80 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
231 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
284 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
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
32 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
46 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
75 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
148 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
92 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
74 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
141 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 ...
2
votes
0answers
94 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
237 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
179 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
288 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
88 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
123 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
391 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
23 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
19 views

How to set-up a this html outline for tex4ht with toc on the left+main text+footnotes

I have discovered a nice outline to have a html page with: a table of content the main text the footnotes at the bottom of each page all of these windows can be resized with the cursor of the mouse ...
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
56 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
53 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
47 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} ...
1
vote
0answers
24 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} ...
1
vote
0answers
65 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
44 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
54 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 ...
1
vote
0answers
63 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): ...
1
vote
0answers
123 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
81 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
102 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
41 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} ...
0
votes
0answers
22 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
38 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
30 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 ...
0
votes
0answers
43 views

i dont want png files for the math in tex4ht

When I convert equations using tex4ht most of them are coming like png files. how to get the html converted instead of png file. Thanks Kumar
0
votes
0answers
59 views

scripts.ini no such file or directory

I have a problem with usage of tex4th package. I installed it, however when I want to check if it works I receive the following error: ht: No such file or directory: C:\Program Files ...
0
votes
0answers
37 views

It takes too long TeX4ht to complete

I want to use TeX4ht for my personal website. However, it takes too long (like 10 minutes long) for TeX4ht to complete in Windows 8.1 Is this normal? Can I do anything to make it shorter? My .tex ...
0
votes
0answers
96 views

How to customize section heading in tex4ht

TeX code: \documentclass{book} \usepackage{amsmath,amsfonts,amssymb} \def\thesection{\arabic{section}} \begin{document} \section{Section title 1}\label{chp:ChapterTitle} This is a paragraph inside ...