diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/isodate/install.sh')
-rwxr-xr-x | Master/texmf-dist/doc/latex/isodate/install.sh | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/isodate/install.sh b/Master/texmf-dist/doc/latex/isodate/install.sh new file mode 100755 index 00000000000..72e1fd03d34 --- /dev/null +++ b/Master/texmf-dist/doc/latex/isodate/install.sh @@ -0,0 +1,48 @@ +#!/bin/sh +if [ -z `kpsewhich substr.sty` ] +then + echo + echo "Error installing isodate:" + echo "This version of isodate needs the package substr.sty" + echo "which cannot be found in your system." + echo + echo "Please download it from CTAN:/macros/latex/contrib/supported/substr/." + echo "One of the possible CTAN nodes is ftp.dante.de." + echo "Try to execute install.sh after installing substr.sty again." + echo + exit +fi + +# Generate package files +latex isodate.ins +latex isodateo.ins + +# Generate documentation +latex isodate.dtx +latex isodate.dtx +makeindex -s gind.ist isodate +makeindex -s gglo.ist -o isodate.gls isodate.glo +latex isodate.dtx +dvips -o isodate.ps isodate +rm isodate.{glo,gls,idx,ilg,ind,aux,log,toc} + +latex isodateo.dtx +latex isodateo.dtx +makeindex -s gind.ist isodateo +makeindex -s gglo.ist -o isodateo.gls isodateo.glo +latex isodateo.dtx +dvips -o isodateo.ps isodateo +rm isodateo.{glo,gls,idx,ilg,ind,aux,log,toc} + +# Generate example +latex testdate +dvips -o testdate.ps testdate +rm testdate.{aux,log} + +# test the package +latex tstlang + +echo +echo +echo "Please copy isodate.sty, *.idf, and isodateo.sty to a directory" +echo "in the LaTeX search path" |