diff options
author | Karl Berry <karl@freefriends.org> | 2008-02-12 18:34:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-02-12 18:34:45 +0000 |
commit | 87f5bf9bf0a3ad0306a912db16a32beec711e94a (patch) | |
tree | dd6e5abcbf02cab2b779e3aa698d7f84dc9745a3 /Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg | |
parent | ec84cebdc3cbd045b86606318c88d58b99daee7e (diff) |
nag 0.61 (11feb08)
git-svn-id: svn://tug.org/texlive/trunk@6612 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg b/Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg index 3ca2e7a0878..7d1a632ce85 100644 --- a/Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg +++ b/Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg @@ -11,7 +11,7 @@ %% The `nag' package has the LPPL maintenance status: maintained. %% Current Maintainer is Ulrich M. Schwarz, ulmi@absatzen.de %% -%% Copyright (C) 2005-7 by Ulrich M. Schwarz. +%% Copyright (C) 2005-8 by Ulrich M. Schwarz. %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -20,7 +20,7 @@ %% http://www.latex-project.org/lppl.txt %% \ProvidesFile{nag-l2tabu.cfg} - [2007/06/10 v2.0 l2tabu rules for nag.sty (ulmi)] + [2008/01/27 v2.1alpha1 l2tabu rules for nag.sty (ulmi)] %% %% The sins. %% @@ -85,6 +85,36 @@ % \$ as well will silently disable us. This is a feature. \global\let$\nag@maybedispmath%$ \egroup +%% new in 2.1alpha1: more compat testing. Version control keywords are dollar-delimited. +%% all five implementations get it wrong. +\AtBeginDocument{% + \@ifpackageloaded{rcs}{% + % this redefinition is functionally equivalent, + % but does not share actual code. + \renewcommand\RCS{\bgroup% + \catcode`\_ =\active + \catcode`\$=3 % this line added for compatibility. + \csname RCS_get_argument\endcsname + } + \PackageInfo{nag}{rcs.sty hack applied}% + }{}% + \@ifpackageloaded{svninfo}{% + \g@addto@macro\@svnBeginRead{\catcode`\$ 3 }% + \PackageInfo{nag}{svninfo.sty hack applied}% + }{}% + \@ifpackageloaded{svn}{% + \PackageInfo{nag}{svn.sty is broken: disabling dollar check}% + \catcode`\$ 3 + }{}% + \@ifpackageloaded{rcsinfo}{% + \PackageInfo{nag}{rcsinfo.sty is broken: disabling dollar check}% + \catcode`\$ 3 + }{}% + \@ifpackageloaded{pgf}{% + \PackageInfo{nag}{pgf.sty is broken: disabling dollar check}% + \catcode`\$ 3 + }{}% +} %% \S 1.7 cannot reasonably be checked programmatically %% \S 1.8 \sloppy is called by parbox, among others, and would |