From dca48e0463c30cae993fc56bc2a7a85c8a5a24e4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 15 May 2014 23:36:18 +0000 Subject: latex2e via latex-tds git-svn-id: svn://tug.org/texlive/trunk@34051 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/base/fixltx2e.dtx | 11 ++++- Master/texmf-dist/source/latex/base/ltnews21.pdf | Bin 303211 -> 0 bytes Master/texmf-dist/source/latex/base/ltnews21.tex | 49 ++++++++++---------- Master/texmf-dist/source/latex/base/manual.err | 6 +-- .../source/latex/latex-tds/README.asciidoc | 9 +++- Master/texmf-dist/source/latex/latex-tds/build.pl | 50 +++++++++++++++++---- Master/texmf-dist/source/latex/tools/tabularx.dtx | 47 +++++++++++++++---- 7 files changed, 125 insertions(+), 47 deletions(-) delete mode 100644 Master/texmf-dist/source/latex/base/ltnews21.pdf (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/base/fixltx2e.dtx b/Master/texmf-dist/source/latex/base/fixltx2e.dtx index c67813a566a..1d2c30f70ac 100644 --- a/Master/texmf-dist/source/latex/base/fixltx2e.dtx +++ b/Master/texmf-dist/source/latex/base/fixltx2e.dtx @@ -38,7 +38,7 @@ %\ProvidesFile{fixltx2e.drv} % \fi % \ProvidesFile{fixltx2e.dtx} - [2014/04/27 v1.1p fixes to LaTeX] + [2014/05/13 v1.1q fixes to LaTeX] % % \iffalse %<*driver> @@ -2161,7 +2161,12 @@ % |\clearpage|). This change gives an error message for undefined % options. % +% \begin{macrocode} +%<*fixltx2e> +% \end{macrocode} +% % \changes{v1.1n}{2013/12/13}{Check float optional argument.} +% \changes{v1.1q}{2014/05/13}{Fix DocStrip guards.} % \begin{macrocode} \def\@xfloat #1[#2]{% \@nodocument @@ -2235,6 +2240,10 @@ \@floatboxreset } % \end{macrocode} +% +% \begin{macrocode} +% +% \end{macrocode} % \Finale % \endinput diff --git a/Master/texmf-dist/source/latex/base/ltnews21.pdf b/Master/texmf-dist/source/latex/base/ltnews21.pdf deleted file mode 100644 index bee4e272153..00000000000 Binary files a/Master/texmf-dist/source/latex/base/ltnews21.pdf and /dev/null differ diff --git a/Master/texmf-dist/source/latex/base/ltnews21.tex b/Master/texmf-dist/source/latex/base/ltnews21.tex index 89aa353db84..635aa890d55 100644 --- a/Master/texmf-dist/source/latex/base/ltnews21.tex +++ b/Master/texmf-dist/source/latex/base/ltnews21.tex @@ -66,9 +66,8 @@ here). In addition several packages in the \textsf{base} and \textsf{required} areas have been updated as detailed below. -This has been done -in accordance with the philosophy -of minimising problems in both forwards and backwards compatibility, so most of +This has been done in accordance with the philosophy of minimising +problems in both forwards and backwards compatibility, so most of these changes should not be noticed by the regular \LaTeX\ user. References in the text below of the form ``graphics/3873'' are to @@ -82,14 +81,13 @@ at:\\ \url{http://latex-project.org/cgi-bin/ltxbugs2html} -There are a number of bugs and faulty design decisions in -\LaTeXe{} that should have been corrected long ago in the kernel code. -However, such corrections cannot be done -as this would break -backwards compatibility in the following sense. A large number of -documents exist by now that have worked around the bug or have even made -use of a particular misfeature. Thus changing the kernel code would -break too many existing documents. +There are a number of bugs and faulty design decisions in \LaTeXe{} +that should have been corrected long ago in the kernel code. However, +such corrections cannot be done as this would break backwards +compatibility in the following sense. A large number of documents +exist by now that have worked around the bug or have even made use of +a particular misfeature. Thus changing the kernel code would break +too many existing documents. The corrections for these types of bug have therefore been collected together in a package that can be loaded only when needed; its name is \textsf{fixltx2e}. @@ -105,7 +103,7 @@ For this release we made the following changes to this package: single and double-column floats (as they are placed independently of each other). This was corrected in \textsf{fixltx2e} a few years ago but the fix was not perfect as one situation using - \verb=\enlargethispage= generated low-level \TeX{} error. + \verb=\enlargethispage= generated a low-level \TeX{} error. This behaviour of the package is now improved. \end{itemize} @@ -115,7 +113,7 @@ For this release we made the following changes to this package: \paragraph{New \textsf{fltrace} package} For years the file \texttt{ltoutput.dtx} contained some hidden code to -trace the detailed behavior of the float placement algorithm of +trace the detailed behaviour of the float placement algorithm of \LaTeX. Prompted by questions on StackExchange we now extract this code into a new \textsf{fltrace} package. To see the float algorithm in action (or to understand why it decides to place all your floats at @@ -140,13 +138,16 @@ using the Unicode-based TeX engines \hologo{LuaTeX} and \hologo{XeTeX} producing strange errors as these engines natively deal with UTF-8 characters. -If a document stored in an 8bit encoding is processed by \hologo{pdfTeX}, it needs the \textsf{inputenc} package to work correctly. However, if such a document is processed unchanged by \hologo{LuaTeX} or \hologo{XeTeX}, then accented characters may silently get dropped from the output. +If a document stored in an 8bit encoding is processed by +\hologo{pdfTeX}, it needs the \textsf{inputenc} package to work +correctly. However, if such a document is processed unchanged by +\hologo{LuaTeX} or \hologo{XeTeX}, then accented characters may +silently get dropped from the output. -The package has been modified so that if used with \hologo{LuaTeX} -or \hologo{XeTeX}, then it just issues a warning if \texttt{utf8} -or \texttt{ascii} -is specified, -and stops with an error for any other encoding requested. +The package has been modified so that if used with \hologo{LuaTeX} or +\hologo{XeTeX}, then it just issues a warning if \texttt{utf8} or +\texttt{ascii} is specified, and stops with an error for any other +encoding requested. @@ -222,10 +223,10 @@ to the \textsf{graphics} version some years ago. See graphics/4296. \paragraph{\textsf{keyval} updates} All parsing used in the \textsf{keyval} package has been changed -to allow \verb|\par| (and blank lines) in values. Also only -one rather than two levels of brace groups are now stripped from the -value in a construct such as \verb|key={{{value}}}|. See -graphics/3446. +to allow \verb|\par| (and blank lines) in values. +(A second change, to parsing of brace groups +in a construct such as \texttt{key=\{\{\{value\}\}\}}, was reverted in v1.15.) +See graphics/3446. @@ -239,7 +240,7 @@ implements a new programming language that has for a while now been used by some writers of \LaTeXe\ packages. This code has recently also been made available for use on top of plain \TeX\ or {Context}, largely to support generic packages that are supposed to work with -different flavors of \TeX. These uses in no way affect authors of +different flavours of \TeX. These uses in no way affect authors of \LaTeX\ documents and such \LaTeXe\ packages will continue to work as advertised by their authors with standard \LaTeX. diff --git a/Master/texmf-dist/source/latex/base/manual.err b/Master/texmf-dist/source/latex/base/manual.err index 084ae599f2d..b06bba047a4 100644 --- a/Master/texmf-dist/source/latex/base/manual.err +++ b/Master/texmf-dist/source/latex/base/manual.err @@ -19,13 +19,13 @@ \def\ypmd{% % % % % % - Last modified on Mon 22 Aug 2005 at 1:21:28 UT by lamport % + Last modified on Wed 18 Jan 2006 at 13:17:43 PST by lamport % endypmd} % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\moddate}{\expandafter\xpmd\ypmd} % \def\xpmd Last modified % -on #1 #2 #3 #4 at #5:#6:#7 #8 by #9 endypmd{#3 #2 #8} % +on #1 #2 #3 #4 at #5:#6:#7 #8 by #9 endypmd{#2 #3 #4} % \newcommand{\prdate}{\noindent\fbox{\Large\moddate}} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -335,7 +335,7 @@ at which point all unprocessed figures and tables are allowed a \end{quote} \reportedby{Paul Stanford}{9 Oct 2004} -\subsection*{Errors in All Printings} +\subsection*{Error Corrected in the Twenty-Second Printing} \erratum{page 253, column 2, lines $-5$ and $-6$} diff --git a/Master/texmf-dist/source/latex/latex-tds/README.asciidoc b/Master/texmf-dist/source/latex/latex-tds/README.asciidoc index 968481f9067..c752b274ba8 100644 --- a/Master/texmf-dist/source/latex/latex-tds/README.asciidoc +++ b/Master/texmf-dist/source/latex/latex-tds/README.asciidoc @@ -1,7 +1,7 @@ README for project latex-tds ============================ :author: Heiko Oberdiek -:revdate: 2014/05/08 +:revdate: 2014/05/15 :lang: en :toc: :numbered: @@ -678,3 +678,10 @@ History * Update of base and graphics. * +README.html+ with Unix line ends. * ZIP file for CTAN upload with top level directory +latex-tds+. +2014/05/10:: + * Module cyrillic: Missing ++00readme.txt++ added. +2014/05/15:: + * Module base: +fix-cm+ updated (2014/05/13 v1.1q). + * Module tools: +tabularx+ updated (2014/05/13 v2.10). + * Module tools: +readme.txt+ renamed to +00readme.txt++. + * Module knuth: +.web+ files are put below +TDS:web/knuth//+. diff --git a/Master/texmf-dist/source/latex/latex-tds/build.pl b/Master/texmf-dist/source/latex/latex-tds/build.pl index d1dbf8fe08e..b75bcea778b 100755 --- a/Master/texmf-dist/source/latex/latex-tds/build.pl +++ b/Master/texmf-dist/source/latex/latex-tds/build.pl @@ -4,8 +4,8 @@ $^W=1; my $prj = 'latex-tds'; my $file = 'build.pl'; -my $version = '1.185'; -my $date = '2014-05-08'; +my $version = '1.188'; +my $date = '2014-05-15'; my $author = 'Heiko Oberdiek'; my $copyright = "Copyright 2006-2014 $author"; chomp(my $license = <<"END_LICENSE"); @@ -586,6 +586,15 @@ section('Install source'); install "texmf/source/$dir", @list; cd $cwd; } + sub install_web_knuth ($@) { + my $pkg = 'knuth'; + my $dir = shift; + my @list = @_; + $modules{$pkg} or return 1; + cd "$dir_build/$pkg"; + install "texmf/web/$pkg/$dir", @list; + cd $cwd; + } sub install_source ($@) { my $pkg = shift; my @list = @_; @@ -629,30 +638,34 @@ section('Install source'); tds.sed tds.tex ]); - install_generic_source('knuth', 'knuth/texware', qw[ + install_web_knuth('texware', qw[ dvitype.web pltotf.web pooltype.web tftopl.web ]); - install_generic_source('knuth', 'knuth/mfware', qw[ + install_web_knuth('mfware', qw[ gftodvi.web gftype.web gftopk.web mft.web ]); - install_generic_source('knuth', 'knuth/etc', qw[ + install_web_knuth('etc', qw[ vptovf.web vftovp.web ]); - install_generic_source('knuth', 'knuth/web', qw[ + install_web_knuth('web', qw[ tangle.web weave.web + ]); + install_generic_source('knuth', 'knuth/web', qw[ webman.tex ]); - install_generic_source('knuth', 'knuth/tex', qw[ + install_web_knuth('tex', qw[ glue.web tex.web + ]); + install_generic_source('knuth', 'knuth/tex', qw[ trip.fot tripin.log trip.log @@ -662,8 +675,10 @@ section('Install source'); trip.tex trip.typ ]); - install_generic_source('knuth', 'knuth/mf', qw[ + install_web_knuth('mf', qw[ mf.web + ]); + install_generic_source('knuth', 'knuth/mf', qw[ trap.fot trapin.log trap.log @@ -826,8 +841,22 @@ section('TDS cleanup'); ### Install TDS/tex, TDS/doc files section('Install tex doc'); { + sub check_readme ($) { + my $module = shift; + # my $readme = $module eq 'tools' ? 'readme.txt' : '00readme.txt'; + my $readme = '00readme.txt'; # since LaTeX revision 307 + if (-f "README" and not -f $readme) { + run("$prg_cp README $readme"); + } + -f $readme or + die "!!! Errror($module): Missing readme!\n"; + -f "readme.txt" and -f "00readme.txt" and + die "!!! Error($module): Duplicate readme!\n"; + } + if ($modules{'base'}) { cd "$dir_build/base"; + check_readme 'base'; install 'texmf/doc/latex/base', qw[ 00readme.txt autoload.txt @@ -858,16 +887,18 @@ section('Install tex doc'); if ($modules{'tools'}) { cd "$dir_build/tools"; + check_readme 'tools'; install 'texmf/doc/latex/tools', qw[ changes.txt manifest.txt - readme.txt + 00readme.txt ]; cd $cwd; } if ($modules{'graphics'}) { cd "$dir_build/graphics"; + check_readme 'graphics'; install('texmf/doc/latex/graphics', '*.txt' ); @@ -879,6 +910,7 @@ section('Install tex doc'); if ($modules{'cyrillic'}) { cd "$dir_build/cyrillic"; + check_readme 'cyrillic'; install('texmf/doc/latex/cyrillic', '*.txt' ); diff --git a/Master/texmf-dist/source/latex/tools/tabularx.dtx b/Master/texmf-dist/source/latex/tools/tabularx.dtx index 960a8345958..3752a31dd86 100644 --- a/Master/texmf-dist/source/latex/tools/tabularx.dtx +++ b/Master/texmf-dist/source/latex/tools/tabularx.dtx @@ -31,7 +31,7 @@ % \ProvidesFile{tabularx.drv} % \fi % \ProvidesFile{tabularx.dtx} - [2014/04/22 v2.09 `tabularx' package (DPC)] + [2014/05/13 v2.10 `tabularx' package (DPC)] % \iffalse %<*driver> \documentclass{ltxdoc} @@ -66,7 +66,7 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % -% \CheckSum{500} +% \CheckSum{527} % % \GetFileInfo{tabularx.dtx} % \title{The \textsf{tabularx} package\thanks{This file @@ -391,17 +391,40 @@ % % \begin{macro}{\TX@find@endtabularxa} % \changes{v2.09}{2014/04/22}{macro added} +% \changes{v2.10}{2014/05/13}{macro modified to test for missing `\cs{endtabularx}} % split up the end code, and extract the part that lives in the table body. % \begin{macrocode} -\long\def\TX@find@endtabularxa#1\endtabularx#2\TX@find@endtabularxa{% - \toks@\expandafter{\the\toks@#1}} +\long\def\TX@find@endtabularxa + #1\endtabularx#2\endtabularx#3\TX@find@endtabularxa{% + \ifx\TX@#2\else + \toks@\expandafter{\the\toks@#1}% + \fi} % \end{macrocode} % \end{macro} -% \begin{macro}{\TX@find@endtabularxa} +% \begin{macro}{\TX@find@endtabularxb} % \changes{v2.09}{2014/04/22}{macro added} +% \changes{v2.10}{2014/05/13}{macro modified to test for missing \cs{endtabularx}} % split up the end code, and extract the part that lives outside the table body. % \begin{macrocode} -\long\def\TX@find@endtabularxb#1\endtabularx#2\TX@find@endtabularxb{#2} +\long\def\TX@find@endtabularxb + #1\endtabularx#2\endtabularx#3\TX@find@endtabularxb{% + \ifx\TX@#2% + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi + {#1}{#2}} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\TX@find@endtabularxbb} +% \changes{v2.10}{2014/05/13}{macro added} +% Helper to avoid needing 15 consecutive "expandafter" +% \begin{macrocode} +\def\TX@find@endtabularxbb{% + \expandafter\expandafter\expandafter + \TX@find@endtabularxb +} % \end{macrocode} % \end{macro} % @@ -434,9 +457,11 @@ \def\TX@endtabularx{% % \end{macrocode} % \changes{v2.09}{2014/04/22}{call to \cs{TX@find@endtabularxa} added} +% \changes{v2.10}{2014/05/13}{macro modified to test for missing \cs{endtabularx}} % \begin{macrocode} \expandafter\expandafter\expandafter - \TX@find@endtabularxa\csname end\TX@\endcsname\TX@find@endtabularxa + \TX@find@endtabularxa\csname end\TX@\endcsname + \endtabularx\TX@\endtabularx\TX@find@endtabularxa % \end{macrocode} % Define the {\ttfamily X} column, with an internal version of the % "\newcolumntype" command. The "\expandafter" commands enable @@ -529,9 +554,13 @@ \ifnum0=`{\fi}% % \end{macrocode} % \changes{v2.09}{2014/04/22}{call to \cs{TX@find@endtabularxb} added} +% \changes{v2.10}{2014/05/13}{macro modified to test for missing \cs{endtabularx}} % \begin{macrocode} - \expandafter\TX@find@endtabularxb\romannumeral-`X% - \expandafter\end\expandafter{\TX@}\TX@find@endtabularxb} + \expandafter\expandafter\expandafter + \TX@find@endtabularxbb + \expandafter\end\expandafter{\TX@}% + \endtabularx\TX@\endtabularx\TX@find@endtabularxb +} % \end{macrocode} % \end{macro} % -- cgit v1.2.3