diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-04-06 15:08:30 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-04-06 15:08:30 +0000 |
commit | dfa4a295dfc9d12a504a36a7534b7778d37e1050 (patch) | |
tree | 8a92f6a87fdb1a3bfc482885148cc2aa8d7f7f9e /Master | |
parent | e951c402754fccfe6fc18cfd43531323e7f2a5db (diff) |
latex-tds
git-svn-id: svn://tug.org/texlive/trunk@7332 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
17 files changed, 354 insertions, 308 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/build.pl b/Master/texmf-dist/source/latex/latex-tds/build.pl index 58a0ba98975..1999ce282ff 100755 --- a/Master/texmf-dist/source/latex/latex-tds/build.pl +++ b/Master/texmf-dist/source/latex/latex-tds/build.pl @@ -4,10 +4,10 @@ $^W=1; my $prj = 'latex-tds'; my $file = 'build.pl'; -my $version = cvs('$Revision: 1.102 $'); -my $date = cvs('$Date: 2006/08/28 09:42:43 $'); +my $version = cvs('$Revision: 1.115 $'); +my $date = cvs('$Date: 2008/04/01 19:17:01 $'); my $author = 'Heiko Oberdiek'; -my $copyright = "Copyright 2006 $author"; +my $copyright = "Copyright 2006, 2007 $author"; chomp(my $license = <<"END_LICENSE"); % $copyright % @@ -83,13 +83,15 @@ my $prg_curl = 'curl'; my $prg_docstrip = 'tex -shell-escape'; my $prg_epstopdf = 'epstopdf'; my $prg_find = 'find'; -my $prg_java = 'java'; +my $prg_java = '/work/java-1.5.0/bin/java'; + # java 1.6 don't work with the used version of Multivalent my $prg_ls = "ls"; my $prg_makeindex = 'makeindex'; my $prg_mkdir = 'mkdir'; my $prg_mv = 'mv'; my $prg_patch = "patch"; my $prg_pdflatex = 'pdflatex'; +my $prg_pdflatextds = "pdflatex -fmt=$cwd/$dir_build/latex-tds"; my $prg_rm = "rm"; my $prg_rsync = "rsync"; my $prg_sed = "sed"; @@ -147,6 +149,16 @@ GetOptions( info("Build modules: @list_modules"); +### Format generation +if (@list_modules > 0) { + section('Format generation'); + + ensure_directory($dir_build); + chdir $dir_build; + run("$prg_pdflatex -ini -etex ../tex/latex-tds.ini"); + chdir $cwd; +} + ### Download { section('Download'); @@ -154,15 +166,18 @@ info("Build modules: @list_modules"); sub download_ctan ($$) { my $file = shift; my $ctan_path = shift; + $ctan_path .= '/' if $ctan_path ne ''; ensure_directory($dir_incoming_ctan); download("$dir_incoming_ctan/$file.zip", - "$url_ctan/$ctan_path/$file.zip"); + "$url_ctan/$ctan_path$file.zip"); } - sub download_ams ($) { - my $file = shift; + sub download_ams ($$) { + my $file = shift; + my $ams_path = shift; + $ams_path .= '/' if $ams_path ne ''; ensure_directory($dir_incoming_ams); download("$dir_incoming_ams/$file.zip", - "$url_ams/$file.zip"); + "$url_ams/$ams_path$file.zip"); } sub download ($$) { my $file = shift; @@ -185,10 +200,12 @@ info("Build modules: @list_modules"); download_ctan('cyrillic', 'macros/latex/required'); download_ctan('babel', 'macros/latex/required'); download_ctan('amslatex', 'macros/latex/required'); + download_ctan('amsrefs', 'macros/latex/contrib'); download_ctan('psnfss', 'macros/latex/required'); download_ctan('tds', ''); - download_ams('amslatex'); - download_ams('amsrefs'); + download_ams('amslatex', ''); + download_ams('amsrefs-tds', 'amslatex/amsrefs'); + download_ams('amsrefs-ctan', 'amslatex/amsrefs'); } ### Remove previous build @@ -204,6 +221,8 @@ section('Remove previous build'); ### Unpack section('Unpacking'); { + my $texmf_ams = "$dir_build/amslatex/texmf"; + sub unpacking ($$$) { my $pkg = shift; my $zipfile = shift; @@ -220,9 +239,10 @@ section('Unpacking'); sub unpack_ams ($) { my $name = shift; $modules{'amslatex'} or return 1; + ensure_directory($texmf_ams); unpacking('amslatex', "$dir_incoming_ams/$name.zip", - "$dir_build/amslatex/texmf"); + "$texmf_ams"); } sub unpack_psnfss ($) { my $name = shift; @@ -236,8 +256,14 @@ section('Unpacking'); ensure_directory($dir_build); unpack_ctan('base'); map { unpack_ctan($_); } @required_list; - unpack_ams('amslatex'); - unpack_ams('amsrefs'); + if ($modules{'amslatex'}) { + unpack_ams('amsrefs-tds'); + run("$prg_rm -rf $dir_build/amslatex/amsrefs"); + unpacking('amslatex', + "$dir_incoming_ams/amsrefs-ctan.zip", + "$dir_build/amslatex"); + unpack_ams('amslatex'); + } unpack_psnfss('lw35nfss'); unpack_psnfss('freenfss'); unpack_ctan('tds'); @@ -257,15 +283,13 @@ section('Patches'); run("$prg_checksum psfonts.dtx"); chdir $cwd; } - + if ($modules{'babel'}) { map { patch("babel/$_"); } qw[ - greek.ins - bbcompat.dtx - athnum.dtx - albanian.dtx - finnish.dtx - frenchb.dtx + babel.dtx + galician.dtx + danish.dtx + latin.dtx ]; } } @@ -327,12 +351,6 @@ section('Install source'); ]); # babel/manifest.txt: to be removed in a future release # already removed: bghyphen.tex, bghyphsi.tex - install_gen_source('generic', 'babel', qw[ - mik2t2.tex - catmik.tex - lahyph.tex - ]); - # *.tex install_gen_source('', 'tds', qw[ Makefile tds2texi.el @@ -407,8 +425,8 @@ section('Docstrip'); section('TDS cleanup'); { if ($modules{'amslatex'}) { + my $dir_tds = "$dir_build/amslatex/texmf"; sub cleanup_tds ($@) { - my $dir_tds = "$dir_build/amslatex/texmf"; my $sub_tree = shift; my @list = map { glob("$dir_tds/$sub_tree/$_"); } @_; @@ -416,10 +434,6 @@ section('TDS cleanup'); map { rmdir; } grep { -d $_; } @list; } - cleanup_tds 'bibtex', qw[ - bib/ams - bib - ]; cleanup_tds 'source/latex/amscls', qw[ *.bst *.template @@ -429,34 +443,31 @@ section('TDS cleanup'); diffs-m.txt amstex.sty ]; + run("$prg_mv $dir_tds/source/latex/amsrefs/amsrefs.faq" + . " $dir_tds/doc/latex/amsrefs/"); cleanup_tds 'source/latex/amsrefs', qw[ - *.dvi - *.pdf - amsrefs.faq cite-x*.tex jr.bib gktest.ltb ]; - cleanup_tds 'doc/latex/amscls', qw[ - amsrefs.dvi - textcmds.dvi - ]; # CTAN:macros/latex/required/amslatex/other/* run("$prg_cp $dir_build/amslatex/other/amsbooka.sty" . " $dir_build/amslatex/texmf/tex/latex/amscls/amsbooka.sty"); + cleanup_tds 'source/latex/amsltx2', qw[ + 00readme.txt + install.txt + ]; + cleanup_tds 'source/latex', qw[ + amsltx2 + ]; } if ($modules{'babel'}) { my $tds_dir = "$dir_build/babel/texmf"; - my $from_dir = "$tds_dir/tex/generic/babel"; + my $from_dir = "$tds_dir/source/generic/babel"; ### Correction for *.drv files run("$prg_mv $from_dir/*.drv $dir_build/babel"); - - ### Correction for *.ist files - my $dir_dest = "$tds_dir/makeindex/babel"; - ensure_directory($dir_dest); - run("$prg_mv $from_dir/*.ist $dir_dest"); } } @@ -549,10 +560,6 @@ section('Install tex doc'); *.skeleton install.OzTeX* ]); - install('texmf/tex/generic/hyphen', qw[ - iahyphen.tex - icehyph.tex - ]); chdir $cwd; } @@ -593,9 +600,9 @@ if ($modules{'base'}) { sub base_guide ($) { my $guide = "$_[0]guide"; - run("$prg_pdflatex $guide"); - run("$prg_pdflatex $guide"); - run("$prg_pdflatex $guide"); + run("$prg_pdflatextds -draftmode $guide"); + run("$prg_pdflatextds -draftmode $guide"); + run("$prg_pdflatextds $guide"); install_pdf('base', $guide); 1; } @@ -603,48 +610,48 @@ if ($modules{'base'}) { my $ext = shift; my $base = shift; my $file = "$base.$ext"; - run("$prg_pdflatex $file"); - run("$prg_pdflatex $file"); - run("$prg_pdflatex $file"); + run("$prg_pdflatextds -draftmode $file"); + run("$prg_pdflatextds -draftmode $file"); + run("$prg_pdflatextds $file"); install_pdf('base', $base); 1; } sub complex_dtx ($) { my $base = shift; my $dtx = "$base.dtx"; - run("$prg_pdflatex $dtx"); + run("$prg_pdflatextds -draftmode $dtx"); run_makeindex("$base.idx", 'gind.ist'); run_makeindex("$base.glo", 'gglo.ist', "$base.gls"); - run("$prg_pdflatex $dtx"); + run("$prg_pdflatextds -draftmode $dtx"); run_makeindex("$base.idx", 'gind.ist'); run_makeindex("$base.glo", 'gglo.ist', "$base.gls"); - run("$prg_pdflatex $dtx"); - run("$prg_pdflatex $dtx"); # hydestopt + run("$prg_pdflatextds -draftmode $dtx"); + run("$prg_pdflatextds $dtx"); # hydestopt install_pdf('base', "$base"); 1; } sub book_err ($) { my $base = shift; my $err = "$base.err"; - run("$prg_pdflatex $err"); + run("$prg_pdflatextds -draftmode $err"); run("$prg_sed -i -e '" . 's/\\\\endinput/\\\\input{errata.cfg}\\n\\\\endinput/' . "' $base.cfg"); - run("$prg_pdflatex $err"); - run("$prg_pdflatex $err"); - run("$prg_pdflatex $err"); # hydestopt + run("$prg_pdflatextds -draftmode $err"); + run("$prg_pdflatextds -draftmode $err"); + run("$prg_pdflatextds $err"); # hydestopt install_pdf('base', "$base"); 1; } chdir "$dir_build/base"; - run("$prg_pdflatex source2e"); + run("$prg_pdflatextds -draftmode source2e"); run_makeindex('source2e.idx', 'gind.ist'); run_makeindex('source2e.glo', 'gglo.ist', 'source2e.gls'); - run("$prg_pdflatex source2e"); + run("$prg_pdflatextds -draftmode source2e"); run_makeindex('source2e.idx', 'gind.ist'); run_makeindex('source2e.glo', 'gglo.ist', 'source2e.gls'); - run("$prg_pdflatex source2e"); - run("$prg_pdflatex source2e"); # hydestopt + run("$prg_pdflatextds -draftmode source2e"); + run("$prg_pdflatextds source2e"); # hydestopt install_pdf('base', 'source2e'); map { complex_dtx $_ } qw[ classes @@ -685,9 +692,9 @@ if ($modules{'base'}) { . 's/\\\\documentclass{article}/' . '\\\\documentclass{article}\\n\\\\input{manual.cfg}/' . "' manual.err"); - run("$prg_pdflatex manual.err"); - run("$prg_pdflatex manual.err"); - run("$prg_pdflatex manual.err"); # hydestopt + run("$prg_pdflatextds -draftmode manual.err"); + run("$prg_pdflatextds -draftmode manual.err"); + run("$prg_pdflatextds manual.err"); # hydestopt install_pdf('base', 'manual'); base_guide('cfg'); base_guide('cls'); @@ -696,13 +703,13 @@ if ($modules{'base'}) { base_guide('fnt'); base_guide('mod'); base_guide('usr'); - run("$prg_pdflatex doc_lppl"); - run("$prg_pdflatex doc_lppl"); - run("$prg_pdflatex doc_lppl"); # hydestopt + run("$prg_pdflatextds -draftmode doc_lppl"); + run("$prg_pdflatextds -draftmode doc_lppl"); + run("$prg_pdflatextds doc_lppl"); # hydestopt run("$prg_mv doc_lppl.pdf lppl.pdf"); install_pdf('base', 'lppl'); - run("$prg_pdflatex ltxcheck.drv"); - run("$prg_pdflatex ltxcheck.drv"); + run("$prg_pdflatextds -draftmode ltxcheck.drv"); + run("$prg_pdflatextds ltxcheck.drv"); install_pdf('base', 'ltxcheck'); my $code = <<'END_CODE'; \let\SavedDocumentclass\documentclass @@ -713,8 +720,8 @@ if ($modules{'base'}) { \input{ltx3info} END_CODE $code =~ s/\s//g; - run("$prg_pdflatex '$code'"); - run("$prg_pdflatex '$code'"); + run("$prg_pdflatextds -draftmode '$code'"); + run("$prg_pdflatextds -draftmode '$code'"); run("$prg_pdflatex '$code'"); # hydestopt install_pdf('base', 'ltx3info'); # for (my $i = 1; $i <= 17; $i++) { @@ -730,7 +737,7 @@ END_CODE map { $lastissue = $1 if /ltnews(\d+)\.tex/ and $lastissue < $1; } glob('ltnews*.tex'); my $cmd_ltnews = - "$prg_pdflatex '\\def\\lastissue{$lastissue}\\input{$ltnews}'"; + "$prg_pdflatextds '\\def\\lastissue{$lastissue}\\input{$ltnews}'"; run($cmd_ltnews); run($cmd_ltnews); run($cmd_ltnews); @@ -746,14 +753,14 @@ if ($modules{'tools'}) { my @list = glob("*.dtx"); map { s/\.dtx$//; } @list; foreach my $entry (@list) { - run("$prg_pdflatex $entry.dtx"); + run("$prg_pdflatextds -draftmode $entry.dtx"); run_makeindex("$entry.idx", 'gind.ist'); run_makeindex("$entry.glo", 'gglo.ist', "$entry.gls"); - run("$prg_pdflatex $entry.dtx"); + run("$prg_pdflatextds -draftmode $entry.dtx"); run_makeindex("$entry.idx", 'gind.ist'); run_makeindex("$entry.glo", 'gglo.ist', "$entry.gls"); - run("$prg_pdflatex $entry.dtx"); - run("$prg_pdflatex $entry.dtx"); # hydestopt + run("$prg_pdflatextds -draftmode $entry.dtx"); + run("$prg_pdflatextds $entry.dtx"); # hydestopt install_pdf('tools', $entry); } @@ -813,7 +820,7 @@ END_ENTRY \end{document} END_TRAILER close(OUT); - run("$prg_pdflatex tools.tex"); + run("$prg_pdflatextds tools.tex"); install_pdf('tools', 'tools'); chdir $cwd; } @@ -825,9 +832,9 @@ if ($modules{'cyrillic'}) { chdir "$dir_build/cyrillic"; my @list = (glob("*.dtx"), glob("*.fdd")); foreach my $entry (@list) { - run("$prg_pdflatex $entry"); - run("$prg_pdflatex $entry"); - run("$prg_pdflatex $entry"); # hydestopt + run("$prg_pdflatextds -draftmode $entry"); + run("$prg_pdflatextds -draftmode $entry"); + run("$prg_pdflatextds $entry"); # hydestopt $entry =~ s/\.(dtx|fdd)$//; install_pdf('cyrillic', $entry); } @@ -842,9 +849,9 @@ if ($modules{'graphics'}) { my @list = glob("*.dtx"); map { s/\.dtx$//; } @list; foreach my $entry (@list) { - run("$prg_pdflatex $entry.dtx"); - run("$prg_pdflatex $entry.dtx"); - run("$prg_pdflatex $entry.dtx"); # hydestopt + run("$prg_pdflatextds -draftmode $entry.dtx"); + run("$prg_pdflatextds -draftmode $entry.dtx"); + run("$prg_pdflatextds $entry.dtx"); # hydestopt install_pdf('graphics', $entry); } my $code = <<'END_CODE'; @@ -853,11 +860,11 @@ if ($modules{'graphics'}) { \input{grfguide} END_CODE $code =~ s/\s//g; - run("$prg_pdflatex '$code'"); + run("$prg_pdflatextds -draftmode '$code'"); run("$prg_epstopdf a.ps"); - run("$prg_pdflatex grfguide"); - run("$prg_pdflatex grfguide"); - run("$prg_pdflatex grfguide"); + run("$prg_pdflatextds -draftmode grfguide"); + run("$prg_pdflatextds -draftmode grfguide"); + run("$prg_pdflatextds grfguide"); install_pdf('graphics', 'grfguide'); chdir $cwd; } @@ -887,15 +894,15 @@ if ($modules{'amslatex'}) { my $ams_drv = "$cwd/$dir_tex/ams.drv"; symlink $ams_drv, "$doc.drv"; - run("$prg_pdflatex $doc.drv"); + run("$prg_pdflatextds -draftmode $doc.drv"); makeindex($doc); bibtex($doc); - run("$prg_pdflatex $doc.drv"); + run("$prg_pdflatextds -draftmode $doc.drv"); makeindex($doc); - run("$prg_pdflatex $doc.drv"); + run("$prg_pdflatextds -draftmode $doc.drv"); makeindex($doc); - run("$prg_pdflatex $doc.drv"); - run("$prg_pdflatex $doc.drv") if $doc eq 'amsrefs'; + run("$prg_pdflatextds -draftmode $doc.drv") if $doc eq 'amsrefs'; + run("$prg_pdflatextds $doc.drv"); install_pdf($amspkg, $doc); } @@ -917,7 +924,7 @@ if ($modules{'amslatex'}) { chdir "$dir_build/amslatex/amsrefs"; symlink '../texmf', 'texmf'; - map { generate_doc 'amscls', $_; } qw[ + map { generate_doc 'amsrefs', $_; } qw[ cite-xa cite-xb cite-xh cite-xs amsrefs amsxport ifoption mathscinet pcatcode rkeyval textcmds ]; @@ -930,13 +937,13 @@ if ($modules{'psnfss'}) { chdir "$dir_build/psnfss"; - run("$prg_pdflatex psfonts.dtx"); - run("$prg_pdflatex psfonts.dtx"); + run("$prg_pdflatextds -draftmode psfonts.dtx"); + run("$prg_pdflatextds psfonts.dtx"); install_pdf('psnfss', 'psfonts'); - run("$prg_pdflatex psnfss2e.drv"); - run("$prg_pdflatex psnfss2e.drv"); - run("$prg_pdflatex psnfss2e.drv"); + run("$prg_pdflatextds -draftmode psnfss2e.drv"); + run("$prg_pdflatextds -draftmode psnfss2e.drv"); + run("$prg_pdflatextds psnfss2e.drv"); install_pdf('psnfss', 'psnfss2e'); chdir $cwd; @@ -952,8 +959,8 @@ if ($modules{'babel'}) { sub simple_doc ($) { my $file = shift; - run("$prg_pdflatex $file"); - run("$prg_pdflatex $file"); + run("$prg_pdflatextds -draftmode $file"); + run("$prg_pdflatextds $file"); $file =~ s/\.\w{3}$//; install_babel_pdf($file); } @@ -962,10 +969,10 @@ if ($modules{'babel'}) { my $drv = "$cwd/$dir_tex/ams.drv"; symlink $drv, "$doc.drv"; - run("$prg_pdflatex $doc.drv"); - run("$prg_pdflatex $doc.drv"); - run("$prg_pdflatex $doc.drv"); - run("$prg_pdflatex $doc.drv"); + run("$prg_pdflatextds -draftmode $doc.drv"); + run("$prg_pdflatextds -draftmode $doc.drv"); + run("$prg_pdflatextds -draftmode $doc.drv"); + run("$prg_pdflatextds $doc.drv"); install_babel_pdf($doc); } @@ -992,14 +999,14 @@ if ($modules{'babel'}) { tb1604 ]; - run("$prg_pdflatex babel.tex"); + run("$prg_pdflatextds -draftmode babel.tex"); run_makeindex('babel.idx', 'bbind.ist'); run_makeindex('babel.glo', 'bbglo.ist', 'babel.gls'); - run("$prg_pdflatex babel.tex"); + run("$prg_pdflatextds -draftmode babel.tex"); run_makeindex('babel.idx', 'bbind.ist'); run_makeindex('babel.glo', 'bbglo.ist', 'babel.gls'); - run("$prg_pdflatex babel.tex"); - run("$prg_pdflatex babel.tex"); + run("$prg_pdflatextds -draftmode babel.tex"); + run("$prg_pdflatextds babel.tex"); install_babel_pdf('babel'); chdir $cwd; @@ -1033,9 +1040,9 @@ END_TEXT close(IN); unlink('tds.aux'); - run("$prg_pdflatex $file_tds_new"); - run("$prg_pdflatex $file_tds_new"); - run("$prg_pdflatex $file_tds_new"); + run("$prg_pdflatextds -draftmode $file_tds_new"); + run("$prg_pdflatextds -draftmode $file_tds_new"); + run("$prg_pdflatextds $file_tds_new"); install_gen_pdf('', 'tds', 'tds'); chdir $cwd; diff --git a/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl b/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl index 9998a886c69..e690fb84057 100755 --- a/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl +++ b/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl @@ -26,17 +26,21 @@ $^W=1; # turn warning on # my $file = "adjust_checksum.pl"; my $program = uc($&) if $file =~ /^\w+/; -my $version = "1.1"; -my $date = "2006/02/12"; +my $version = "1.3"; +my $date = "2007/09/25"; my $author = "Heiko Oberdiek"; -my $copyright = "Copyright (c) 2002, 2006 by $author."; +my $copyright = "Copyright (c) 2002, 2006, 2007 by $author."; # # Reqirements: Perl5, Linux # History: # 2002/03/15 v1.0: First release. # 2006/02/12 v1.1: Fix for \Checksum{0}. +# 2007/06/15 v1.2: -draftmode added. +# 2007/09/25 v1.3: ltxdoc.cfg added to speed up. # +my $prg_latex = 'latex -draftmode'; + my $tempdir = "tmp_\L$program\E_$$"; ### program identification @@ -79,9 +83,39 @@ $tempdtxfile = $tempdir . "/" . $tempdtxfile; system("cp $dtxfile $tempdtxfile"); -f $tempdtxfile or die "$Error Cannot copy dtx file!\n"; +### create ltxdoc.cfg +my $ltxdocfile = $tempdir . "/" . 'ltxdoc.cfg'; +open(OUT, '>', $ltxdocfile) + or die "!!! Error: Cannot open file `$ltxdocfile'!\n"; +print OUT <<'__END__LTXDOC_CFG__'; +\typeout{* version for adjust_checksum} +\AtEndOfClass{% + \DontCheckModules + \DisableCrossrefs + \def\DisableCrossrefs{\@bsphack\@esphack}% + \let\EnableCrossrefs\DisableCrossrefs + \let\CodelineIndex\relax + \let\PageIndex\relax + \let\CodelineNumbered\relax + \let\PrintChanges\relax + \let\PrintIndex\relax + \let\tableofcontents\relax + \PassOptionsToPackage{hyperref}{bookmarks=false}% + \PassOptionsToPackage{hypdoc}{numbered}% + \expandafter\xdef\csname ver@hypdoc.sty\endcsname{}% + \expandafter\xdef\csname ver@bmhydoc.sty\endcsname{}% + \nofiles + \hfuzz\maxdimen + \pretolerance10000 % + \tolerance10000 % +} +\endinput +__END__LTXDOC_CFG__ +close(OUT); + ### run latex print "*** Running LaTeX ...\n"; -system("(cd $tempdir; latex --interaction=batchmode $latexfile)"); +system("(cd $tempdir; $prg_latex --interaction=batchmode $latexfile)"); my $logfile = $tempdtxfile; $logfile =~ s/\.[^\.]+$//; diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/albanian.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/albanian.dtx.diff deleted file mode 100644 index 42bad0ae1f1..00000000000 --- a/Master/texmf-dist/source/latex/latex-tds/patch/albanian.dtx.diff +++ /dev/null @@ -1,32 +0,0 @@ -*** albanian.dtx.org 2005-11-23 22:23:00.000000000 +0100 ---- albanian.dtx 2006-06-02 19:20:50.000000000 +0200 -*************** -*** 1,5 **** ---- 1,9 ---- - % \iffalse meta-comment - % -+ % Patched by Heiko Oberdiek for project latex-tds: -+ % * 2006/06/02: Documentation bug: incomplete first paragraph -+ % with open \footnote macro. -+ % - % Copyright 1989-2005 Johannes L. Braams and any individual authors - % listed elsewhere in this file. All rights reserved. - % -*************** -*** 69,75 **** - % - % The file \file{\filename}\footnote{The file described in this - % section has version number \fileversion\ and was last revised on -! % \filedate. - % - % Albanian is written in a latin script, but it has 36 leters, - % 9 which are diletters (dh, gj, ll, nj, rr, sh, th, xh, zh), ---- 73,80 ---- - % - % The file \file{\filename}\footnote{The file described in this - % section has version number \fileversion\ and was last revised on -! % \filedate.} defines all the language definition macros for the -! % Albanian language. - % - % Albanian is written in a latin script, but it has 36 leters, - % 9 which are diletters (dh, gj, ll, nj, rr, sh, th, xh, zh), diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/athnum.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/athnum.dtx.diff deleted file mode 100644 index f5b2f27f58a..00000000000 --- a/Master/texmf-dist/source/latex/latex-tds/patch/athnum.dtx.diff +++ /dev/null @@ -1,23 +0,0 @@ -*** athnum.dtx.org 2005-04-01 00:37:00.000000000 +0200 ---- athnum.dtx 2006-06-02 19:08:14.000000000 +0200 -*************** -*** 1,5 **** ---- 1,8 ---- - % \iffalse meta-comment - % -+ % Patched by Heiko Oberdiek for project latex-tds: -+ % * 2006/06/02: Documentation bug: \CharacterTable without argument removed. -+ % - % Copyright 1989-2005 Johannes L. Braams and any individual authors - % listed elsewhere in this file. All rights reserved. - % -*************** -*** 27,33 **** - % extension .ins) which are part of the distribution. - % \fi - %% \CheckSum{125} -- %% \CharacterTable - %\iffalse - % - %% This is file `athnum.dtx' ---- 30,35 ---- diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/babel.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/babel.dtx.diff new file mode 100644 index 00000000000..f87e2544982 --- /dev/null +++ b/Master/texmf-dist/source/latex/latex-tds/patch/babel.dtx.diff @@ -0,0 +1,46 @@ +*** babel.dtx.org 2008-03-21 23:40:00.000000000 +0100 +--- babel.dtx 2008-04-01 21:13:26.000000000 +0200 +*************** +*** 26,32 **** + % and covered by LPPL is defined by the unpacking scripts (with + % extension .ins) which are part of the distribution. + % \fi +! % \CheckSum{3843} + %% + % \def\filename{babel.dtx} + % \let\thisfilename\filename +--- 26,32 ---- + % and covered by LPPL is defined by the unpacking scripts (with + % extension .ins) which are part of the distribution. + % \fi +! % \CheckSum{3858} + %% + % \def\filename{babel.dtx} + % \let\thisfilename\filename +*************** +*** 294,300 **** + % \begin{supertabular}{l p{8cm}} + % Afrikaans & afrikaans\\ + % Bahasa & bahasa, indonesian, indon, bahasai, +! % bahasam, malay, meyalu\ + % Basque & basque\\ + % Breton & breton\\ + % Bulgarian & bulgarian\\ +--- 294,300 ---- + % \begin{supertabular}{l p{8cm}} + % Afrikaans & afrikaans\\ + % Bahasa & bahasa, indonesian, indon, bahasai, +! % bahasam, malay, meyalu\\ + % Basque & basque\\ + % Breton & breton\\ + % Bulgarian & bulgarian\\ +*************** +*** 5297,5302 **** +--- 5297,5303 ---- + %</core|shorthands> + % \end{macrocode} + % \end{macro} ++ % \end{macro} + % + % \subsection{Encoding issues (part 2)} + % diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/bbcompat.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/bbcompat.dtx.diff deleted file mode 100644 index e3e2aecdd92..00000000000 --- a/Master/texmf-dist/source/latex/latex-tds/patch/bbcompat.dtx.diff +++ /dev/null @@ -1,30 +0,0 @@ -*** bbcompat.dtx.org 2005-11-23 22:23:00.000000000 +0100 ---- bbcompat.dtx 2006-06-02 18:57:27.000000000 +0200 -*************** -*** 1,5 **** ---- 1,8 ---- - % \iffalse meta-comment - % -+ % Patched by Heiko Oberdiek for project latex-tds: -+ % * 2006/06/02: Documentation bug fix: \cd -> \cs (typo) -+ % - % Copyright 1989-2005 Johannes L. Braams and any individual authors - % listed elsewhere in this file. All rights reserved. - % -*************** -*** 59,65 **** - % \changes{bbcompat-1.2}{1996/11/02}{Added the check for \cs{LdfInit}} - % \changes{bbcompat-1.2d}{1999/04/12}{When these files are read by a - % non-babel plain format the @ has still category code `other' so -! % can't use \cd{@undefined}} - % \begin{macrocode} - \ifx\LdfInit\undefined - \def\LdfInit{% ---- 62,68 ---- - % \changes{bbcompat-1.2}{1996/11/02}{Added the check for \cs{LdfInit}} - % \changes{bbcompat-1.2d}{1999/04/12}{When these files are read by a - % non-babel plain format the @ has still category code `other' so -! % can't use \cs{@undefined}} - % \begin{macrocode} - \ifx\LdfInit\undefined - \def\LdfInit{% diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/danish.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/danish.dtx.diff new file mode 100644 index 00000000000..f64b1dcf080 --- /dev/null +++ b/Master/texmf-dist/source/latex/latex-tds/patch/danish.dtx.diff @@ -0,0 +1,19 @@ +*** danish.dtx.org 2008-03-17 20:38:00.000000000 +0100 +--- danish.dtx 2008-04-01 21:04:14.000000000 +0200 +*************** +*** 286,292 **** + % + % \begin{macro}{\-} + % \changes{danish-1.3q}{2008/03/17}{Added redefinition of \cs{-} from +! % \texttt{dutch.ldf} + % All that is left now is the redefinition of |\-|. The new version + % of |\-| should indicate an extra hyphenation position, while + % allowing other hyphenation positions to be generated +--- 286,292 ---- + % + % \begin{macro}{\-} + % \changes{danish-1.3q}{2008/03/17}{Added redefinition of \cs{-} from +! % \texttt{dutch.ldf}} + % All that is left now is the redefinition of |\-|. The new version + % of |\-| should indicate an extra hyphenation position, while + % allowing other hyphenation positions to be generated diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/finnish.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/finnish.dtx.diff deleted file mode 100644 index b1a14f4b765..00000000000 --- a/Master/texmf-dist/source/latex/latex-tds/patch/finnish.dtx.diff +++ /dev/null @@ -1,31 +0,0 @@ -*** finnish.dtx.org 2005-04-01 00:39:00.000000000 +0200 ---- finnish.dtx 2006-06-02 19:51:30.000000000 +0200 -*************** -*** 1,5 **** ---- 1,9 ---- - % \iffalse meta-comment - % -+ % Patched by Heiko Oberdiek for project latex-tds: -+ % * 2006/06/02: Documentation bug: "=" cannot be used in -+ % a \changes entry. -+ % - % Copyright 1989-2005 Johannes L. Braams and any individual authors - % listed elsewhere in this file. All rights reserved. - % -*************** -*** 283,289 **** - % \end{macrocode} - % then we define two shorthands to be able to specify hyphenation - % breakpoints that behave a little different from |\-|. -! % \changes{finnish-1.3p}{2001/11/13}{\texttt{"=} should also use - % \cs{bbl@allowhyphens}} - % \begin{macrocode} - \declare@shorthand{finnish}{"-}{\nobreak-\bbl@allowhyphens} ---- 287,293 ---- - % \end{macrocode} - % then we define two shorthands to be able to specify hyphenation - % breakpoints that behave a little different from |\-|. -! % \changes{finnish-1.3p}{2001/11/13}{\texttt{\symbol{34}\symbol{61}} should also use - % \cs{bbl@allowhyphens}} - % \begin{macrocode} - \declare@shorthand{finnish}{"-}{\nobreak-\bbl@allowhyphens} diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/frenchb.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/frenchb.dtx.diff deleted file mode 100644 index 6befada8b12..00000000000 --- a/Master/texmf-dist/source/latex/latex-tds/patch/frenchb.dtx.diff +++ /dev/null @@ -1,30 +0,0 @@ -*** frenchb.dtx.org 2005-04-01 00:39:00.000000000 +0200 ---- frenchb.dtx 2006-06-02 19:59:31.000000000 +0200 -*************** -*** 1,5 **** ---- 1,8 ---- - % \iffalse meta-comment - % -+ % Patched by Heiko Oberdiek for project latex-tds: -+ % * 2006/06/02: Documentation bug: "!" cannot be used inside \changes. -+ % - % Copyright 1989-2005 Johannes L. Braams and any individual authors - % listed elsewhere in this file. All rights reserved. - % -*************** -*** 679,685 **** - % - % \changes{frenchb-1.5g}{2001/09/09}{Let \cs{LdfInit} check for - % \cs{datefrench} instead of \cs{NoAutoSpaceBeforeFDP}, -! % as the later is also defined by russianb.ldf!} - % - % \begin{macrocode} - %<*code> ---- 682,688 ---- - % - % \changes{frenchb-1.5g}{2001/09/09}{Let \cs{LdfInit} check for - % \cs{datefrench} instead of \cs{NoAutoSpaceBeforeFDP}, -! % as the later is also defined by russianb.ldf} - % - % \begin{macrocode} - %<*code> diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/galician.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/galician.dtx.diff new file mode 100644 index 00000000000..f9e28f0bb0e --- /dev/null +++ b/Master/texmf-dist/source/latex/latex-tds/patch/galician.dtx.diff @@ -0,0 +1,31 @@ +*** galician.dtx.org 2008-03-18 00:18:00.000000000 +0100 +--- galician.dtx 2008-04-01 21:02:16.000000000 +0200 +*************** +*** 1433,1445 **** + % + % Now, lowercase small caps. First, we test if there are actual + % small caps for the current font. If not, faked small caps are +! % used. \msc tries a slightly larger font. + % Javier B. wrote: ``The \cs{selectfont} in \cs{gl@lsc} could + % seem redundant, but it's not''. I cannot see how it can't be + % redundant (it is the last thing executed by |\scshape|), but + % I keep it. + % +! % \changes{galician~4.3}{07/00/26}{Added \cs{\msc}} + % \begin{macrocode} + \ifes@LaTeXe %<<<<<< + \addto\textgalician{% +--- 1433,1445 ---- + % + % Now, lowercase small caps. First, we test if there are actual + % small caps for the current font. If not, faked small caps are +! % used. \cs{msc} tries a slightly larger font. + % Javier B. wrote: ``The \cs{selectfont} in \cs{gl@lsc} could + % seem redundant, but it's not''. I cannot see how it can't be + % redundant (it is the last thing executed by |\scshape|), but + % I keep it. + % +! % \changes{galician~4.3}{07/00/26}{Added \cs{msc}} + % \begin{macrocode} + \ifes@LaTeXe %<<<<<< + \addto\textgalician{% diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/greek.ins.diff b/Master/texmf-dist/source/latex/latex-tds/patch/greek.ins.diff deleted file mode 100644 index 1ee93fa22b8..00000000000 --- a/Master/texmf-dist/source/latex/latex-tds/patch/greek.ins.diff +++ /dev/null @@ -1,20 +0,0 @@ -*** greek.ins.org 2005-04-01 00:39:00.000000000 +0200 ---- greek.ins 2006-06-02 18:31:55.000000000 +0200 -*************** -*** 1,3 **** ---- 1,5 ---- -+ %% Patched by Heiko Oberdiek for project latex-tds: -+ %% * 2006/06/02: generation of grsymb.sty added. - %% - %% This file will generate fast loadable files and documentation - %% driver files from the doc files in this package when run through -*************** -*** 129,134 **** ---- 131,137 ---- - \generate{\file{greek.ldf}{\from{greek.dtx}{code}} - \file{athnum.sty}{\from{athnum.dtx}{package}} - \file{grmath.sty}{\from{grmath.dtx}{package}} -+ \file{grsymb.sty}{\from{grsymb.dtx}{package}} - } - \usepreamble\fdpreamble - \generate{\file{lgrenc.def}{\from{greek.fdd}{LGRenc}} diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/latin.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/latin.dtx.diff new file mode 100644 index 00000000000..012a6b2fc13 --- /dev/null +++ b/Master/texmf-dist/source/latex/latex-tds/patch/latin.dtx.diff @@ -0,0 +1,13 @@ +*** latin.dtx.org 2008-03-21 23:41:00.000000000 +0100 +--- latin.dtx 2008-04-01 21:09:23.000000000 +0200 +*************** +*** 454,459 **** +--- 454,461 ---- + documentation for explanation}{\@ehd}}} + \addto\extraslatin{\let\ProsodicMarksOff\relax} + % \end{macrocode} ++ % \end{macro} ++ % \end{macro} + % + % Then we temporarily set the caret and the equals sign to active + % characters so that they can receive their definitions. But first diff --git a/Master/texmf-dist/source/latex/latex-tds/readme.txt b/Master/texmf-dist/source/latex/latex-tds/readme.txt index 17c256bccf2..f22e22e5e5c 100644 --- a/Master/texmf-dist/source/latex/latex-tds/readme.txt +++ b/Master/texmf-dist/source/latex/latex-tds/readme.txt @@ -1,4 +1,4 @@ -readme.txt for project latex-tds, 2007/01/08 +readme.txt for project latex-tds, 2008/04/01 TABLE OF CONTENTS ================= @@ -64,8 +64,10 @@ Module list * tools CTAN:macros/latex/required/tools.zip * cyrillic CTAN:macros/latex/required/cyrillic.zip * amslatex CTAN:macros/latex/required/amslatex.zip + CTAN:macros/latex/contrib/amsrefs.zip ftp://ftp.ams.org/pub/tex/amslatex.zip - ftp://ftp.ams.org/pub/tex/amsrefs.zip + ftp://ftp.ams.org/pub/tex/amslatex/amsrefs-tds.zip + ftp://ftp.ams.org/pub/tex/amslatex/amsrefs-ctan.zip * psnfss CTAN:macros/latex/required/psnfss.zip * babel CTAN:macros/latex/required/babel.zip * tds CTAN:tds.zip @@ -210,6 +212,7 @@ Configuration tex/docstrip.cfg enables TDS feature and creates directories tex/errata.cfg for errata lists of latex/base tex/hyperref.cfg hyperref configuration file + tex/latex-tds.ini init file for format generation tex/ltnews.cfg for LaTeX News of latex/base tex/ltxdoc.cfg setup for class ltxdoc tex/ltxguide.cfg setup for the guide manuals in latex/base @@ -235,12 +238,9 @@ Documentation driver Patches ------- patch/classes.dtx.diff patch for base/classes.dtx - patch/albanian.dtx.diff patch for babel/albanian.dtx - patch/athnum.dtx.diff patch for babel/athnum.dtx patch/bbcompat.dtx.diff patch for babel/bbcompat.dtx - patch/finnish.dtx.diff patch for babel/finnish.dtx patch/frenchb.dtx.diff patch for babel/frenchb.dtx - patch/greek.ins.diff patch for babel/greek.ins + patch/latin.dtx.diff patch for babel/latin.dtx F. DESIGN PRINCIPLES @@ -327,16 +327,6 @@ Babel * Babel already contains babel.pdf as documentation. It is a superset of user.pdf. Thus I have dropped the latter one to avoid redundancy. Also the name `babel.pdf' is much more useful (texdoc). -* It is unclear, which hyphenation patterns are in the control of babel. - Comparing the version of duplicate hyphenation pattern files - in CTAN, I decided: - * iahyphen.tex -> TDS:tex/generic/hyphen - * icehyph.tex -> TDS:tex/generic/hyphen - * lahyph.tex -> TDS:source/generic/babel - * The Bulgarian patterns are removed, because they form a new CTAN - project: CTAN:language/hyphenation/bghyphen -* It seems, nobody has generated the documentation since a long time. - Several patches are necessary for error free compiling. * ... @@ -416,5 +406,20 @@ I. HISTORY 2006/12/27 * Fix of ltxguide.cfg that had loaded doc.sty that disturbs the verbatim stuff in fntguide.tex. -2006/01/08 +2007/01/08 * Fix for documentation of longtable. +2007/03/19 + * Patch for babel/latin.dtx added (babel/3922). +2007/09/04 + * A minor update on CTAN regarding babel: + iahyphen.tex, icehyph.tex, and lahyph.tex are now symbolic links + to their location in CTAN:language/hyphenation/. Therefore also + lahyph.tex is now installed in TDS:tex/generic/hyphen/. +2007/10/18 + * Update of module amslatex because of updated package amsrefs. + * Fix in latin.dtx.diff. +2007/10/24 + * Update of babel. + * Update of amsrefs (TDS:tex/latex/amscls -> TDS:tex/latex/amsrefs). +2008/04/01 + * Update of babel (2007/03/17). diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv b/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv index 3720eaada9b..10f6d35bcc9 100644 --- a/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv +++ b/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv @@ -1,5 +1,5 @@ % ams.drv -% 2006/06/02 v1.0 Driver file for amslatex documentation files +% 2007/10/17 v1.1 Driver file for amslatex documentation files % Copyright 2006 Heiko Oberdiek. % % This file is part of project `latex-tds'. @@ -19,6 +19,9 @@ % See `readme.txt' for a list of all files belonging to the % project `latex-tds' and additional information. % +% 2006/06/02 v1.0 +% 2007/10/17 v1.1: Fix for subeqn, amsmath before hyperref +% \NeedsTeXFormat{LaTeX2e} \makeatletter @@ -70,6 +73,14 @@ \addtolength{\topmargin}{-10mm}% \addtolength{\textheight}{20mm}% % + % load package amsmath before hyperref for subeqn + \def\@tempa{subeqn}% + \@onelevel@sanitize\@tempa + \edef\@tempb{\jobname}% + \ifx\@tempa\@tempb + \usepackage{amsmath}\relax + \fi + % %%% Add hyperref support \PassOptionsToPackage{hyperref}{draft=false}% \IfFileExists{\jobname.dtx}{% diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/latex-tds.ini b/Master/texmf-dist/source/latex/latex-tds/tex/latex-tds.ini new file mode 100644 index 00000000000..b5d7a9b2f60 --- /dev/null +++ b/Master/texmf-dist/source/latex/latex-tds/tex/latex-tds.ini @@ -0,0 +1,46 @@ +% latex-tds.ini +% 2007/10/17 v1.0 +% Copyright 2007 Heiko Oberdiek +% +% This file is part of project `latex-tds'. +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Heiko Oberdiek. +% +% See `readme.txt' for a list of all files belonging to the +% project `latex-tds' and additional information. +% +\input pdftexconfig % +\pdfoutput=1 % +\scrollmode +\let\SavedDump\dump +\let\dump\relax +\input latex.ltx % +\errorcontextlines=\maxdimen +\RequirePackage{keyval} +\RequirePackage{url} +\RequirePackage{infwarerr}[2007/09/09] +\RequirePackage{atbegshi}[2007/09/09] +\RequirePackage{auxhook}[2007/04/06] +\RequirePackage{etexcmds}[2007/09/09] +\RequirePackage{ifpdf}[2007/09/09] +\RequirePackage{intcalc}[2007/09/27] +\RequirePackage{bigintcalc}[2007/09/27] +\RequirePackage{kvoptions}[2007/10/11] +\RequirePackage{kvsetkeys}[2007/09/29] +\RequirePackage{bitset}[2007/09/28] +\RequirePackage{refcount}[2006/02/20] +\expandafter\def\csname ver@thumbpdf.sty\endcsname{0000/00/00} +\let\dump\SavedDump +\let\SavedDump\UNDEFINED +\dump +\endinput diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv b/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv index 9bb35d805e3..f28a2b7278b 100644 --- a/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv +++ b/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesFile{psnfss2e.drv}% - [2006/08/17 v1.1 Driver file for psnfss2e.tex (HO)] + [2006/08/18 v1.2 Driver file for psnfss2e.tex (HO)] % % Copyright 2006 Heiko Oberdiek % @@ -21,7 +21,7 @@ % See `readme.txt' for a list of all files belonging to the % project `latex-tds' and additional information. % -\RequirePackage[patch]{kvoptions}[2006/08/17] +\RequirePackage{kvoptions-patch}[2007/10/18] \PassOptionsToPackage{colorlinks=false,pdfborder={0 0 0}}{hyperref} \AtBeginDocument{% \utopiatrue diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex b/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex index ae4376fc71a..05676bf694a 100644 --- a/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex +++ b/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesFile{tools.tex}% - [2007/01/08 Tools overview (HO)] -% Copyright 2006 Heiko Oberdiek + [2008/04/01 Tools overview (HO)] +% Copyright 2006, 2007 Heiko Oberdiek % % This file is part of project `latex-tds'. % |