TeX4ht is a highly configurable TeX-based authoring system dedicated mainly to produce hypertext.
1
vote
0answers
38 views
Missing $ error using htlatex
Running the code posted in this question, the first code shown there, posted by the accepted answer by Andrew Swann. When running the code through htlatex on texlive 2012 debian, I get the error
...
8
votes
1answer
60 views
Why does tex4ht search for tfm files?
Can somebody explain me why tex4ht searches tfm files? What does it do with that tfm file?
At first I thought that it needs a tfm name, that it could find the .enc file
from psfonts.map. From .enc it ...
0
votes
0answers
66 views
htlatex does not give good results
I have a very nicely formatted file that I created using LaTeX. Now, I'm trying to embed the results into a website, and instead of embedding the resulting pdf document (which I found not to be as ...
5
votes
0answers
59 views
Can you run mk4ht on iPad or Android?
I need to create html files from tex using mk4ht on an iPad or an Android tablet... Is there any way to run mk4ht on iOS or Android? Preferably without requiring Internet connection, but if that's not ...
5
votes
2answers
117 views
conversion issues using htlatex and MathJax/mathML method
I am using the method shown in this answer below to convert my LaTeX file to HTML so that the resulting LaTeX file is processed by MathJax via MATHML:
Convert Latex to MathJax-HTML
"... mathml ...
0
votes
0answers
71 views
Where do I find this htxelatex? [closed]
I am using XeTeX 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) and unable to locate htxelatex to convert xetex into html. Which package provides this ?
0
votes
1answer
197 views
HTML and LaTeX code conversion using TeX4HT
All the display equations/centered equations are no need to convert to MathML or PNG and need to retain in LaTeX coding only.
If it is possible convert to HTML tag in-between text part only convert ...
4
votes
2answers
90 views
How to write tex4ht source files
How can I learn how to edit 4ht files? What should I read?
I want to fix a number of issues in ooffice.4ht (inconsistent footnote size, style names which mismatch names used by LibreOffice, dangling ...
4
votes
0answers
151 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 ...
3
votes
1answer
70 views
autoref in French documents incompatible with TeX4ht
I'm currently using MiKTeX 2.9 on Windows 7 and can't get to compile a French document correctly. Here is a very minimal example:
\documentclass[francais]{article}
\usepackage[T1]{fontenc}
...
8
votes
1answer
124 views
how to redefine \begin{align*} … \end{align*} to \begin{eqnarray*} … \end{eqnarray*}
Scientific word insists in generating displayed math using
\begin{align*} ... \end{align*}
and htlatex has a bug in that it does not generate bit mapped images in this case.
The fix that I found ...
21
votes
3answers
2k views
Recommended workflow? LaTeX -> ePub with math viewable on iPad
This started as a comment in an older thread, but I thought I repost it here as a question to the forum...
I'm looking for a workflow that will take me efficiently and reliably from existing LaTeX ...
1
vote
0answers
50 views
syntax error when using tex4ht on Latex file that uses the standalone package [closed]
When I try to use htlatex to convert a latex file to html, where the latex file uses the standalone package, a syntax error is thrown from the file keyval.tex.
The Latex file works fine with ...
35
votes
5answers
2k views
Why haven't any TeX->HTML converters been updated to use current web standards/style?
I think that updating these converters would help TeX stay relevant as a document processing language. In these last few years, web development has really skyrocketed. CSS3 has brought along a lot of ...
4
votes
1answer
187 views
Chess notation does not show figurine font
I am new to LaTeX/skak.
I use htlatex to generate a small ebook html.
\documentclass{book}
\usepackage[ps,mover]{skak}
\title{test1\\Test}
\author{Asim}
\begin{document}
\parindent=0pt
...
4
votes
1answer
154 views
How to convert to odt using xparse and mk4ht oolatex
Both tex4ht and htlatex compile documents with package xparse.
But mk4ht oolatex doesn't. Running it on a document as simple as:
\documentclass{article}
\usepackage{xparse}
\begin{document}
a
...
2
votes
0answers
206 views
on Tex4ht conversion to HTML, can this conversion be improved?
I have been trying tex4ht and comparing its output to Latex2html (l2h).
I still find l2h to produce better math in the HTML than tex4ht. But it could be I am not doing something right and I thought ...
3
votes
1answer
113 views
Renaming LaTeX file to index.tex causes tex4ht to give error when using minitoc
>cat t2.tex
\documentclass[titlepage]{report}%
\usepackage{minitoc}
\begin{document}
foo
\end{document}
now
htlatex t2.tex "html,4"
No errors. Now I name it to index.tex and try again:
...
2
votes
1answer
132 views
what is the correct way to check for latex, pdflatex and html in the same latex document?
What is the correct way to check for if one is running in pdflatex vs latex vs. an html processor such as tex4ht?
Suppose I have some latex code that I only want to show up in html, and not show up ...
8
votes
1answer
162 views
Producing unformatted html with tex4ht?
When using tex4ht, a formatted html file is obtained. It uses a css file and multiple classes such as
<span class="ec-lmbx-10x-x-109">toto</span>
However, when using a Content ...
2
votes
2answers
155 views
Colon in bibliography keys incompatible with babel, biblatex and tex4ht
Keys are labeled as author:year in my BibTeX file. For example, @article{John:2000, author={John}, year={2000}, ...}. This scheme works well with pdftex, biblatex and mk4ht oolatex.
But if in ...
6
votes
1answer
442 views
tex4ht leaving equations unchanged - including \[…\] and \(…\)
I want to let tex4ht leave the equations unchanged. Using the tip given at tex4ht leaving equations unchanged, it works for $ and $$ equations. In the case of \[...\] and \(...\) equations it does not ...
2
votes
1answer
155 views
Inconsistent footnote size in converting LaTeX to OpenOffice.org
When a LaTeX document containing 2 footnotes — footnote #1 is plain ASCII, but footnote #2 has diacritics or other extended characters — is converted to odt (OpenDocument Format), the number in ...
4
votes
1answer
78 views
Hyperlinks in zref
I use the great package zref to create my own referencing system. Can I make hyperlinks for pdftex (and tex4ht)?
See the following code. I'd like to make the \showref command clickable, so that I ...
4
votes
0answers
130 views
biblatex-chicago and mk4ht oolatex: formatting errors
The MWE below using biblatex-chicago yields a few formatting errors when formatted by mk4ht oolatex (the same file formatted by pdflatex produces correct output):
Report – with mk4ht oolatex: no ...
0
votes
0answers
99 views
tex4ht not working on Mountain Lion? [closed]
I am trying to get tex4ht to work on Mountain Lion. The problem is that when I run htlatex, I am told that ! LaTeX Error: File `tex4ht.sty' not found. This is in spite of the TeXLive Manager telling ...
10
votes
2answers
798 views
PDF image files and `htlatex`
When eps files are provided, htlatex from tex4ht automatically converts to png files so that graphic files can be shown in the final html output. However, I use most of the time the pdf graphic file ...
2
votes
1answer
183 views
Cross references and citations do not show in LibreOffice after htlatex conversion
When trying to convert a simple LaTeX document to LibreOffice/OpenOffice, cross references and citations do not show in the final document. They do when converting to (X)HTML, but this has other ...
9
votes
1answer
513 views
Generation of simple, CSS-less HTML with htlatex
When htlatex converts a document, emphasis and bold-face are converted to spans of a certain style which is defined in the accompanying CSS file.
Input:
\documentclass{scrartcl}
\begin{document}
...
1
vote
1answer
235 views
latex command to genenerate output similar to this website
How can I generate latex with the following format in latex? I know about tex4ht and I know about latex4html but couldn't get similar output.
Source Website is here and a snapshot from the page is ...
0
votes
2answers
201 views
MiKTeX 2.9's tex4ht not working
According to this document and my own experience. MiKTeX 2.9's version of tex4ht is not working. Using MiKTeX 2.8's tex4ht does work, but is obviously not prefered. Does anybody know how to fix MiKTeX ...
0
votes
0answers
63 views
Latex -> Html. Bad quality Equation Images and no images at all
I am trying to convert latex to html using miktex and tex4ht. The results are very poor.
I have been playing with this from past 3 days but no luck.
WHAT I WANT: I want the final html to be ...
1
vote
1answer
248 views
htlatex - need help converting latex to html
I am trying to convert a set of tex file to html.
The attached code generates perfect pdf.
While it gives the following error with htlatex.
I have not much knowledge of tex so please help by being ...
6
votes
1answer
133 views
htlatex with article vs memoir
Why does the following document (with article document class):
\documentclass{article}
\begin{document}
\begin{tabular}{c|c}
\hline
1 & 2 \\
\hline
\hline
5 & 6 \\
\hline
\end{tabular}
...
2
votes
0answers
71 views
TeX4ht with Natbib, missing citations
I have read about LaTeX2rtf, but installing it on a Mac looks a bit intimidating, so in the meantime I am trying to use the workaround of using TeX4ht to convert my TeX into an ODT file and then ...
4
votes
3answers
274 views
LaTeX to HTML - Square roots
I used SimpleTeX4ht to convert a LaTeX file to HTML. The file is fine except that square roots are rendering badly in juxtaposition with the rest of the text, e.g. like:
Any suggestions on how to ...
3
votes
0answers
207 views
tex4ht gives 'illegal storage address' error when trying to convert to odt
I am trying to convert a LaTeX document to opendocument with TeX4ht (on Windows/MiKTeX 2.9 32-bit). I am using the following command (as suggested on the TeX4ht website):
D:\latex>htlatex mwe.tex ...
3
votes
1answer
112 views
Configure tex4ht for linked images
I have a document that is to be compiled in PDF (using pdflatex) and XHTML (using tex4ht). For the XHTML version, I wish to have the images linking to their source in a new window (target="_blank").
...
2
votes
1answer
81 views
Cannot change tex4ht.env
I have installed the latest version of WinEdt v7 and MiKTeX (october 2012). When I run latex2html and tex4ht is called the tex4ht.env file is everytime overwritten with the default settings. Even if I ...
3
votes
1answer
105 views
Centering text flanked by 2 images using tex4ht
I am trying to create an HTML page using tex4ht using the following code:
\rput[r](-2pt,6pt){\psvectorian[color=black,width=2cm]{41}}
\hfill{}
{\Large \url{Title Text}}
\hfill{}
...
0
votes
0answers
49 views
Making \marginpar work with tex4ht
I tried using \marginpar using tex4ht and pdflatex.
Here is the PDF output:
Here is the HTML output:
Is it possible to configure tex4ht to produce HTML output with good looking marginal notes?
...
6
votes
1answer
130 views
Using tikz with both tex4ht and pdflatex
I found that in order to use tikz with tex4ht to produce HTML, I need to do the following:
\def\pgfsysdriver{pgfsys-tex4ht.def}
\usepackage{tikz}
I also need to produce PDF from the same tex file ...
5
votes
2answers
1k views
LaTeX to HTML: PolyTeXnic and PlasTeX
I was stunned by the elegant appearance of the Tau manifesto page, for which the source is in LaTeX. The author used a home-made tool that he calls PolyTeXnic, but which he is not willing to release.
...
0
votes
0answers
68 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}
...
1
vote
1answer
82 views
Prevent paragraph ending before display equation in TeX4ht
I'm using TeX4ht and I noticed that the displayed equations always forces the current paragraph to end. For example, if I write:
We define
\[ x = 3 \]
and continue the discussion.
I would expect ...
2
votes
1answer
128 views
Prevent TeX4ht from inserting img in equation with \mathcal
When I use TeX4ht to produce MathML, it produces an image when I use \mathcal in the equation. The result is that MathJax complains that the code is not valid. Is there a way to fix this problem?
...
3
votes
1answer
354 views
Avoid eps to png conversion using mk4ht oolatex
I have a big set of eps images and I need to place them into an OpenOffice (odt) document. I wrote a simple script that creates a tex file containing these eps images and now I'm trying to convert it ...
3
votes
1answer
76 views
tex4ht and colortbl
The package colortbl steals my beloved horizontal rules in the longtable. When I run tex4ht.
% run: htlatex main.tex
\documentclass{article}
\usepackage{longtable}
%\usepackage{colortbl}
...
1
vote
2answers
149 views
tex4ht incompatible with expdlist
I try to convert the below document with htlatex and no options and it spits this error on me:
! LaTeX Error: Something's wrong--perhaps a missing \item.
There's no error if I remove the square ...
4
votes
1answer
295 views
\autoref from hyperref with tex4ht
The following document when compiled with
htlatex test-nameref.tex "html,4"
generates wrong targets (but correct displayed text) for the subsection and subsubsection references with the updated ...
