summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/memoir
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-01-23 00:16:29 +0000
committerKarl Berry <karl@freefriends.org>2007-01-23 00:16:29 +0000
commit9e56502e0f0335cd0ead0cf968c142dd0dc52625 (patch)
tree662ed4163f8f500bdca3c8e53ef1931ca571748f /Master/texmf-dist/source/latex/memoir
parent94d9395b077eded9add59ad64006351216867c03 (diff)
memoir patches update 4.8 (23jan07)
git-svn-id: svn://tug.org/texlive/trunk@3702 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/memoir')
-rwxr-xr-xMaster/texmf-dist/source/latex/memoir/mempatch.dtx81
1 files changed, 77 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/memoir/mempatch.dtx b/Master/texmf-dist/source/latex/memoir/mempatch.dtx
index 6301f8f8495..687682ca40f 100755
--- a/Master/texmf-dist/source/latex/memoir/mempatch.dtx
+++ b/Master/texmf-dist/source/latex/memoir/mempatch.dtx
@@ -2,7 +2,7 @@
%
% mempatch.dtx
% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
-% Copyright 2001 --- 2006 Peter R. Wilson
+% Copyright 2001 --- 2007 Peter R. Wilson
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -19,7 +19,7 @@
%
%
% \fi
-% \CheckSum{6212}
+% \CheckSum{6253}
%
% \def\dtxfile{\texttt{mempatch.dtx}}
% \def\fileversion{v1.0} \def\filedate{2003/10/04}
@@ -55,6 +55,7 @@
% \def\fileversion{v4.5} \def\filedate{2006/08/08}
% \def\fileversion{v4.6} \def\filedate{2006/12/11}
% \def\fileversion{v4.7} \def\filedate{2006/12/23}
+% \def\fileversion{v4.8} \def\filedate{2007/01/22}
%
% \title{The LaTeX \Lpack{memoir} class for configurable book
% typesetting: Code patches\thanks{This
@@ -776,8 +777,9 @@
% ^^A \ProvidesFile{mempatch.sty}[2006/07/10 v4.5 Patches for memoir class v1.618]
% ^^A \ProvidesFile{mempatch.sty}[2006/08/08 v4.5 Patches for memoir class v1.618]
% ^^A \ProvidesFile{mempatch.sty}[2006/12/11 v4.6 Patches for memoir class v1.618]
+% ^^A \ProvidesFile{mempatch.sty}[2006/12/23 v4.7 Patches for memoir class v1.618]
% \begin{macrocode}
-\ProvidesFile{mempatch.sty}[2006/12/23 v4.7 Patches for memoir class v1.618]
+\ProvidesFile{mempatch.sty}[2007/01/22 v4.8 Patches for memoir class v1.618]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -803,6 +805,8 @@
%%% See the code (near the end) for details.
%%%
%%% Version 4.7 fixes tiny bugs introduced in version 4.6
+%%%
+%%% Version 4.8 fixes some more little bugs.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \end{macrocode}
@@ -3049,11 +3053,12 @@
%
% \begin{macro}{\newlistentry}
% Extend \cs{newlistentry} to add \cs{cftXname}.
+% \changes{v4.8}{2007/01/22}{Added missing backslash in \cs{newlistentry}}
% \begin{macrocode}
\renewcommand*{\newlistentry}[4][\@empty]{%
\@ifundefined{c@#2}{% check & set the counter
\ifx \@empty#1\relax
- newcounter{#2}%
+ \newcounter{#2}% % added the backslash 2007/01/22 per J{\o}rgen Larsen
\else
\newcounter{#2}[#1]%
\expandafter\edef\csname the#2\endcsname{%
@@ -6240,6 +6245,74 @@
% \end{macrocode}
% \end{macro}
%
+% \section{Mempatch version 4.8}
+%
+% \begin{macrocode}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%% Version 4.8 (2007/01/22 and later)
+
+% \end{macrocode}
+%
+% \subsection{Abstracts}
+%
+% There are various problems with the code for abstracts, partly because
+% it was too early in the class file (it should have come \emph{after}
+% the code for lists).
+% \changes{v4.8}{2007/01/22}{Several changes to the code for abstracts}
+%
+% \begin{macro}{\abscolnamefont}
+% \begin{macro}{\abscoltextfont}
+% Fonts for an abstract in a two column document where the abstract
+% is part of a column. Also the default \cs{absrightmargin}.
+% \changes{v4.8}{2007/01/22}{Added \cs{abscolnamefont} and \cs{abscoltextfont}}
+% \begin{macrocode}
+%%%% \abscolnamefont and \abscoltextfont are the fonts when an abstract
+%%%% is like a section in a two column document.
+\newcommand*{\abscolnamefont}{\normalfont\Large\bfseries}
+\newcommand*{\abscoltextfont}{\normalfont}
+
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\absleftindent}
+% \begin{macro}{\abs@leftindent}
+% \begin{macro}{\absrightindent}
+% Set these lengths \emph{after} \cs{leftmargin} and \cs{rightmargin} have
+% been set.
+% \begin{macrocode}
+\absleftindent=\leftmargin
+\abs@leftindent=\leftmargin
+\absrightindent=\leftmargin
+
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+%
+% \begin{macro}{\setup@bstract}
+% The \cs{setup@bstract} macro set \cs{absrightindent} and it shouldn't
+% have done.
+% \changes{v4.8}{2007/01/22}{Deleted always setting \cs{absrightindent} in \cs{setup@bstract}}
+% \begin{macrocode}
+\renewcommand*{\setup@bstract}{%
+ \abs@leftindent=\absleftindent
+ \if@twocolumn
+ \if@bsonecol
+ \else
+ \abs@leftindent=\z@
+ \absrightindent=\z@
+ \renewcommand*{\abstractnamefont}{\abscolnamefont}
+ \renewcommand*{\abstracttextfont}{\abscoltextfont}
+ \renewcommand*{\absnamepos}{flushleft}
+ \setlength{\abstitleskip}{-2ex}
+ \fi
+ \fi}
+
+% \end{macrocode}
+% \end{macro}
+%
%
% The end of the patch file
%