summaryrefslogtreecommitdiff
path: root/literature.meta.yml.gup
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-10-25 09:47:21 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-10-25 09:47:21 +0200
commit472504a97d1d2601c8cc9ea6e0de57ab727b7698 (patch)
treeb0a9d6bee80ff1727e2148f16ee13fa9d2ab1c5d /literature.meta.yml.gup
parent7cdccabeedda7566ad5164ad297695b4d9f8d0be (diff)
downloadincremental-dfsts-472504a97d1d2601c8cc9ea6e0de57ab727b7698.tar
incremental-dfsts-472504a97d1d2601c8cc9ea6e0de57ab727b7698.tar.gz
incremental-dfsts-472504a97d1d2601c8cc9ea6e0de57ab727b7698.tar.bz2
incremental-dfsts-472504a97d1d2601c8cc9ea6e0de57ab727b7698.tar.xz
incremental-dfsts-472504a97d1d2601c8cc9ea6e0de57ab727b7698.zip
Provide literature.bibtex
Diffstat (limited to 'literature.meta.yml.gup')
-rwxr-xr-x[-rw-r--r--]literature.meta.yml.gup21
1 files changed, 5 insertions, 16 deletions
diff --git a/literature.meta.yml.gup b/literature.meta.yml.gup
index a4c0d42..64ad0fd 100644..100755
--- a/literature.meta.yml.gup
+++ b/literature.meta.yml.gup
@@ -1,22 +1,11 @@
1#!/usr/bin/env zsh 1#!/usr/bin/env zsh
2 2
3exec 1>$1 3gup -u literature.bibtex
4 4
5echo '---' 5cat >$1 <<-EOF
6 6 ---
7cat <<-EOF
8 lang: de-de 7 lang: de-de
9 link-citations: true 8 link-citations: true
9 bibliography: literature.bibtex
10 ...
10 EOF 11 EOF
11
12printf "bibliography:\n"
13
14typeset -a bibFiles
15bibFiles=(literature/**.bibtex)
16
17gup --contents <<<"${bibFiles}"
18for bibFile (${bibFiles}); do
19 printf " - %s\n" ${bibFile}
20done
21
22echo '...'