1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-14 22:07:05 +01:00

Adding pdf generation capabilities

This commit is contained in:
Guido Cossu
2018-03-15 17:01:59 +00:00
parent 7c51dc07f1
commit 38f93f7e12
60 changed files with 5593 additions and 112 deletions

33
css/pygments/makefile Normal file
View File

@ -0,0 +1,33 @@
# make sure you already ran pip install -r requirements.txt
#
# syntax
# pygmentize -S <style> -f <formatter> [-a <arg>] [-O <options>] [-P <option=value>]
# (pygmentize documentation is pretty scattered and confusing, but the "-a" will add other classes
# to the output)
STYLES = autumn
STYLES += borland
STYLES += bw
STYLES += colorful
STYLES += default
STYLES += emacs
STYLES += friendly
STYLES += fruity
STYLES += manni
STYLES += monokai
STYLES += murphy
STYLES += native
STYLES += pastie
STYLES += perldoc
STYLES += tango
STYLES += trac
STYLES += vim
STYLES += vs
# a recursively-expanding variable, so that its value contains an actual function call to be
# re-expanded under the control of foreach
gen_html = pygmentize -S $(style) -f html -a .highlight > $(style).css;
cssfiles:
@$(foreach style, $(STYLES), $(gen_html))