Re: Comments on bibulus.sty

Thomas Widmann <[email protected]> Sun, 20 Aug 2006 21:36:27 +0100
Newsgroups gmane.comp.tex.bibulus.devel
Message-ID <[email protected]>
Morten H=F8gholm <[email protected]> wrote a long time
ago:

> 1) \cite should be a robust command, so use \DeclareRobustCommand
> for it.

Hmmmm, bibulus.sty at the moment has the following definition:

\def\cite{%
  \bgroup% Terminated by \bibulus@cite
  \@ifnextchar[%]
  {\bibulus@cite@withafter}%
  {\bibulus@cite@plain}%
}

I haven't looked at this for a long time -- what is it doing?  Is it
just trying to allow an optional argument in square brackets?  How
does that fit in with \DeclareRobustCommand?

Cheers,

Thomas
--=20
Thomas Widmann          Bye-bye to BibTeX: join the Bibulus project now!
[email protected]                                <http://www.bibulus.org>
Glasgow, Scotland, EU     <http://savannah.nongnu.org/projects/bibulus/>