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

learn more… | top users | synonyms

0
votes
0answers
22 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
16 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: ...
1
vote
1answer
262 views

TeX4HT Equation unchanged with newcommand or def command

I would like to convert all the inline-math and display-math should be LaTeX format only and not for image. I had referred tex4ht leaving equations unchanged and tex4ht leaving equations unchanged - ...
0
votes
0answers
15 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 ...
1
vote
1answer
53 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 ...
2
votes
1answer
43 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
35 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
40 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
39 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
32 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
3answers
586 views

How to convert LaTeX to HTML, keeping formatting of pdf.dvi?

I would like to convert a LaTeX document (in this case, a resume) to HTML for submission, since .pdf and .dvi are not allowed formats. How can I do this while maintaining the same formatting (e.g. ...
1
vote
1answer
29 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
13 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
36 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 ...
4
votes
1answer
58 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} ...
7
votes
1answer
293 views

Removing spaces before command

When using French guillemets with TeX4HT, the resulting symbols are not followed/preceded by non-breaking spaces like they should, resulting in wrong line-breaking in HTML. I tried resetting \og and ...
4
votes
2answers
72 views

tex4ht styling breaks after figure containing tikz drawing

\textbf works in tex4ht before the figure environment, but not after: \documentclass{book} \usepackage{tikz} \begin{document} \textbf{this is bold} \begin{figure}[h] \begin{tikzpicture} ...
1
vote
0answers
21 views

TeX4ht and \xymatrix{} diagram

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.
3
votes
0answers
36 views

Difference between equation and align using tex4ht

I'm trying to produce an html copy of my book, which is written in LaTeX using tex4ht. Things are going better than I expected. But in some places I use the equation environment and in others align. ...
4
votes
1answer
43 views

Converting xparse commands to html

I've had a varying level of success converting LaTeX documents into HTML, but one of the major problems I've encountered is converting expressions which contain commands defined through the xparse ...
2
votes
1answer
33 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
85 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
34 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
87 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
97 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
719 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 ...
6
votes
2answers
13k 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
380 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
45 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
18 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
40 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
89 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
63 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
260 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
90 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
30 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
71 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
49 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
108 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
115 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
496 views

Install make4ht with MiKTeX

I am trying to install make4ht on a system running MiKTex. The recommended instructions ...
5
votes
1answer
147 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
129 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
36 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
46 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
83 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
64 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 ...