From 74544cb553fdd3ae0a4a67739b238da9db78acf7 Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Fri, 29 May 2015 12:15:51 +0200 Subject: [PATCH] page geometry test --- pandoc/header.tex | 12 ++++++++++++ printable.rb | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/pandoc/header.tex b/pandoc/header.tex index b3bb8c1..c675eed 100644 --- a/pandoc/header.tex +++ b/pandoc/header.tex @@ -6,6 +6,18 @@ \usepackage{datetime} \usepackage[iso,english]{isodate} +% page geometry +\usepackage{geometry} +\geometry{ + a4paper, + total={210mm,297mm}, + left=20mm, + right=10mm, + top=20mm, + bottom=20mm, + marginparwidth=20mm, + } + % http://tex.stackexchange.com/questions/246174/dynamic-title-size-using-titlesec \newcommand{\resizetitle}[1]{\resizebox{\sectionwidth}{!}{#1}} \newlength{\sectionwidth} diff --git a/printable.rb b/printable.rb index 0ff4410..c66968b 100644 --- a/printable.rb +++ b/printable.rb @@ -22,10 +22,13 @@ file=ARGV[0] # dokuwiki pagenme as argument # merge single pdfs with 'assemble.rb' -# gittery - assuming the script is run in #{repo} and has orgin ssh://git@repo.fo.am:foam/futurist-fieldguide.git +# gittery +# - assuming the script is run in #{repo} and has origin ssh://git@repo.fo.am:foam/futurist-fieldguide.git +# - otherwise perhaps https://github.com/schacon/ruby-git # `git add -A` # `git commit -m "#{msg}"` # `git pull --commit` # `git push` +