From 1c716b33b15ae27eccb19b37200eb67b35d64050 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 26 Nov 2013 23:13:04 +0000 Subject: isodoc (26nov13) git-svn-id: svn://tug.org/texlive/trunk@32246 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/isodoc/README | 13 ++---- Master/texmf-dist/doc/latex/isodoc/inst | 50 +++++++++++---------- Master/texmf-dist/doc/latex/isodoc/isodoc.pdf | Bin 1345631 -> 1347188 bytes .../texmf-dist/doc/latex/isodoc/letter/letter.tex | 2 +- 4 files changed, 31 insertions(+), 34 deletions(-) (limited to 'Master/texmf-dist/doc/latex/isodoc') diff --git a/Master/texmf-dist/doc/latex/isodoc/README b/Master/texmf-dist/doc/latex/isodoc/README index 324df7c8b0a..07af3840e25 100644 --- a/Master/texmf-dist/doc/latex/isodoc/README +++ b/Master/texmf-dist/doc/latex/isodoc/README @@ -13,17 +13,10 @@ documents. Documents are easily configured to the user's requirements through key=value options. At the origin of this class was Victor Eijkhout’s NTG brief class, which implements the NEN1026 standard. +The package contains several examples, that are used in the documentation. +These can individually be compiled, which may be useful for users to +experiment with. Installation: Execute the inst script with the --help option for more information. -Changes in version 1.01: - - vattext was missing in all language files - - aus => von; subjecttext => empty for de-DE - - closing parts in minipages for better page break - - more comment on toname, today, language, subject - - moved contents of isodocsymbols.sty into isodoc.dtx and removed it - - empty subjectext generates bold subject line (habit in de-DE) - - page headings forced in one line - - more instructions for first line of address - - phone number prefix +nn\, instead of +nn-- diff --git a/Master/texmf-dist/doc/latex/isodoc/inst b/Master/texmf-dist/doc/latex/isodoc/inst index d458c8a2c62..d605163b9c4 100644 --- a/Master/texmf-dist/doc/latex/isodoc/inst +++ b/Master/texmf-dist/doc/latex/isodoc/inst @@ -4,7 +4,7 @@ DOCTYPE=class EXT=cls VERSION=`grep " v[0-9.]\+[a-z]\{,1\} $NAME $DOCTYPE" $NAME.dtx |sed 's/.* v\([0-9.]\+[a-z]\{,1\}\) .*/\1/' ` -EXECUTABLES=(pdfseparate zip unzip getopt) +EXECUTABLES=(pdfseparate zip unzip getopt pdflatex xelatex) function die { echo -e "$*" @@ -17,24 +17,27 @@ function help { Options: -h, --help print this help -c, --clean remove all files created by the installation, except the zip file - -C, --Clean remove all files that can be regenerated - -z, --zip Create zip for CTAN (developer only) + -z, --zip Create zip for CTAN (no install, developer only) - Without any options, inst creates $NAME.{$EXT,ins,pdf} and installs these, - in the local TeX tree (\$TEXMFLOCAL) or, if that is not writable, - in the user´s TeX tree (\$TEXMFHOME). Also, a zip file is created for upload to CTAN. + Without any options, inst installs $NAME in the first writable + TEXMFMAIN, TEXMFLOCAL or TEXMFHOME tree. EOD exit } function setdir { # create installation directory - TREE=$(kpsewhich --expand-var '$TEXMFLOCAL') - test -w $TREE || TREE=$(kpsewhich --expand-var '$TEXMFHOME') - test "$TREE" = "" && die Could not find value for $TREE - INSTDIR=${TREE}/tex/latex/$NAME - SOURCE=$TREE/source/latex/$NAME - mkdir -p $INSTDIR || die could not create $INSTDIR - mkdir -p $SOURCE || die could not create $SOURCE + for i in MAIN LOCAL HOME; do + TREE=$(kpsewhich --expand-var \$TEXMF$i) + test -w $TREE && break + TREE= + done + test "$TREE" = "" && die "Could not find a writable TeX tree" + INSTTEX=${TREE}/tex/latex/$NAME + INSTSRC=$TREE/source/latex/$NAME + INSTDOC=$TREE/doc/latex/$NAME + mkdir -p $INSTTEX || die could not create $INSTTEX + mkdir -p $INSTSRC || die could not create $INSTSRC + mkdir -p $INSTDOC || die could not create $INSTDOC } function testexecs { # test presence of executables @@ -58,13 +61,13 @@ sed 's/^%//;s/\\\\$// } function clean { # clean but keep what goes in the zip - rm -f $NAME.{aux,fls,glo,gls,idx,ilg,ind,log,out,toc} + rm -f $NAME.{aux,fls,glo,gls,idx,ilg,ind,log,out,toc,$EXT} rm -f examples/*/{$NAME*,*.{pdf,aux,log,out}} } function Clean { clean - rm -f $NAME.{$EXT,pdf} README + rm -f $NAME.pdf README } function makeall { @@ -74,12 +77,12 @@ function makeall { find examples -name '*.ttf' -exec cp {} ~/.fonts \; fc-cache ~/.fonts - # compile all examples + # create the README file + readme + # compile all examples cd examples for i in *; do - # skip dirs that aren't yet added: - test "$(hg st $i|wc -l)" = "$(ls $i|wc -l)" && continue cd $i for j in ../../{$NAME.cls,languages/isodoc*.ldf}; do ln -sf $j; done read TEX <$i.tex @@ -101,17 +104,18 @@ function makeall { function installall { # install and cleanup - echo installing in $INSTDIR - mv -f $NAME.{$EXT,pdf} $INSTDIR - cp -a languages $INSTDIR - cp -a $NAME.{ins,dtx} $SOURCE + echo installing in $TREE + + rm -rf $INSTTEX/* $INSTSRC/* $INSTDOC/* + cp -f $NAME.$EXT languages/iso* $INSTTEX + cp -a $NAME.{ins,dtx} $INSTSRC + cp -a README inst languages/template.ldf $NAME.pdf examples/* $INSTDOC mktexlsr $TREE 2>/dev/null clean } function mkzip { clean - readme cd .. zipfile=$NAME/$NAME-$VERSION.zip rm -f $zipfile diff --git a/Master/texmf-dist/doc/latex/isodoc/isodoc.pdf b/Master/texmf-dist/doc/latex/isodoc/isodoc.pdf index daddcb80650..79241374cc1 100644 Binary files a/Master/texmf-dist/doc/latex/isodoc/isodoc.pdf and b/Master/texmf-dist/doc/latex/isodoc/isodoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/isodoc/letter/letter.tex b/Master/texmf-dist/doc/latex/isodoc/letter/letter.tex index a9026144596..b92972fb97c 100644 --- a/Master/texmf-dist/doc/latex/isodoc/letter/letter.tex +++ b/Master/texmf-dist/doc/latex/isodoc/letter/letter.tex @@ -11,7 +11,7 @@ enclosures = isodoc documentation\\LPPL documentation, subject = An example letter using the isodoc class -- with an extra long subject extending over two lines., - autograph, + autograph,foreign } \begin{document} -- cgit v1.2.3