Questions tagged [make4ht]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
16 views

make4ht/ODT: resizing of images outside of root compile directory

While using the solution to this question make4ht/ODT: resizing of images, I observed that the solution and defaults behaviours worked, but this would break down if the images were placed in a sub ...
1
vote
1answer
32 views

tex4ht - make4ht: How to create fixed width table columns for odt and docx files

I'd like to find out whether tex4ht and make4ht can be customized to allow for very precise table construction in odt files, specifically, manually specified column widths (p{x dim}). This question is ...
2
votes
1answer
25 views

Nest tables in tex4ht as in latex

In the following MWE, which I believe works fine with xelatex, I observe a blank space where I'm trying to insert a nested table. I don't see any warnings or errors in the log file. Are there any ...
4
votes
1answer
84 views

Beamer to HTML using make4ht

\documentclass{beamer} \usetheme{Madrid} \begin{document} \begin{frame} aaa \end{frame} \begin{frame} bbb \end{frame} \end{document} The above tex file is to be converted into html. I am using the ...
1
vote
2answers
104 views

make4ht - provide multiple configuration files

In post How can I override tex4ht's CSS in a single .css file? the proposed solution requires to add a configuration file (namely sample.cfg). So, if I have sample.tex I may add sample.cfg. However, ...
1
vote
1answer
80 views

Proper enumerate with tex4ht/make4ht and no css style sheet

I'm attempting to convert a LaTeX document of mine as no-style sheet html to be copy-pasted as a (Wordpress) blog post (thus the css-less requirement). So, I've started from michal.h21's instructions ...
5
votes
1answer
138 views

A new problem with tex4ht and tikz

