Dekel, I like your idea a great deal. It's very similar to something in KDE
used to associate applications with mimetypes. I'd suggest that the small
screenshot (attached) would be perfect to our needs.
Dekel> Sometimes it is faster to add a cite by hand, so it might worth keeping this
Dekel> option.
I can't see how to combine both these input methods elegantly (or why).
I think that natbib supports all common citation styles (?). A citation dialog
supporting natbib would need the additional 3 input fields.
In addition to adding citations, natbib allows text before and after the
citation. It can therefore end up as:
blah blah blah (see Tsur, 2000: suggested dialog). Blah blah blah.
So, in addition to these two browser lists, the dialog should contain two text
input fields.
Finally, natbib allows various textual and parenthetical citations.
\citet{jon90} => Jones et al. (1990)
\citep{jon90} => (Jones et al., 1990)
\citet*{jon90} => Jones, Baker and Williams (1990)
\citep*{jon90} => (Jones, Baker and Williams,1990)
\citealt{jon90} => Jones et al. 1990
\citealt*{jon90} => Jones, Baker and Williams1990
\citealp{jon90} => Jones et al., 1990
\citealp*{jon90} => Jones, Baker and Williams, 1990
\citeauthor{jon90} => Jones et al.
\citeauthor*{jon90} => Jones, Baker and Williams
\citeyear{jon90} => 1990
\citeyearpar{jon90} => (1990)
\citet{dRob98} => della Robbia (1998)
\Citet{dRob98} => Della Robbia (1998)
Or in numerical mode
\citet{jon90} => Jones et al. [21]
\citep{jon90} => [21]
This (bewildering) set of choices could be implemented as a drop down list.
The resulting dialog would be little more complicated than the current one and
enormously more powerful.
Angus> * if the inset on the screen becomes longer than one line, it should wrap like
Angus> normal text. Currently it just continues on beyond the end of the page.
Dekel> The current kernel doesn't support breaking of insets, so this can't be done
Dekel> currently.
Jürgen> Well not really you just have to write the text like (| are screen borders):
Jürgen> |Here is normal text |
Jürgen> | +------------------+|
Jürgen> | + This is a long +|
Jürgen> | + line citation. +|
Jürgen> | +------------------+|
Jürgen> | Here the text |
Jürgen> | continuates. |
Jürgen> As the inset paints itself and gives it with and height back to LyXText it
Jürgen> can be done, just the painting has to be redone so that it paints itself in
Jürgen> more than one row (as the text inset does ;).
Ok. This is part two. I'll have a go.
Angus
lyx.png