From ab90f9241d0867206858c306c8d7fb08ee7f0275 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Jun 2024 11:43:57 +0100 Subject: Feat: automatically include all _biblio.yml files in the output --- _biblio.yml | 4 ++++ bin/compile-book | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/_biblio.yml b/_biblio.yml index e69de29..c86ad9e 100644 --- a/_biblio.yml +++ b/_biblio.yml @@ -0,0 +1,4 @@ +# Bibliography sources +#bibliography: +# # Custom entries +# - images/images.bib diff --git a/bin/compile-book b/bin/compile-book index 42f7f67..75c417b 100755 --- a/bin/compile-book +++ b/bin/compile-book @@ -18,7 +18,9 @@ rm -f $OUTPUT.md $OUTPUT.Rmd cat _bookup.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md # Bibliography -cat _biblio.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md +find -name _biblio.yml | while read file; do + cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md +done # YAML headers for file in $BASEDIR/structure/00*.yml; do -- cgit v1.2.3