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.
211
questions
1
vote
1
answer
39
views
make4ht: configure the list style
I like to match the list style of HTML output with the PDF. When I use \item[] in the 2nd level of any list, there should also be no item label in HTML. And in the case of using \item in the 2nd level,...
1
vote
1
answer
38
views
make4ht: configure the hyperlink to open in a new tab
I am using make4ht for the conversion from tex to html file with the following configuration.
What I need to configure is related to URLs and hyperlinks. I want to get the hyperlink settings of the ...
1
vote
1
answer
22
views
make4ht with css styles. Remove margins
I have this Questions\285.tex file:
\documentclass{article}
\begin{document}
Something in this document. This paragraph contains no information and its purposes is to provide an \textbf{example} on ...
1
vote
1
answer
21
views
make4ht with option for auxiliary files in Windows
I have this file Questions\285.tex:
\documentclass{report}
\usepackage{tikz}
\begin{document}
\begin{figure}[H]
\begin{center}
\textbf{line1}
\textit{line2}
\end{center}
\end{figure}
\end{document}
...
2
votes
1
answer
38
views
make4ht and tabularray error
I get an error when I try to use make4ht with tabularray, here is a MWE :
\documentclass{article}
\usepackage{tabularray}
\begin{document}
\begin{tblr}{l}
1 \\
2 \\
\end{tblr}
\end{...
1
vote
1
answer
43
views
Color not coming in Make4ht
My codes are:
\documentclass[]{article}
\usepackage{array,booktabs,makecell}
\usepackage{relsize}
\usepackage{collcell}
\usepackage[table]{xcolor}
\usepackage{pgf} %
\usepackage[flushleft]{...
2
votes
1
answer
91
views
make4ht unable to compile with TikZ pictures
I am having troubles making make4ht working with Tikz pictures. My computer is a Mac M1 Sonoma 14.2.1, I have TeX Live 2024 and Ghostscript 10.03.0 on my computer:
lualatex --version
This is LuaHBTeX, ...
1
vote
1
answer
45
views
How to use alternative make for parallelizing dvisvgm in make4ht on windows
On linux, make4ht is able to parallelize the build of SVGs in dvisvgm. It looks like dvisvgm_hashes.lua expects to run exactly "make -j". I'm stuck with jom (https://wiki.qt.io/Jom) for ...
1
vote
1
answer
36
views
Increase SVG size in make4ht
I would like to increase the default scale of dvisvgm as invoked from the make4ht scripts. Is there a way to pass the "scale" option to dvisvgm_hashes from the command line?
Thanks,
Allen
1
vote
1
answer
27
views
Add translate="no" attribute in the elements generated from code listings
I'm using make4ht to convert .tex files to HTML, and I added google translate API to the generated website, but some elements shouldn't be translated and adding translate="no" attribute to ...
1
vote
1
answer
19
views
make4ht place footnotes container inside "main-content" container
My MWE is:
\documentclass{article}
\begin{document}
Test \footnote{This is a test!}
\end{document}
When I compile using this configuration file (.cfg):
\Preamble{xhtml,html5,fn-in}
\Configure{...
3
votes
1
answer
45
views
make4ht \boxed rendering wrong when using MathML
My MWE is:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\boxed{A} \boxed{B}
\]
\end{document}
When I compile using pdflatex I got the two boxes side by side, but when compiling ...
1
vote
1
answer
66
views
Combination of \cline and p-type column in table seems to break make4ht
I am trying to convert a .tex file into .odt using make4ht. This is the MWE that is able to generate the error that I face:
\documentclass[a4paper,12pt]{article}
\usepackage{multirow}
\usepackage{...
1
vote
2
answers
57
views
make4ht and dvisvgm generates a '.svg' file that contains text regarding using option '-dNEWPDF'
I'm generating .svg files with mahe4ht and dvisvgm. The .svg is generated but contains text at the beginning regarding the use of option -dNEWPDF:
The old, written in PostScript, PDF interpreter has ...
2
votes
1
answer
36
views
make4ht breaks with text formatting in section headers when trying to convert to odt
I have a test file that I wish to convert to .odt. Here is a MWE:
\documentclass[a4paper,12pt]{article}
\title{Special media for rapid germination of \textit{Persea americana} seeds using vitamin B\...