yurrriq / noweb-minted

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Shell 39.4%Language:Nix 38.3%Language:Python 16.2%Language:Makefile 6.1%