On Wednesday 13 July 2005 08:10, Georg Baum wrote:
> > Notice that I make add_to_preamble a little bit more robust. It is no
> > error for a lyx file not to have a preamble, so if it does not have one
> > we add it.
>
> Why? LyX 1.3 does not write a preamble if it would be empty, so I see no
> reason for lyx2lyx to add one. I would rather simply remove the warning.

  But if you intend to write something in the preamble and there isn't any 
preamble then we create one and add the text there, as it would happen if 
there was a preamble initially.

  That is what I changed, I add a preamble to the header if necessary, 
instead of giving up if there is none.

> Georg

-- 
José Abílio

Reply via email to