Herbert et al,

Just checked the patch. For endfloat to work, it needs the following

os << "\n\\end{" << tmptype << "}\n";

rather than

os << "\\end{" << tmptype << "}%\n";

which was the original line.

i.e. end{float}\n, rather than end{float}%

No other change appear necessary. I also check using a figure with an ERT
comment after it, in a float, at that went through fine.

Following the discussion on lyx-devel, I don't know what chance this has
of being included. Just as a final comment, I would say that in the
exported tex file, I find it easier to follow if the floats start and end
on new lines.

Thanks,
Rod


On Tue, 30 Apr 2002, Herbert Voss wrote:

> Rod Pinna wrote:
> 
> > Herbert,
> > 
> > Two questions...
> > 
> > 1/ will this patch apply to lyx-1.2.0pre4. I don't follwo the CVS branch.
> > 2/ if it does...how do I apply it. Just to show my cluelessness :)
> > 
> > If it can be applied, I'll give it a try tomorrow (mt time), and let you
> > know how it goes.
> 
> 
> an easy way is to look in the patch. in the beginning
> of each part you see the start line. look for this
> in the file src/insets/insetfloat.C (latex) and change
> the line the one which is maeked with +
> 
> the changes in insetgraphics.C are not important to you.
> 
> 
> Herbert
> 
> 
> 
> -- 
> http://www.lyx.org/help/
> 


_________________________________________________________________________
rpinna    |"Zoeggeler denies Hackl four straight luge golds"
@civil.uwa|    
.edu.au   |   ABC news headline, 2002




Reply via email to