diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-25 09:47:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-25 09:47:21 +0200 |
commit | 472504a97d1d2601c8cc9ea6e0de57ab727b7698 (patch) | |
tree | b0a9d6bee80ff1727e2148f16ee13fa9d2ab1c5d /literature.meta.yml.gup | |
parent | 7cdccabeedda7566ad5164ad297695b4d9f8d0be (diff) | |
download | incremental-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.gup | 21 |
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 | ||
3 | exec 1>$1 | 3 | gup -u literature.bibtex |
4 | 4 | ||
5 | echo '---' | 5 | cat >$1 <<-EOF |
6 | 6 | --- | |
7 | cat <<-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 | |||
12 | printf "bibliography:\n" | ||
13 | |||
14 | typeset -a bibFiles | ||
15 | bibFiles=(literature/**.bibtex) | ||
16 | |||
17 | gup --contents <<<"${bibFiles}" | ||
18 | for bibFile (${bibFiles}); do | ||
19 | printf " - %s\n" ${bibFile} | ||
20 | done | ||
21 | |||
22 | echo '...' | ||