aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2013-10-09 14:01:37 +0200
committerMattias Andrée <maandree@kth.se>2013-10-09 14:01:37 +0200
commitca00da987b965312829a09a1fe153634c1bb0066 (patch)
treefba4107bf243dd0b6a1ee22097e4bc1d0b770646
parentm (diff)
downloadusing-git-ca00da987b965312829a09a1fe153634c1bb0066.tar.gz
using-git-ca00da987b965312829a09a1fe153634c1bb0066.tar.bz2
using-git-ca00da987b965312829a09a1fe153634c1bb0066.tar.xz
more dead fluttershy edition settings
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile19
-rw-r--r--using-git.texinfo11
2 files changed, 23 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 72df850..9ab3563 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ TEXINFO_DIR = .
PREFIX = /usr
DATA = /share
+TEXIFLAGS = #--force
+
.PHONY: all
@@ -43,17 +45,26 @@ pdf: $(PROGRAM).pdf.gz
ps: $(PROGRAM).ps.gz
dvi: $(PROGRAM).dvi.gz
+#logo.pdf: logo.svg
+# rsvg-convert --format=pdf "$<" > "$@"
+
+#logo.eps: obj/logo.ps
+# ps2eps "$<"
+
+#logo.ps: logo.svg
+# rsvg-convert --format=ps "$<" > "$@"
+
%.info: $(TEXINFO_DIR)/%.texinfo
- $(MAKEINFO) "$<"
+ $(MAKEINFO) $(TEXIFLAGS) "$<"
%.pdf: $(TEXINFO_DIR)/%.texinfo
- texi2pdf "$<"
+ texi2pdf $(TEXIFLAGS) "$<"
%.dvi: $(TEXINFO_DIR)/%.texinfo
- $(TEXI2DVI) "$<"
+ $(TEXI2DVI) $(TEXIFLAGS) "$<"
%.ps: $(TEXINFO_DIR)/%.texinfo
- texi2pdf --ps "$<"
+ texi2pdf $(TEXIFLAGS) --ps "$<"
.PHONY: install-info
install: install-info
diff --git a/using-git.texinfo b/using-git.texinfo
index ac3172f..7404fb4 100644
--- a/using-git.texinfo
+++ b/using-git.texinfo
@@ -4,8 +4,16 @@
@setfilename using-git.info
@settitle using git
@afourpaper
+@c @afourpaper
@documentencoding UTF-8
@documentlanguage en
+
+@c @set HARD_COPY_EDITION
+@c @smallbook
+@ifset HARD_COPY_EDITION
+@cropmarks
+@setchapternewpage odd
+@endif
@finalout
@c %**end of header
@@ -17,9 +25,6 @@
@end direntry
-@c @set HARD_COPY_EDITION
-@c @smallbook
-
@macro prelude
@center @titlefont{Prelude}