diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-28 15:31:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-28 15:31:27 +0000 |
commit | e5fabe7a228278dc1eaeb1f8740c21724639a9da (patch) | |
tree | ecd1aff89e7ef9d0b22eaaad5a0219f1d753581c /Master/texmf-dist/source/latex/base/ltclass.dtx | |
parent | b57ff57a6c2fec7c7c89f59ea8a75eae8cc252a9 (diff) |
latex (latex core) update via latex-tds (25sep09)
git-svn-id: svn://tug.org/texlive/trunk@15515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltclass.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltclass.dtx | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltclass.dtx b/Master/texmf-dist/source/latex/base/ltclass.dtx index bfa8b3cf4e2..38b38bd3658 100644 --- a/Master/texmf-dist/source/latex/base/ltclass.dtx +++ b/Master/texmf-dist/source/latex/base/ltclass.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 +% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltclass.dtx} - [2004/01/28 v1.1g LaTeX Kernel (Class & Package Interface)] + [2007/08/05 v1.1h LaTeX Kernel (Class & Package Interface)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltclass.dtx} @@ -1161,11 +1161,13 @@ % % \changes{v0.2f}{1993/11/22} % {Made the default [] not [\cs{@unknownversion}]} +% \changes{v1.1h}{2007/08/05} +% {Prevent loss of brackets PR/3965} % \begin{macrocode} \def\@fileswith@ptions#1[#2]#3{% \@ifnextchar[%] - {\@fileswith@pti@ns#1[#2]#3}% - {\@fileswith@pti@ns#1[#2]#3[]}} + {\@fileswith@pti@ns#1[{#2}]#3}% + {\@fileswith@pti@ns#1[{#2}]#3[]}} \@onlypreamble\@fileswith@ptions % \end{macrocode} % Then we do some work. @@ -1195,17 +1197,19 @@ % \changes{v0.2z}{1994/02/10} % {Renamed \cs{@compatibility} to \cs{@documentclasshook}. % ASAJ.} +% \changes{v1.1h}{2007/08/05} +% {Prevent loss of brackets PR/3965} % \begin{macrocode} \def\@fileswith@pti@ns#1[#2]#3[#4]{% \ifx#1\@clsextension \ifx\@classoptionslist\relax \xdef\@classoptionslist{\zap@space#2 \@empty}% \def\reserved@a{% - \@onefilewithoptions#3[#2][#4]#1% + \@onefilewithoptions#3[{#2}][{#4}]#1% \@documentclasshook}% \else \def\reserved@a{% - \@onefilewithoptions#3[#2][#4]#1}% + \@onefilewithoptions#3[{#2}][{#4}]#1}% \fi \else % \end{macrocode} @@ -1215,7 +1219,8 @@ \def\reserved@b##1,{% \ifx\@nil##1\relax\else \ifx\relax##1\relax\else - \noexpand\@onefilewithoptions##1[#2][#4]\noexpand\@pkgextension + \noexpand\@onefilewithoptions##1[{#2}][{#4}]% + \noexpand\@pkgextension \fi \expandafter\reserved@b \fi}% |