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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1.
.TH LATEX2TEXT "1" "June 2021" "latex2text 2.10" "User Commands"
.SH NAME
latex2text \- part of pylatexenc: simple LaTeX parser provider conversion to/from unicode
.SH DESCRIPTION
usage: latex2text [\-\-code LATEX_CODE] [\-\-tolerant\-parsing]
.IP
[\-\-no\-tolerant\-parsing]
[\-\-math\-mode {text,with\-delimiters,verbatim,remove}]
[\-\-fill\-text [FILL_TEXT]] [\-\-keep\-comments]
[\-\-no\-keep\-comments]
[\-\-strict\-latex\-spaces {off,on,based\-on\-source,macros,except\-in\-equations}]
[\-\-keep\-braced\-groups] [\-\-no\-keep\-braced\-groups]
[\-\-keep\-braced\-groups\-minlen KEEP_BRACED_GROUPS_MINLEN] [\-q]
[\-v] [\-\-version] [\-\-help]
[FILE [FILE ...]]
.SS "Input options:"
.TP
\fB\-\-code\fR LATEX_CODE, \fB\-c\fR LATEX_CODE
Convert the given LATEX_CODE to unicode text instead
of reading from FILE or standard input. You cannot
specify FILEs if you use this option, and any standard
input is ignored.
.TP
FILE
Input files to read LaTeX code from. If no FILE(s)
is/are specified, LaTeX code is read from standard
input unless \fB\-\-code\fR is specified
.SS "LatexWalker options:"
.HP
\fB\-\-tolerant\-parsing\fR
.TP
\fB\-\-no\-tolerant\-parsing\fR
Tolerate syntax errors when parsing, and attempt to
continue (default yes)
.SS "LatexNodes2Text options:"
.TP
\fB\-\-math\-mode\fR {text,with\-delimiters,verbatim,remove}
How to handle chunks of math mode LaTeX code. 'text' =
convert to text like the rest; 'with\-delimiters' =
same as 'text' but retain the original math mode
delimiters; 'verbatim' = keep verbatim LaTeX code;
\&'remove' = remove from input entirely
.TP
\fB\-\-fill\-text\fR [FILL_TEXT]
Attempt to wrap text to the given width, or 80 columns
if option is specified with no argument
.HP
\fB\-\-keep\-comments\fR
.TP
\fB\-\-no\-keep\-comments\fR
Keep LaTeX comments in text output (default no)
.TP
\fB\-\-strict\-latex\-spaces\fR {off,on,based\-on\-source,macros,except\-in\-equations}
How to handle whitespace. See documentation for the
class LatexNodes2Text().
.HP
\fB\-\-keep\-braced\-groups\fR
.TP
\fB\-\-no\-keep\-braced\-groups\fR
Keep LaTeX {braced groups} in text output (default no)
.TP
\fB\-\-keep\-braced\-groups\-minlen\fR KEEP_BRACED_GROUPS_MINLEN
Only apply \fB\-\-keep\-braced\-groups\fR to groups that contain
at least this many characters
.SS "General options:"
.TP
\fB\-q\fR, \fB\-\-quiet\fR
Suppress warning messages
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Verbose output
.TP
\fB\-\-version\fR
Show version information and exit
.TP
\fB\-\-help\fR
Show this help information and exit
.SH AUTHORS
pylatexenc was primarily written by Philippe Faist.
.SH "SEE ALSO"
This script is part of pylatexenc. Full documentation for the pylatexenc suite
can be consulted at https://pylatexenc.readthedocs.io .
|