Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have to submit my thesis tomorrow and al of a suddon do not get any pagenumbers for any but the first page of the chapters. Anybody out there who can help me? I fear I do not have time to build a mwe sadly.

Preamble settings:

\documentclass[b5paper,pagesize,11pt,DIV=calc,BCOR=8mm,parskip=false,bibtotoc,hidelinks]{scrbook}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{url}
\usepackage{rotating}
\usepackage{soul}
\usepackage{tocbasic}
\usepackage{tabularx}
\usepackage{array} %tabularx needs array!
\usepackage{todonotes}
\usepackage{polyglossia}
    \setmainlanguage[variant=american]{english}
    \setotherlanguage{german}

\usepackage{csquotes}
\usepackage{import}
\usepackage[grey,bookman]{quotchap}
\usepackage{xltxtra}
\usepackage{amsmath}
\usepackage{bbm}
\usepackage{unicode-math}
\usepackage{xr} %allow external references
\usepackage{afterpage}
\usepackage{pdflscape}
\usepackage{eso-pic} %exact placement of figures

\usepackage{siunitx} 
\usepackage{booktabs}
\usepackage{epsf}
\usepackage{color}
\usepackage{colortbl}
\usepackage{multirow}
\usepackage{xspace}
\usepackage{tikz}
\usepackage[below]{placeins} %prevents floats of getting over a FloatBarrier
\usepackage{rotating}
\XeTeXtracingfonts=1 
\usepackage[LabelsAligned]{currvita} %we need this for the integrated cv in the appendix
\usepackage{pdftexcmds}
\usepackage{caption}
\usepackage[font+=footnotesize]{subcaption}
\usepackage{verbatim}
\let\synopsis\comment
\let\endsynopsis\endcomment
\usepackage[active,
  generate=synopsis,
  extract-env={synopsis},
  extract-cmd={section},
  extract-cmdline={tableofcontents}]{extract}
\begin{extract}
\newenvironment{synopsis}{}{}
\end{extract}

My system is Debian wheezy and TeX Live 2011.

share|improve this question
4  
Please create a MWE (minimal working example) with the relevant packages. First of all -- Did you try \pagestyle{headings} –  Marco Daniel May 6 '12 at 20:10
    
I would love to, but I have to finish my thesis until 16:00 tomorrow. §00 pages of reading editing and fixing references. Sorry. Might it be related to a previous pagestyle empty? I'll give it a try –  louis cypher May 6 '12 at 22:11
    
You are lucky that you are not here. Otherwise I would kiss you ;-) I would never have found that in time. Please make an answer out of your comment. I had to deactivate the \pagestyle{empty} by a \pagestyle{heading} on the next page of course –  louis cypher May 6 '12 at 22:26
add comment

2 Answers

up vote 4 down vote accepted

scrbook defines different pagestyle for special pages. For example chapter.

\newcommand*{\titlepagestyle}{plain}
\newcommand*{\partpagestyle}{plain}
\newcommand*{\chapterpagestyle}{plain}
\newcommand*{\indexpagestyle}{plain}

If only page numbers are printed at chapter pages I guess you have the command \pagestyle{empty} somewhere in your document.

Based on this guess you can use \pagestyle{headings} to set the header and footer for "normal" text pages in your document.

share|improve this answer
add comment

I met the similar problem. I solved it by adding the following lines after every /chapter{}

\pagestyle{myheadings} \markboth{}{}

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.