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

learn more… | top users | synonyms

2
votes
1answer
24 views

Splitting a bibliography-driven Latex document into per-page Open Document ODT files?

I have already seen Can one TeX file output to multiple PDF files?, and I'm aware this is likely to require "external" scripting - but I just wanted to see if anyone has a straightforward approach. ...
3
votes
2answers
69 views

tabu and tabularx compatibility - for htlatex, tex4ht and migration between tabu and tabularx

Is it possible to renew the tabularx environment so that it will take the tabularx style parameters? Or the other way around? \begin{tabularx}{\textwidth}{ ... } % ... \end{tabularx} \begin{tabu} to ...
1
vote
1answer
33 views

What process can generate a new write sequence

While compiling a very large document recently in xelatex and tex4ht I have observed that tex4ht doesn't handle write streams the same as xelatex. I am trying to prepare a MWE to troubleshoot my ...
3
votes
1answer
49 views

The best way for math in epub - font or SVG? (tex4ebook)

with some math as HTML it doesn't display well on some readers. How can I include a specific font to epub for this badly displayed math? Or is there any option to convert all math to picture (SVG)? ...
5
votes
1answer
75 views

how to speed up tex4ht image generation process?

Currently, I tell tex4ht to use svg instead of png for math images. This results in better image quality. However, it is slow in image generation, as it takes about 1-2 seconds for each image to be ...
11
votes
1answer
568 views

error using pgfsysdriver with tex4ht, only shows up with texlive 2014, ok with texlive 2013

Update: Thanks to the comments below. Using the link by Michal below, it appears this is a known bug but the fix was not in 2014. Doing the change as pointed out in the link below, seems to have fixed ...
5
votes
2answers
12k views

Using htlatex to convert LaTeX to HTML

I appear to have htlatex and htxelatex already installed on my computer. However when I try to run them, it comes up with the message, 'I can't write on file 'texput.log'' I am trying to convert a ...
2
votes
0answers
45 views

Running TeX4ht while using biblatex renders empty .html file [duplicate]

The issue I'm facing: Running TeX4ht renders an empty document when using references with biblatex. I'm using TeXmaker 4.1 on a PepperMint 5 OS (based on Ubuntu 14.04). The preamble of the document ...
1
vote
1answer
215 views

How to export LaTeX to OpenDocument using htlatex? (Windows XP + MikTeX 2.9 + TexMaker 4.4.1)

I am trying to output a LaTeX document to the OpenDocument format (.odt) using TexMaker's "Export using TeX4ht" tool. However, I am unable to produce any output document, although the command line ...
3
votes
1answer
35 views

inconsistent hyperref appearance control in tex4ht

Using the \hypersetup{} of \usepackage[tex4ht]{hyperref} (as seen in the MWE below) I am trying to format the hyperlinks of links such as glossary entries so they are less noticeable. On two ...
0
votes
0answers
16 views

Producing SVG graphics with tikz and tex4ht not working [duplicate]

I'm on TeXlive 2014. Here's my M(N)WE: \documentclass{article} \usepackage{tex4ht} \def\pgfsysdriver{pgfsys-tex4ht.def} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) rectangle ...
4
votes
1answer
32 views

why tex4ht generate funny looking extra characters when using \usepackage{cprotect} package

MWE \documentclass[]{article} \usepackage{cprotect} \begin{document} \cprotect\fbox { \begin{minipage}[t]{\textwidth} This is a test \end{minipage} } \end{document} compiled with htlatex foo.tex ...
5
votes
1answer
65 views

How to write custom configuration for TeX4ht

I have some macros in my document, and I want to create my own HTML for there. I follow this blog entry but I can't to make it work. I put this code before my \begin{document}: ...
3
votes
1answer
47 views

configuring minipage in htlatex

I want to use minipage in htlatex, because I want to have a minipage with a figure, close to a minipage with some text, and then I want some other text that must be on a new line and full-width. I ...
3
votes
0answers
252 views

Using the multirow package with tex4ht to generate tables in HTML document

I am trying to generate a HTML document using $\LaTeX$ and I am experiencing some minor bug with tex4ht and the multirow package (I am working with MikTex 2.9 and WinEdt 7). It appears that the ...
4
votes
1answer
77 views

TeX4ht Some Turkish Characters Appear as Images

When using htlatex command, the turkish characters "ç" "ğ" "ş" "ü" appear OK but when it comes to "ı", TeX4ht produces an image. Is there any way around this? Edit: When I use another font like ...
0
votes
0answers
28 views

