Questions tagged [make4ht]

{make4ht} is a build system for TEX4ht, TEX to XML converter. It provides a command line tool that drives the conversion process. It also provides a library that can be used to create customized conversion tools. An example of such a tool is tex4ebook, a tool for conversion from TEX to ePub and other e-book formats.

Documentation at the link: https://texdoc.org/serve/make4ht/0.

201 questions
2
votes
0 answers

make4ht fails on valid tex file but pdflatex works

I am trying to convert a tex file into HTML using make4ht. pdflatex successfully outputs a PDF, but make4ht fails. I have a test file as below \documentclass{book} \usepackage{tikz} \usepackage{tkz-graph} \begin{document} Hello \end{document} When…
AvyChanna
  • 121
2
votes
1 answer

make4ht configuration file format

I need to HTMLize several largeish, complex LaTeX documents. Looking around, I see praise for make4ht. But there are several snags, that the documentation states can be sidestepped by a .mk4 configuration file for the file. Reading the documentation…
vonbrand
  • 5,473
2
votes
1 answer

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 prefer make4ht's own argument system. $ make4ht -u -c…
1
vote
1 answer

copying images and linking to them during make4ht conversion to HTML

I use a command like this to generate HTML files and save them in the directory ./html. make4ht -x -f html5 -d html doc1.tex So, for example, this document \documentclass{article} \usepackage{graphicx} \begin{document} This is a…
1
vote
1 answer

Cannot decipher unbalanced body or paragraph tag issue using make4ht

I cannot figure out why make4ht conversion gives a DOM parsing failure. System: macOS with TeXShop via TeXLive-2022 (all latest versions recently updated) MWE with all configurations (in case a package conflict is to blame) %% course…
1
vote
1 answer

Can I make make4ht to copy the output.html file as index.html?

I use the command "make4ht -e test.mk4 test.tex" to produce a number of html files named "test.html" , "test1.html" etc. This works fine. Now, I would like to have at the end of the process a copy of the file "test.html" named "index.html". Is there…
1
vote
1 answer

An unexpected result when using make4ht+mathjax-node-page

I exactly follow the instruction from latex mathjax node but getting some unexpected result, first in section 6 accents, the math symbols are not corrected, second, in HTML some information is missing in pdf file, it should be third, in theorem…
noname1014
  • 157
  • 5
1
vote
1 answer

LaTeX make4ht freeze

I use make4ht to generate html file with css from latex document. And when I manually execute this command make4ht main-tex -c tex4ht.cfg it compiles part of LaTeX, then freeze with new line and "?" mark waiting for any key pressed, then it…
darvark
  • 113
0
votes
0 answers

make4ht/mk4ht does not make breaks between words

make4ht/mk4ht produces an odt file with no breaks between words after the 1st footnote. But it used to be ok just recently. What can be the problem? Disabling `hyphenat' package does not…