aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/scripts/mkbibresources
diff options
context:
space:
mode:
Diffstat (limited to 'buch/papers/scripts/mkbibresources')
-rw-r--r--buch/papers/scripts/mkbibresources16
1 files changed, 16 insertions, 0 deletions
diff --git a/buch/papers/scripts/mkbibresources b/buch/papers/scripts/mkbibresources
new file mode 100644
index 0000000..ecede2b
--- /dev/null
+++ b/buch/papers/scripts/mkbibresources
@@ -0,0 +1,16 @@
+#
+# mkbibresources -- this script builds the addbibresources.tex file
+#
+# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+#
+awk 'BEGIN {
+ printf("%%\n")
+ printf("%% addbibresources.tex -- file to add all bib resources\n")
+ printf("%%\n")
+ printf("%% (c) 2020 Prof Dr Andreas Müller, Hochschule Rapperswil\n")
+ printf("%%\n")
+}
+{
+ printf("\\addbibresource{papers/%s/references.bib}\n", $1)
+}' common/paperlist > common/addbibresources.tex
+