aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-07-24 14:59:48 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-07-24 14:59:48 +0200
commit0a907a795f4339aa40a934bfd5bbb8658273c9cf (patch)
treeabffce1fd630042e6cb1bb457a184e8b0e70e3ca
parentdbb1ce8183ef875f252b7fceaf86c98a5e5bd84f (diff)
downloadoldstandard-0a907a795f4339aa40a934bfd5bbb8658273c9cf.tar.gz
use pkgver and pkgdate
-rw-r--r--makefile5
-rw-r--r--oldstandard-t.tex4
2 files changed, 6 insertions, 3 deletions
diff --git a/makefile b/makefile
index 8497892..b03424f 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,5 @@
1pkg=oldstandard-t 1pkg := oldstandard-t
2ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]?\.[0-9]?')
2TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') 3TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME')
3HOMEDIR := $$HOME 4HOMEDIR := $$HOME
4 5
@@ -14,7 +15,7 @@ package: clean doc
14 mkdir $(pkg) 15 mkdir $(pkg)
15 cp *.{txt,md,tex,pdf} $(pkg) 16 cp *.{txt,md,tex,pdf} $(pkg)
16 cp otf/*.otf $(pkg) 17 cp otf/*.otf $(pkg)
17 tar czf $(pkg).tar.gz $(pkg) 18 tar czf $(pkg)-$(ver).tar.gz $(pkg)
18 19
19clean: 20clean:
20 git clean -df 21 git clean -df
diff --git a/oldstandard-t.tex b/oldstandard-t.tex
index d5cc755..a98a70b 100644
--- a/oldstandard-t.tex
+++ b/oldstandard-t.tex
@@ -88,13 +88,15 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
88 88
89\usepackage[toc]{multitoc} 89\usepackage[toc]{multitoc}
90 90
91\edef\pkgver{1.0}
92\edef\pkgdate{2019/07/24}
91\title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop 93\title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop
92 lifted shadow, colback=white, boxrule=.25mm]% 94 lifted shadow, colback=white, boxrule=.25mm]%
93 {\textsc{Old Standard T}\\ 95 {\textsc{Old Standard T}\\
94 \Large 96 \Large
95 A Unicode Font for Classical and Medieval Studies\\ 97 A Unicode Font for Classical and Medieval Studies\\
96 \large Based on Alexey Kryukov's \emph{Old Standard}\\ 98 \large Based on Alexey Kryukov's \emph{Old Standard}\\
97 \large v1.0 -- \today}} 99 \large v\pkgver -- \pkgdate}}
98 100
99\author{Robert Alessi \\ 101\author{Robert Alessi \\
100\href{mailto:alessi@robertalessi.net?Subject=arabluatex package}% 102\href{mailto:alessi@robertalessi.net?Subject=arabluatex package}%