We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4542cad + 7bd1cfb commit 31356b1Copy full SHA for 31356b1
skeleton/makecover.sh
@@ -0,0 +1,22 @@
1
+#!/bin/bash
2
+#create png graphics of the title page based on metadata parameters
3
+# usage: makecover.sh silp 41 "Ben Derek" "What about Nouns?" "An investigation"
4
+
5
+series=$1
6
+number=$2
7
+author=$3
8
+title=$4
9
+subtitle=$5
10
11
+# cp localmetadata.tex localmetadata.tex~
12
13
+echo "\author{$3}"> localmetadata.tex
14
+echo "\title{$4}">> localmetadata.tex
15
+echo "\subtitle{$5}">> localmetadata.tex
16
+echo "\renewcommand{\lsSeries}{$1}">> localmetadata.tex
17
+echo "\renewcommand{\lsSeriesNumber}{$2}">> localmetadata.tex
18
19
+rm main.pdf
20
+make pdf
21
+make cover
22
+mv localmetadata.tex~ localmetadata.tex
0 commit comments