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

learn more… | top users | synonyms

1
vote
0answers
59 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
102 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 ...
1
vote
0answers
60 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 ...
3
votes
1answer
38 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 ...
5
votes
1answer
70 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
51 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} ...
0
votes
1answer
267 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" ...
3
votes
1answer
111 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 ...
3
votes
1answer
119 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 ...
2
votes
1answer
79 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 ...
1
vote
0answers
45 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
1answer
43 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. ...
2
votes
0answers
47 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, ...
1
vote
0answers
24 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
45 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
47 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 ...
2
votes
1answer
41 views

mathml configuration

I need a customized mathml coding. mml: text should be added globally all mathml coding Current Coding: <math display="block" class="equation"><mi>a</mi> <mo ...
3
votes
1answer
100 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 ...
0
votes
1answer
96 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
1answer
64 views

How to get a customize mathml coding

I am using the tex4ht and try to convert tex to html document. Mathml coding is used to convert the equations. But i need to customize the mathml coding. I would like to separate the simple, complex ...
4
votes
1answer
100 views

htlatex filename.tex “xhtml,mathml”

I want to generate XHTML/MathML along with all equations as image. If I run the below command, I get html and equation-images htlatex filename.tex If I run the below command, I get html, and ...
4
votes
1answer
243 views

Converting latex to html using exsheets, and keeping equations as latex

