Please file a bug report, attaching this file. I've been able to reproduce this using 1.5.svn. Please add me as a cc when you do. I'll add some comments.
First, I'm not sure this is really what you want to do. I can make it work, but you get the section number centered and then the section title flush left on the next line. If that really is what you want, then export the file to LaTeX and open it in a text editor. The section headings look like this: \section{\noindent \protect\begin{flushleft} My section\protect \par\end{flushleft}} The "\par" is the offending item. Delete it and you're fine. So, granted, you don't want to do that all the time. So instead of using paragraph settings, use ERT and, at the beginning and end of the section material. In the first, put " \protect\begin{flushleft}"; at the end, put " \protect\end{flushleft}". As I said, though, I doubt that's really the formatting you want. As you note, the amsbook class centers the headings. That's AMS style. The easiest way to change it is to use a package like titlesec: http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/ Unfortunately, titlesec doesn't seem to be working with AMS on my system. It's supposed to. So, try putting this in your preamble instead: [EMAIL PROTECTED] [EMAIL PROTECTED]@plus\linespacing}{.5\linespacing}% {\normalfont\bfseries}} That just redefines the section environment. Richard Mike Rechard wrote: > Hi all, > > I am using book(ams) in lyx version 1.5 (the something in 1.4 as well), > Any 'Section' after a 'Chapter' will be line-center by default and if I > change the alignment to 'left' I am getting the error > "Paragraph ended before [EMAIL PROTECTED] was complete" > > Any idea why? > > Note if I use book class instead of book(ams) then things are fine, but I > need to use ams. > > Please help > > Mike Rechard > MKS researcher. > > below is the minimal example to reproduce: > > #LyX 1.5.0beta1 created this file. For more info see http://www.lyx.org/ > \lyxformat 262 > \begin_document > \begin_header > \textclass amsbook > \language english > \inputencoding auto > \font_roman default > \font_sans default > \font_typewriter default > \font_default_family default > \font_sc false > \font_osf false > \font_sf_scale 100 > \font_tt_scale 100 > \graphics default > \paperfontsize default > \spacing single > \papersize default > \use_geometry false > \use_amsmath 1 > \use_esint 1 > \cite_engine basic > \use_bibtopic false > \paperorientation portrait > \secnumdepth 3 > \tocdepth 3 > \paragraph_separation indent > \defskip medskip > \quotes_language english > \papercolumns 1 > \papersides 1 > \paperpagestyle default > \tracking_changes false > \output_changes false > \author "Administrator" > \end_header > > \begin_body > > \begin_layout Chapter > Introduction > \end_layout > > \begin_layout Section > \noindent > \align left > My section > \end_layout > > \end_body > \end_document > > > > > > > ____________________________________________________________________________________ > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures list. > http://tv.yahoo.com/collections/265 > -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto