# flat-tex

flatten a latex multi-file latex document https://github.com/jwaldmann/flat-tex

 Latest on Hackage: 0.3.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

Maintained by

# flat-tex

The use case for this tool is: your paper has been accepted at a conference, and now you have to submit the latex sources for inclusion in the proceedings.

But - your sources contain some information that you don't want to reveal. E.g., it contains `\todo{fix proof of previous theorem}`.

flat-tex does the following: flatten a multi-file latex document (recursively expanding all `\input`) remove all `\todo{..}`, `\reminder{..}` and comments (`% ...`)

How `\input{foo}` is expanded: if the file `foo` does exist, then it is processed else `foo.tex` is processed

Depends on 3 packages:
Used by 1 package: