Re: [PATCH] Cloning Buffers with Parents

2011-05-16 Thread Richard Heck
On 05/16/2011 04:50 AM, Jean-Marc Lasgouttes wrote: > Le 16/05/2011 00:00, Richard Heck a écrit : >> I've tested this a bit and it seems to work. Additional testing and >> comments would be welcome. > > The patch would be welcome too ;) > Doh. Richard >From 8314392962c042a18c95ac630869ec4421ac98

Re: [PATCH] Cloning Buffers with Parents

2011-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2011 00:00, Richard Heck a écrit : I've tested this a bit and it seems to work. Additional testing and comments would be welcome. The patch would be welcome too ;) JMarc PS: this time it is not me. Ha!

[PATCH] Cloning Buffers with Parents

2011-05-15 Thread Richard Heck
This patch attempts to fix a problem first reported by Diego: If you try to view a child document, the macros declared in the parent do not work. This is a regression from 1.6.x. The problem is that we were cloning only the child, which then didn't have a parent. The solution is to clone the whol

Re: Cloning Buffers with Parents

2011-05-10 Thread Abdelrazak Younes
On 05/10/2011 04:12 PM, Abdelrazak Younes wrote: On 05/10/2011 03:19 PM, Guenter Milde wrote: (compared to the following steps and to image conversions), could we consider not to clone the buffer but do the initial export before starting a new thread? See above. There is no point in using th

Re: Cloning Buffers with Parents

2011-05-10 Thread Abdelrazak Younes
On 05/10/2011 03:19 PM, Guenter Milde wrote: On 2011-05-10, Abdelrazak Younes wrote: On 05/10/2011 11:15 AM, Guenter Milde wrote: On 2011-05-09, Richard Heck wrote: As, generally, the LyX -> first-non-native-format (latex, html, text) export is fast Export to latex is not fast. It seems to b

Re: Cloning Buffers with Parents

2011-05-10 Thread Guenter Milde
On 2011-05-10, Abdelrazak Younes wrote: > On 05/10/2011 11:15 AM, Guenter Milde wrote: >> On 2011-05-09, Richard Heck wrote: >> As, generally, the LyX -> first-non-native-format (latex, html, text) >> export is fast > Export to latex is not fast. It seems to be fast on Linux because the > proce

Re: Cloning Buffers with Parents

2011-05-10 Thread Abdelrazak Younes
On 05/10/2011 11:15 AM, Guenter Milde wrote: On 2011-05-09, Richard Heck wrote: Discussion in the "Math Macros in Child Documents" thread has revealed a problem with how we clone buffers with parents. The set up is this: You have a master that defines a macro, and a child that uses it. If you t

Re: Cloning Buffers with Parents

2011-05-10 Thread Guenter Milde
On 2011-05-09, Richard Heck wrote: > Discussion in the "Math Macros in Child Documents" thread has revealed a > problem with how we clone buffers with parents. The set up is this: You > have a master that defines a macro, and a child that uses it. If you try > to compile just the child, it works i

Cloning Buffers with Parents

2011-05-09 Thread Richard Heck
Discussion in the "Math Macros in Child Documents" thread has revealed a problem with how we clone buffers with parents. The set up is this: You have a master that defines a macro, and a child that uses it. If you try to compile just the child, it works in 1.6 but not in 2.0. The reason is that, w