Misplaced noalign error?

2008-03-02 Thread Yoav Felberbaum

Hullo all,

I'm trying to insert a page break in a document, as a section heading  
keeps getting orphaned on the previous page, which I don't want.


However, LyX keeps complaining about a Misplaced \noalign for the  
page break. Thoughts? If there's another way to keep the section  
heading with the  following CV list items, that'd work too... I'm  
using the moderncv class, and the source code in question is...

---
\cvlanguage{Miscellaneous}{}{Ipsum dolor}

\newpage{}

\section{Platforms and networks}
\cvlistitem{Mac OS X}
---

TIA!

Y.


Misplaced noalign error?

2008-03-02 Thread Yoav Felberbaum

Hullo all,

I'm trying to insert a page break in a document, as a section heading  
keeps getting orphaned on the previous page, which I don't want.


However, LyX keeps complaining about a Misplaced \noalign for the  
page break. Thoughts? If there's another way to keep the section  
heading with the  following CV list items, that'd work too... I'm  
using the moderncv class, and the source code in question is...

---
\cvlanguage{Miscellaneous}{}{Ipsum dolor}

\newpage{}

\section{Platforms and networks}
\cvlistitem{Mac OS X}
---

TIA!

Y.


Misplaced noalign error?

2008-03-02 Thread Yoav Felberbaum

Hullo all,

I'm trying to insert a page break in a document, as a section heading  
keeps getting orphaned on the previous page, which I don't want.


However, LyX keeps complaining about a "Misplaced \noalign" for the  
page break. Thoughts? If there's another way to keep the section  
heading with the  following CV list items, that'd work too... I'm  
using the moderncv class, and the source code in question is...

---
\cvlanguage{Miscellaneous}{}{Ipsum dolor}

\newpage{}

\section{Platforms and networks}
\cvlistitem{Mac OS X}
---

TIA!

Y.