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

learn more… | top users | synonyms

0
votes
1answer
116 views

Texmaker doesn't export to html (OS X El Capitan)

After upgrading to El Capitan I fixed the configuration and it is working fine. But it does not export to html with the tex4ht option. It yields the following output: "/Library/TeX/texbin/htlatex" ...
0
votes
0answers
13 views

since update, Problem with greek and hindi in polyglossia + tex4ht

I updated my texlive (for windows) and I have now a problem when I load hindi and greek languages. Everything worked fine a few days ago. I have the latest version of alternative4ht when i write this. ...
2
votes
1answer
11 views

Add a css class to graphics in tex4ht

So I have this \includegraphics[width=0.5\linewidth]{./src/images/screenshot--superman.png} And using make4ht (tex4ht) it generates the following markup (I'm pasting it as outputed): <p> ...
1
vote
1answer
23 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 ...
3
votes
0answers
71 views

Conversion to *.odt - error in odt's styles.xml

I'm trying to turn my latex document into an odt file to be able to open it with LibreOffice (to then be able and save it as MS Word file so colleagues can open and comment on it). Although the file ...
0
votes
1answer
65 views

How to force Sections to be Heading2 H2 in Plastex

Plastex is open source (Python) translator from LaTeX to HTML. https://github.com/tiarno/plastex It does a really good job, producing very clean HTML. For those of use that use LateX for writing ...
2
votes
2answers
70 views

How to get Unicode characters into HTML output

I am trying to make a book in both print and ebook. To make the print book I generate a PDF with xelatex. I have reconstructed all the source files to be encoded in UTF-8 and the Cyrillic and ...
1
vote
1answer
32 views

Converting to html keeping equations as latex and using dollar signs

I can convert tex to html keeping equations as latex (to be rendered by MathJax) but using multiple dollar signs in a paragraph poses a problem. If there's only one dollar sign in a paragraph, using ...
1
vote
1answer
28 views

tex4ht: Cannot compile document with \vref command

I use tex4ht to compile my document. In case if I use \vref command in my document, compilation fails with error: Undefined control sequence How to handle this situation?
3
votes
1answer
50 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 ...
2
votes
1answer
18 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
18 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} ...
2
votes
1answer
23 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 ...
2
votes
1answer
21 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
69 views

Renew itemize environment for customization in tex4ht

In a htlatex compiled document a standard enumerated list environment shows up as a <li class="itemize"> tag. For the pdf version I have loaded the enumitem package to aid with list ...
0
votes
0answers
20 views

tex4ht \ifdefined\HCode equivalent for Latex2rtf

One of my favorite features of tex4ht is that I can customize formatting or content depending on what compiler is being used by enclosing code in an if statement that is capable of providing a flag ...
1
vote
1answer
30 views

cleaner html code from tex4ht

I wish to have cleaner html code from tex4ht, but I am not able to see, form the code from the file, why there are carriage returns in the html code this is the code for tabular. I added several ...
1
vote
1answer
22 views

Breaking of footnote with pifont in alternative4ht helpers4ht

The last update of alternative4ht, in order to fix the tables in tex4ht see here, has a consequence that the redefinition of \thefootnote with pifont is broken. there are two versions of the ...
1
vote
1answer
20 views

tex4ht: getting accented letters in small capitals through \selectfont

I try to get small capitals in my html document, but the tex4ht code that I found works only for the command \textsc. however, I enter all my change of font through ...
2
votes
1answer
50 views

message error in biblatex.4ht with tex4ht, even with no bibliography

I have the following message when I compile a document calling biblatex, whether I run biber or not, in order to create a .bbl. I use Biber 2.3. My file is % biblatex.4ht (2015-08-05-15:37), ...
2
votes
1answer
27 views

tex4ht non roman languages inside tabular environment

I have tables with accented letters and other non-roman scripts, but they do not appear inside the environment tabular. The letters do appear outside of the tabular environment. i compile with ...
2
votes
1answer
199 views

TeX4ht and PSTricks

I tried to compile the code below with mk4ht htlatex file.tex 'xhtml, charset = utf-8 pmathml' '-cunihtf-utf8-cvalidate' Formulas and text are transcribed, but not graphics. How to solve this ...
2
votes
1answer
162 views

Move section anchors generated by tex4ht

When compiling a file with tex4ht, the sections are transformed with header HTML tags with anchor. So, if I compile \documentclass{article} \usepackage[xhtml,mathml]{tex4ht} \begin{document} ...
2
votes
1answer
34 views

Getting \today in various languages with polyglossia and tex4ht via alternative4ht

When I use the \today macro, I cannot get, in my .html, the display in various languages when I compile the following file from michal-h21 @michal.h21 and sty file of alternative4ht: all my dates are ...
1
vote
1answer
20 views

tex4ht: include *.pdf image - need condition in configuration file

