On Thu, Jan 18, 2001 at 10:07:26AM +0000, Angus Leeming wrote:
> Yes, a little. I have preliminary natbib support working in my tree. I'd just 
> like to sort out how LyX stores options to LaTeX commands before releasing 
> this to the general public.
> 
> Natbib can have up to two options in a \cite field; comments before and after 
> the citation. LyX can currently deal only with one. To accomodate two is an 
> ugly and extremely fragile hack.
> 
> Hmmm. Thinking. I COULD ignore the extra options for the time being and just 
> release a simple patch that gives users the ability to input different \cite 
> commands. It wouldn't break future compatibility. Are people interested?
> 
> What do people on the devel list think? 

I think the core folks need to discuss handling optional arguments. Unless
they have already. 

I've mentioned before that not taking optional arguments (in \section,
\caption, etc.) is one of a very few things that keep LyX from being fully
compatible with RevTeX (American Physical Society's class) and other group's
classes. Which is too bad, because these groups would be a great source of
new users: professors and grad students who are afraid to use plain LaTeX.
Wouldn't it be nice to have a link to lyx.org from aps.org etc.?

Natbib is (according to Mike) the other reason for not suggesting LyX to
large organizations. If you've got it working except for optargs, then
that's another reason to have a discussion about optargs. Now that you've
got the NEW_INSETS working, it's possible to add optarg support, right?

Apologies for doing all this ranting when I won't be doing any of the
coding. :(

-Amir


Reply via email to