- Makefile: Add indermediate tex target for debugging

- Template pdf: finetune for rendering non-print style
- Set correct order for chapters
This commit is contained in:
2022-09-23 09:16:23 +02:00
parent 4536f1330a
commit 800cd9271c
6 changed files with 71 additions and 6 deletions

View File

@ -236,6 +236,10 @@ $if(beamer)$
\geometry{$for(geometry)$$geometry$$sep$,$endfor$}
$else$
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
$if(noprint)$
\geometry{left=2cm}
\geometry{right=2cm}
$endif$
$endif$
$endif$
$if(beamer)$
@ -400,6 +404,49 @@ $if(logo)$
$endif$
$endif$
%
% header and footer
%
$if(beamer)$
$else$
$if(disable-header-and-footer)$
$else$
\usepackage[headsepline,footsepline]{scrlayer-scrpage}
\newpairofpagestyles{eisvogel-header-footer}{
\clearpairofpagestyles
\ihead*{$if(header-left)$$header-left$$else$$title$$endif$}
\chead*{$if(header-center)$$header-center$$else$$endif$}
\ohead*{$if(header-right)$$header-right$$else$$date$$endif$}
\ifoot*{$if(footer-left)$$footer-left$$else$$endif$}
\cfoot*{$if(footer-center)$$footer-center$$else$$endif$}
\ofoot*{$if(footer-right)$$footer-right$$else$\thepage$endif$}
\addtokomafont{pageheadfoot}{\upshape}
}
\pagestyle{eisvogel-header-footer}
% TODO
%$if(book)$
%\deftripstyle{ChapterStyle}{}{}{}{}{\pagemark}{}
%\renewcommand*{\chapterpagestyle}{ChapterStyle}
%$endif$
$if(page-background)$
\backgroundsetup{
scale=1,
color=black,
opacity=$if(page-background-opacity)$$page-background-opacity$$else$0.2$endif$,
angle=0,
contents={%
\includegraphics[width=\paperwidth,height=\paperheight]{$page-background$}
}%
}
$endif$
$endif$
$endif$
\begin{document}
$if(has-frontmatter)$
\frontmatter