diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-07-24 14:59:48 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-07-24 14:59:48 +0200 |
commit | 0a907a795f4339aa40a934bfd5bbb8658273c9cf (patch) | |
tree | abffce1fd630042e6cb1bb457a184e8b0e70e3ca | |
parent | dbb1ce8183ef875f252b7fceaf86c98a5e5bd84f (diff) | |
download | oldstandard-0a907a795f4339aa40a934bfd5bbb8658273c9cf.tar.gz |
use pkgver and pkgdate
-rw-r--r-- | makefile | 5 | ||||
-rw-r--r-- | oldstandard-t.tex | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,5 @@ | |||
1 | pkg=oldstandard-t | 1 | pkg := oldstandard-t |
2 | ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]?\.[0-9]?') | ||
2 | TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') | 3 | TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') |
3 | HOMEDIR := $$HOME | 4 | HOMEDIR := $$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 | ||
19 | clean: | 20 | clean: |
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}% |