Skip to content

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

License

Notifications You must be signed in to change notification settings

yurrriq/noweb-minted

 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 39.4%
  • Nix 38.3%
  • Python 16.2%
  • Makefile 6.1%