On Fri, Feb 07, 2003 at 01:21:01PM +0100, Juergen Spitzmueller wrote:
> > > On a related note: would it be possible that lyx2lyx recognizes ERT
> > > natbib commands in older documents and converts it to real citation
> > > insets? I have still some of them from the pre natbib-support era in my
> > > thesis.

> something like this (ERT inset):
> 
>       \begin_inset ERT
>       status Open
> 
>       \layout Standard
> 
>       \backslash 
>       citet[33]{Abraham88}
>       \end_inset 
> 
> should be converted to this (cite inset):
> 
>       \begin_inset LatexCommand \citet[33]{Abraham88}
> 
>       \end_inset 

If we want to support this, we should do it in the 218->220 conversion stage,
so 
   \latex latex
   
   \backslash
   citet[33]{Abraham88}
   \latex default
should be converted to a cite inset.
This can be done in remove_oldert()

Reply via email to