Rich Shepard wrote: > > Last evening I came up against a problem with section numberin changes > that I could not resolve. It occurred in two imported text documents, one I > declared an article the other a report. Both are software manuals (one an > admin guide the other a user guide) I was sent via e-mail. The version of > LyX is 1.1.6fix3. > > When I imported the first document I tried both the report and article > classes to see which would print in a format I preferred. When I declared > the first section as a "section" it was numbered '1', and sub-sections were > '1.1' and '1.2' then '2' and so on. I changed the document type from article > to report and the numbers changed to begin with '0' rather than '1'. I > couldn't find where to change them back again. > > Putting that aside for a while, I imported the second manual changing the > document class to 'report'. As soon as I specified the first heading as a > "section", it was numbered '0'. > > I'm sure this is a simple user error, but I didn't see in the on-line > references how to change it back again. I'd appreciate a pointer to the > solution. > > Thanks, > > Rich > > Dr. Richard B. Shepard, President >
IIRC, the highest level header in an article is ¨section¨ while the highest level in a report (book?) is ¨Chapter¨, so basically what is happening is correct, since you don't have declared a chapter. Unfortunately i don't know a way to automatically change all section headers in chapter headers (subsection to section etc..) except for manually replacing it. You might consider editing the lyx file in an editor (joe, vi, emacs) and change all the \section{ to \chapter{ etc.. Perhaps someone the list knows a better way..