Re: minor re-definition of the chunk inset

2013-10-17 Thread Jean-Marc Lasgouttes
Le 17/10/13 22:44, Enrico Forestieri a écrit : On Wed, Oct 16, 2013 at 08:43:27PM +0200, Liviu Andronic wrote: On Wed, Oct 16, 2013 at 7:27 PM, Scott Kostyshak wrote: With the attached patch applied, the above construct becomes: \centering{} <<>>= 2+2 #chunk @ and compilation proceeds without

Re: minor re-definition of the chunk inset

2013-10-17 Thread Enrico Forestieri
On Wed, Oct 16, 2013 at 08:43:27PM +0200, Liviu Andronic wrote: > On Wed, Oct 16, 2013 at 7:27 PM, Scott Kostyshak wrote: > >> With the attached patch applied, the above construct becomes: > >> \centering{} > >> <<>>= > >> 2+2 #chunk > >> @ > >> > >> and compilation proceeds without a hitch. > >>

Re: minor re-definition of the chunk inset

2013-10-17 Thread Jean-Marc Lasgouttes
It is probably possible to commit Liviu's patch now and to improve on it later. Sorry I do not have time to look at it seriously now. JMarc Liviu Andronic a écrit : >On Thu, Oct 17, 2013 at 5:01 AM, Scott Kostyshak >wrote: >>> I had a quick chat with JMarc off-list, and it seems that the >>>

Re: minor re-definition of the chunk inset

2013-10-17 Thread Liviu Andronic
On Thu, Oct 17, 2013 at 5:01 AM, Scott Kostyshak wrote: >> I had a quick chat with JMarc off-list, and it seems that the >> additional breaks could in some cases create a double \n and thus an >> unwanted paragraph break. Personally, I'm not sure how to reproduce >> such a case, but then I'm no La

Re: minor re-definition of the chunk inset

2013-10-16 Thread Scott Kostyshak
On Wed, Oct 16, 2013 at 2:43 PM, Liviu Andronic wrote: > On Wed, Oct 16, 2013 at 7:27 PM, Scott Kostyshak wrote: >>> With the attached patch applied, the above construct becomes: >>> \centering{} >>> <<>>= >>> 2+2 #chunk >>> @ >>> >>> and compilation proceeds without a hitch. >>> >>> What do you

Re: minor re-definition of the chunk inset

2013-10-16 Thread Liviu Andronic
On Wed, Oct 16, 2013 at 7:27 PM, Scott Kostyshak wrote: >> With the attached patch applied, the above construct becomes: >> \centering{} >> <<>>= >> 2+2 #chunk >> @ >> >> and compilation proceeds without a hitch. >> >> What do you think? Regards, > > Seems reasonable to me. Does anyone object? > I

Re: minor re-definition of the chunk inset

2013-10-16 Thread Scott Kostyshak
On Sat, Oct 12, 2013 at 4:58 AM, Liviu Andronic wrote: > Dear all, > I would suggest that we perform a minor redefinition of the new chunk inset. > > As I recently found out, in some instances LyX can place the inset on > the same line as some other LaTeX command (see attached): > \centering{}<<>>