diff options
author | Karl Berry <karl@freefriends.org> | 2013-02-15 00:19:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-02-15 00:19:38 +0000 |
commit | c5626af2b77c391bf663c660b9a0b495ab53d941 (patch) | |
tree | 5dece1d9c3249e75d509524fc2145c59f759eef9 /Master/texmf-dist/tex/eplain/btxmac.tex | |
parent | a13000a8a72574b999877de3f97bee16c0980c6a (diff) |
eplain (14feb13)
git-svn-id: svn://tug.org/texlive/trunk@29110 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/eplain/btxmac.tex')
-rw-r--r-- | Master/texmf-dist/tex/eplain/btxmac.tex | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/eplain/btxmac.tex b/Master/texmf-dist/tex/eplain/btxmac.tex index c8772a176b2..88338ab8b39 100644 --- a/Master/texmf-dist/tex/eplain/btxmac.tex +++ b/Master/texmf-dist/tex/eplain/btxmac.tex @@ -1,16 +1,15 @@ %% @texfile{ %% author = "Karl Berry and Oren Patashnik", -%% version = "0.99k-09sep07", -%% date = "19 August 2005", +%% version = "0.99m", +%% date = "7 February 2013", %% filename = "btxmac.tex", %% address = "tex-eplain@tug.org", -%% checksum = "842 4571 33524", -%% codetable = "ISO/ASCII", %% supported = "yes", %% docstring = "Defines macros that make BibTeX work with plain TeX", %% } % BibTeX-for-TeX macros, version 0.99k, for BibTeX 0.99c, TeX 3.0 or later. -% Copyright (C) 1990, 1991, 1992, 1995, 2005 Karl Berry & Oren Patashnik. +% Copyright 1990, 1991, 1992, 1995, 2004, 2007, 2013 Karl Berry & +% Oren Patashnik. % % Unlimited copying and redistribution of this file are permitted as % long as this file is not modified. Modifications (and redistribution @@ -24,7 +23,7 @@ % (opbibtex@cs.stanford.edu). These macros will become frozen shortly % after BibTeX version 1.00 is released. % -% AMS-TEX WARNING: We tried very hard, for version .99i of these macros, +% AMS-TEX WARNING: We tried very hard, as of version .99i of these macros, % to make them compatible with AmS-TeX. We succeeded to the extent % that, if you use one of the standard bibliography styles, you probably % won't notice any problems with version 0.99i of btxmac.tex. But @@ -51,9 +50,9 @@ % the current btxmac.tex macros are sufficient, fine. But if there's a % demand for more robust BibTeX/AmS-TeX behavior, then someone who's % very familiar with the AmS-TeX package should probably make an -% amsbtxmc.tex version of the macros (remembering to follow the -% copyright restrictions above). Until then, if you're an AmS-TeX user, -% or a LaTeX or plain TeX user sharing files with an AmS-TeX user, beware. +% amsbtxmc.tex version of the macros. Until then, if you're an AmS-TeX +% user, or a LaTeX or plain TeX user sharing files with an AmS-TeX user, +% beware. % END OF AMS-TEX WARNING. % % To use these macros you should be familiar with how BibTeX interacts @@ -145,6 +144,8 @@ % \emph, \textbf, and \mbox, since many .bib files % use them. And made these definitions (and others) % only effective if not already defined. +% 07-Feb-13 0.99m, \newcommand and \providecommand should be \long, +% and not use \edef. Define \bbltextbf. % % The LaTeX-related commands defined in this file include % (a) the four commands that a user types (\bibliography, @@ -247,10 +248,9 @@ % So to start things off we turn `@' into a letter (category code 11), % keeping track of the old category code for future restoration. % (Simply resetting it to 12 when we leave these macros is -% insufficient.) The use of `\cite' as a temporary control sequence is -% a kludge, but it's a reasonably simple way to accomplish what we need -% without possibly overwriting something (without an `@' in its name) -% that might already be defined. +% insufficient.) We use `\cite' as a temporary control sequence to +% save the current catcode of @ to avoid possibly overwriting something +% (without an `@' in its name) that might already be defined. % \edef\cite{\the\catcode`@}% \catcode`@ = 11 @@ -683,7 +683,7 @@ \def\bblemph#1{{\bblem #1\/}} % % And bold. -\def\textbf#1{{\bf #1}} +\def\bbltextbf#1{{\bf #1}} % % \mbox is \hbox forcing horizontal mode. \def\bblmbox{\leavevmode\hbox} @@ -759,7 +759,7 @@ % arg) but we don't bother with either of these. % \ifx\newcommand\undefined -\def\newcommand#1{% +\long\def\newcommand#1{% \def\@commandname{#1}% \@getoptionalarg\@continuenewcommand }% @@ -770,7 +770,7 @@ % \newcommand. In LaTeX, it gives a warning if \foo is not already defined. % \ifx\renewcommand\undefined -\let\renewcommand = \newcommand + \let\renewcommand = \newcommand \fi % % @@ -778,7 +778,7 @@ % \foo is not already defined. % \ifx\providecommand\undefined -\def\providecommand#1{% +\long\def\providecommand#1{% \def\@commandname{#1}% % \expandafter\ifx\@commandname \@undefined @@ -804,7 +804,7 @@ % command is \@commandname. The replacement text for the new macro is #1. % \def\@newcommand#1{% - \def\@startdef{\expandafter\edef\@commandname}% + \def\@startdef{\expandafter\def\@commandname}% \ifnum\@numparams=0 \let\@paramdef = \empty \else |