diff options
author | Karl Berry <karl@freefriends.org> | 2009-02-07 00:48:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-02-07 00:48:55 +0000 |
commit | f960d764a22c7d401357dbcf0f9b0dba0e517f1b (patch) | |
tree | 1cf55ee9eb2de62672cc628959105057df58af76 /Master/texmf-dist/source/latex/memoir | |
parent | 50fc710f4c615b0616b02fd75ff94db6a09687af (diff) |
memoir v1.6180339c again (6feb09)
git-svn-id: svn://tug.org/texlive/trunk@12109 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/memoir')
-rw-r--r-- | Master/texmf-dist/source/latex/memoir/memoir.dtx | 34 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/memoir/mempatch.dtx | 19 |
2 files changed, 37 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/latex/memoir/memoir.dtx b/Master/texmf-dist/source/latex/memoir/memoir.dtx index c53f51c29ed..2af74dfca56 100644 --- a/Master/texmf-dist/source/latex/memoir/memoir.dtx +++ b/Master/texmf-dist/source/latex/memoir/memoir.dtx @@ -71,6 +71,8 @@ % \changes{v1.6180339a}{2008/08/07}{Removed extra space in footnotes} % \changes{v1.6180339c}{2009/01/21}{Minor bug fixes and extensions} % \changes{v1.6180339c}{2009/01/25}{A few more} +% \changes{v1.6180339d}{2009/02/04}{Fixed a bug in the running +% head/foot widths} % % \def\dtxfile{memoir.dtx} % @@ -99,6 +101,7 @@ % \def\fileversion{v1.6180339a} \def\filedate{2008/08/07} % \def\fileversion{v1.6180339c} \def\filedate{2009/01/21} % \def\fileversion{v1.6180339c} \def\filedate{2009/01/25} +% \def\fileversion{v1.6180339d} \def\filedate{2009/02/04} % \title{The LaTeX \Lpack{memoir} class for configurable book % typesetting: Source code\thanks{This % file (\texttt{\dtxfile}) has version number \fileversion, last revised @@ -319,7 +322,7 @@ % Announce the name, option files and version for LaTeX2e files: % \begin{macrocode} %<class>\ProvidesClass{memoir}% -%<class> [2009/01/25 v1.6180339c configurable book, report, article document class] +%<class> [2009/02/04 v1.6180339d configurable book, report, article document class] %<9pt>\ProvidesFile{mem9.clo}% %<9pt> [2008/01/30 v0.4 memoir class 9pt size option] %<10pt>\ProvidesFile{mem10.clo}% @@ -5180,31 +5183,32 @@ % (requested by Wilhelm M\"{u}ller).} % \changes{v1.6180339c}{2009/01/13}{Added \cs{makerunningheadwidth} % and \cs{makerunningfootwidth}}. +% \changes{v1.6180339d}{2009/02/04}{Fixed a mental bug, /daleif} % \begin{macrocode} \newcommand*{\makerunningwidth}[1]{% \def\m@mhfstyle{#1}% \m@mopthfwidth} \newcommand*{\m@mopthfwidth}[2][\@mpty]{% - \setlength\@tempdima{#2} -% \@namedef{\m@mhfstyle headrunwidth}{#2}% - \expandafter\edef\csname \m@mhfstyle headrunwidth\endcsname{\the\@tempdima} +% \setlength\@tempdima{#2} + \@namedef{\m@mhfstyle headrunwidth}{#2}% +% \expandafter\edef\csname \m@mhfstyle headrunwidth\endcsname{\the\@tempdima} \ifx\@mpty #1 -% \@namedef{\m@mhfstyle footrunwidth}{#2}% - \expandafter\edef\csname \m@mhfstyle footrunwidth\endcsname{\the\@tempdima} + \@namedef{\m@mhfstyle footrunwidth}{#2}% +% \expandafter\edef\csname \m@mhfstyle footrunwidth\endcsname{\the\@tempdima} \else -% \@namedef{\m@mhfstyle footrunwidth}{#1}% - \setlength\@tempdima{#1} - \expandafter\edef\csname \m@mhfstyle footrunwidth\endcsname{\the\@tempdima} + \@namedef{\m@mhfstyle footrunwidth}{#1}% +% \setlength\@tempdima{#1} +% \expandafter\edef\csname \m@mhfstyle footrunwidth\endcsname{\the\@tempdima} \fi} \newcommand*{\makerunningheadwidth}[2]{% - \setlength\@tempdima{#2}% - \expandafter\edef\csname \m@mhfstyle headrunwidth\endcsname{\the\@tempdima}% -% \@namedef{#1headrunwidth}{#2} +% \setlength\@tempdima{#2}% +% \expandafter\edef\csname \m@mhfstyle headrunwidth\endcsname{\the\@tempdima}% + \@namedef{#1headrunwidth}{#2}% } \newcommand*{\makerunningfootwidth}[2]{% - \setlength\@tempdima{#2}% -% \@namedef{#1footrunwidth}{#2} - \expandafter\edef\csname \m@mhfstyle footrunwidth\endcsname{\the\@tempdima}% +% \setlength\@tempdima{#2}% + \@namedef{#1footrunwidth}{#2}% +% \expandafter\edef\csname \m@mhfstyle footrunwidth\endcsname{\the\@tempdima}% } % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/memoir/mempatch.dtx b/Master/texmf-dist/source/latex/memoir/mempatch.dtx index c2b79992fa8..12064cebf32 100644 --- a/Master/texmf-dist/source/latex/memoir/mempatch.dtx +++ b/Master/texmf-dist/source/latex/memoir/mempatch.dtx @@ -65,6 +65,7 @@ % \def\fileversion{v6.0} \def\filedate{2008/07/23} % \def\fileversion{v6.0a} \def\filedate{2008/08/23} % \def\fileversion{v6.0b} \def\filedate{2009/01/18} +% \def\fileversion{v6.0c} \def\filedate{2009/02/06} % % \title{The LaTeX \Lpack{memoir} class for configurable book % typesetting: Code patches\thanks{This @@ -303,6 +304,7 @@ %% With thanks to Heiko Oberdiek, if you use hyperref dated 2006/11/15 %% or later, memhfixc will be automatically loaded after hyperref. %% +%% Version 1.12 2009/02/06 %% Version 1.11 2009/01/18 %% Version 1.10 2008/08/23 %% Version 1.9 2006/11/22 @@ -320,7 +322,7 @@ % % % \begin{macrocode} -\ProvidesPackage{memhfixc}[2009/01/18 v1.11 nameref/hyperref package fixes for memoir class] +\ProvidesPackage{memhfixc}[2009/02/06 v1.12 nameref/hyperref package fixes for memoir class] % \end{macrocode} % % \begin{macro}{\M@hfixcfinish} @@ -400,6 +402,19 @@ % \end{macro} % \end{macro} % +% \begin{macro}{\nameref} +% We use \cs{titleref} to provide the same functionality as +% \cs{nameref}, so as not to confuse users, we let \cs{nameref} be +% an alias for \cs{titleref}. +% \begin{macrocode} +\AtBeginDocument{% + \@ifpackageloaded{nameref}{\let\nameref\titleref}{}% +} + +% \end{macrocode} +% \end{macro} +% +% % We are done unless the \Lpack{hyperref} package has been loaded % \begin{macrocode} %% We are done unless the hyperref package has been loaded @@ -736,9 +751,11 @@ \def\@mem@titlerefnolink#1{\begingroup \let\numberline\@gobble \let\M@TitleReference\@mem@theTR % interrupt recursion of \ref \ref*{#1}\endgroup} + % \end{macrocode} % \end{macro} % +% % The end of the \Lpack{hyperref} related patches. % % \begin{macrocode} |