[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug fix for TeX backend
Thanks. That's right except that preserveSdata_ should be initialized
to false.
Paul Antonov wrote:
>
> Greetings,
>
> there's a bug in TeX backend - TeXFOTBuilder::preserveSdata_ being
> used uninitialized, and this caused a very strange behaviour sometimes
> (Jade generated Unicode character codes for entities like ™
> instead of entity names used in Jadetex). Minor changes in the document
> triggered this bug forth and back again, and that was very annnoying :)
>
> This is a patch for jade-1.1.
>
> -- Paul
>
> *** jade/TeXFOTBuilder.cxx.orig Wed Mar 11 14:46:29 1998
> --- jade/TeXFOTBuilder.cxx Wed Mar 11 14:47:52 1998
> ***************
> *** 593,599 ****
> ////////////////////////////////////////////////////////////////////////
>
> TeXFOTBuilder::TeXFOTBuilder(OutputByteStream *o, Messenger *mgr)
> ! : fileout_(o), mgr_(mgr)
> {
> os() << "\\FOT{}";
> }
> --- 593,599 ----
> ////////////////////////////////////////////////////////////////////////
>
> TeXFOTBuilder::TeXFOTBuilder(OutputByteStream *o, Messenger *mgr)
> ! : fileout_(o), mgr_(mgr), preserveSdata_(true)
> {
> os() << "\\FOT{}";
> }