Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tex4ht]

TeX4ht is a highly configurable TeX-based authoring system dedicated mainly to produce hypertext.

1
vote
1answer
15 views

Problems with verse environment from xelatex to docx via tex4ht

Note: To convert from XeLaTeX source to .odt/.docx, I am using the solution provided by Michal Hoftich. (See there for MWE and the solution by @michal.h21.) The present question is follows upon an ...
2
votes
1answer
22 views

How to prevent the loss of a Greek Unicode character when converting to ODT using tex4ht

To convert from XeLaTeX source to .odt/.docx, I am using the solution provided by Michal Hoftich. (See there for MWE and the solution by @michal.h21.) That setup works great for converting Unicode, ...
3
votes
1answer
41 views

Using tex4ht to convert from XeLaTeX source that uses Unicode-named macros to Word (.docx) format

I asked a very similar question several years ago on the tex4ht listserv and received a very helpful answer from Michal Hoftich. He described certain limitations for working with Unicode and tex4ht ...
3
votes
1answer
46 views

why \textcolor works but not \color in tex4ht?

In this MWE \documentclass{article} \usepackage{xcolor} \usepackage{pifont}% http://ctan.org/pkg/pifont \newcommand{\cmark}{\ding{51}} \newcommand{\xmark}{\ding{55}} \begin{document} Why this is ...
3
votes
1answer
51 views

biblatex + TeX4ht

My tags are follows: \documentclass{book} \usepackage[english]{babel} \usepackage[notes, short, backend=biber]{biblatex-chicago} \usepackage{xpatch} \usepackage{endnotes}% \let\footnote\endnote% \...
2
votes
1answer
21 views

Cross reference (\cite) separation - TeX4ht

My codes are follows: \documentclass{article} \usepackage{ifthen} \makeatletter \newboolean{Journal} \newboolean{Proceedings} \newboolean{NewProceedings}% 02-14-...
2
votes
1answer
24 views

Affiliation numbers in Author's Name - using TeX4ht

My code are follows: \documentclass{article} \usepackage{ifthen} \makeatletter \newboolean{Journal} \newboolean{Proceedings} \newboolean{NewProceedings}% 02-14-13 ...
2
votes
1answer
27 views

Uppercase Greek in Roman - TeX4ht

My code as follows: \documentclass{book} \usepackage{amsmath} \begin{document} \begin{align} \label{eq:ocdphi} E(\Delta\phi_{r,j}^s)&=g^s_r\tilde{\tau}_r+d\tilde{t}_r-d\tilde{t}^s-\mu_j\tilde{\...
4
votes
1answer
55 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} \...
0
votes
0answers
32 views

tex4ht: a link between 1.3 and 2.1?

I am using tex4ht. In my document, there is 3 sections, and 3 subsections in each section. When I am section 1.1, I can go to 1.2 using next. From 1.2, I can go to 1.3 using next. Is it possible to ...
2
votes
1answer
24 views

tex4ht: How to change the order of the prev / next / up?

I am using tex4ht. The "arrow" that are generated are in the ordre next/prev/up. I would prefers to have them in the ordre prev / up / next, on all the pages. Is there a way to do that? Christophe
4
votes
1answer
63 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
59 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 ...
3
votes
1answer
43 views

scrjura link does not become converted to html using tex4ht

This is a question for tex4ht experts. I'm writing contracts in German language. MWE: \documentclass[pagesize, ngerman, fontsize=12pt, parskip=half, ref=nosentence]{scrartcl} \usepackage[T1]{fontenc}...
1
vote
1answer
32 views

Using adjustbox in tex4ht does not work. Is this known limitation?

This MWE, thanks for solution from this post %----------------------------- \documentclass[12pt]{article} \usepackage{graphicx} \usepackage[export]{adjustbox} \begin{document} \begin{enumerate} \...
3
votes
2answers
70 views

tex4ht doesn't render \not correctly

