'\" t .\" Title: TEXVC .\" Author: Marc Dequ\e[`e]nes .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 2005-01-02 .\" Manual: [FIXME: manual] .\" Source: [FIXME: source] .\" Language: English .\" .TH "TEXVC" "1" "2005\-01\-02" "[FIXME: source]" "[FIXME: manual]" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" texvc \- math equation PNG renderer .SH "SYNOPSIS" .HP \w'\fBtexvc\fR\ 'u \fBtexvc\fR {tempdir} {outputdir} {texcode} {encoding} .SH "DESCRIPTION" .PP \fBtexvc\fR is designed to render math equations written in latex code into PNG images\&. .SH "OPTIONS" .PP {tempdir} .RS 4 directory where temporary files are created\&. .RE .PP {outputdir} .RS 4 directory where the result image is stored\&. .RE .PP {texcode} .RS 4 latex code string representing math equations\&. .RE .PP {encoding} .RS 4 used encoding in latex code string\&. .RE .SH "OUTPUT" .PP Status codes and HTML/MathML transformations are returned on stdout\&. A rasterized PNG file will be written to the output directory, named for the MD5 hash code\&. .PP texvc output format is like this: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} +%5 ok, but not html or mathml .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} c%5%h ok, conservative html, no mathml .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} m%5%h ok, moderate html, no mathml .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} l%5%h ok, liberal html, no mathml .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} C%5%h\e0%m ok, conservative html, with mathml .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} M%5%h\e0%m ok, moderate html, with mathml .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} L%5%h\e0%m ok, liberal html, with mathml .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} X%5%m ok, no html, with mathml .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} S syntax error .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} E lexing error .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} F%s unknown function %s .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \- other error .RE .PP with the following codes: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \e0 \- null character .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} %5 \- md5, 32 hex characters .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} %h \- html code, without \e0 characters .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} %m \- mathml code, without \e0 characters .RE .sp .SH "AUTHOR" .PP This manual page was written by Marc Dequ\e[`e]nes (Duck) Duck@DuckCorp\&.org for the Debian(TM) system (but may be used by others)\&. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation\&. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\&. .SH "AUTHOR" .PP \fBMarc Dequ\e[`e]nes\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br Copyright \(co 2003 Marc Dequ\[`e]nes (Duck) .br