diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-28 22:25:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-28 22:25:13 +0000 |
commit | 615d7d2e594eeede6ea0ab38f8817012eb239bb9 (patch) | |
tree | 1f9c2ab74318af6474985979d2395d2c048eeaf6 /Master | |
parent | 4ffd67ef7a9a1a465d2a8cc35a785edb149de24a (diff) |
mwcls update (28sep09)
git-svn-id: svn://tug.org/texlive/trunk@15536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/mwcls/ChangeLog | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mwcls/mwclsdoc.pdf | bin | 141563 -> 143495 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/mwcls/mwcls.dtx | 69 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mwcls/mwcls.ins | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mw10.clo | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mw11.clo | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mw12.clo | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mwart.cls | 55 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mwbk.cls | 55 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mwbk10.clo | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mwbk11.clo | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mwbk12.clo | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mwcls/mwrep.cls | 55 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 |
14 files changed, 164 insertions, 138 deletions
diff --git a/Master/texmf-dist/doc/latex/mwcls/ChangeLog b/Master/texmf-dist/doc/latex/mwcls/ChangeLog index f6d649d6ec6..b35bbdae69e 100644 --- a/Master/texmf-dist/doc/latex/mwcls/ChangeLog +++ b/Master/texmf-dist/doc/latex/mwcls/ChangeLog @@ -1,3 +1,14 @@ +2009-09-27 marcin@encek <marcin@encek> + + * mwcls.dtx: + Nazwy poleceñ \sectsetup, \titlesetup, \captionsetup, \figuresetup, + \tablesetup zosta³y zmienione na \...settings, ¿eby siê nie gryz³o z + caption.sty. + +2009-09-02 marcin@encek <marcin@encek> + + * mwcls.dtx: Odsy³acze do nienumerowanych sekcji w hyperrefie + 2009-08-30 Marcin Woliñski <marcin@pierwszy> * mwcls.dtx: diff --git a/Master/texmf-dist/doc/latex/mwcls/mwclsdoc.pdf b/Master/texmf-dist/doc/latex/mwcls/mwclsdoc.pdf Binary files differindex a1e757bfcde..27fff872981 100644 --- a/Master/texmf-dist/doc/latex/mwcls/mwclsdoc.pdf +++ b/Master/texmf-dist/doc/latex/mwcls/mwclsdoc.pdf diff --git a/Master/texmf-dist/source/latex/mwcls/mwcls.dtx b/Master/texmf-dist/source/latex/mwcls/mwcls.dtx index 50257f0fae1..9e45e931167 100644 --- a/Master/texmf-dist/source/latex/mwcls/mwcls.dtx +++ b/Master/texmf-dist/source/latex/mwcls/mwcls.dtx @@ -12,7 +12,7 @@ % version 1999/12/01 or later. % % \fi -% \CheckSum{3707} +% \CheckSum{3725} % % \iffalse % \section{Identification} @@ -38,7 +38,7 @@ %<*driver> \ProvidesFile{mwcls.drv} %</driver> - [2009/08/30 v0.72 + [2009/09/27 v0.74 %<article|report|book> A LaTeX document class (MW)] %<10pt|11pt|12pt> A document class size option (MW)] %<article|report|book>\typeout{*** Beta version. Formatting may change} @@ -448,30 +448,32 @@ % \subsection*{Krój pisma tytulariów} % NastÄ™pne opcje sÅ‚użą do wyboru kroju (rodziny fontów), którym % skÅ‚adane bÄ™dÄ… nagłówki rozdziałów. +% \changes{0.74}{2009/09/27}{Zmiana nazw poleceÅ„ \cs{...setup} na +% \cs{...settings} dla kompatydebilnoÅ›ci z caption.sty} % \begin{macrocode} -\newcommand*\sectsetup{\bfseries} -\newcommand*\titlesetup{} +\newcommand*\sectsettings{\bfseries} +\newcommand*\titlesettings{} \DeclareOption{rmheadings}{% - \def\sectsetup{\rmfamily\bfseries}% - \def\titlesetup{\rmfamily}% + \def\sectsettings{\rmfamily\bfseries}% + \def\titlesettings{\rmfamily}% } \DeclareOption{sfheadings}{% - \def\sectsetup{\sffamily\bfseries}% - \def\titlesetup{\sffamily}% + \def\sectsettings{\sffamily\bfseries}% + \def\titlesettings{\sffamily}% } % \end{macrocode} % % \subsection*{StopieÅ„ pisma w~Å›rodowiskach przemieszczalnych} % % \begin{macrocode} -\newcommand*\captionsetup{\small} +\newcommand*\captionsettings{\small} \DeclareOption{floatssmall}{% - \def\figuresetup{\small}% - \def\tablesetup{\small}% + \def\figuresettings{\small}% + \def\tablesettings{\small}% } \DeclareOption{floatsnormalsize}{% - \def\figuresetup{\normalsize}% - \def\tablesetup{\normalsize}% + \def\figuresettings{\normalsize}% + \def\tablesettings{\normalsize}% } % \end{macrocode} % @@ -1812,7 +1814,7 @@ % \cs{if@authorfirst}. % \begin{macrocode} \begin{center}% - \titlesetup + \titlesettings {\large \if@authorfirst\else {\LARGE \@title \par}% @@ -1937,7 +1939,7 @@ \vskip 2\baselineskip \begin{center}% \let \footnote \thanks - \titlesetup\large + \titlesettings\large \if@authorfirst\else {\LARGE \@title \par}% \vskip\baselineskip \fi @@ -1989,7 +1991,7 @@ \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup - \normalfont\sectsetup#6{% + \normalfont\sectsettings#6{% \language\l@nohyphenation \raggedright \interlinepenalty \@M \leftskip #3\noindent @@ -2004,7 +2006,7 @@ #8}% \else \def\@svsechd{% - \normalfont\sectsetup#6{\hskip #3\relax + \normalfont\sectsettings#6{\hskip #3\relax \@svsec\ignorespaces #8}% \csname #1mark\endcsname{#7}% \addcontentsline{toc}{#1}{% @@ -2024,14 +2026,14 @@ \@tempskipa #3\relax \ifdim \@tempskipa>\z@ \begingroup - \normalfont\sectsetup#4{% + \normalfont\sectsettings#4{% \language\l@nohyphenation \raggedright \interlinepenalty \@M \leftskip #1\noindent\ignorespaces #5\@@par}% \endgroup \else - \def\@svsechd{\normalfont\sectsetup#4{\hskip #1\relax #5}}% + \def\@svsechd{\normalfont\sectsettings#4{\hskip #1\relax #5}}% \fi \@xsect{#3}} % \end{macrocode} @@ -2304,7 +2306,7 @@ % \end{macro} % % \begin{macro}{\mw@section} -% Argument: nazwa +% Argument: nazwa poziomu podziaÅ‚u % \begin{macrocode} \newcommand*\mw@section[1]{% \mw@getflags{#1}% @@ -2368,6 +2370,7 @@ \protected@edef\HeadingNumber{\expandafter\noexpand \csname the#1\endcsname\relax}% \else + \mw@hyperref@phantom{#1}% \let\HeadingNumber\@empty \fi \def\HeadingRHeadText{#2}% @@ -2453,7 +2456,7 @@ \bgroup\language\l@nohyphenation \raggedright \interlinepenalty\@M - \normalfont\sectsetup + \normalfont\sectsettings \csname \mw@HeadingType @head\endcsname \@@par \egroup @@ -2493,7 +2496,7 @@ {\setbox\z@\lastbox}% \clubpenalty\@M \bgroup\language\l@nohyphenation - \normalfont\sectsetup + \normalfont\sectsettings \csname \mw@HeadingType @head\endcsname \egroup \mw@markandtoc @@ -3451,7 +3454,7 @@ \reset@font \normalsize \@setminipage - \csname\@captype setup\endcsname + \csname\@captype settings\endcsname } % \end{macrocode} % \end{macro} @@ -3615,7 +3618,7 @@ \if@minipage \@setminipage \fi - \captionsetup + \captionsettings \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par \endgroup} % \end{macrocode} @@ -4404,9 +4407,23 @@ %<report|book>\renewcommand\bibsection{\chapter*{\bibname}% %<report|book> \@mkboth{\bibname}{\bibname}}% }{}} -%</article|report|book> % \end{macrocode} % +%\subsection{hyperref} +% +% Przeciwkorby dla kompatybilnoÅ›ci z~hyperrefem. Na razie dbamy +% o~odsyÅ‚acze do nienumerowanych poleceÅ„ podziaÅ‚u, ale znajÄ…c +% hyperref, coÅ› pewnie jeszcze wyskoczy. +% \begin{macrocode} +\let\mw@hyperref@phantom\@gobble +\AtBeginDocument{\@ifpackageloaded{hyperref}{% + \def\mw@hyperref@phantom#1{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{#1*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% +}{}} +% \end{macrocode} % % \subsection{\cs{clubpenalty}} % \changes{0.70}{2009/03/07}{przeciwkorba dla \cs{clubpenalty}} @@ -4424,6 +4441,7 @@ \def\par{\@restorepar\everypar{}\par\@endpefalse}% \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}% } +%</article|report|book> % \end{macrocode} % \Finale % @@ -4443,4 +4461,3 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \endinput - diff --git a/Master/texmf-dist/source/latex/mwcls/mwcls.ins b/Master/texmf-dist/source/latex/mwcls/mwcls.ins index 5215ab801af..22e2740a7ab 100644 --- a/Master/texmf-dist/source/latex/mwcls/mwcls.ins +++ b/Master/texmf-dist/source/latex/mwcls/mwcls.ins @@ -15,7 +15,7 @@ This is a generated file. -Copyright 2000-2002 by Marcin Woli\string\'nski <wolinski@gust.org.pl> +Copyright 2000-2009 by Marcin Woli\string\'nski <wolinski@gust.org.pl> This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/tex/latex/mwcls/mw10.clo b/Master/texmf-dist/tex/latex/mwcls/mw10.clo index e2700cb87f7..c58ef5e38b5 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mw10.clo +++ b/Master/texmf-dist/tex/latex/mwcls/mw10.clo @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ %% version 1999/12/01 or later. %% \ProvidesFile{mw10.clo} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A document class size option (MW)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xpt\@xiipt @@ -138,11 +138,6 @@ \setlength\@dblfptop{0\p@ \@plus 1fil} \setlength\@dblfpsep{8\p@ \@plus 2fil} \setlength\@dblfpbot{0\p@ \@plus 1fil} -\def\@doendpe{\@endpetrue - \clubpenalty\@clubpenalty - \def\par{\@restorepar\everypar{}\par\@endpefalse}% - \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}% -} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z diff --git a/Master/texmf-dist/tex/latex/mwcls/mw11.clo b/Master/texmf-dist/tex/latex/mwcls/mw11.clo index 416d17f1cb5..302d9e98d8a 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mw11.clo +++ b/Master/texmf-dist/tex/latex/mwcls/mw11.clo @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ %% version 1999/12/01 or later. %% \ProvidesFile{mw11.clo} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A document class size option (MW)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xipt{13.6}% @@ -138,11 +138,6 @@ \setlength\@dblfptop{0\p@ \@plus 1fil} \setlength\@dblfpsep{8\p@ \@plus 2fil} \setlength\@dblfpbot{0\p@ \@plus 1fil} -\def\@doendpe{\@endpetrue - \clubpenalty\@clubpenalty - \def\par{\@restorepar\everypar{}\par\@endpefalse}% - \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}% -} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z diff --git a/Master/texmf-dist/tex/latex/mwcls/mw12.clo b/Master/texmf-dist/tex/latex/mwcls/mw12.clo index 93573b6f268..5b561f97e2d 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mw12.clo +++ b/Master/texmf-dist/tex/latex/mwcls/mw12.clo @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ %% version 1999/12/01 or later. %% \ProvidesFile{mw12.clo} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A document class size option (MW)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xiipt{14.5}% @@ -138,11 +138,6 @@ \setlength\@dblfptop{0\p@ \@plus 1fil} \setlength\@dblfpsep{10\p@ \@plus 2fil} \setlength\@dblfpbot{0\p@ \@plus 1fil} -\def\@doendpe{\@endpetrue - \clubpenalty\@clubpenalty - \def\par{\@restorepar\everypar{}\par\@endpefalse}% - \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}% -} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z diff --git a/Master/texmf-dist/tex/latex/mwcls/mwart.cls b/Master/texmf-dist/tex/latex/mwcls/mwart.cls index 4c03519d0a8..09cb75dc3ce 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mwart.cls +++ b/Master/texmf-dist/tex/latex/mwcls/mwart.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -21,7 +21,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{mwart} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A LaTeX document class (MW)] \typeout{*** Beta version. Formatting may change} \typeout{*** in future versions of this class.} @@ -110,24 +110,24 @@ }% \renewcommand\newblock{\par}}% } -\newcommand*\sectsetup{\bfseries} -\newcommand*\titlesetup{} +\newcommand*\sectsettings{\bfseries} +\newcommand*\titlesettings{} \DeclareOption{rmheadings}{% - \def\sectsetup{\rmfamily\bfseries}% - \def\titlesetup{\rmfamily}% + \def\sectsettings{\rmfamily\bfseries}% + \def\titlesettings{\rmfamily}% } \DeclareOption{sfheadings}{% - \def\sectsetup{\sffamily\bfseries}% - \def\titlesetup{\sffamily}% + \def\sectsettings{\sffamily\bfseries}% + \def\titlesettings{\sffamily}% } -\newcommand*\captionsetup{\small} +\newcommand*\captionsettings{\small} \DeclareOption{floatssmall}{% - \def\figuresetup{\small}% - \def\tablesetup{\small}% + \def\figuresettings{\small}% + \def\tablesettings{\small}% } \DeclareOption{floatsnormalsize}{% - \def\figuresetup{\normalsize}% - \def\tablesetup{\normalsize}% + \def\figuresettings{\normalsize}% + \def\tablesettings{\normalsize}% } \newif\if@authorfirst \DeclareOption{authortitle}{\@authorfirsttrue} @@ -328,7 +328,7 @@ \let \footnote \thanks \null\vfill \begin{center}% - \titlesetup + \titlesettings {\large \if@authorfirst\else {\LARGE \@title \par}% @@ -398,7 +398,7 @@ \vskip 2\baselineskip \begin{center}% \let \footnote \thanks - \titlesetup\large + \titlesettings\large \if@authorfirst\else {\LARGE \@title \par}% \vskip\baselineskip \fi @@ -432,7 +432,7 @@ \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup - \normalfont\sectsetup#6{% + \normalfont\sectsettings#6{% \language\l@nohyphenation \raggedright \interlinepenalty \@M \leftskip #3\noindent @@ -447,7 +447,7 @@ #8}% \else \def\@svsechd{% - \normalfont\sectsetup#6{\hskip #3\relax + \normalfont\sectsettings#6{\hskip #3\relax \@svsec\ignorespaces #8}% \csname #1mark\endcsname{#7}% \addcontentsline{toc}{#1}{% @@ -461,14 +461,14 @@ \@tempskipa #3\relax \ifdim \@tempskipa>\z@ \begingroup - \normalfont\sectsetup#4{% + \normalfont\sectsettings#4{% \language\l@nohyphenation \raggedright \interlinepenalty \@M \leftskip #1\noindent\ignorespaces #5\@@par}% \endgroup \else - \def\@svsechd{\normalfont\sectsetup#4{\hskip #1\relax #5}}% + \def\@svsechd{\normalfont\sectsettings#4{\hskip #1\relax #5}}% \fi \@xsect{#3}} \newcommand*\partmark[1]{\markboth{}{}} @@ -545,6 +545,7 @@ \protected@edef\HeadingNumber{\expandafter\noexpand \csname the#1\endcsname\relax}% \else + \mw@hyperref@phantom{#1}% \let\HeadingNumber\@empty \fi \def\HeadingRHeadText{#2}% @@ -601,7 +602,7 @@ \bgroup\language\l@nohyphenation \raggedright \interlinepenalty\@M - \normalfont\sectsetup + \normalfont\sectsettings \csname \mw@HeadingType @head\endcsname \@@par \egroup @@ -624,7 +625,7 @@ {\setbox\z@\lastbox}% \clubpenalty\@M \bgroup\language\l@nohyphenation - \normalfont\sectsetup + \normalfont\sectsettings \csname \mw@HeadingType @head\endcsname \egroup \mw@markandtoc @@ -922,7 +923,7 @@ \reset@font \normalsize \@setminipage - \csname\@captype setup\endcsname + \csname\@captype settings\endcsname } \newcounter{figure} \renewcommand \thefigure {\@arabic\c@figure} @@ -968,7 +969,7 @@ \if@minipage \@setminipage \fi - \captionsetup + \captionsettings \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par \endgroup} \long\def\@makecaption#1#2{% @@ -1159,6 +1160,14 @@ \AtBeginDocument{\@ifpackageloaded{natbib}{% \renewcommand\bibsection{\section*{\refname}}% }{}} +\let\mw@hyperref@phantom\@gobble +\AtBeginDocument{\@ifpackageloaded{hyperref}{% + \def\mw@hyperref@phantom#1{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{#1*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% +}{}} \def\@doendpe{\@endpetrue \clubpenalty\@clubpenalty \def\par{\@restorepar\everypar{}\par\@endpefalse}% diff --git a/Master/texmf-dist/tex/latex/mwcls/mwbk.cls b/Master/texmf-dist/tex/latex/mwcls/mwbk.cls index 15009a02852..2bb0db32ed6 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mwbk.cls +++ b/Master/texmf-dist/tex/latex/mwcls/mwbk.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -21,7 +21,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{mwbk} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A LaTeX document class (MW)] \typeout{*** Beta version. Formatting may change} \typeout{*** in future versions of this class.} @@ -115,24 +115,24 @@ }% \renewcommand\newblock{\par}}% } -\newcommand*\sectsetup{\bfseries} -\newcommand*\titlesetup{} +\newcommand*\sectsettings{\bfseries} +\newcommand*\titlesettings{} \DeclareOption{rmheadings}{% - \def\sectsetup{\rmfamily\bfseries}% - \def\titlesetup{\rmfamily}% + \def\sectsettings{\rmfamily\bfseries}% + \def\titlesettings{\rmfamily}% } \DeclareOption{sfheadings}{% - \def\sectsetup{\sffamily\bfseries}% - \def\titlesetup{\sffamily}% + \def\sectsettings{\sffamily\bfseries}% + \def\titlesettings{\sffamily}% } -\newcommand*\captionsetup{\small} +\newcommand*\captionsettings{\small} \DeclareOption{floatssmall}{% - \def\figuresetup{\small}% - \def\tablesetup{\small}% + \def\figuresettings{\small}% + \def\tablesettings{\small}% } \DeclareOption{floatsnormalsize}{% - \def\figuresetup{\normalsize}% - \def\tablesetup{\normalsize}% + \def\figuresettings{\normalsize}% + \def\tablesettings{\normalsize}% } \newif\if@authorfirst \DeclareOption{authortitle}{\@authorfirsttrue} @@ -353,7 +353,7 @@ \let \footnote \thanks \null\vfill \begin{center}% - \titlesetup + \titlesettings {\large \if@authorfirst\else {\LARGE \@title \par}% @@ -423,7 +423,7 @@ \vskip 2\baselineskip \begin{center}% \let \footnote \thanks - \titlesetup\large + \titlesettings\large \if@authorfirst\else {\LARGE \@title \par}% \vskip\baselineskip \fi @@ -457,7 +457,7 @@ \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup - \normalfont\sectsetup#6{% + \normalfont\sectsettings#6{% \language\l@nohyphenation \raggedright \interlinepenalty \@M \leftskip #3\noindent @@ -472,7 +472,7 @@ #8}% \else \def\@svsechd{% - \normalfont\sectsetup#6{\hskip #3\relax + \normalfont\sectsettings#6{\hskip #3\relax \@svsec\ignorespaces #8}% \csname #1mark\endcsname{#7}% \addcontentsline{toc}{#1}{% @@ -486,14 +486,14 @@ \@tempskipa #3\relax \ifdim \@tempskipa>\z@ \begingroup - \normalfont\sectsetup#4{% + \normalfont\sectsettings#4{% \language\l@nohyphenation \raggedright \interlinepenalty \@M \leftskip #1\noindent\ignorespaces #5\@@par}% \endgroup \else - \def\@svsechd{\normalfont\sectsetup#4{\hskip #1\relax #5}}% + \def\@svsechd{\normalfont\sectsettings#4{\hskip #1\relax #5}}% \fi \@xsect{#3}} \newcommand*\partmark[1]{\markboth{}{}} @@ -593,6 +593,7 @@ \protected@edef\HeadingNumber{\expandafter\noexpand \csname the#1\endcsname\relax}% \else + \mw@hyperref@phantom{#1}% \let\HeadingNumber\@empty \fi \def\HeadingRHeadText{#2}% @@ -649,7 +650,7 @@ \bgroup\language\l@nohyphenation \raggedright \interlinepenalty\@M - \normalfont\sectsetup + \normalfont\sectsettings \csname \mw@HeadingType @head\endcsname \@@par \egroup @@ -672,7 +673,7 @@ {\setbox\z@\lastbox}% \clubpenalty\@M \bgroup\language\l@nohyphenation - \normalfont\sectsetup + \normalfont\sectsettings \csname \mw@HeadingType @head\endcsname \egroup \mw@markandtoc @@ -958,7 +959,7 @@ \reset@font \normalsize \@setminipage - \csname\@captype setup\endcsname + \csname\@captype settings\endcsname } \newcounter{figure}[chapter] \renewcommand \thefigure @@ -1006,7 +1007,7 @@ \if@minipage \@setminipage \fi - \captionsetup + \captionsettings \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par \endgroup} \long\def\@makecaption#1#2{% @@ -1218,6 +1219,14 @@ \renewcommand\bibsection{\chapter*{\bibname}% \@mkboth{\bibname}{\bibname}}% }{}} +\let\mw@hyperref@phantom\@gobble +\AtBeginDocument{\@ifpackageloaded{hyperref}{% + \def\mw@hyperref@phantom#1{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{#1*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% +}{}} \def\@doendpe{\@endpetrue \clubpenalty\@clubpenalty \def\par{\@restorepar\everypar{}\par\@endpefalse}% diff --git a/Master/texmf-dist/tex/latex/mwcls/mwbk10.clo b/Master/texmf-dist/tex/latex/mwcls/mwbk10.clo index 0eb8fd3236e..251fe13c9ef 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mwbk10.clo +++ b/Master/texmf-dist/tex/latex/mwcls/mwbk10.clo @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ %% version 1999/12/01 or later. %% \ProvidesFile{mwbk10.clo} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A document class size option (MW)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xpt\@xiipt @@ -138,11 +138,6 @@ \setlength\@dblfptop{0\p@ \@plus 1fil} \setlength\@dblfpsep{8\p@ \@plus 2fil} \setlength\@dblfpbot{0\p@ \@plus 1fil} -\def\@doendpe{\@endpetrue - \clubpenalty\@clubpenalty - \def\par{\@restorepar\everypar{}\par\@endpefalse}% - \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}% -} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z diff --git a/Master/texmf-dist/tex/latex/mwcls/mwbk11.clo b/Master/texmf-dist/tex/latex/mwcls/mwbk11.clo index b6de85d736f..c636fb7e2a4 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mwbk11.clo +++ b/Master/texmf-dist/tex/latex/mwcls/mwbk11.clo @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ %% version 1999/12/01 or later. %% \ProvidesFile{mwbk11.clo} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A document class size option (MW)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xipt{13.6}% @@ -138,11 +138,6 @@ \setlength\@dblfptop{0\p@ \@plus 1fil} \setlength\@dblfpsep{8\p@ \@plus 2fil} \setlength\@dblfpbot{0\p@ \@plus 1fil} -\def\@doendpe{\@endpetrue - \clubpenalty\@clubpenalty - \def\par{\@restorepar\everypar{}\par\@endpefalse}% - \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}% -} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z diff --git a/Master/texmf-dist/tex/latex/mwcls/mwbk12.clo b/Master/texmf-dist/tex/latex/mwcls/mwbk12.clo index 49e5f4edb2f..fa9b3cc708a 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mwbk12.clo +++ b/Master/texmf-dist/tex/latex/mwcls/mwbk12.clo @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ %% version 1999/12/01 or later. %% \ProvidesFile{mwbk12.clo} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A document class size option (MW)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xiipt{14.5}% @@ -138,11 +138,6 @@ \setlength\@dblfptop{0\p@ \@plus 1fil} \setlength\@dblfpsep{10\p@ \@plus 2fil} \setlength\@dblfpbot{0\p@ \@plus 1fil} -\def\@doendpe{\@endpetrue - \clubpenalty\@clubpenalty - \def\par{\@restorepar\everypar{}\par\@endpefalse}% - \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}% -} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z diff --git a/Master/texmf-dist/tex/latex/mwcls/mwrep.cls b/Master/texmf-dist/tex/latex/mwcls/mwrep.cls index 68bfa20d5c6..218eb7cb8eb 100644 --- a/Master/texmf-dist/tex/latex/mwcls/mwrep.cls +++ b/Master/texmf-dist/tex/latex/mwcls/mwrep.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 2000-2002 by Marcin Woli\'nski <wolinski@gust.org.pl> +%% Copyright 2000-2009 by Marcin Woli\'nski <wolinski@gust.org.pl> %% %% %% This work may be distributed and/or modified under the @@ -21,7 +21,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{mwrep} - [2009/08/30 v0.72 + [2009/09/27 v0.74 A LaTeX document class (MW)] \typeout{*** Beta version. Formatting may change} \typeout{*** in future versions of this class.} @@ -113,24 +113,24 @@ }% \renewcommand\newblock{\par}}% } -\newcommand*\sectsetup{\bfseries} -\newcommand*\titlesetup{} +\newcommand*\sectsettings{\bfseries} +\newcommand*\titlesettings{} \DeclareOption{rmheadings}{% - \def\sectsetup{\rmfamily\bfseries}% - \def\titlesetup{\rmfamily}% + \def\sectsettings{\rmfamily\bfseries}% + \def\titlesettings{\rmfamily}% } \DeclareOption{sfheadings}{% - \def\sectsetup{\sffamily\bfseries}% - \def\titlesetup{\sffamily}% + \def\sectsettings{\sffamily\bfseries}% + \def\titlesettings{\sffamily}% } -\newcommand*\captionsetup{\small} +\newcommand*\captionsettings{\small} \DeclareOption{floatssmall}{% - \def\figuresetup{\small}% - \def\tablesetup{\small}% + \def\figuresettings{\small}% + \def\tablesettings{\small}% } \DeclareOption{floatsnormalsize}{% - \def\figuresetup{\normalsize}% - \def\tablesetup{\normalsize}% + \def\figuresettings{\normalsize}% + \def\tablesettings{\normalsize}% } \newif\if@authorfirst \DeclareOption{authortitle}{\@authorfirsttrue} @@ -339,7 +339,7 @@ \let \footnote \thanks \null\vfill \begin{center}% - \titlesetup + \titlesettings {\large \if@authorfirst\else {\LARGE \@title \par}% @@ -409,7 +409,7 @@ \vskip 2\baselineskip \begin{center}% \let \footnote \thanks - \titlesetup\large + \titlesettings\large \if@authorfirst\else {\LARGE \@title \par}% \vskip\baselineskip \fi @@ -443,7 +443,7 @@ \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup - \normalfont\sectsetup#6{% + \normalfont\sectsettings#6{% \language\l@nohyphenation \raggedright \interlinepenalty \@M \leftskip #3\noindent @@ -458,7 +458,7 @@ #8}% \else \def\@svsechd{% - \normalfont\sectsetup#6{\hskip #3\relax + \normalfont\sectsettings#6{\hskip #3\relax \@svsec\ignorespaces #8}% \csname #1mark\endcsname{#7}% \addcontentsline{toc}{#1}{% @@ -472,14 +472,14 @@ \@tempskipa #3\relax \ifdim \@tempskipa>\z@ \begingroup - \normalfont\sectsetup#4{% + \normalfont\sectsettings#4{% \language\l@nohyphenation \raggedright \interlinepenalty \@M \leftskip #1\noindent\ignorespaces #5\@@par}% \endgroup \else - \def\@svsechd{\normalfont\sectsetup#4{\hskip #1\relax #5}}% + \def\@svsechd{\normalfont\sectsettings#4{\hskip #1\relax #5}}% \fi \@xsect{#3}} \newcommand*\partmark[1]{\markboth{}{}} @@ -563,6 +563,7 @@ \protected@edef\HeadingNumber{\expandafter\noexpand \csname the#1\endcsname\relax}% \else + \mw@hyperref@phantom{#1}% \let\HeadingNumber\@empty \fi \def\HeadingRHeadText{#2}% @@ -619,7 +620,7 @@ \bgroup\language\l@nohyphenation \raggedright \interlinepenalty\@M - \normalfont\sectsetup + \normalfont\sectsettings \csname \mw@HeadingType @head\endcsname \@@par \egroup @@ -642,7 +643,7 @@ {\setbox\z@\lastbox}% \clubpenalty\@M \bgroup\language\l@nohyphenation - \normalfont\sectsetup + \normalfont\sectsettings \csname \mw@HeadingType @head\endcsname \egroup \mw@markandtoc @@ -949,7 +950,7 @@ \reset@font \normalsize \@setminipage - \csname\@captype setup\endcsname + \csname\@captype settings\endcsname } \newcounter{figure}[chapter] \renewcommand \thefigure @@ -997,7 +998,7 @@ \if@minipage \@setminipage \fi - \captionsetup + \captionsettings \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par \endgroup} \long\def\@makecaption#1#2{% @@ -1210,6 +1211,14 @@ \renewcommand\bibsection{\chapter*{\bibname}% \@mkboth{\bibname}{\bibname}}% }{}} +\let\mw@hyperref@phantom\@gobble +\AtBeginDocument{\@ifpackageloaded{hyperref}{% + \def\mw@hyperref@phantom#1{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{#1*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% +}{}} \def\@doendpe{\@endpetrue \clubpenalty\@clubpenalty \def\par{\@restorepar\everypar{}\par\@endpefalse}% diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 812a34e5318..548da03f42a 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -295,6 +295,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'l2a', "die 'skipping, another old detex, requires compilation'", 'latex_maker', "die 'skipping, we must not usurp two-character cmd name'", 'latex2pdf', "die 'skipping, too bare-bones'", + 'latex3', "die 'skipping, use xpackages'", 'latexmp', "&MAKEflatten", 'lcircuit', "die 'skipping, license unknown, too old to investigate'", 'leawood', "&MAKEflatten", |