mirror of
https://github.com/hmemcpy/milewski-ctfp-pdf.git
synced 2024-11-23 04:15:23 +03:00
Fixing print page count
This commit is contained in:
parent
3a30abaf3f
commit
bb51c39a79
@ -1,4 +1,7 @@
|
||||
% !TEX root = ctfp-print.tex
|
||||
% !TEX TS-program = xelatex
|
||||
% !TEX encoding = UTF-8 Unicode
|
||||
|
||||
% This is a main LaTeX file for generating the CTFP book
|
||||
% for printing in US-trade format, suitable for binding.
|
||||
% The links are black in this version.
|
||||
|
@ -1,4 +1,7 @@
|
||||
% !TEX root = ctfp-reader.tex
|
||||
% !TEX TS-program = xelatex
|
||||
% !TEX encoding = UTF-8 Unicode
|
||||
|
||||
% This is a main LaTeX file for generating the CTFP book
|
||||
% for printing in US-trade format, suitable for binding.
|
||||
% The links are black in this version.
|
||||
|
10
src/ctfp.tex
10
src/ctfp.tex
@ -1,8 +1,10 @@
|
||||
\includepdf[scale=0.92]{coverpage.pdf}
|
||||
\input{copyright}
|
||||
\frontmatter
|
||||
\afterpage{\blankpage}
|
||||
|
||||
\frontmatter
|
||||
\tableofcontents
|
||||
\afterpage{\blankpage}
|
||||
|
||||
\chapter*{Preface}
|
||||
\addcontentsline{toc}{chapter}{Preface}
|
||||
@ -114,10 +116,14 @@
|
||||
\subfile{content/3.15/Monads, Monoids, and Categories}
|
||||
|
||||
\backmatter
|
||||
\afterpage{\blankpage}
|
||||
|
||||
\appendix
|
||||
\addcontentsline{toc}{part}{Appendices}
|
||||
\input{index}
|
||||
\afterpage{\blankpage}
|
||||
|
||||
\makeatletter\@openrightfalse
|
||||
\chapter*{Acknowledgments}\label{acknowledgments}
|
||||
\addcontentsline{toc}{chapter}{Acknowledgments}
|
||||
\input{acknowledgments}
|
||||
@ -129,5 +135,7 @@
|
||||
\chapter*{Copyleft notice} % Missing Label -Jared
|
||||
\addcontentsline{toc}{chapter}{Copyleft notice}
|
||||
\input{free-software}
|
||||
\@openrighttrue\makeatother
|
||||
\afterpage{\blankpage}
|
||||
|
||||
\input{postamble}
|
@ -90,6 +90,13 @@
|
||||
linkcolor=LinkRed,
|
||||
urlcolor=LinkRed,
|
||||
}
|
||||
\usepackage{afterpage}
|
||||
\newcommand\blankpage{%
|
||||
\null
|
||||
\thispagestyle{empty}%
|
||||
\addtocounter{page}{-1}%
|
||||
\newpage}
|
||||
|
||||
\usepackage{subfiles}
|
||||
\makeatletter
|
||||
\let\org@subfile\subfile
|
||||
|
Loading…
Reference in New Issue
Block a user