Filter converting TeX or LaTeX math formulae to ASCII art. tex2mail is used by the PARI-GP calculator for output method external prettyprint . Under gp, prettyprint mode can be set by default(output, 3) (or \o3). By default, this switches gp main output to TeX format, filtered by
Flags passed to tex2mail can be modified via the prettyprinter default in gp.
% at the end of a line followed by \n\n is recognized as end of paragraph
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.