>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> On Friday 18 January 2002 3:37 pm, Jean-Marc Lasgouttes wrote:
>> >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>> 
Angus> That's ostringstream and std::string of course.
>>  I had to use lyxstring with cxx 6.2, due to a wrong assert in its
>> string implementation.
>> 
Angus> I have no idea what's going wrong. This little program works
Angus> fine! A
>>  But then of course the code you propose is a bit strange... Could
>> you try to add a << std::flush, or whatever could put the string in
>> a 'good' state.

Angus> Sorry. You've lost me.

I don't know either where I am heading. 

Angus> Do you mean my 5-line program is strange or the patch to
Angus> LaTeXFeatures? 

The patch to LaTeXFeatures. It adds things to the output that I ma not
sure we want to see there. And also, this is very fragile code, since
we do not even know why it would work or not.

Angus> Where do you want me to add the std::flush? 

Because I know it exists and because it may magically repair some
broken insternal thing. I don't know really.

Angus> Why does the top bit of code work, but not the bottom one?

I really cannot understand that. What happens if you comment out
        tcpreamble << tclass.preamble();

Can it be that sending an empty string is wrong?

JMarc

Reply via email to