latexpand
all
Simplify LaTeX source files by removing comments and resolving `\include`s, `\input`s, etc.
More info →Options (1)
-o, --outputbooleanSimplify the specified source file and save the result to the specified output file
Example:
latexpand {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}Examples (5)
Simplify the specified source file and save the result to the specified output file
latexpand [-o|--output] path/to/output.tex path/to/file.texDo not remove comments
latexpand --keep-comments [-o|--output] path/to/output.tex path/to/file.texDo not expand `\include`s, `\input`s etc.
latexpand --keep-includes [-o|--output] path/to/output.tex path/to/file.texExpand `\usepackage`s as far as the corresponding STY files can be found
latexpand --expand-usepackage [-o|--output] path/to/output.tex path/to/file.texInline the specified BBL file
latexpand --expand-bbl path/to/bibliography.bbl [-o|--output] path/to/output.tex path/to/file.texmade by @shridhargupta | data from tldr-pages