Questions tagged [make4ht]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
24 views

htlatex ignores value in brackets in item statement when using itemize

In Latex I have the following statements: \begin{itemize} \item[P)] Lorem ipsum dolor sit amet \item[E)] Pellentesque interdum eros in erat \item[Q)] Vestibulum ante ipsum primis \end{itemize} ...
2
votes
1answer
33 views

tex4ht place maintext and footnote in the same file

I'm using tex4ht, or more specifically htxelatex, to convert a rather large xelatex file to HTML but I noticed that all my footnotes are turned into separate HTML files. Is there a way to tell the ...
1
vote
1answer
33 views

latex to html conversion with make4ht - pictures' width and height

I'm approaching the issue of converting TeX documents to html. After some googling and reading, I ended up with make4ht. As a starting point, I'm trying to convert a simple tex document to html (+css) ...
2
votes
1answer
53 views

How should I work with multiple make4ht filters?

As I use tex4ht/make4ht more, I find I'm building up a collection of my own customisations. To help organise this, is there a recommended way to manage including (multiple) custom filters/domfilters ...
3
votes
0answers
110 views

tex4ebook can't change directory because of UNC paths [closed]

I had used tex4ebook to make an epub3 book about two years ago. After updating my MikTeX, and moving to the book directory, I tried to remake the epub file using the command: cd \Users\me\Documents\...
1
vote
1answer
35 views

Heading hierarchy in tex4ht

It looks like tex4ht headings start at <h2> for the title. The following tex: \documentclass{article} \title{Testing headings} \author{Alex Watson} \date{\today} \begin{document} \maketitle \...
1
vote
1answer
70 views

Graphics scaling in tex4ht

