I'm using the document class book with the openany option in order to avoid those blank pages between chapters.
Still a blank page comes out between the preface and the first chapter.
Note: this is a Serbian text, in order to help you find out the page in question, it has the vi (roman) numeral in the heading, on the left.
Page Layout ⇒ Strange blank page after the preface
Strange blank page after the preface
- Attachments
-
- Историја Византиског Царства.tex
- History of the Byzantine Empire
- (98.91 KiB) Downloaded 450 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

Strange blank page after the preface
Bump! Here is some code, maybe this will help you to understand the issue.
Code: Select all
Code, edit and compile here:
\documentclass[a4paper, 12pt, openany]{book}\usepackage{fullpage}\usepackage{fontspec}\defaultfontfeatures{Mapping=tex-text}\setmainfont{Minion Pro}\usepackage{polyglossia}\setmainlanguage{serbian}\setotherlanguages{french, latin}\usepackage{xunicode}\usepackage{xltxtra}\usepackage{bookmark}\title{ИСТОРИЈА ВИЗАНТИСКОГ ЦАРСТВА}\author{Шарл Дил}\date{Јули 1919}\begin{document}\frontmatter\maketitle\tableofcontents\chapter{ПРЕДГОВОР}\mainmatter\chapter{bla}\chapter{bla}\end{document}
Strange blank page after the preface
This is caused by
You can see that it issues
Regards
\mainmatter
. In the book
class it has the definition
Code: Select all
\cleardoublepage\@mainmattertrue\pagenumbering{arabic}}
\cleardoublepage
. You can redefine it, though:
Code: Select all
Code, edit and compile here:
\makeatletter\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}\makeatother
\makeatletter
and \makeatother
are necessary due to the @
in \@mainmattertrue
.Regards
site moderator & package author
Strange blank page after the preface
Hi cgnieder!cgnieder wrote:This is caused by\mainmatter
. In thebook
class it has the definitionYou can see that it issuesCode: Select all
\cleardoublepage\@mainmattertrue\pagenumbering{arabic}}\cleardoublepage
. You can redefine it, though:Code: Select all
Code, edit and compile here:\makeatletter\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}\makeatother\makeatletter
and\makeatother
are necessary due to the@
in\@mainmattertrue
.
Regards
Thanks for your help, this solved my issue!
Regards