Re: [PATCH] #849 (Re: importing latex)

2003-02-07 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: OK, not reLyX, but here is a safe Juergen> and well-tested one (bug 849). Please apply to 1.3 and 1.4 >> What would be a good description of the problem for the bug list? Juergen> "Fix bug in

Re: [PATCH] #849 (Re: importing latex)

2003-02-07 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> OK, not reLyX, but here is a safe and well-tested one (bug > Juergen> 849). Please apply to 1.3 and 1.4 > > What would be a good description of the problem for the bug list? "Fix bug in the qt frontend where the document status was set to "changed" when the

Re: importing latex

2003-02-07 Thread Dekel Tsur
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 > >

Re: [PATCH] #849 (Re: importing latex)

2003-02-07 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> I am ready to apply patches to reLyX in 1.3.x as long as they are >> low-risk. Juergen> OK, not reLyX, but here is a safe and well-tested one (bug Juergen> 849). Please apply to 1.3 and 1.4

Re: importing latex

2003-02-07 Thread Juergen Spitzmueller
José Matos 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. > > Sure. Just give some example, what it is an

[PATCH] #849 (Re: importing latex)

2003-02-07 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > I am ready to apply patches to reLyX in 1.3.x as long as they are > low-risk. OK, not reLyX, but here is a safe and well-tested one (bug 849). Please apply to 1.3 and 1.4 Thanks, Jürgen. P.S.: I am really interested in fixing bugs in the stable series, as long as

Re: importing latex

2003-02-07 Thread José Matos
On Thursday 06 February 2003 22:32, 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. Sure. Ju

Re: importing latex

2003-02-07 Thread Angus Leeming
Edwin Leuven wrote: > it works except for > >> > the only remaining thing is that reLyX doesn't tell lyx to use natbib This will take a little thought. > and the citet[]{} etc Can _all_ the natbib citation commands take an optional arg? Please do the research on this for me. >> Please also ad

Re: importing latex

2003-02-07 Thread Jean-Marc Lasgouttes
> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: Edwin> On Thu Feb 6 2003 18:29, Angus Leeming wrote: >> Edwin, apply the attached patch to a clean reLyX. Edwin> it works except for >> > the only remaining thing is that reLyX doesn't tell lyx to use >> natbib: Edwin> and the citet[]{}

Re: importing latex

2003-02-07 Thread Edwin Leuven
On Thu Feb 6 2003 18:29, Angus Leeming wrote: > Edwin, apply the attached patch to a clean reLyX. it works except for > > the only remaining thing is that reLyX doesn't tell lyx to use natbib: and the citet[]{} etc > Please also add an enhancement request to Bugzilla and attach the patch. coul

Re: importing latex

2003-02-06 Thread Juergen Spitzmueller
Angus Leeming wrote: > > natbib's \citet is not recognized when importing from .tex > > > > has this always been the case? > > > > thanks, Ed. > > Always. natbib support was added to LyX after the last person to > do anything meaningful with reLyX went off and got a life. On a related note: would

Re: importing latex

2003-02-06 Thread Angus Leeming
Edwin Leuven wrote: >> This says that \cite can take an optional arg but \nocite cannot. I don't >> know about the natbib commands. Perhaps you could do some research for >> me. In the meantime, does adding these to syntax.default improve the >> situation? > > I does. I also added > > \citet[]{}

Re: importing latex

2003-02-06 Thread Edwin Leuven
> This says that \cite can take an optional arg but \nocite cannot. I don't > know about the natbib commands. Perhaps you could do some research for me. > In the meantime, does adding these to syntax.default improve the situation? I does. I also added \citet[]{} the only remaining thing is that

Re: importing latex

2003-02-06 Thread Angus Leeming
Edwin Leuven wrote: >> If you add them to BasicLyX.pm:187, it _should_ work: > > it doesn't though, it creates empty citations... > > thanks anyway > > Ed. reLyX has a list of recognised latex commands in syntax.default. $ grep cite syntax.default \cite[]{} \nocite{} $ This says that \cite c

Re: importing latex

2003-02-06 Thread Edwin Leuven
> If you add them to BasicLyX.pm:187, it _should_ work: it doesn't though, it creates empty citations... thanks anyway Ed.

Re: importing latex

2003-02-06 Thread Angus Leeming
Edwin Leuven wrote: > natbib's \citet is not recognized when importing from .tex > > has this always been the case? > > thanks, Ed. Always. natbib support was added to LyX after the last person to do anything meaningful with reLyX went off and got a life. If you add them to BasicLyX.pm:187, i