htlatex is the command that loads a script to invoke the different steps of the from LaTeX to HTML process.
1
vote
0answers
30 views
Vertical alignment of table rows with images. PDF vs. HTML generated by htlatex
I have a table with 2 columns. Left column is text and the right column has an image.
I wanted the row to be aligned at the top. So that the text and the image start at the same horizontal level. ...
0
votes
1answer
31 views
dvipng error when using htlatex on eps file. includegraphics Unrecoverable error 36096
I am hoping someone here can give me a hint about this error. I am not really sure this is latex problem, but part of the software that I am using to process the latex document.
The setup is very ...
0
votes
0answers
60 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 ...
2
votes
1answer
177 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 ...
6
votes
1answer
131 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}
...
1
vote
1answer
232 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 ...
1
vote
1answer
243 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 ...
3
votes
0answers
202 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 ...
9
votes
1answer
501 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}
...
5
votes
1answer
112 views
Force all floats to the end of the document without using endfloat, compatible with htlatex
What is the easiest way to have all floats forcibly appear at the end of the document? The solution should work with htlatex, the floats should appear at the end of the HTML document in this case. ...
4
votes
1answer
87 views
How do I preserve hyperreferences in the index when converting text from LaTex to HTML
I have written a book with three indexes in LaTex. I can produce a perfect hyperreferenced pdf file using the dvipdf filename command, but I cannot convert Latex into HTML using htlatex or TEX4ht ...
1
vote
1answer
158 views
Running htlatex in a shell script (bash, mac)
I am trying to simply run a command:
htlatex texfilename "xhtml,charset=utf-8"
In a terminal command line, it runs well. If I create a shell script file that looks like:
#!/bin/bash
htlatex ...
7
votes
2answers
307 views
Removing ligatures for small caps in TeX4HT
The Amazon Kindle has a default font which features small caps and ligatures, but not ligatures for small caps. For this reason, when it sees ligatures (even common ones, such as "ff"), it renders them ...
5
votes
1answer
151 views
TeX4HT, first paragraph and indentation
In a book, I set up indentation to be 1em for every paragraph, including the first paragraph in sections:
\setlength{\parindent}{1em}
However, TeX4HT doesn't honor this setting and sets the first ...
4
votes
0answers
148 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
163 views
Lettrine, accentuated characters and htlatex
I use accentuated letters with the lettrine package like:
\lettrine{É}{lisée} avait vu le pouvoir de Dieu sur la vie d'Élie.
With luatex (which is my normal rendering engine), it works fine. ...
3
votes
1answer
373 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
1answer
79 views
Why are listings placed in <pre>'s by htlatex?
Here is a MWE:
\documentclass{book}
\usepackage{listings}
\begin{document}
\begin{lstlisting}
var x = 10;
// Some code
if(x == 10) return null;
\end{lstlisting}
\end{document}
When this is ...
0
votes
0answers
100 views
htlatex gives me a lot of “random” errors [closed]
I'm using htlatex to convert LaTeX into HTML and I'm getting errors on things that I haven't specified, such as my own environments.
An example is \def\inline{\lstinline[style=inlineStyle]} which ...
4
votes
1answer
306 views
LaTeX to HTML preserving code coloring from listings
I'm trying to convert some LaTeX into HTML but my code listings don't preserve their code coloring. Why is that and how do I fix it?
This is what it looks like:
Side note: I'm also wondering why ...