diff options
author | Karl Berry <karl@freefriends.org> | 2012-09-05 22:34:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-09-05 22:34:21 +0000 |
commit | e5a6b18348ead0cec45f680a2bacf024120cfdec (patch) | |
tree | a4ed654f2fe267d6cc8092ea4cfdfb030ddd7f5c /Master/texmf-dist/tex/latex/edmargin | |
parent | 51c832586711238475dd9b5933ec691be7e8e713 (diff) |
edmargin (5sep12)
git-svn-id: svn://tug.org/texlive/trunk@27599 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/edmargin')
-rw-r--r-- | Master/texmf-dist/tex/latex/edmargin/edmargin.sty | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/edmargin/edmargin.sty b/Master/texmf-dist/tex/latex/edmargin/edmargin.sty index bd7eb51ba6d..f89ce25cd37 100644 --- a/Master/texmf-dist/tex/latex/edmargin/edmargin.sty +++ b/Master/texmf-dist/tex/latex/edmargin/edmargin.sty @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e}[1997/12/01] \ProvidesPackage{edmargin} - [2008/04/14 v1.02 edmargin file] + [2012/09/04 v1.2 edmargin file] @@ -105,8 +105,8 @@ r@#2\endcsname{}{}\@nil {{\small{\em \the\notesheadername~\mymarks}}}{} \makeoddhead{endnotesstyle}{}{{\small{\em \the\notesheadername~\mymarks}}} {{\small\textrm{\thepage}}} -\makeevenfoot{}{}{} -\makeoddfoot{}{}{} +\makeevenfoot{endnotesstyle}{}{}{} +\makeoddfoot{endnotesstyle}{}{}{} }{\fancypagestyle{plain}{% \fancyhf{} \fancyhead[RO,LE]{{\small\textrm{\thepage}}} @@ -140,26 +140,26 @@ r@#2\endcsname{}{}\@nil \newcommand{\backmatterafterheadersink}{\leavevmode\vspace{11pt}} \newcommand{\backmattertextfont}{\small} \def\strip#1>{} -\newcommand{\literaltextnote}[1]{ - \begingroup +\newcommand{\literaltextnote}[1]{% + \begingroup% \def\next{#1}% - \newlinechar='40 + \newlinechar='40% \immediate\write\textnotes{\expandafter\strip\meaning\next}% - \endgroup + \endgroup% } -\newcommand{\literalemend}[1]{ - \begingroup +\newcommand{\literalemend}[1]{% + \begingroup% \def\next{#1}% - \newlinechar='40 + \newlinechar='40% \immediate\write\emendations{\expandafter\strip\meaning\next}% - \endgroup + \endgroup% } -\newcommand{\literalexplain}[1]{ - \begingroup +\newcommand{\literalexplain}[1]{% + \begingroup% \def\next{#1}% - \newlinechar='40 + \newlinechar='40% \immediate\write\explanations{\expandafter\strip\meaning\next}% - \endgroup + \endgroup% } \newif\iftextnoteson \textnotesonfalse \newif\ifexplanon \explanonfalse @@ -169,7 +169,7 @@ r@#2\endcsname{}{}\@nil \edmrgnotesname={TEXTUAL NOTES} \newcommand{\changetextnotesname}[1]{\edmrgnotesname={#1}} \newtoks{\textnotesheadername} -\notesheadername={Textual Notes to} +\textnotesheadername={Textual Notes to} \newcommand{\changetextnotesheader}[1]{\textnotesheadername={#1}} \newtoks{\textnotescontentsname} \textnotescontentsname={Textual Notes} @@ -306,7 +306,7 @@ r@#2\endcsname{}{}\@nil \newcommand{\setmargrefmarker}[1]{\margrefmarker={#1}}% \newcommand{\makemargreflabel}{\string\label\string{margref\themargrefnumber\string}} \newcommand{\setmargref}{% -\marginpar{\scriptsize {\the\margrefmarker~\the\singlepageabbrev~\pageref{margref\themargrefnumber}}}% +\marginpar{\scriptsize{\the\margrefmarker~\the\singlepageabbrev~\pageref{margref\themargrefnumber}}}% } \newcommand{\margreftextnote}{% \iftextnoteson\addtocounter{margrefnumber}{1}% @@ -329,7 +329,7 @@ r@#2\endcsname{}{}\@nil \newif\ifn@temarkinmargin% \n@temarkinmargintrue% \newif\ifn@temarkintext% -\n@temarkintexttrue% +\n@temarkintextfalse% \newcommand{\notemarkinmargin}{\n@temarkinmargintrue\n@temarkintextfalse} \newcommand{\notemarkintext}{\n@temarkinmarginfalse\n@temarkintexttrue} \newcounter{enmrnotescratchcount}% @@ -483,14 +483,14 @@ r@#2\endcsname{}{}\@nil \resetemendations% \resetexplanatory} \newif\ifnotesbychapteron \notesbychapteronfalse -\@ifclassloaded{memoir}{\newcommand{\notesbychapter}{\notesbychapterontrue +\@ifclassloaded{memoir}{\newcommand{\notesbychapter}{\notesbychapterontrue} \addtoiargdef{\chapter}{}{ \iftitleinnotes% \label{chapter\thechapter}% \fi% \ifnotesbychapteron% \relax% \resetendnotes% - \fi}} + \fi} }{\newcommand{\notesbychapter}{\notesbychapterontrue} \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne \if@mainmatter |