Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.41 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.41 KB

noweb-minted

A simple filter for pretty printing noweb code chunks, using the minted LaTeX package

Requirements

Installation

Put the noweb-minted and guessPygmentizeLexer.py executables onto your $PATH, e.g.

ln -s "$PWD/noweb-minted" /usr/local/bin
ln -s "$PWD/guessPygmentizeLexer.py" /usr/local/bin

Usage

Use noweb as usual, but now with the noweb-minted filter.

For instance, to generate sample.tex, run make sample.tex, i.e.

noweave -filter noweb-minted -delay -latex sample.nw >sample.tex

To generate sample.pdf, run make sample.pdf, i.e.

pdflatex --shell-escape sample.tex