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

learn more… | top users | synonyms

1
vote
1answer
13 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 ...
0
votes
0answers
9 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
26 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
38 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
1answer
47 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
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
32 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
38 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
29 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. ...
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
67 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)? ...
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 ...
3
votes
1answer
40 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
17 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
38 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
76 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
55 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 ...
5
votes
1answer
86 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 ...
4
votes
1answer
84 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
0answers
44 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 ...
2
votes
1answer
473 views

Install make4ht with MiKTeX

I am trying to install make4ht on a system running MiKTex. The recommended instructions ...
4
votes
1answer
98 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 ...
3
votes
1answer
114 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 ...
2
votes
0answers
28 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
39 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
77 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
59 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 ...
4
votes
0answers
103 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 ...
1
vote
1answer
59 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 ...
2
votes
1answer
61 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 ...
1
vote
1answer
285 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 ...
6
votes
1answer
66 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 ...
1
vote
1answer
62 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
27 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
3
votes
2answers
79 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
0answers
69 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 ...
6
votes
1answer
77 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 ...
3
votes
1answer
65 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 ...
2
votes
0answers
99 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 ...
3
votes
1answer
81 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
70 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 ...
3
votes
0answers
132 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
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
88 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 ...
4
votes
1answer
69 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
41 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
2
votes
1answer
29 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 ...
4
votes
1answer
93 views

Changing a tex4ht span class using Confiig file

I have my Table of contents as follows: <div class="col-sm-2" id="leftCol"> <div class="nav nav-stacked" id="sidebar"> <h3 class="likesectionHead">Contents</h3> ...