Re: Cannot Get Headings Correct -- RESOLVED!

2005-01-13 Thread Rich Shepard
On Thu, 13 Jan 2005, Juergen Spitzmueller wrote:

> The following preamble snippet works here:

Jürgen,

   Prefect! Thank you very much.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Cannot Get Headings Correct

2005-01-13 Thread Juergen Spitzmueller
Rich Shepard wrote:
> Oops! I have it backwards: the chapter titles are present on the
> even-number pages and the section titles are missing. Same as you've seen.
> Glad I checked!

Rich,

it turned out that there are problems between scrpage2 and the babel package. 
Some of scrpage2's commands have to be initialized after babel, else they 
will be owerwritten. LyX, however, always loads babel in the last place.

The following preamble snippet works here:

\usepackage{scrpage2}
\AtBeginDocument{\automark[section]{chapter}}
\pagestyle{scrheadings}
\clearscrheadfoot 
\ohead{\headmark} 
\cfoot[\pagemark]{\pagemark}
\setheadsepline{0.4pt}
\renewcommand{\headfont}{\normalfont\rmfamily\slshape}

Regards,
Jürgen


Re: Cannot Get Headings Correct

2005-01-12 Thread Rich Shepard
On Wed, 12 Jan 2005, Rich Shepard wrote:

>   Well, there's a bit of progress to report. Now that the document is 10
> pages long (in 2 chapters), the section heads appear on the even-number
> pages, but the chapter titles do not appear on the odd-number pages. The
> opposite of what you've seen.

   Oops! I have it backwards: the chapter titles are present on the
even-number pages and the section titles are missing. Same as you've seen.
Glad I checked!

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Cannot Get Headings Correct

2005-01-12 Thread Rich Shepard
On Tue, 11 Jan 2005, Juergen Spitzmueller wrote:

> I have had some similar problems with section titles only (chapter titles
> work) and specific versions of KOMA (including the most recent one). Maybe
> this is a bug in KOMA. Can you send me the document again, please,
> mentioning your KOMA version? Note that I'm not at home for the next days.
> In the meantime, you might try if an explicit \leftmark and \rightmark
> helps (or switch back to fancyhdr -- sorry for the inconvenience!).

Jürgen,

   Well, there's a bit of progress to report. Now that the document is 10
pages long (in 2 chapters), the section heads appear on the even-number
pages, but the chapter titles do not appear on the odd-number pages. The
opposite of what you've seen.

   Why the section titles were not visible before I don't know.

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Cannot Get Headings Correct

2005-01-11 Thread Juergen Spitzmueller
Rich Shepard wrote:

> I'm using the Koma-script report class and addchap/addsect for divisions.
> The headings do not have the Chapter/Section titles on them and I cannot
> figure out why.

Rich,

I have had some similar problems with section titles only (chapter titles
work) and specific versions of KOMA (including the most recent one). Maybe
this is a bug in KOMA. Can you send me the document again, please,
mentioning your KOMA version? Note that I'm not at home for the next days.
In the meantime, you might try if an explicit \leftmark and \rightmark helps
(or switch back to fancyhdr -- sorry for the inconvenience!).

Regards,
Jürgen



Cannot Get Headings Correct

2005-01-10 Thread Rich Shepard
   I'm using the Koma-script report class and addchap/addsect for divisions.
The headings do not have the Chapter/Section titles on them and I cannot
figure out why.

   Here's the beginning of the file:

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrreprt
\begin_preamble
\usepackage{scrpage2}
\automark[section]{chapter} % use chapters on odd, sections on even sides
\clearscrheadings   % clear all header fields
\ohead{\headmark}   % chapter and section in outer head
\cfoot{\pagemark}% page in center foot
\setheadsepline{0.4pt}
\renewcommand{\headfont}{\normalfont\rmfamily\slshape}
\pagestyle{scrheadings}
\end_preamble
\language english
\inputencoding auto
\fontscheme palatino
\graphics default
\paperfontsize default
\spacing single
\papersize letterpaper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0 
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3 
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2 
\paperpagestyle default

   The only quibble I see is that \papersize is letterpaper while
\paperpackage is a4; I want the former (US letter).

   Does anyone see what I have mis-configured so that the headings are empty
except for the separation line?

TIA,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863