It takes too long TeX4ht to complete

I want to use TeX4ht for my personal website. However, it takes too long (like 10 minutes long) for TeX4ht to complete in Windows 8.1 Is this normal? Can I do anything to make it shorter? My .tex ...
2
votes
1answer
57 views

Can tex4ht support square justified text with different line spacings?

Can tex4ht support square justified text and can I specify different line spacings (1, 1.15, 1.5, 2 etc.)? Sloppypar allows me to square justify my paragraphs in a pdf but the html file in a web ...
2
votes
0answers
38 views

TeX4ht without converting math formulas

Maybe my question is very silly or maybe very trivial, but I can't figure out the solution... I want to regularly publish parts of Latex documents to a Wordpress where I have the MathJax plugin ...
4
votes
0answers
101 views

Border control for LaTeX tables generated using TeX4ht

In producing simultaneous pdfs and html/word files using xelatex and TeX4ht I have noticed that the table produced by TeX4ht is kind of illogical and is clumsy to clean up and manipulate. I would ...
4
votes
1answer
84 views

LaTeX to HTML using htlatex - Background problem

I've been trying to highlight Python code and convert it to HTML. For highlighting I used the minted package since it provided a few styles that I was looking for and I used htlatex for HTML ...
2
votes
1answer
457 views

Install make4ht with MiKTeX

I am trying to install make4ht on a system running MiKTex. The recommended instructions ...
5
votes
1answer
127 views

color environment text is not converted in htlatex

I have using pdflatex to get the color environment text. But when using htlatex the color and the environment content (Note) is not converting. Please find the MWE below: \documentclass{book} ...
3
votes
1answer
102 views

Increase equation resolution in TeX4ht using accessible images or typeset text

When TeX4ht compiles my latex code it generates a png of my equation and includes this in the html file. Until a better alternative for this comes along I am quite happy with this way of ...
8
votes
1answer
2k views

LaTeX --> (X)HTML with tex4ht: bad quality images of equations

I'm using tex4ht to produce XHTML files from a LaTeX file. The XHTML file I obtain uses images for some equations which tex4ht could not convert directly to XHTML. Problem: images of equations have ...
2
votes
0answers
25 views

htlatex adding _ after - in URLs

I'm using htlatex on Fedora 21, texlive-tex4ht-svn33024.0-1.1 I noticed that whenever a URL has a hyphen within it, in the HTML output it's formatted with an underscore symbol following -. For ...
3
votes
1answer
34 views

TeX4HT \textregistered and an unwanted semicolon

Using \textregistered{} and/or \textregistered result in ®; ®; Is there a way I can redefine this symbol so that it doesn't include a semicolon or is there a package conflict that is causing this ...
3
votes
1answer
71 views

TeX4HT compile sequence

I just noticed that when I compile a tex file into an html document, I actually don't have to run the equivalant sequence I am used to xelatex For all bibunits generated bu*.aux bibtex For all ...
4
votes
1answer
46 views

Can \pbox{max width}{text} be used in tex4ht

Can \pbox{max width}{text} be used in tex4ht? If it can't, is there an alternative that will let me wrap text (manually or automatically) in htlatex. In my reading there was an option ...
1
vote
1answer
49 views

Tex4ht changes a grave accent letter ` (hex 60) to left single quotation mark (hex 0xE2 0x80 0x98)

I need help with this problem, as I am not able to find a fix. This is a big problem for me, since the input file contain many grave accent characters ` which I enter by hitting the But when ...
6
votes
1answer
63 views

Typeset a degree sign in tex4ht

I am trying to produce a degree sign in tex4ht (ideally with the same code that produces the pdf) The PDF works fine in all of the different ways of displaying the degree sign, but the html document ...
3
votes
0answers
126 views

Missing chemical sub- and super-scripts in html file compiled with htlatex

Current problem is typesetting with the chemical packages. As would be expected, the PDF is produced without any problems but distinct issues arise with the html production using tex4ht. The HTML ...
1
vote
1answer
50 views

tex4ht cannot handle image in subfolders?

tlmgr revision 35841 (2014-12-16 20:11:15 +0100) tex4ht revision: 34624 I was using this package for test the tex4ht functions. However, I found out if the image is under subforder, oolatex ...
0
votes
0answers
24 views

Can't find/open 'tex4ht.lg' file