I use tex4ht to compile my document. In case if user includes .pdf image, I handle this situation in the following way (.cfg file): \Configure{graphics*} {pdf} {\Link[\csname Gin@base\endcsname ...
2
votes
1answer
33 views

A manually created suffix for section titles compiled using tex4ht

I am building a document that looks one way with xelatex and another plain text file appearance using tex4ht. I produce an html document that then produces a great document that can be copied into ...
1
vote
0answers
27 views

tex4ht: bot symbol in hypertarget

I use tex4ht to compile my document. However I have one problem with $\bot$symbol. Command \hypertarget{Symbol$\bot$test}{UserText} leads to compilation error: Missing \endcsname inserted ...
1
vote
0answers
27 views

tex4ht configure a personal list after the configuraiton of enumerate

Edit: I use an extension of tex4ht, https://github.com/michal-h21/helpers4ht ================================ I have defined a customized list MYLIST in my .tex. this list MYLIST is very simple: I ...
2
votes
0answers
27 views

texh4ht how NOT to print math as images when math is displayed

Edit: I use an extension of tex4ht, https://github.com/michal-h21/helpers4ht ================================ I define a trivlist2 in order to control the space around \[ and \]. I want tex4ht to ...
3
votes
1answer
21 views

tex4ht: problem with Index compilation

I have problems with index section. I use tex4ht to compile my manual to html file. In case if makeindex and begin{document}/end{document} commands are located in included file, compilation if ...
0
votes
1answer
17 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 ...
3
votes
1answer
40 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 ...
1
vote
1answer
27 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
0answers
49 views

Can't include diagram with tex4ebook

I would like to convert a scientific book with lots of formulas and tables to epub3. So far I have read all the posts that are tagged and related to tex4ebook, tex4ht etc. and I have managed to ...
5
votes
1answer
75 views

unbreakable (thin) space inside « », for tex4ht

EDIT: @michal.h21 you tip works well, but if I use a numerical code such as &#8201; for thin space, instead of its name &thinsp; in your modified trick, \def\mythinspace{\HCode{<span ...
3
votes
1answer
33 views

nested personal list with output on one line + HMLT version via `make4ht`

edit: @michal.h21 I attempt to include a cfg file (named cfg), as you suggest, in my tex file alt.tex. I run the command: make4ht -ul alt.tex "cfg.cfg" but it does not change a thing. I changed thus ...
1
vote
0answers
34 views

tex4ht doesn't work after an update of TexMaker

tex4ht doesn't work after a recent update of TexMaker When I try to export via tex4ht I got this message : "htlatex" "C:\Users\serge\Desktop\BERNARD\FAUST.tex" " " " " " " -interaction=nonstopmode ...
5
votes
1answer
56 views

Custom lists conversion to html

I have managed to produce a latex file that works perfectly and I would like the same functionality using tex4ht on the same file. Basically, I have several custom \item label that I use to provide ...
1
vote
0answers
40 views

dvisvgm not working when called by htlatex

I'm trying to make tex4ht produve svg-pictures instead of the normal png ones. I'm working with MiKTeX 2.9 under Windows 10. I tried the following tex-file (mwe.tex): \documentclass{book} ...
3
votes
1answer
91 views

Tex4ebook not generating SVG files

I followed the instructions in this other question to generate an ePub from Latex with SVG images(I don't want to use ePub 3.0) with tex4ebook, but the generated epub has no images. I already found ...
3
votes
1answer
60 views

How to create multilingual (English, Japanese) html document with htlatex

Japanese html using htlatex [TexLive 2014 on Ubuntu 14.04]: Using pdflatex/xelatex I can generated pdf document from the latex source but I have problem generating html document. Note: I have ...
2
votes
1answer
55 views

How to configure the customized nomenclature list environments in tex4ht?

I am using tex4ht to convert a html document. I configure the list based new environment like nomenclature for latex to pdf output. The pdf output and label alignment is good for nomenclature ...
2
votes
1answer
41 views

htlatex crops too much for picture environment

I use htlatex to convert a large latex file to html pages. All works with one exception. Anything drawn in the picture environment gets cropped. I have isolated the problem in the code example below. ...
1
vote
0answers
37 views

latex template for webpage [closed]

I'm looking for a latex doc template, which can be easily compiled with tex4ht for a webpage. I'm looking to create a simple (pretty much text only) personal webpage. Is anyone aware of a freely ...
2
votes
0answers
40 views

tex4ht and listings: lines don't break when using escapeinside

This is the first I'm posting a question. So, I hope I don't do anything wrong. I've tried to get HTML from my latex document by using tex4ht. For cross-referencing within the lstlisting environment, ...
10
votes
1answer
1k views

text4ht and LuaTeX

There is a specific command to run tex4ht with XeTeX: htxelatex (which doesn't really work actually as far as I'm concerned). What is the command to run text4ht with LuaTeX instead?
1
vote
0answers
21 views

Customized table and figure tags and corresponding text citations

I am using tex4ht and I will try to get the customized tags for the purpose of xml usage. MWE: \documentclass{article} \usepackage{amsmath} \usepackage{booktabs} \usepackage{graphics} ...
3
votes
1answer
32 views

How to get correct htlatex output with lithuanian letters?

My example \documentclass{article} \usepackage[T1,L7x]{fontenc} \usepackage[utf8x]{inputenc} \begin{document} ąčęėįšųūĄČĘĖĮŠŲŪžŽ \[ \alpha + \beta = \gamma \] \end{document} produces incorect ...
2
votes
1answer
34 views

Customized section levels and id in tex4ht

I need to customize the all the five level of section ids in my html document. I will try to get the below mentioned requirement through my .cfg file. But i Can't get the required output. My Required ...
3
votes
1answer
91 views

How to remove the <p></p> surrounding every table cell rendered by Plastex?

Plastex renders beautiful HTML from LaTeX... to a point. One problem is that the content of every cell in tables is surrounded by HTML tags p> content </p even though it is already inside a ...