Questions tagged [tex4ht]

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

TeX4ht is a highly configurable TeX-based authoring system dedicated mainly to produce hypertext. It interacts with TeX-based applications through style files and postprocessors, leaving the processing of the source files to the native TeX compiler. Consequently, TeX4ht can handle the features of TeX-based systems in general, and of the LaTeX and AMS style files in particular.

Pre-tailored configurations are offered for different output formats, including (X)HTML, MathML, OpenDocument, and DocBook.

923 questions
13
votes
1 answer

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 very bad quality. What I want: Better quality…
Daniel
  • 389
10
votes
1 answer

tex4ht: alt text for images of equations

I'm using tex4ht to translate LaTeX to (X)HTML. Tex4ht automatically generates images of equations it could not translate directly into text. Problem: The filename of the image generated, as well as the corresponding 'alt' text is meaningless. Want:…
Daniel
  • 389
9
votes
1 answer

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 could get all the glyph list. But if I create a…
Linuxss
  • 957
8
votes
1 answer

Converting all math to graphics with TeX4ht

TeX4ht converts all \(...\), \[...\], $$...$$ and other math environments to png format. However, it does not convert $...$ to png. It first tries to use html codes for $...$ math, and if it is not possible, then it converts to png. Can I enforce…
Chang
  • 9,528
6
votes
1 answer

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 work. How do I have to modify the provided…
koppor
  • 3,252
6
votes
1 answer

Writing HTML code directly from LaTeX?

At exporting a LaTeX file to HTML via tex4ht I have to write some HTML comments to the HTML source. So I would like to write the HTML code in the LaTeX file and let tex4ht export it directly. How can I achieve this? Are there some special LaTeX…
raulix
  • 159
6
votes
1 answer

How to make htlatex split large html file into sub-documents

I've used HEVEA and HACHA in the past to make web-pages from TEX sources. The result is a separate web page for each \section{} of the original manuscript. My latest manuscripts are more complex and HEVEA can't cut it. However, using HTLATEX, I…
vo1stv
  • 171
6
votes
0 answers

What exactly do \EndP and \IgnorePar do?

What exactly do \IgnorePar and \EndPar do? Many configurations start like this: \Configure{foo}{% \ifvmode \IgnorePar\fi \EndP ... I'm trying to learn TeX4ht to improve conversion to OpenDocument Text, and kind of slogging through the sparse…
n.r.
  • 4,942
5
votes
1 answer

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{} \rput[l](0,6pt){\psvectorian[color=black,width=2cm]{42}} \section{New…
M-V
  • 449
5
votes
1 answer

What is so special about $\ln$ when using TeX4ht in MathJax mode?

This question is specific only to TeX4ht. When using MathJax mode in tex4ht, it fails to render the section title which contains $\ln$, but it works for all other symbols I tried so far. What is so special about…
Nasser
  • 20,220
5
votes
1 answer

tex4ht configuration

I am trying to convert some TeX files to html, for this I am using tex4ht. I am also using myconfig.cfg to produce html file. In this config file I have declared following two lines to translate \textit and \textbf declarations to
Shivashankar
  • 111
  • 4
5
votes
1 answer

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 \usepackage[bitstream-charter]{mathdesign}, the letter…
padawan
  • 1,532
5
votes
1 answer

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 cannot process the figures correctly (the image in ODT…
Wang
  • 173
5
votes
1 answer

How can I override tex4ht's CSS in a single .css file?

I am trying to style tex4ht output using CSS in order to make a Kindle book. For example, I want to change the verse environment using .verse { margin-left:2.5em; white-space:normal; } The Kindle guidelines ask for a single CSS file. When I use…
Nat Kuhn
  • 676
5
votes
1 answer

Changing a tex4ht css class

I am using htxelatex to convert a tex file + config file of my own. I want to change the generated css objects but I can't seem to be able to. What I am doing In my config file I use the following \Css { .cmcsc-10x-x-248{font-size:90\%;} } But my…
Claudiordgz
  • 421
  • 2
  • 10
1
2 3 4 5 6 7