aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/scripts/mkpackages
diff options
context:
space:
mode:
Diffstat (limited to 'buch/papers/scripts/mkpackages')
-rw-r--r--buch/papers/scripts/mkpackages16
1 files changed, 16 insertions, 0 deletions
diff --git a/buch/papers/scripts/mkpackages b/buch/papers/scripts/mkpackages
new file mode 100644
index 0000000..a9c13fd
--- /dev/null
+++ b/buch/papers/scripts/mkpackages
@@ -0,0 +1,16 @@
+#
+# mkpackages -- this script builds the package inclusions for all papers
+#
+# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+#
+awk 'BEGIN {
+ printf("%%\n")
+ printf("%% addpackages.tex -- file to add all paper packages files\n")
+ printf("%%\n")
+ printf("%% (c) 2019 Prof Dr Andreas Müller, Hochschule Rapperswil\n")
+ printf("%%\n")
+}
+{
+ printf("\\input{papers/%s/packages.tex}\n", $1)
+}' common/paperlist > common/addpackages.tex
+