I have been successfully using the configuration described in the excellent answer to keeping equations as latex, so as to use MathJax. Now I wish to also use the exsheets package (for creating ...
1
vote
0answers
73 views

\autoref for figures uses “section” instead of “figure” as text

My problem looks very similar to the problem in this question, and is exactly the same as the problem described on another forum. But none of those seem to have solved the problem. When I use the ...
1
vote
1answer
125 views

Equations are unchanged with verbatim package

I have maintaining display equations as it is. But the equation cross-link is not converting. How do achive this? My Sample LaTeX file is: \documentclass{article} \usepackage{amsmath} ...
3
votes
1answer
59 views

destlabel option of the hyperref package does not work in combination with htlatex

This is related to my previous question. The use-case is still the same: I want to convert a document into HTML, and give the links in the generated HTML a permanent character, even when the structure ...
2
votes
1answer
78 views

Problem with pstricks and htlatex/tex4ht

Consider the following MWE: \documentclass{article} \usepackage{pst-all} \begin{document} \begin{pspicture}(0,-3)(12,5) \psline[linewidth=2pt]{->}(1.5,0)(0,0) \end{pspicture} ...
4
votes
2answers
72 views

Create permalinks in HTML using tex4ht

Use case: an HTML version of a developer guide written in LaTeX and knowledge base articles in HTML which should be able to link to a certain section, figure, code snippet, ... in the HTML version of ...
2
votes
2answers
234 views

htlatex causes hyperref package not to load completely

The following code runs perfectly fine when using the regular latex command. \documentclass[a4paper,11pt]{book} \usepackage{hyperref} \renewcommand{\sectionautorefname}[1]{Section~} \begin{document} ...
3
votes
1answer
75 views

why tspan instead of class? italics not rendered using htlatex

When using htlatex with "html,fn-in", the generated html has <tspan font-family="cmti" font-size="10">should be italics </tspan> but this is not rendered in the html (at least not in ...
5
votes
1answer
100 views

htlatex and subfigures

Is it possible to have htlatex generate side-by-side subfigures? The mwe tex file \documentclass{article} \ifdefined\HCode \usepackage[compatibility=false]{caption} ...
4
votes
1answer
102 views

htlatex and differences between html and xhtml

To date, I have generated html files using htlatex rather than xhtml. This has been for one simple reason. I can right click on the html file and open it in MS word to then save and distribute to ...
1
vote
1answer
101 views

using --lua option to compile latex file to html fails when including png file with tex4ht and make4ht

I am trying to compile a latex document that includes lua code with tex4ht. I also make4ht to for building latex to html. According to help on make4ht the option --lua can be used to compile with ...
1
vote
0answers
44 views

Getting tex4ht to output all math “unprocessed” between html tags

I would like to use tex4ht to convert a LaTeX document to an electronic book format, but rather than MathJaX or MathML, I want all math-mode code to be dumped into the html output between identifying ...
0
votes
1answer
39 views

How to increase pool size for tex4ht

I have a large document, and after compilation using tex4ht I observed that output html file did not contain all text. Some sections were missed. It seems to me that memory pool is not enough. How ...
1
vote
1answer
37 views

unsupported packages handling in TeX4HT

In tralics http://www-sop.inria.fr/marelle/tralics/ it's possible to handles any unknown commands from unsupported package such as like hyperref.sty, for example, by including an <error> in the ...
0
votes
0answers
39 views

LaTeX to Customized LaTeX file conversion using htlatex

I would like to convert LaTeX to Customized LaTeX code using htlatex. It's possible in tex4ht? Our ultimate goal is natbib cross-link need to convert to without \cite tag, \def command need to ...
2
votes
0answers
26 views

Tex4ht error with tikz in TL2015: Undefined control sequence \pgfsys@svg@newline [duplicate]

I just installed new TL 2015, on brand new Linux mint 17.2. Installation went OK. When I try to compile any file now with tikz code in it, I get this error: ...
0
votes
0answers
31 views

TeX4ht aliasing on equations' images

I am compiling a .tex file to html using TeX4ht induced by the htlatex command. When TeX4ht compiles a document and turns equations into images, however, it produces low-quality images with little ...
2
votes
1answer
134 views

tex4ht: How to create fixed width table columns

I used tex4ht. I need to create longtable with fixed width of column. However specified width is ignored. Example: \documentclass[9pt,oneside,a4paper,english,notitlepage]{book} ...
1
vote
1answer
66 views

tex4ht: scale for graphic doesn't work

I use tex4ht. However when I include graphic, it includes with original size. Scaling is ignored. \documentclass[9pt,oneside,a4paper,english,notitlepage]{book} \usepackage{graphicx} ...
1
vote
1answer
158 views

htlatex html output droidsans

I am trying to use the font "Droid Sans" (as in http://www.tug.dk/FontCatalogue/droidsans/) in a html file generated from a tex-file. PDF I have succeeded in using the font as standard for a pdf by ...
3
votes
1answer
49 views

why is adding \catcode`\:=11 \catcode`\@=11 makes tex4ht fail to compile tikz picture?

I found interesting problem. In my tex4ht configuration file, I have the line that says \catcode`\:=11 \catcode`\@=11 It have been there forever. I think it was to solve a problem from this ...
0
votes
0answers
43 views

i dont want png files for the math in tex4ht

When I convert equations using tex4ht most of them are coming like png files. how to get the html converted instead of png file. Thanks Kumar
1
vote
1answer
186 views

tex4ht: configure href to open in new tab

I'm working with tex4ht (htlatex) and I'm trying to put links into the page it generates. I'm trying to find a way to make it so that when I place a link in the page the link is generated to have the ...
1
vote
0answers
60 views

Is there conflict with package arydshln and tex4ht?

This MWE gives an error with tex4ht, but compiles with no error in pdflatex \documentclass[12pt]{report} \usepackage{arydshln} \begin{document} \begin{tabular}{|l|l|l|}\hline text & text 1 ...
1
vote
0answers
39 views

Why x_\text{…} generate error when inlined but ok in display mode with tex4ht? [duplicate]

I can't understand why \tau = x_\text{average} work ok in display mode math but gives an error when inline. This error shows up only with tex4ht, not pdflatex. MWE \documentclass[12pt]{article} ...
0
votes
0answers
61 views

scripts.ini no such file or directory

I have a problem with usage of tex4th package. I installed it, however when I want to check if it works I receive the following error: ht: No such file or directory: C:\Program Files ...
1
vote
1answer
149 views

I am unable to remove the unnecessary spaces or newlines after html tags in html file

Could anybody help me what file need to be updated to remove newlines/spaces after html tags in the html file after using tex4ht (htlatex) as per the below: from: span class="cmr-9" to: span ...
4
votes
2answers
207 views

Missing spaces between regular words

I noticed that sometimes tex4ht removes "regular" spaces between words. I understand that spaces in DVI is just a "gaps" not a font symbols. MWE: \documentclass{article} \usepackage{times} ...
1
vote
0answers
32 views

TeX4ht and \xymatrix{} diagram [closed]

TeX4ht is generating a png file from an \xymatrix{} environment in LaTeX, however this png file is not being attached to the resulting xml file like LaTeX figures - just a blank area is left.