From ea29082ac98a6ab9c149899ca66ec797a5852d3e Mon Sep 17 00:00:00 2001 From: Moritz Schubotz <wiki@physikerwelt.de> Date: Mon, 19 Nov 2018 21:07:10 +0100 Subject: [PATCH] Generate publication list automatically --- .gitmodules | 3 +++ .travis.yml | 5 +++++ support/compile.sh | 1 + support/pubHtml | 3 +++ support/xstlprocJ | 1 + 5 files changed, 13 insertions(+) create mode 100644 .gitmodules create mode 100755 support/pubHtml create mode 160000 support/xstlprocJ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..704ae7c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "support/xstlprocJ"] + path = support/xstlprocJ + url = https://github.com/physikerwelt/xstlprocJ.git diff --git a/.travis.yml b/.travis.yml index 1469784..deea4fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,10 @@ python: install: - source ./support/texlive_install.sh - pip install PyGithub +addons: + apt: + packages: + - maven cache: - pip - directories: @@ -25,6 +29,7 @@ deploy: file: - main.pdf - gipp.bib + - publist.html on: repo: ag-gipp/bib env: diff --git a/support/compile.sh b/support/compile.sh index 3c0434e..775433d 100755 --- a/support/compile.sh +++ b/support/compile.sh @@ -6,3 +6,4 @@ latexmk cp allRefs.pdf ../../main.pdf cd ../.. python3 support/issue.py +support/pubHtml diff --git a/support/pubHtml b/support/pubHtml new file mode 100755 index 0000000..dde72df --- /dev/null +++ b/support/pubHtml @@ -0,0 +1,3 @@ +biber --tool --configfile=src/biber/filter.xml gipp.bib +biber --output-format=biblatexml --configfile=src/biber/clean.xml --clrmacros --tool schubotz.bib +./support/xstlprocJ/xsltprocJ src/xsl/transform.xsl references.xml > publist.html diff --git a/support/xstlprocJ b/support/xstlprocJ new file mode 160000 index 0000000..d5c071e --- /dev/null +++ b/support/xstlprocJ @@ -0,0 +1 @@ +Subproject commit d5c071ef8a23744290b4804e34095ed17f512c89 -- GitLab