1TEX2MAIL(1)                 General Commands Manual                TEX2MAIL(1)
2
3
4

NAME

6       tex2mail - TeX to ascii math prettyprinter
7

SYNOPSIS

9       tex2mail  [-linelength=  length]  [-maxdef=  number]  [-debug=  number]
10       [-by_par= number] [-TeX] [-ragged] [-noindent]
11
12

DESCRIPTION

14       Filter converting TeX or LaTeX math formulae to ASCII art. tex2mail  is
15       used by the PARI-GP calculator for output method external prettyprint .
16       Under gp, prettyprint mode can be set by default(output, 3)  (or  \o3).
17       By default, this switches gp main output to TeX format, filtered by
18
19              tex2mail -TeX -noindent -ragged -by_par
20
21       Flags  passed to tex2mail can be modified via the prettyprinter default
22       in gp.
23
24

OPTIONS

26       The following command line options are available:
27
28       -linelength=length
29              Wrap text at this column.
30
31       -maxdef=number
32              definition loops: croak if more than maxdef substitutions  in  a
33              given paragraph.
34
35       -debug=debuglevel
36              output debugging messages.
37
38       -by_par
39              Expect  each paragraph to be terminated by *exactly* 2 "\n", and
40              do not print an extra "\n" between paragraphs.
41
42       -TeX   Assume input formulae are in plain TeX format.
43
44       -ragged
45              leave right ragged.
46
47       -noindent
48              assume \noindent everywhere.
49

BUGS

51        % at the end of a line followed by \n\n is recognized as end of  para‐
52       graph
53

AUTHOR

55       Ilya Zakharevitch
56
57

SEE ALSO

59       gp(1), tex(1),
60
61

COPYING

63       This  program  is   free   software;  you  can  redistribute  it and/or
64       modify it under the terms of the GNU General  Public  License  as  pub‐
65       lished by the Free Software Foundation.
66
67       This  program  is  distributed  in the hope that it will be useful, but
68       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER‐
69       CHANTABILITY  or  FITNESS FOR A  PARTICULAR  PURPOSE.  See the GNU Gen‐
70       eral Public License for more details.
71
72       You should have received a copy of the  GNU   General   Public  License
73       along with this program; if not, write to the Free Software Foundation,
74       Inc., 675  Mass  Ave,  Cambridge,  MA 02139, USA.
75
76
77
78                                 26 March 2001                     TEX2MAIL(1)
Impressum