Discussion:
reledmac/reledpar and scrheadings
(too old to reply)
Lindermann
2017-02-21 09:34:38 UTC
Permalink
Hello ng,

I have a problem with the parallel environment and the headers (see mwe):

The header titles of the "part one" are working fine – but in the
parallel environement of the reledpar-package, no header ist printed in
the phantomsection but only in the TOC (with wrong reference on an empty
page).

The solution with the [mainmatter] option of \Pages doesn't work. Any
hints or suggestions?

sal pl
Jens

%%%%% MWE


\listfiles
\documentclass[paper=a4,
pagesize,
twoside,
BCOR=11mm,
DIV=calc,
openany,
]{scrbook}

\usepackage[latin,english]{babel}
\usepackage{reledmac}
\usepackage{reledpar}
\usepackage[autooneside=false,automark]{scrlayer-scrpage}
\usepackage{blindtext}
\usepackage{hyperref}


\begin{document}
\tableofcontents


\part{One}
\chapter{A}
\blindtext[3]

\chapter{B}
\blindtext[2]

\chapter{C}
\blindtext[2]



\part{Two}
\begin{pages}
\pagestyle{scrheadings}
\clearpairofpagestyles
\pagestyle{scrheadings}
\thispagestyle{empty}
\phantomsection
\addcontentsline{toc}{chapter}{Author: title 1}
\cehead{\textsc{\upshape Author}}
\cohead{\textsc{\upshape title}}
\ohead{\pagemark}
\ofoot{}

\begin{Leftside}
\selectlanguage{latin}
\beginnumbering
\pstart
\blindtext[2]
\pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\selectlanguage{english}
\beginnumbering
\pstart
\blindtext[2]
\pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages[mainmatter]
\end{document}
--
Debian GNU/Linux stable

PGP-Key available
6967 949B 354F 7E9D E466 6CBE 5449 47C1 46A9 BD18
Maïeul
2017-02-21 10:33:01 UTC
Permalink
Post by Lindermann
\listfiles
\documentclass[paper=a4,
pagesize,
twoside,
BCOR=11mm,
DIV=calc,
openany,
]{scrbook}
\usepackage[latin,english]{babel}
\usepackage{reledmac}
\usepackage{reledpar}
\usepackage[autooneside=false,automark]{scrlayer-scrpage}
\usepackage{blindtext}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\part{One}
\chapter{A}
\blindtext[3]
\chapter{B}
\blindtext[2]
\chapter{C}
\blindtext[2]
\part{Two}
\begin{pages}
\pagestyle{scrheadings}
\clearpairofpagestyles
\pagestyle{scrheadings}
\thispagestyle{empty}
\phantomsection
\addcontentsline{toc}{chapter}{Author: title 1}
\cehead{\textsc{\upshape Author}}
\cohead{\textsc{\upshape title}}
\ohead{\pagemark}
\ofoot{}
\begin{Leftside}
\selectlanguage{latin}
\beginnumbering
\pstart
\blindtext[2]
\pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\selectlanguage{english}
\beginnumbering
\pstart
\blindtext[2]
\pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages[mainmatter]
\end{document}
You must call all setting of header outside of the pages environment, as
that create a local structure.

The mainmatter option is not relevant for you, as you don't use
\frontmatter and \mainmatter.
--
Maïeul Rouquette
http://geekographie.maieul.net/-LaTeX-
Lindermann
2017-02-21 10:52:16 UTC
Permalink
Post by Maïeul
You must call all setting of header outside of the pages environment, as
that create a local structure.
The mainmatter option is not relevant for you, as you don't use
\frontmatter and \mainmatter.
Seems I am blind... Thanks!

Jens
--
Debian GNU/Linux stable

PGP-Key available
6967 949B 354F 7E9D E466 6CBE 5449 47C1 46A9 BD18
Loading...