On 31 Jul, Allan Rae wrote:
> On Fri, 30 Jul 1999 [EMAIL PROTECTED] wrote:
>
>> On 30 Jul, Gerald Cecil wrote:
>> > Can we have an xforms checkbox to genereate \citep{} & \citet{} Bib forms
>> > rather than the obsolete \cite{} that v1.0.3 currently supports?
>> > (Fred et al. 1999) and Fred et al. (1999)
>>
>> fraustrated with all the red text in her document (the LATEX \citep and
>> \citet commands in particular),
>
> I'll admit I didn't even know they existed. You seem to be saying you use
> both in the same document (!) is this true? If it is it means we'll have
> to come up with something clever otherwise we could just have a flag in
> the Document popup for which of the three types LyX should output.
>
Indeed. citep is for a parenthetical quote, whilst citet is for a
textual quote (referred to as citen - a noun quote in the harvard
style).
At the moment we have insert-citation. Why not just add
insert-citation-parenthetical and insert-citation-textual. OR a diague
as we have at the moment but with another option box in which you type
a suffix (if needed) to the cite command. So the default remains cite,
but in a little white space above the reference and comment boxes, you
can specify t or p to make cite into citet and citep (so a bit of code
to add the supplied text onto the end of the cite command). OR an
option in the lyxrc to specify default citation styles, and support in
lyx for insert-citation and insert-citation-alternate. Just a few
ideas. I think the middle one is most versatile.
To be clear, there are also alternate forms of citation available in
natbib in \citealt and \citealp and \citealt* and \citealp*. These cite
with parenthesis turned off as textual and parenthetical. They also
permit long citation. eg. Jones et.al 1990, Jones et.al., 1990 Jones,
Baker, and Williams 1990 Jones, Baker, and Williams, 1990 (note the
subtle differrence in grammer). Because these methods are alternate, it
would be silly to support them in lyx through a menu system, I would
suggest. However the middle option above would allow support for any
form of citation.
>
> P.S. It seems engineers and scientists tend to use [1] while everyone
> else uses something completely different.
The advantage of the NATBIB style is that it is very modifiable and
seeks to provide an alternate author-year citation method and bibliog
method. It acts as a 'single, flexible interface for most of the
available bibliographic styles'...'compatible with ...babel, index, showkeys,
chapterbib, hyperref, koma and with classes amsbook and amsart' (so says the
documentation). It supports 'not only the various author year bibliography
styles, but also those for standard numerical citations'. Due to the way you
can switch easily between numerical and author-date, it provides replacements
to the standard .bst files. You can effectively create a style to
your needs through simple preamble commands. No doubt its not for everyone tho
;-).
Tony