summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/biblatex-abnt/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex-abnt/test.sh')
-rwxr-xr-xMaster/texmf-dist/doc/latex/biblatex-abnt/test.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-abnt/test.sh b/Master/texmf-dist/doc/latex/biblatex-abnt/test.sh
new file mode 100755
index 00000000000..afaa99c1ab3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-abnt/test.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+sed -i '' 's/\\toggletrue{reference}/% \\toggletrue{reference}/' NBR10520-2002.tex
+
+sed -i '' 's/\\toggletrue{reference}/% \\toggletrue{reference}/' NBR6023-2002.tex
+
+latexmk -pdf -norc NBR10520-2002.tex
+
+latexmk -pdf -norc NBR6023-2002.tex
+
+pdflatex NBR10520-2002_test.tex
+
+pdflatex NBR6023-2002_test.tex
+
+latexmk -norc -c
+
+rm NBR10520-2002.bbl
+
+rm NBR6023-2002.bbl
+
+rm NBR10520-2002.run.xml
+
+rm NBR6023-2002.run.xml
+
+sed -i '' 's/% \\toggletrue{reference}/\\toggletrue{reference}/' NBR10520-2002.tex
+
+sed -i '' 's/% \\toggletrue{reference}/\\toggletrue{reference}/' NBR6023-2002.tex
+