.TH highlight 1 "2017-11-25" "Andre Simon" "user documentation" .SH NAME Highlight - a universal sourcecode to formatted text converter .SH SYNOPSIS .B highlight [OPTIONS]... [FILES]... .SH DESCRIPTION .B Highlight converts sourcecode to HTML, XHTML, RTF, ODT, LaTeX, TeX, BBCode, Pango markup, SVG, XTERM or ANSI escape sequences. There are several colour themes available. .B Highlight recognizes keywords, numbers, strings, comments, symbols and preprocessor directives. It supports about 180 programming languages, which are defined in Lua scripts. .PP It's easily possible to enhance highlight's database of programming languages and colour themes. See the README file for details. .SH GENERAL OPTIONS .IP "-B, --batch-recursive=" convert all files matching the wildcard (uses recursive search) .IP "-D, --data-dir=" set path to highlight data directory .IP "--config-file=" set path to a lang or theme file .IP "-h, --help" print this help .IP "-i, --input=" name of input file .IP "-o, --output=" name of output file .IP "-d, --outdir=" name of output directory .IP "-P, --progress" print progress bar in batch mode .IP "-S, --syntax=" set type of source code, necessary if input file suffix is missing .IP "-v, --verbose" print debug info to stderr .IP "-q, --quiet" supress progress info in batch mode .IP "--force" generate output if input syntax is unknown .IP "--list-scripts=" list installed scripts = [langs, themes, plugins] .IP "--plug-in=