Commit f35dbc58 authored by Ture Pålsson's avatar Ture Pålsson
Browse files

Print version and date

parent 28453c26
XETEX = xetex
PYTHON = python
VERSION := $(shell git describe --always --dirty)
colour.pdf: colour.tex coldata.tex
$(XETEX) colour.tex
$(XETEX) \\def\\version{$(VERSION)} \\input colour
coldata.tex: colours.py
$(PYTHON) colours.py >tmp
......
......@@ -12,12 +12,17 @@
\font\f="Courier" at 10pt
\font\hf=cmr17
\footline={}
\hoffset=-1in
\footline={\f\hfill
\version{},
\the\day\space
\ifcase\month x\or January\or February\or March\or April\or May\or June
\or July\or August\or September\or October\or November\or December\fi
\space
\the\year}
\hoffset=-1in \advance\hoffset by 10mm
\pdfpagewidth=595bp
\pdfpageheight=842bp
\hsize=595bp
\hsize=190mm
\centerline{\hf XTerm colour codes}
\vskip 18pt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment