aboutsummaryrefslogtreecommitdiff
path: root/bin/compile-book
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-10 16:21:34 +0100
committerSilvio Rhatto <rhatto@riseup.net>2024-06-10 16:21:34 +0100
commit6cf6f3fc219b210cb2a450dc69134fc0786f7e76 (patch)
tree34104aae45dadc1bfbe71b613a8383321d2d1b04 /bin/compile-book
parentdd3c246fbc3d3dbb829e1a5e4b2dadfa87286d7f (diff)
downloadbookup-6cf6f3fc219b210cb2a450dc69134fc0786f7e76.tar.gz
bookup-6cf6f3fc219b210cb2a450dc69134fc0786f7e76.tar.bz2
Feat: improved bibliography handling
Diffstat (limited to 'bin/compile-book')
-rwxr-xr-xbin/compile-book6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/compile-book b/bin/compile-book
index 643bf78..c806189 100755
--- a/bin/compile-book
+++ b/bin/compile-book
@@ -33,11 +33,7 @@ cat _book.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md
cat _common.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md
# Bibliography
-echo 'bibliography:' >> $OUTPUT.md
-find -name _biblio.yml | while read file; do
- #cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
- grep -v '^bibliography:' $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
-done
+$BASEDIR/bin/biblio-yml > _biblio.yml
# YAML headers
for file in $BASEDIR/$STRUCTURE/00*.yml; do