htlatex is the command that loads a script to invoke the different steps of the conversion process from LaTeX to HTML.

learn more… | top users | synonyms

1
vote
1answer
65 views

Htlatex with docbook-mml: minus signs vanish

When I compile the following file: \documentclass{article} \begin{document} $2-1$ \end{document} with the command htlatex test.tex "xhtml,docbook-mml" " -cunihtf" "-cdocbk" then the result is &...
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, .." ...
5
votes
0answers
120 views

How do I improve the quality of png images when converting to html using htlatex?

I have tried to convert my LaTeX document into xhtml running the following commands (found here): htlatex source.tex tidy -asxhtml -output seconddraft.xhtml firstdraft.html Everything displays ...
0
votes
1answer
320 views

Texmaker doesn't export to html (OS X El Capitan)

After upgrading to El Capitan I fixed the configuration and it is working fine. But it does not export to html with the tex4ht option. It yields the following output: "/Library/TeX/texbin/htlatex" "/...
4
votes
1answer
42 views

Trouble building a site with frames using Tex4ht

via Tex4ht with frames, using the configuration file cc.cfg \Preamble{xhtml,mathml,sections+,ext=htm,charset="utf-8",2,frames} \Configure{@HEAD}{\HCode{<title>Good Morning</title>\...
0
votes
1answer
38 views

How to rectify the error while converting latex to html, leaving equations unchanged

I am using htlatex to convert TeX to HTML output. I try to keep the LaTeX equations unchanged when using the \[...\] command. my cfg: \Preamble{xhtml,mathml,NLM,-xtpipes,NoFonts,refcaption,DocBook} ...
1
vote
0answers
49 views

\rm \bf command not working in htlatex

When i have using \rm and \bf command in LaTeX file, htlatex does not converted. My MWE is: \documentclass{article} \begin{document} test $AA {\rm asdffda}_BB$ and $\it{italic}_a$ and $\bf{boldtext}...
1
vote
0answers
21 views

How to capture the Latex Math coding using htlatex

I am using htlatex to convert latex to html. I will try to capture the Latex Coding CDATA filed. But i don't know how to achieve the task. I will try below mentioned Example. MWE: \documentclass{...
2
votes
0answers
23 views

How to get the three alternatives using htlatex (image, mathml, texmath)

I am using htlatex to convert a TeX files to XML file. I am using mathml options to convert a inline and display equations. But I need three alternatives in one compilation. Inline-graphics format ...
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
1answer
25 views

Verbatim Macro not expanded in htlatex

verbatim Text is not expanding when using htlatex. How to turned on? My MWE is: \documentclass{article} \usepackage{amsmath} \def\myverbtext#1{{\bfseries #1}} \begin{document} This is the sample ...
2
votes
1answer
38 views

HtLaTeX Table Footnote and Makesavenoteenv

The following minimum working sample throws an error ! LaTeX Error: \begin{table} on input line 10 ended by \end{document}. While pdflatex compiles without any error. \documentclass{article} \...
1
vote
1answer
127 views

Is there a LaTeX to HTML tool that supports the algorithm2e package?

I'm a LaTeX beginner and I'm writing computer science documents. I carefully choose my algorithmic package considering the features I needed and that led me to pick algorithm2e (vlined and noend ...
0
votes
0answers
28 views

Change background color for html export

When I modify the background colour of the document, it works fine when I export it to PDF or to LyxHTML but not with simple HTML. I would prefer to export in HTML rather than LyxHTML but when doing ...
2
votes
1answer
17 views

Add a css class to graphics in tex4ht

So I have this \includegraphics[width=0.5\linewidth]{./src/images/screenshot--superman.png} And using make4ht (tex4ht) it generates the following markup (I'm pasting it as outputed): <p> &...
5
votes
0answers
146 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
1answer
27 views

htlatex having problems with a document written in Spanish?

I don't seem to be able to get past the following error: [4] [5] [6] [7] [8] ("C:\Program Files (x86)\MikTeX portable\tex\latex\lm\ot1lmr.fd") ("C:\Program Files (x86)\MikTeX portable\tex\latex\lm\...
2
votes
2answers
156 views

How to get Unicode characters into HTML output

I am trying to make a book in both print and ebook. To make the print book I generate a PDF with xelatex. I have reconstructed all the source files to be encoded in UTF-8 and the Cyrillic and ...
1
vote
1answer
147 views

Converting to html keeping equations as latex and using dollar signs

I can convert tex to html keeping equations as latex (to be rendered by MathJax) but using multiple dollar signs in a paragraph poses a problem. If there's only one dollar sign in a paragraph, using \...
2
votes
1answer
36 views

`make4ht`: title date font size is gigantic compared to title font size, and body font size

For this problem, I am using the following MnWE: \documentclass[fontsize=18pt, paper=letter]{scrartcl} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsmath} \begin{document} \title{A ...
3
votes
1answer
104 views

mathml with actual latex coding in htlatex

I would like to get HTML + MathML with LaTeX equation in the alt attribute. htlatex filename.tex "xhtml,mathml,charset=utf-8" ' -cunihtf' My LaTeX MWE is: \documentclass{article} \usepackage{...
1
vote
1answer
27 views

`make4ht`, `htlatex`: calls out error when called on an absolute filepath

For this problem, I am using the following .tex file: \documentclass[fontsize=16pt, paper=letter]{scrartcl} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsmath} \begin{document} \...
2
votes
1answer
51 views

`make4ht`, `htlatex`: “cannot read log file” issue with minimal example

I have a simple *.tex file for this question: \documentclass[12pt,letterpaper]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsmath} \begin{document} \title{A test \LaTeX to ...
2
votes
1answer
52 views

`make4ht`: increasing font size

I have a simple *.tex file for this question: \documentclass[12pt,letterpaper]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsmath} \begin{document} \title{A test \LaTeX to ...
2
votes
1answer
125 views

Renew itemize environment for customization in tex4ht

In a htlatex compiled document a standard enumerated list environment shows up as a <li class="itemize"> tag. For the pdf version I have loaded the enumitem package to aid with list ...
4
votes
1answer
157 views

Examples of HTML documentation produced with LaTeX

I am considering writing some software documentation in LaTeX to compile to HTML. I know this is possible with at least two tools (htlatex, latex2html) but have not seen any examples of their output. ...
0
votes
0answers
31 views

htlatex doesn't notice font change after tikz picture

Even a minimal tikz picture in my causes htlatex not translating commands like \emph or \textbf if they come after a tikz picture. Here is a minimal example \documentclass{article} \usepackage{tikz} ...
2
votes
1answer
27 views

Make a column vanish / package parcolumns

I wrote a report in German and English language. It has two columns, German on the left, English on the right side. Now, I need to produce a word file, but only including the german text. I've got ...
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
1answer
127 views

Multiple source document with htlatex and tex4ebook

How should I compile a document with chapters on different tex files using tex4ebook? The output of 'tex4ebook main.tex' has valid title page, index, empty chapters and valid bibliography. Structure ...
3
votes
1answer
122 views

How to create multilingual (English, Japanese) html document with htlatex

Japanese html using htlatex [TexLive 2014 on Ubuntu 14.04]: Using pdflatex/xelatex I can generated pdf document from the latex source but I have problem generating html document. Note: I have ...
4
votes
1answer
67 views

htlatex converting ligatures to null bytes

I am familiar with questions 162626 and with 204822, and have followed the instructions therein, but have been unable to get a good solution. htlatex is converting all of the ligatures in a document ...
2
votes
1answer
44 views

htlatex crops too much for picture environment

I use htlatex to convert a large latex file to html pages. All works with one exception. Anything drawn in the picture environment gets cropped. I have isolated the problem in the code example below. ...
2
votes
2answers
84 views

htlatex changes \textasciigrave to “Left Single Quotation Mark” (&#8216;)

To display grave accents correctly in DVI and PDF I use \textasciigrave. But htlatex changes this to &#8216; (Left Single Quotation Mark). Is this a bug? (I use texlive 2015.) For example \...
3
votes
1answer
47 views

How to get correct htlatex output with lithuanian letters?

My example \documentclass{article} \usepackage[T1,L7x]{fontenc} \usepackage[utf8x]{inputenc} \begin{document} ąčęėįšųūĄČĘĖĮŠŲŪžŽ \[ \alpha + \beta = \gamma \] \end{document} produces incorect ...
4
votes
1answer
121 views

htlatex filename.tex “xhtml,mathml”

I want to generate XHTML/MathML along with all equations as image. If I run the below command, I get html and equation-images htlatex filename.tex If I run the below command, I get html, and ...
1
vote
0answers
95 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 ...
4
votes
1answer
63 views

destlabel option of the hyperref package does not work in combination with htlatex

This is related to my previous question. The use-case is still the same: I want to convert a document into HTML, and give the links in the generated HTML a permanent character, even when the structure ...
4
votes
2answers
76 views

Create permalinks in HTML using tex4ht

Use case: an HTML version of a developer guide written in LaTeX and knowledge base articles in HTML which should be able to link to a certain section, figure, code snippet, ... in the HTML version of ...
2
votes
2answers
277 views

htlatex causes hyperref package not to load completely

The following code runs perfectly fine when using the regular latex command. \documentclass[a4paper,11pt]{book} \usepackage{hyperref} \renewcommand{\sectionautorefname}[1]{Section~} \begin{document} ...
1
vote
0answers
84 views

texfot hangs when used with tex4ht but does not hang with pdflatex

There is a very nice new program in TL 2015 called texfot which filters out many of the messages printed on the screen when compiling latex files. Here is the man page for it With TL 2015 installed, ...
3
votes
1answer
81 views

why tspan instead of class? italics not rendered using htlatex

When using htlatex with "html,fn-in", the generated html has <tspan font-family="cmti" font-size="10">should be italics </tspan> but this is not rendered in the html (at least not in ...
5
votes
1answer
127 views

htlatex and subfigures

Is it possible to have htlatex generate side-by-side subfigures? The mwe tex file \documentclass{article} \ifdefined\HCode \usepackage[compatibility=false]{caption} \def\pgfsysdriver{pgfsys-tex4ht....
1
vote
1answer
208 views

First steps with htlatex, I'm losing all the math format! [closed]

I'm doing my first steps with htlatex, trying to get HTML documents. I have OS: Linux Mint, Tex Live, and I make my *.tex with Texmaker. I know how to use MathJax. I get this: This is how I wish it ...
4
votes
1answer
107 views

htlatex and differences between html and xhtml

To date, I have generated html files using htlatex rather than xhtml. This has been for one simple reason. I can right click on the html file and open it in MS word to then save and distribute to ...
2
votes
2answers
115 views

Convert to HTML with {arabtext} sections rendered as images

I'm just starting to investigate using latex to generate an ebook with arabic snippets embedded in it, and I'm using the following simple document: \documentclass{article} \usepackage{arabtex} \...
3
votes
1answer
54 views

QRCode package fails to convert to HTML

I'm using the CTAN QRcode package. It works great with PDF, but unfortunately doesn't work at all for HTML. Does anyone know if I'm doing something wrong or how I can force htlatex to use images for ...
1
vote
1answer
49 views

MathML and LaTeX conversion required in htlatex

I have required all the display equations should be convert to MathML options and some inline-equations need to convert in text mode format. This two types of conversion is possible in htlatex?. For ...
0
votes
1answer
83 views

mathfrak in htlatex

In LaTeX mathfrak command is working fine and when using htlatex it's converting and not viewing in the HTML file. This is Bug in htlatex? My MWE is: \documentclass{book} \usepackage{amsmath,amsfonts}...
3
votes
1answer
80 views

Defining XML output for operator

I am converting LaTeX to docbook with the following command htlatex filename "xhtml,docbook-mml" " -cunihtf" "-cdocbk" Now, unfortunately, the \cdot operator gets lost during translation. (It ...