Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 957 Bytes

readme.md

File metadata and controls

15 lines (13 loc) · 957 Bytes

Latex Production File

Light Stack-based latex-project process. Produces a single ready-to-upload output file. Preserves correct line-breaks and end of paragraphs.

Features

  • Suppresses comments and comment environments.
  • Recursively expands \input commands.
  • Decides for each \ifxx statement which branch to keep.
  • Easily extendable to handle additional commands and environments.

Options

  • --input=[path-to-main-file]: The path to the root latex file.
  • --output=[name]: Output file name. The compiled file will be saved as [name].tex in the same directory of [main-file]
  • --remove-comments: Suppress both comments and comment environments.
  • --recursive: Expand \input commands recursively.
  • --conditions=[cond1,cond2,etc]: coma-separated list of ignored conditions, i.e. conditions \ifxx where the \else branch is compiled.
    For all other conditions the \ifxx branch will be compiled instead.