Preamble code from the layout file gets double linespacing

2005-10-24 Thread Helge Hafting

I just tried recompiling todays cvs.  Running this lyx gave strange
results.  Any latex code from the preamble gets double linespacing,
like this:

\newcommand{\mycommand}{

\something

\something

}



which go wrong, as paragraph breaks are not allowed in commands.
I am rebuilding after a make clean, to see if that makes things
better.

Helge Hafting



Re: Preamble code from the layout file gets double linespacing

2005-10-24 Thread Georg Baum
Helge Hafting wrote:

 I just tried recompiling todays cvs.  Running this lyx gave strange
 results.  Any latex code from the preamble gets double linespacing,
 like this:
 
 \newcommand{\mycommand}{
 
 \something
 
 \something
 
 }
 
 
 
 which go wrong, as paragraph breaks are not allowed in commands.
 I am rebuilding after a make clean, to see if that makes things
 better.

It will not help. You found a bug in the new layout file converter. You need
to add the line

Format 2

as first non-comment line in all layout files that are already in 1.4
format.


Georg



Preamble code from the layout file gets double linespacing

2005-10-24 Thread Helge Hafting

I just tried recompiling todays cvs.  Running this lyx gave strange
results.  Any latex code from the preamble gets double linespacing,
like this:

\newcommand{\mycommand}{

\something

\something

}



which go wrong, as paragraph breaks are not allowed in commands.
I am rebuilding after a make clean, to see if that makes things
better.

Helge Hafting



Re: Preamble code from the layout file gets double linespacing

2005-10-24 Thread Georg Baum
Helge Hafting wrote:

 I just tried recompiling todays cvs.  Running this lyx gave strange
 results.  Any latex code from the preamble gets double linespacing,
 like this:
 
 \newcommand{\mycommand}{
 
 \something
 
 \something
 
 }
 
 
 
 which go wrong, as paragraph breaks are not allowed in commands.
 I am rebuilding after a make clean, to see if that makes things
 better.

It will not help. You found a bug in the new layout file converter. You need
to add the line

Format 2

as first non-comment line in all layout files that are already in 1.4
format.


Georg



Preamble code from the layout file gets "double linespacing"

2005-10-24 Thread Helge Hafting

I just tried recompiling todays cvs.  Running this lyx gave strange
results.  Any latex code from the preamble gets double linespacing,
like this:

\newcommand{\mycommand}{

\something

\something

}



which go wrong, as paragraph breaks are not allowed in commands.
I am rebuilding after a make clean, to see if that makes things
better.

Helge Hafting



Re: Preamble code from the layout file gets "double linespacing"

2005-10-24 Thread Georg Baum
Helge Hafting wrote:

> I just tried recompiling todays cvs.  Running this lyx gave strange
> results.  Any latex code from the preamble gets double linespacing,
> like this:
> 
> \newcommand{\mycommand}{
> 
> \something
> 
> \something
> 
> }
> 
> 
> 
> which go wrong, as paragraph breaks are not allowed in commands.
> I am rebuilding after a make clean, to see if that makes things
> better.

It will not help. You found a bug in the new layout file converter. You need
to add the line

Format 2

as first non-comment line in all layout files that are already in 1.4
format.


Georg