| 1 | #!/bin/bash |
| 2 | while read NAME |
| 3 | do |
| 4 | # bbx |
| 5 | cat <<EOF > $NAME+sw.bbx |
| 6 | \ProvidesFile{$NAME+sw.bbx}[2020/04/02 $NAME style with software, Roberto Di Cosmo] |
| 7 | \RequireBibliographyStyle{$NAME} |
| 8 | \blx@inputonce{software.bbx}{biblatex style for software}{}{}{}{} |
| 9 | \endinput |
| 10 | EOF |
| 11 | # dbx |
| 12 | cat <<EOF > $NAME+sw.dbx |
| 13 | \ProvidesFile{$NAME+sw.dbx}[2020/04/02 biblatex-software data model, Roberto Di Cosmo] |
| 14 | \blx@inputonce{software.dbx}{biblatex data model extension for software}{}{}{}{} |
| 15 | \endinput |
| 16 | EOF |
| 17 | # cbx |
| 18 | cat <<EOF > $NAME+sw.cbx |
| 19 | \ProvidesFile{$NAME+sw.bbx}[2020/04/02 $NAME citation style with software, Roberto Di Cosmo] |
| 20 | \RequireCitationStyle{$NAME} |
| 21 | \endinput |
| 22 | EOF |
| 23 | done< stublist |