When run through pdflatex the code snippet below produces: but when I run it through make4ht the following web page, without the numbers, is generated: (The difference in scale is an artifact of my ...
2
votes
1answer
101 views

Using ODT styles in a reference template to format make4ht

Following my recent question Customizing ODT output from mk4ht oolatex and a improved process alternative described here: Use ODT Template for make4ht (which makes use of direct formatting by using ...
4
votes
1answer
83 views

Use tabu with htlatex

I'm trying to export my Latex document to HTML, but run into problems using the tabu-environment. As a test case I use the following source file \documentclass{article} \usepackage[utf8]{inputenc} \...
4
votes
1answer
69 views

Are recent pstricks changes to PStricks incompatible with tex4ht?

There have been a few updates to pstricks on ctan recently. The code: \documentclass{article} \usepackage{pstricks} \begin{document} \begin{pspicture}(0,5)(2,2) \rput(1,1){Hi!} \end{...
5
votes
1answer
136 views

Use ODT Template for make4ht

When converting a document with pandoc to ODT or DOCX it is possible to specify a reference document with --reference-doc=. The produced file will use the styles from the reference document. This ...
8
votes
1answer
324 views

htlatex, garamond fonts, and nulled “ff” and “fi” strings

I stumbled across a continuation of a problem that seemed to have been fixed at tex.stackexchange.com/questions/162626/, but the problem comes back if I'm using some form of Garamond font. None of ...
1
vote
1answer
32 views

Hyperlinks for blank section titles in html file compiled with make4ht

The hyperlinks work in compiled pdf file for the following tex document. The section names are blank. However when it is compiled to html using make4ht, the hyperlinks won't work. So there is problem ...
2
votes
1answer
42 views

Hyperref package not working with titlesec package when compiled with make4ht

The hyperref package seems to have conflict with titlesec package when compiled with make4ht. The following document is compiled with make4ht. The compiled html file doesn't contain table of contents. ...
2
votes
1answer
110 views

make4ht -ul with “pic-tabular”

I am trying to generate a html file from a tex file containing Devanagari script in tabular by using make4ht -ul book.tex "pic-tabular" MWE for book.tex is: \documentclass[11pt, oneside, onecolumn,...
2
votes
1answer
59 views

Configuring htlatex for section names in html

If one uses htlatex filename "xhtml,svg" The section name in html file begins as <h3 class="sectionHead"> Also the subsection name in html file begins as <h4 class="subsectionHead"> ...
1
vote
1answer
103 views

Non ascii characters for text in math mode for ODT output with tex4ht

This is related but, as far as I grasp, somewhat different from Utf-8 output from make4ht to odt format. I'm using make4ht to convert a LaTeX document to ODT and, within it, I have some equations ...
3
votes
1answer
503 views

Pre-compiled mathjax output using mathjax node in make4ht or htlatex

It is possible to convert latex to html with make4ht or htlatex in which mathematics content gets converted into svg. Is it possible to pre-compile mathematics content of latex file into mathjax (...
4
votes
1answer
193 views

Different SVG Output for mathematics symbols with dvisvgm used with htlatex or make4ht

The tex file with the following code is to be converted into html. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \(\implies\) and \(\iff\) \\ \(a \implies b\) \...
2
votes
2answers
288 views

make4ht, tikz and utf-8 encoding question

Consider the following simple latex file: \documentclass{article} \ifdefined\HCode\def\pgfsysdriver{pgfsys-tex4ht-alt.def}\fi \usepackage{tikz} \usepackage{filecontents} \begin{document} % see https:...
1
vote
1answer
51 views

Use different documentclass with TeX4ht

Is it possible to use different documentclass than the one specified in document source code during make4ht / htlatex compilation without changing the source code? Lets say I have a document source: ...
1
vote
1answer
50 views

TeX4ht fails to insert </div> at \end{center} with standalone class

mwe.tex: %%%%%%% Example 1. that works correctly %%%%%%%%%%%%%%%%%%%% %\documentclass{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%% Example 2. fails to insert </...
1
vote
1answer
311 views

How to use -interaction=nonstopmode option with make4ht?

The htlatex way $ make4ht document.tex "customcfg.cfg, charset=utf-8" " -cunihtf -utf8" "" "-interaction=nonstopmode" didn't work. Result was: make4ht:unrecognized parameter: i. I would also ...
2
votes
1answer
156 views

More TeX4ht issues with chrome and safari

Take the following simple latex file \documentclass{article} \usepackage{amsfonts,amsmath} \newcommand\R{\mathbb{R}} \begin{document} $\overrightarrow{AB}$ $|\mathbf{v}|$ $e^{x^2+y^2}$ $\...
1
vote
1answer
238 views

htlatex with minted

The minted package helps to include code in a LATEX document. It required that -shell-escape: pdflatex -shell-escape document.tex document.tex \documentclass{article} \usepackage{minted} \begin{...
2
votes
1answer
329 views

Ideal directory structure for make4ht, clean build

It's being suggested make4ht can replace the functionalities provided by htlatex (i.e. question) to generate HTML from LATEX documents. I'm interested on it. Particularly, I would like to put in ...
1
vote
1answer
151 views

tex4ht produces quotation marks instead of German umlauts

A simple file with umlauts compiled using make4ht test "xhtml,charset=utf-8" " -cunihtf -utf8" shows question marks instead of German umlauts. Here the MWE test.tex: \documentclass{article} \...
4
votes
1answer
90 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
1answer
112 views

tex4ht fails to compile footnote when there is blank line with scrartcl class

TL 2016. There seems to be a bug here. This MWE fails to compile with tex4ht because there is blank line in footnote \documentclass[11pt]{scrartcl} %\documentclass[11pt]{article} \IfFileExists{...
1
vote
2answers
2k views

Package graphics Error: Division by 0. with tex4ht when using [dvipdfmx]{graphicx}

I found a case, when this MWE \documentclass[11pt]{scrbook}% \usepackage{graphicx} \begin{document} \includegraphics[width=0.95\textwidth]{image.png} \end{document} Gives the error (/usr/local/...
4
votes
1answer
136 views

why tex4ht do not change font size of \verb? when including \usepackage[T1]{fontenc}?

This MWE \documentclass[11pt]{article} \usepackage{ifluatex} \ifluatex \IfFileExists{luatex85.sty}{\usepackage{luatex85}}{} \ifdefined\HCode \usepackage[utf8]{luainputenc} \usepackage[T1]{...
5
votes
1answer
126 views

tex4ht corrupts “--” inside CDATA in the HTML file

I am using an outside javascript package (syntaxHighlighter) for code formatting when I compile to HTML that requires one to put code inside <![CDATA[ ... code .. ]]> as explained in the above ...
3
votes
1answer
705 views

after changing to \usepackage{fontspec} now make4ht do not compile my Latex file in lualatex mode

I was told by Latex experts to use \usepackage{fontspec} with Lualatex. It works ok with lualatex, but now my files do not compile with make4ht any more after I changed to \usepackage{fontspec}. ...
2
votes
1answer
59 views

tex4ht removes spaces in href description in LUA mode when using mathdesign package

Any idea why this MWE \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath,mathtools} \usepackage[bitstream-charter]{mathdesign} \usepackage[utf8]{inputenc} %DO NOT USE WIT LUALATEX, ...
3
votes
1answer
190 views

tex4ht problem with matlab-prettifier package. lstlisting code shows differently from lstinputlisting

It seems like a lost case using Matlab code in Latex when it comes to tex4ht. I switched to using matlab-prettifier package instead of mcode package to load Matlab code in Latex since I found too ...
1
vote
1answer
82 views

tex4ht scrambles some Matlab code when using mcode package

I noticed that tex4ht do not generate correct code for typesetting Matlab code listing. It does not like .^ in the Matlab code, and it generates funny looking character in its place. MWE \...
2
votes
1answer
114 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 ...
1
vote
1answer
65 views

`make4ht`: when using Computer Concrete, getting `dvips: Font … not found; characters will be left blank`

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

`make4ht`, `tex4ht`: when called from python, hits a write permission error if input file supplied with forward slashes

I have a directory where I have the following .tex file: \documentclass[fontsize=16pt, paper=letter]{scrartcl} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsmath} \begin{document} \...
1
vote
1answer
75 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} \...
1
vote
1answer
258 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 ...
1
vote
1answer
364 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 ...
3
votes
1answer
693 views

problem with starred version of \nameref, \autoref, \fullref from hyperref with tex4ht

EDIT:@runartrollet: I clarify the problem. THe pdf outputs as expected the links in every instance of the commands autoref and nameref. and\fullref, starred or not. But the html file, the command ...
0
votes
1answer
37 views

make4ht force the beginning of the sentence on a new line, when the beginning of the sentence would be near the border of my window

I convert my .tex into .html with the command make4ht -ul hello.tex but I see that the html language allows for the beginning of a sentence very near from the end of the screen. For instance, it is ...
3
votes
1answer
113 views

tex4ht turning the unbreakble space by ~ into unbreakable space in the html

Following my problem concerning spaces from unbreakable (thin) space inside « », for tex4ht I edited my message with the following use of the working trick from @michal.h21 \ifx\HCode\...
1
vote
1answer
216 views

keeping \parskip=0pt in HTML with take4ht

I have a problem with setting \parskip=0pt, not in my .pdf, but in my .html I want a new environment with \parskip=0pt, but make4ht -ul myfile.tex does not respect my deifnition. There seems to be a ...
1
vote
1answer
251 views

using --lua option to compile latex file to html fails when including png file with tex4ht and make4ht

I am trying to compile a latex document that includes lua code with tex4ht. I also make4ht to for building latex to html. According to help on make4ht the option --lua can be used to compile with ...
2
votes
1answer
2k views

Install make4ht with MiKTeX

I am trying to install make4ht on a system running MiKTex. The recommended instructions https://d800fotos.wordpress.com/2015/01/19/create-e-books-from-latex-tex-files-ebook-aus-latex-tex-dateien-...