From 472504a97d1d2601c8cc9ea6e0de57ab727b7698 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 25 Oct 2017 09:47:21 +0200 Subject: Provide literature.bibtex --- literature.meta.yml.gup | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) mode change 100644 => 100755 literature.meta.yml.gup (limited to 'literature.meta.yml.gup') diff --git a/literature.meta.yml.gup b/literature.meta.yml.gup old mode 100644 new mode 100755 index a4c0d42..64ad0fd --- a/literature.meta.yml.gup +++ b/literature.meta.yml.gup @@ -1,22 +1,11 @@ #!/usr/bin/env zsh -exec 1>$1 +gup -u literature.bibtex -echo '---' - -cat <<-EOF +cat >$1 <<-EOF + --- lang: de-de link-citations: true + bibliography: literature.bibtex + ... EOF - -printf "bibliography:\n" - -typeset -a bibFiles -bibFiles=(literature/**.bibtex) - -gup --contents <<<"${bibFiles}" -for bibFile (${bibFiles}); do - printf " - %s\n" ${bibFile} -done - -echo '...' -- cgit v1.2.3