Skip to content

Commit 31356b1

Browse files
committed
Merge branch 'master' of github.com:/langsci/latex-skeletons
2 parents 4542cad + 7bd1cfb commit 31356b1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

skeleton/makecover.sh

+22
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)