Dekel> Few comments:
Dekel> * Make it bigger! I want to be able to see more than 4 keys at once.
Will 20 suffice?
Dekel> * If you want that the citation style could only be selected from a pre-defined
Dekel> list, then you should use for it a NORMAL_CHOICE form, and not
Dekel> DROPLIST_CHOICE.
Dekel> I think that you should also change the browsers types to HOLD_BROWSER
Both done.
Allan> We also want to allow room for internationalized labels.
Not sure what you mean here. Do you mean that the browsers should be wider as
well as (Dekel's suggestion that they be) longer? I'm not sure that that is
necessary, because the browsers seem to insert automatically a horizontal
slide bar along their base should the keys be wider than the browser window.
Allan> The citation and bibform should be separated into distinct dialogs. They
Allan> can share the same definition but shouldn't expect to be able to swap
Allan> labels on a shared dialog like we do at present. So starting a new
Allan> fdesign is the right thing to do.
I'd come to this conclusion also. I think that the citations are functionally
and logically separate from the bibliography details and so will probably split
insetbib.[Ch] into insetcite.[Ch] and insetbib.[Ch].
Allan> Remember that when you implement this you will almost certainly need to
Allan> change the lyx file format to support the choice of citation style.
You're ahead of me here too. I'm taking the attitude that small changes are
best, so the first patch I submit will be of an improved citation dialog, but
will not introduce support for natbib. Several issues are involved I think, so
perhaps we can start the discussion of what here.
1. I think choice of citation style should be made in the Layout->Document
dialog. Two choices should be available
standard LaTeX (ie, \cite)
natbib (ie, choices of \citet, \citep etc)
2. If the document is old and contains citations already then standard LaTeX
will be the default choice for the citation style. If either of these
requirements is not fullfilled then natbib will be the default.
3. The user can toggle between the two styles. Should citations already exist
in the document then a warning message should popup in each case.
standard LaTeX -> natbib
Warning.
All instances of \cite in this document will be changed to \citep
These may be changed individually to suit requirements.
Any instance of \usepackage{some citation package} in the LaTeX
preamble should be removed.
Ok Cancel
natbib -> standard LaTeX
Warning.
Natbib citations are far more flexible than the LaTeX default.
Information about the style of individual citations will be lost.
Ok Cancel
4. Layout Document should also contain/launch? a "Reference Options" form. This
would allow the user to choose such things as font, spacing etc of the
References section, together with the style of the references. (Eg "plain" in
standard LaTeX or "numbers" in natbib. It would also allow input of natbib's
customization options etc.
Any suggestions/feedback?
Angus