When I introduce graphics with \includegraphics[width=0.5\textwidth]{fig}, tex4ht processes this into some number of pixels (I'm not sure how - presumably there's a ppi setting I've not encountered?) ...
1
vote
0answers
72 views

Generating jpg images of Questions and Options in Exam Class through any method

The following is a code of TeX file. \begin{document} \begin{questions} \question Sample Question \begin{choices} \choice choice 1 \choice choice 2 \choice choice 3 \choice choice 4 \end{choices} \...
3
votes
1answer
44 views

make4ht: can it generate framed html output?

I am using make4ht to generate HTML output for an article that I am writing and posting it online. So far, so good. I would like to know if it would be possible to generate framed HTML output so that ...
2
votes
1answer
24 views

inconsistent links coming out of make4ht

I am working on a handbook and I am using latex to write it. I am able to produce PDFs and I also produce HTML content using make4ht (on an uptodate debian testing box). handbook is here: https://...
4
votes
1answer
80 views

How to use my own HTML template with make4ht?

Here is my LaTeX file foo.tex: \documentclass{article} \usepackage{amsmath} \title{Demo} \begin{document} \begin{align} 1 + 0 & = 1, \label{eq1} \\ 1 + 1 & = 2, \label{eq2} \\ e^{i \pi} = -1. ...
2
votes
1answer
26 views

make4ht is removing blank lines from verbatim environment

My LaTeX code file foo.tex: \documentclass{article} \usepackage{amsmath} \title{Demo} \begin{document} \begin{verbatim} Foo Bar Baz \end{verbatim} \end{document} Here is how I convert it to HTML ...
0
votes
1answer
140 views

make4ht complains about “module 'luaxml-domobject' not found”

I have installed make4ht using the command tlmgr install make4ht. Now when I enter the command make4ht foo.tex, I get this error: [STATUS] make4ht: Conversion started [STATUS] make4ht: Input file: ...
1
vote
0answers
212 views

Running make4ht + polyglossia under MiKTeX

I'm running a document which compiles to HTML using make4ht + LuaLaTeX. When testing both on Ubuntu, it works flawlessly, but when the same document is ran on Windows 10 with MiKTeX, I get a bunch of &...
2
votes
1answer
45 views

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 ...
2
votes
1answer
54 views

Customizing existing single line classes in ODT output from mk4ht oolatex

As an extension to this question: Creating new single line classes in ODT output from mk4ht oolatex I've been attempting to use this approach to reassign the style assigned in existing commands that ...
1
vote
0answers
46 views

Babel Arabic + bidi crashes Make4ht + PdfLaTex in TexStudio

I'm trying to convert a multi-language document (Arabic, Russian, English) into an HTML or an ODT. I call make4ht dummy.tex, either from the command line or a TexStudio custom command. dummy.tex ...
1
vote
2answers
137 views

Problem with display of LaTeX-Webquiz

As I am new to the WebQuiz package I am struggling with the correct display of a quiz. I would be super glad about any help as I would like to use WebQuiz for maths university and high school teaching....
0
votes
0answers
108 views

How do you actually use LaTeX conversion systems like make4ht and tex4ht?

I have acquainted myself with the export methods of LaTeX but I am utterly confounded by how I am supposed to actually utilize conversion software created by others out in the web. I understand the ...
2
votes
1answer
49 views

htlatex for multilingual text and output to odt format

I have an elaborate workflow for producing academic articles that produced latex wit references processed using Biblatex-chicago. The text is mainly in English, but occasionally I need to include ...
3
votes
1answer
86 views

make4ht: allowing the build process to continue when parsing fails

I use make4ht to produce html; part of the process is a custom build file that parses the HTML and does some checking/operations: mwe.tex \documentclass{article} \begin{document} test: $2^3$ ...
2
votes
1answer
47 views

Creating new single line classes in ODT output from mk4ht oolatex

I've been trying to follow a tutorial here: github.com/michal-h21/helpers4ht/wiki/tex4ht-tutorial My MWE files below produce a valid output with the text from the command, but I was expecting the ...
1
vote
1answer
89 views

make4ht cannot render newcommand in mathjax mode

I use file here, and then I run a command make4ht -uf html5 maths.tex "mathjax" but the result is not what I want. I find some solution says I have to add something to cfg file, but I do not ...
1
vote
1answer
63 views

A still unexpected result when using make4ht+mathjax-node-page

I have asked a question here old question, and I exactly follow the answer, now accent problem has been solved, but there are still some bugs. Here is my html, I have converted it to pictures. I ...
1
vote
1answer
139 views

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 ...
2
votes
1answer
166 views

Convert xelatex to html

I take this minimal example for document. I need 'polyglossia'. \documentclass{article} \usepackage{polyglossia} %\usepackage[utf8]{inputenc} \setdefaultlanguage{arabic} \newfontfamily\arabicfont[...
4
votes
1answer
59 views

make4ht for plain tex

I want to convert a plain tex document to html using make4ht. If I use this command line make4ht document.tex the program calls the compiler "latex" and blocks the compilation. The make4ht --help ...
1
vote
1answer
93 views

How to teach make4ht to understand newcommand properly?

Make4ht without /newcommand within the document works pretty well with up and down indexes, see the case of 1_definition.html in This Git repository But when the document involves, for example, a \...
6
votes
1answer
715 views

Convert LaTeX to HTML with MathJax

I'm student for Computer science. I prefer to write my home work assignments in LaTeX. I'm utilizing tikZ pretty heavily in my specialized science courses. My goal now is to convert my TeX files to ...
1
vote
1answer
50 views

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 "?"...
2
votes
1answer
79 views

Filenames of images in tex4ht

I have two systems where I need to run tex4ht/make4ht. They are different versions of Ubuntu, I believe 18.04 LTS vs 19.04. I use the most recent version of make4ht from github, but the version of ...
1
vote
0answers
54 views

How do change the output directory of `htlatex`

Every time I execute the htlatex command in TeXsudio (htlatex %.tex) I get a lot of files in my main folder. I would prefer that the target files (html, css, png, etc.) to a folder called html and all ...
2
votes
1answer
71 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
169 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
45 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 ...
6
votes
1answer
369 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 ...
2
votes
2answers
412 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
274 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
242 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
187 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
130 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
90 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
271 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
438 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
54 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
76 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
204 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
88 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
158 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 ...
5
votes
1answer
804 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 (...