On Fri, Jul 20, 2007 at 02:42:35PM +0300, Dov Feldstern wrote:
> José Matos wrote:
> >On Friday 20 July 2007 09:42:40 Michael Gerz wrote:
> >>Hmpf.... wasn't the removal of the const-ness the major reason why my
> >>change tracking patch was rejected?
> >>
> >>Michael
> >
> >You are right. It seems that we need some kind of state machine to run 
> >across latex/docbook generation. And the OutputParams is not the answer.
> >
> 
> Long term, we certainly need to do some major rethinking of the whole 
> latex generation, IMO. The current situation seems very fragile. I'm not 
> sure what the problem is or how to make this easier, but here are some 
> thoughts on this.

A newline-counting stream might already help a bit.

I guess that's a nice little project for Bromarv for me.

> Finally, we may also need a third object, which represents the current 
> state of the output mechanism: e.g., the current encoding. Regardless of 
> what LyX or latex thinks the current encoding is (or maybe they don't 
> even care), the output mechanism must know how the character it's about 
> to output is going to be encoded.

Could be done by the outputstream itself, too.

Andre'

Reply via email to