>>Date: Wed, 28 Mar 2001 01:40:01 +0600
>>From: "Bobby D. Bryant" <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>CC: "Jean-Pierre.Chretien" <[EMAIL PROTECTED]>
>>Subject: Re: Multiple citation formats.
>>
>>"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
OK I get it, soo what about a simple layout modification allowing to get
\emcite as a command in the style popup ? That would be better than ERT,
but of course worse than a citation insert with the keys selection popup.
Otherwise what you describe looks like what varioref does for ordinary
citation, in which case it could be solved at LaTeX level (if not done
already).
--
Jean-Pierre