On Fri, May 14, 2010 at 4:33 AM, rgheck <[email protected]> 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 perhaps it would be better to look for the decimal > separator during output, and pass something in runparams to flag whether you > are in an environment. i was thinking of 1. looking for the separator in the inset using findForward or so (and checking that it is not nested in another inset) 2. split the inset in two at the found pos and then inset1->latex(..) os << '&' inset2->latex(..)