I am trying to run htlatex with the options "html,3,next" and it fails with the error: Can't find/open 'tex4ht.lg' file
5
votes
2answers
1k views

When generating html, how do you specify image size?

I am using htlatex (or as many people call it tex4ht) to generate html and I have included some graphics. Htlatex seems to ignore all the size arguments I give the image size. I've tried specifying: ...
1
vote
0answers
63 views

tabu + htlatex Problem [closed]

Edit: Can someone put my question off-hold so I can answer it myself? Cool, I received a reply from the tex4ht maintainers, they accepted it as a bug. So there is hope it will be available in ...
3
votes
1answer
60 views

why quotes " in Verbatime become tilde when adding \usepackage[T1]{fontenc} with tex4ht?

There seems to be another strange interaction with packages here with tex4ht. I do not know if this is a feature of these packages that one is not supposed to mix them, or a bug. But it only shows up ...
6
votes
1answer
73 views

TeX4ht and LaTeX3 - Do they go togther?

I'd like to add TeX4ht support for my package, which is written in LaTeX3. Is it safe to switch \ExplSyntaxOn inside a .4ht file? Should I switch it off at the end? If it was NOT safe, how should I ...
22
votes
4answers
623 views

Is there an \iftex4ht command, and if not, how should it be defined?

Background: I'm using TikZ to generate a load of pictures that I want to put on the web as SVGs. So I'm using the pgfsys-tex4ht.def driver and it's working very well. My gut feeling is that the SVG ...
2
votes
0answers
92 views

Why using {newtxtext,newtxmath} packages breaks MathML generation in tex4ht?

I found when adding the line \usepackage{newtxtext,newtxmath} breaks mathml generated by tex4ht and hence the math looks bad when viewed in the browser. It seems to be a font issue. I am using ...
2
votes
1answer
98 views

How can I make \cref{foo,bar} from cleveref work with htlatex? [duplicate]

I have the following test2.tex file: \documentclass{article} \usepackage{tex4ht} \usepackage{etoolbox} \usepackage{hyperref} \AtEndPreamble{\usepackage{cleveref}} \begin{document} ...
3
votes
1answer
72 views

Are htlatex (TeX4HT) and cleveref compatible?

Simple question: When I use cleveref and \Cref{} or \cref{} I am able to compile the code and produce a PDF. When I use htlatex I get ?? in place of what I expect would be the object name and ...
2
votes
1answer
66 views

problem with titlesec package with tex4ht when using starred version of \section

I just updated my texlive 2014 using tlmgr to fix an older related problem with using titlesec with tex4ht. But it seems a new problem now shows up. This show up only when using the starred version ...
1
vote
0answers
27 views

htlatex outputs extra word not in document when using \columnbreak with multicols

texlive 2014, Linux. MWE \documentclass{article}% \usepackage{lipsum,multicol} \begin{document} \begin{multicols}{2} \section*{Introduction} This is introduction \columnbreak \section*{my ...
3
votes
1answer
87 views

Kindle DX formatting problem with tex4ebook

MWEs don't get much more minimal than this: \documentclass[]{book} \begin{document} This is \emph{very} strange \end{document} You can compile it using tex4ebook, but htlatex example.tex xhtml has ...
2
votes
1answer
49 views

tex4ht: indexentries/structure of the .ind-file

Running htlatex 2 times with a makeindex command in-between delivers a working .ind file but with page numbers as linktags in the corresponding .html output which make no sense for users visting the ...
4
votes
1answer
68 views

Setting up a counter in Tex4HT Configuration to use in html

I want to add a collapsible panel header to some text, to do this I need to define some IDs, I can't use \thesubsubsection because it comes with dots (2.0.1 for example). So I want to use a simple ...
4
votes
1answer
40 views

Which is the .4ht file that controls figure generation in tex4ht?

Does anyone know which .4ht file is used for generating figure HTML output? The candidates I think are html4.4ht:\NewConfigure{figure}{2} tugboat.4ht:\NewConfigure{figure}{2} fig4tex.4ht
1
vote
0answers
50 views

How to get pictures from every \halign line?

I'm trying to get separate images from eqnarray lines. Problem is that I can't properly insert starting/closing image \specials for tex4ht. Lets consider a minimal example (plain tex): ...
2
votes
1answer
27 views

Invoke \CssFile via \AfterEndPreamble

When running htlatex <filename> one can include CSS code via \CssFile and \EndCssFile. This works fine as long as the code is included directly in the main document body. I suspect this is the ...