"Jean-Pierre.Chretien" wrote:

> Do you share the same class of documents and the same LaTeX tree ?
> This *should* not happen in that case.

I'm sorry, but I don't understand your response.  Perhaps it's because I was
not clear to start with.

We use a pseudo-APA style for references.  Sometimes we need to say:

"It has previously been demonstrated that you can do XYZ (St. John 1990)."

But other times it might be preferable to phrase the sentence as:

"You can do XYZ, as previously shown by St. John (1990)."

Notice that in both cases, both the name and the date are produced by the
citation; the only difference is where the opening parenthesis goes.  And
that difference is driven by the structure of the sentence, not by the
structure of the document or the bibliographic style.  In the second case I
simply can't get away with:

"You can do XYZ, as previously shown by (St. John 1990)."

Thus our LaTeX environment definitions include both \cite and \emcite.
\cite{stjohn:aij} produces the text "(St. John 1990)", and
\emcite{stjohn:aij} produces "St. John (1990)".

So far as I can see, LyX will let us have one or the other from the menu, but
for documents more than a couple of pages long we almost always need both.
It would be nice if LyX supported user-level customization that would let us
add the second to the menu.

Thanks,

Bobby Bryant
Austin, Texas



Reply via email to