From 612a91ac3e0404e2954f9d5e5893225b8f171e4a Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Tue, 27 Jun 2017 18:45:53 +0200 Subject: Makefile: process different page sizes --- Makefile | 8 +++++++- designs/graph-paper-4mm-a6-rings.yaml | 8 -------- designs/graph-paper-4mm-rings-a6.yaml | 8 ++++++++ designs/hex-paper-5mm-a6-rings.yaml | 12 ------------ designs/hex-paper-5mm-rings-a6.yaml | 12 ++++++++++++ 5 files changed, 27 insertions(+), 21 deletions(-) delete mode 100644 designs/graph-paper-4mm-a6-rings.yaml create mode 100644 designs/graph-paper-4mm-rings-a6.yaml delete mode 100644 designs/hex-paper-5mm-a6-rings.yaml create mode 100644 designs/hex-paper-5mm-rings-a6.yaml diff --git a/Makefile b/Makefile index 3995af0..3689b4b 100644 --- a/Makefile +++ b/Makefile @@ -13,9 +13,15 @@ $(BUILDDIR)/%.ps: designs/%.yaml mkdir -p ${BUILDDIR} ./bin/render -o $@ $< -$(BUILDDIR)/%.pdf: ${BUILDDIR}/%.ps +$(BUILDDIR)/%-a4.pdf: ${BUILDDIR}/%-a4.ps ps2pdf $< $@ +$(BUILDDIR)/%-a5.pdf: ${BUILDDIR}/%-a5.ps + ps2pdf -sPAPERSIZE=a5 $< $@ + +$(BUILDDIR)/%-a6.pdf: ${BUILDDIR}/%-a6.ps + ps2pdf -sPAPERSIZE=a6 $< $@ + clean: rm -f ${BUILDDIR}/*.ps ${BUILDDIR}/*.pdf diff --git a/designs/graph-paper-4mm-a6-rings.yaml b/designs/graph-paper-4mm-a6-rings.yaml deleted file mode 100644 index 88ecb40..0000000 --- a/designs/graph-paper-4mm-a6-rings.yaml +++ /dev/null @@ -1,8 +0,0 @@ -template: graph-paper -paper: a6 -margins: 6mm -theme: thin_blue_lines -settings: 4mm -override: - y_trasl: '4 mm neg' - margin_left: '11 mm' diff --git a/designs/graph-paper-4mm-rings-a6.yaml b/designs/graph-paper-4mm-rings-a6.yaml new file mode 100644 index 0000000..88ecb40 --- /dev/null +++ b/designs/graph-paper-4mm-rings-a6.yaml @@ -0,0 +1,8 @@ +template: graph-paper +paper: a6 +margins: 6mm +theme: thin_blue_lines +settings: 4mm +override: + y_trasl: '4 mm neg' + margin_left: '11 mm' diff --git a/designs/hex-paper-5mm-a6-rings.yaml b/designs/hex-paper-5mm-a6-rings.yaml deleted file mode 100644 index 116a47a..0000000 --- a/designs/hex-paper-5mm-a6-rings.yaml +++ /dev/null @@ -1,12 +0,0 @@ -template: hex-paper -paper: a6 -margins: 6mm -theme: thin_red_lines -settings: 5mm -override: - x_trasl: '1 mm neg' - y_trasl: '0.25 mm' - margin_left: '12 mm' - margin_right: '6.35 mm' - margin_top: '5.25 mm' - margin_bottom: '5.25 mm' diff --git a/designs/hex-paper-5mm-rings-a6.yaml b/designs/hex-paper-5mm-rings-a6.yaml new file mode 100644 index 0000000..116a47a --- /dev/null +++ b/designs/hex-paper-5mm-rings-a6.yaml @@ -0,0 +1,12 @@ +template: hex-paper +paper: a6 +margins: 6mm +theme: thin_red_lines +settings: 5mm +override: + x_trasl: '1 mm neg' + y_trasl: '0.25 mm' + margin_left: '12 mm' + margin_right: '6.35 mm' + margin_top: '5.25 mm' + margin_bottom: '5.25 mm' -- cgit v1.2.3