.\" Automatically generated by Pandoc 3.1.7 .\" .TH "texmath" "1" "July 22, 2014" "texmath manual" "" .SH NAME texmath - convert between math formats. .SH SYNOPSIS texmath [\f[I]options\f[R]] [file*] .SH DESCRIPTION \f[CR]texmath\f[R] acts as a pipe, reading from stdin or from the specified files and writing to stdout. It converts math in the specified input format (see \f[CR]-f\f[R] below) to math in the specified output format (see \f[CR]-t\f[R] below). .PP If \f[CR]texmath\f[R] is invoked under the name \f[CR]texmath-cgi\f[R] (via a symbolic link, or through simple renaming), it will act as a CGI script. It will expect query parameters for \f[CR]from\f[R], \f[CR]to\f[R], \f[CR]input\f[R], and optionally \f[CR]inline\f[R], and return a JSON object with either \f[CR]error\f[R] and a message or \f[CR]success\f[R] and the converted result. .SH OPTIONS .TP \f[CR]-f\f[R] \f[I]FORMAT\f[R] Specify input (\[lq]from\[rq]) format: \f[CR]tex\f[R], \f[CR]mathml\f[R], \f[CR]omml\f[R], \f[CR]native\f[R]. Defaults to \f[CR]tex\f[R]. .TP \f[CR]-t\f[R] \f[I]FORMAT\f[R] Specify output (\[lq]to\[rq]) format: \f[CR]tex\f[R], \f[CR]omml\f[R], \f[CR]xhtml\f[R], \f[CR]mathml\f[R], \f[CR]pandoc\f[R], \f[CR]native\f[R]. Defaults to \f[CR]mathml\f[R]. .TP \f[CR]--inline\f[R] Use the inline display style. .TP \f[CR]-h, --help\f[R] Print usage information. .TP \f[CR]-V, --version\f[R] Print version. .SH AUTHORS John MacFarlane, Matthew Pickering, Jesse Rosenthal. .SH SEE ALSO The \f[CR]texmath\f[R] source code and all documentation may be downloaded from .