Re: fiddling with insets and latex output

2010-05-14 Thread Enrico Forestieri
On Fri, May 14, 2010 at 04:41:34AM -0700, Edwin Leuven wrote: > On Fri, May 14, 2010 at 4:33 AM, rgheck wrote: > > The os variable here is an odocstream. So we can create a temporary > > odocstringstream, write to that > > ah, that was what i was looking for.

Re: fiddling with insets and latex output

2010-05-14 Thread Edwin Leuven
On Fri, May 14, 2010 at 12:45 PM, Julien Rioux wrote: > I am happy with the current situation. sure it works, but it would be nice to achieve this optimally with a simple click that avoids the fiddling with latex and have visual feedback at the same time

Re: fiddling with insets and latex output

2010-05-14 Thread Julien Rioux
On 14/05/2010 11:24 AM, Edwin Leuven wrote: i tried both approaches in the attached. That's a great example file. So according to this, column alignment on the decimal point is already possible in LyX in one of two ways: using the dcolumn package, or manual splitting numbers and decimals in

Re: fiddling with insets and latex output

2010-05-14 Thread Julien Rioux
On 14/05/2010 9:39 AM, Edwin Leuven wrote: On Fri, May 14, 2010 at 6:15 AM, Julien Rioux wrote: Are you sure? I was able to have decimal alignment using the latex package dcolumn without altering LyX source code. I would suggest you have a look here: i am aware of dcolumn, but for now think th

Re: fiddling with insets and latex output

2010-05-14 Thread Edwin Leuven
On Fri, May 14, 2010 at 6:15 AM, Julien Rioux wrote: > Are you sure? I was able to have decimal alignment using the latex package > dcolumn without altering LyX source code. I would suggest you have a look > here: i am aware of dcolumn, but for now think that it's better to split the column on the

Re: fiddling with insets and latex output

2010-05-14 Thread Julien Rioux
On 14/05/2010 5:06 AM, Edwin Leuven wrote: hi guys, i've been looking at decimal alignment in tables to do so i need to find the decimal separator in the inset and replace it with an '&' in the latex output or append an'&' if no decimal separator was found Are you sure? I was able to have dec

Re: fiddling with insets and latex output

2010-05-14 Thread Edwin Leuven
On Fri, May 14, 2010 at 4:33 AM, rgheck wrote: > The os variable here is an odocstream. So we can create a temporary > odocstringstream, write to that ah, that was what i was looking for. i was fiddling with a ostringstream but that obviously didn't work... > This suggests that pe

Re: fiddling with insets and latex output

2010-05-14 Thread RIchard Heck
On 05/14/2010 05:06 AM, Edwin Leuven wrote: hi guys, i've been looking at decimal alignment in tables to do so i need to find the decimal separator in the inset and replace it with an '&' in the latex output or append an'&' if no decimal separator was found i have two problems that i need to s

fiddling with insets and latex output

2010-05-14 Thread Edwin Leuven
hi guys, i've been looking at decimal alignment in tables to do so i need to find the decimal separator in the inset and replace it with an '&' in the latex output or append an '&' if no decimal separator was found i have two problems that i need to solve the first is that inset->latex(os, new

[patch] remove some cursor fiddling

2003-11-26 Thread Alfredo Braunstein
redoCursor takes care of that now Alfredo ? bfri.C ? textcursor.C-save ? textcursor.h-save Index: text.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v retrieving revision 1.499 diff -u -p -u -r1.499 text.C --- text.C 25

Re: fiddling

2002-07-25 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> comments ? John> Still some way to go here. A lot is tied into what we've badly John> needed for some time i.e. a lyxfunc shakeup, design, UI and code This seems fine to me. A small objection though: - { LFUN_EXPORT, "b

fiddling

2002-07-25 Thread John Levon
comments ? Still some way to go here. A lot is tied into what we've badly needed for some time i.e. a lyxfunc shakeup, design, UI and code regards john Index: LyXAction.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LyXActi