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