summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/biblatex-software/mkbiblatexstubs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex-software/mkbiblatexstubs.sh')
-rwxr-xr-xMaster/texmf-dist/doc/latex/biblatex-software/mkbiblatexstubs.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-software/mkbiblatexstubs.sh b/Master/texmf-dist/doc/latex/biblatex-software/mkbiblatexstubs.sh
new file mode 100755
index 00000000000..cb02d549b72
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-software/mkbiblatexstubs.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+while read NAME
+do
+# bbx
+cat <<EOF > $NAME+sw.bbx
+\ProvidesFile{$NAME+sw.bbx}[2020/04/02 $NAME style with software, Roberto Di Cosmo]
+\RequireBibliographyStyle{$NAME}
+\blx@inputonce{software.bbx}{biblatex style for software}{}{}{}{}
+\endinput
+EOF
+# dbx
+cat <<EOF > $NAME+sw.dbx
+\ProvidesFile{$NAME+sw.dbx}[2020/04/02 biblatex-software data model, Roberto Di Cosmo]
+\blx@inputonce{software.dbx}{biblatex data model extension for software}{}{}{}{}
+\endinput
+EOF
+# cbx
+cat <<EOF > $NAME+sw.cbx
+\ProvidesFile{$NAME+sw.bbx}[2020/04/02 $NAME citation style with software, Roberto Di Cosmo]
+\RequireCitationStyle{$NAME}
+\endinput
+EOF
+done< stublist