The Clojure pamphlet system is a system based on the Clojure
literate system. In the Clojure's pamphlet system you have your
main LaTeX file, which can be compiled regularly. This file
contains documentation and source code (just like in other
forms of literate programming). These code snippets are wrapped
in the chunk environment, hence they can be recognized by the
tangler in order to extract them. Chunks can be included inside
each other by the getchunk command (which will be typesetted
accordingly). Finally, the LaTeX file will be run through the
tangler to get the desired chunk of code.
|Extract code bits from LaTeX pamphlet files.