Skip to content

Commit e98788c

Browse files
committed
Fix for the PDF cover
1 parent b594f45 commit e98788c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ def __init__(self, **options):
319319
latex_elements = {
320320
'fontpkg': '\\usepackage{lmodern}',
321321
'fncychap': r'''%
322+
\usepackage{pdfpages}%
322323
\usepackage[Sonny]{fncychap}%
323324
\ChRuleWidth{1.5pt}%
324325
\ChNumVar{\fontsize{76}{80}\sffamily\slshape}
@@ -327,9 +328,7 @@ def __init__(self, **options):
327328
'babel': '\usepackage[english]{babel}',
328329
'releasename': 'Edition',
329330
'maketitle':
330-
r'''\hspace*{-.05\linewidth}\rule{0pt}{\textheight}\smash{\rlap{%
331-
\includegraphics[width=1.1\linewidth]{cover-v2}}%
332-
}%
331+
r'''\includepdf[noautoscale]{cover-v2}
333332
\makeatletter%
334333
\hypersetup{
335334
pdfinfo={

0 commit comments

Comments
 (0)