Skip to content

Commit

Permalink
Fix PDF build (#1)
Browse files Browse the repository at this point in the history
- Remove unnecessary contents header.
- Fix footer contents

Co-authored-by: André Lahmann <lahmann@ub.uni-leipzig.de>
  • Loading branch information
demiankatz and lahmann authored Oct 25, 2021
1 parent 5f8bdac commit 409ad01
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
13 changes: 12 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@
# -- Options for LaTeX output ---------------------------------------------

latex_elements = {
'fncychap': r'\usepackage[Conny]{fncychap}',

# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
Expand All @@ -257,7 +259,16 @@

# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',
'preamble': r'''
\renewcommand{\thechapter}{}
\renewcommand{\FmN}[1]{}
\setcounter{chapter}{-1}
\setcounter{secnumdepth}{0}
\renewcommand{\numberline}[1]{}
\fancypagestyle{normal}{
\fancyfoot[LO,RE]{\nouppercase{\rightmark}}
}
''',

# Latex figure (float) alignment
#
Expand Down
5 changes: 1 addition & 4 deletions source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
Welcome to Learning VuFind!
===========================

Contents:
#########

.. toctree::
:maxdepth: 2

Expand Down Expand Up @@ -72,4 +69,4 @@ _______________________________________________

16-introduction_to_laminas
17-vufind_plug-ins
18-controllers_and_actions
18-controllers_and_actions

0 comments on commit 409ad01

Please sign in to comment.