File: README

package info (click to toggle)
latex2rtf 2.3.18a-5
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,392 kB
  • sloc: ansic: 20,424; makefile: 660; sh: 478; perl: 22
file content (28 lines) | stat: -rwxr-xr-x 1,425 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
latex2png file will convert a latex file into a PNG image.

Breaking with the unix tradition of having separate utilities for separate
functions, latex2png will also convert EPS files to PNG images.  The reason
is that the latex2png script already has the code to do this conversion *and*
this conversion was needed to support images *and* I did not want to add yet
another dependency by requiring the existing scripts eps2png or epstopng *and*
I did not want to add yet another piece that could go wrong.

By default latex2png assumes that the input file is a latex file, however,
if the extension is .eps, then the file is treated an EPS file.

The most recent script latex2png does not need netpbm but needs TeX, dvips 
and ImageMagick.

Furthermore there are two older, slightly different scripts latex2png_1 and 
latex2png_2. Both require a TeX and dvips.  In addition the netpbm utilities 
are needed from
	http://sourceforge.net/projects/netpbm/
latex2png_1 requires ImageMagick to be installed.  The second script
does not need ImageMagick, but runs much slower.


When the latex file contains the tag 'INLINE_DOT_ON_BASELINE' then a dot
is assumed to have been placed at the beginning of a latex file. This dot 
is used to locate the baseline of the equation for alignment in the RTF
file.  This shell script will create a PBM (portable bitmap) file that
can be used to determine the height of the equation baseline