I tried to htlatex the following code: \documentclass{article} \usepackage{amssymb} \begin{document} Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $A\not\subseteq B$. \end{...
2
votes
1answer
47 views

tex4ebook: stack not empty at end of page?

I tried to compile an article, the source code of which is downloadable, to an ebook with tex4ebook. After some trivial modifications: --- ../formal.orig.tex 2018-11-23 17:05:07.032134691 +0100 +++ ...
2
votes
1answer
43 views

minilot and minilof with tex4ht

I'm working on an ebook and i'd like to have a list of figures/tables at the end of every chapter and only for that chapter (so just like minilot and minilof, but unfortunately minitoc doesn't work ...
2
votes
1answer
37 views

Is it possible to add an entry to the HEAD section of the HTML from inside the latex file with tex4ht?

I use a global .cfg file for all my latex source tree when compiling with tex4ht. This file has generic configuration common to all latex files. I'd like to add a specific META tags to the HEAD ...
2
votes
0answers
34 views

tex4ht: custom list of … (part 3 of 3)

This is a direct follow-up to tex4ht: custom list of … (part 2 of 3) I have a custom list of <things>. The code below provides two-way links between the occurrence of the <thing> on the ...
1
vote
1answer
37 views

Ligatures generated by tex4ebook inconsistently supported

As a followup to htlatex, garamond fonts, and nulled "ff" and "fi" strings on getting ligatures working correctly with tex4ebook, I've managed to get ligatures to not be replaces ...
1
vote
1answer
83 views

Tex file to HTML conversion

I tried to convert multiple .tex files, but I'm having problems with it, I tried htlatex, pandoc, latex2html, but none of them have worked. The one who at least show signs of success was using the ...
2
votes
1answer
30 views

Showing Paragraphs in ToC in tex4ht

I've been fiddling with this for three hours and I feel so lost because it seems like nothing I do has any effect on the tex4ht generated html. I have a fairly large document that I'm building as a ...
2
votes
1answer
51 views

tex4ht (or tex4ebook) is not compatible with ^\mathbb, _\mathfrak, etc

To export many mathematical articles and surveys to Kindle from the LaTeX source code, I am trying to use tex4ebook. It seems to me that I still need to hack many LaTeX codes to finish the compilation,...
6
votes
1answer
119 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 ...
2
votes
1answer
33 views

tex4ht table of contents

I'm working on an ebook and i'm trying to make a main toc at the beginning like 1. chapter 1 1.1 section 1.2 section 2. chapter 2 ... and minitocs at every chapter like 1.1 section 1.1....
3
votes
1answer
43 views

Using subfigure with tex4ht

i've read this question and the subfigure environment works fine, except captions aren't centered below the images. Instead, it looks like this: is there a way to fix this? my config.cfg looks like ...
1
vote
1answer
27 views

tex4ht fails with scrartcl class when defining \rm command. Argument of \popthree has an extra

This MWE compiles OK with lualatex and pdflatex but fails with tex4ht. Why? And this happens only when using scrartcl and not with article. \documentclass[11pt]{scrartcl}%{article} \...
3
votes
1answer
39 views

Defining the size of .eps files with tex4ht

I'm working on a Latex document with which i generate both, an ebook and a pdf document. To include graphics i use the following config.cfg: \Preamble{xhtml} \Configure{graphics*} {jpg} {% \...
1
vote
1answer
41 views

Rotating text with tex4ht

i want to rotate text within a table, which works fine when generating a pdf document, but not when using tex4ht. Is there a way to fix this? MWE: \documentclass{book} \usepackage{mwe} \begin{...
1
vote
1answer
41 views

htlatex Defines a Command Then Chokes on it

I'm trying to compile a LaTeX document into a HTML document but I keep hitting the same problem. When I compile (using the command htlatex .\scratch.tex myhtml), I get the following output: G:\PhD\...
3
votes
1answer
81 views

Problems with ligature and libertine font -

I cannot post a comment under my previous question so (i fixed some files because i misunderstood somethings, but there is a problème with tt => fl in sffamily not smallcaps and it seems it cannot do ...
1
vote
1answer
43 views

Configure bibitem command in tex4ebook/make4ht

I am looking for a place to find how to configure the \bibitem tag in tex4ebook/make4ht. All bibitems are inlined without </br> I tried: {\Configure{bibitem}{\NoFonts \HCode{</br>}}{}\...
1
vote
0answers
44 views

How to include multiple pdf pages as images using tex4ht?

The answer given here pdf-image-files-and-htlatex works very well when the pdf file has one page only. tex4ht will convert the pdf page to a png and load it into the HTML OK. But it does not work ...
1
vote
1answer
103 views

Problems with ligatures

I have some problems to make ligatures (not) work in epub. my MWE : \documentclass[10pt,a5paper]{book} \usepackage[french]{babel} \usepackage{libertine} \usepackage[T1]{fontenc} \usepackage[utf8]{...
1
vote
1answer
30 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
36 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
35 views

tex4ht, including graphics in a table with pic-tabular option

i'm trying to convert a Latex document into an ebook using tex4ht. The document contains many tables, which are way too large and complex for an ebook. After some research i found the "pic-tabular" ...
1
vote
1answer
35 views

pictureenv in tex4ht changes some letters in listing inside a table

I am using pictureenv from the answer in tex4ht conflict with math in table vs. outside table when using SVG When adding a second column to the table which contains listings, it changes the ...
1
vote
1answer
47 views

tex4ht conflict with math in table vs. outside table when using SVG

I found a problem using tex4ht with SVG for math. I needed to make a table and put math in it. I found that the same math inside the table looks bad compared to the math outside the table. After ...
0
votes
0answers
31 views

TeXmaker and UTF8 accented letters, export to ODT

When exporting a LaTeX document (written outside, in UTF-8) to ODT I get for accented letters like "í" the output "í'i" (the second i here is a dotless one). TeXmaker 5.0.2 running on Fedora 28
3
votes
1answer
46 views

make4ht/ODT: resizing of images

There have already been several questions regarding the resizing of images with ht4leax/make4ht, but somehow none of the answers seems to resolve my problem. Consider the following MWE \...
2
votes
1answer
53 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,...
1
vote
0answers
29 views

htlatex: use the argument of \label as the value of the attribute id in the HTML file

I have been using htlatex to convert my LaTeX files to HTML. In my experience, htlatex doesn't use the argument of \label associated to a section in the LaTeX file to assign the value of idin the HTML ...
3
votes
1answer
100 views

How do I convert LaTeX containing arbitrary Unicode to XHTML?

I was reading this question(How to get Unicode characters into HTML output) and because his intent is simply to ouput the text to HTML, I was wondering if there is a command that simple does binary ...
1
vote
1answer
31 views

1ex in tabular breaks tex4ht ODT conversion

I included the [1ex] spacing command in a tabular and attempted to convert to ODT using tex4ht (make4ht -f odt file). It doesn't work. \documentclass{article} \begin{document} \begin{tabular}{lll} ...
1
vote
1answer
68 views

How to retain TeX code using TeX4ht

Kindly suggest latex to xml cfg code to get the following: (1) LaTeX: $D$ XML: <inline-formula> <tex-math><![CDATA[ $D$ ]]> </tex-math> </inline-formula> (2) LaTeX:...
2
votes
1answer
37 views

extra new line added using tex4ht using BVerbatim

This is a minor issue and I can easily work around it, but thought to mention it just in case it is not supposed to happen. Using \usepackage{fancyvrb}, I needed to print lines one after the other of ...
7
votes
1answer
134 views

How do I deactivate tikz output to the document and only generate PNGs?

I want to use tikz images but include them in my document via PNG with includegraphics. This works nicely both for PDF and HTML, but the original tikz image is displayed, too. The reason why I need ...
3
votes
1answer
48 views

French accent into align environment with htlatex

I am using first latex compiler to generate pdf document. Into .tex source, I have the following equation : \begin{align} \text{tenseur sym\'etrique :}\,\,\,\,& S_{ij}=(1/2)\,(T_{ij}+T_{ji}) \...