Skip to content

Commit 0ce7d94

Browse files
holzingkfricklerhandwerk
authored andcommitted
Fix latex build
1 parent 83a18b8 commit 0ce7d94

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@
256256

257257
latex_elements = {
258258
# The paper size ('letterpaper' or 'a4paper').
259-
#'papersize': 'letterpaper',
259+
'papersize': 'a4paper',
260260
# The font size ('10pt', '11pt' or '12pt').
261261
#'pointsize': '10pt',
262262
# Additional stuff for the LaTeX preamble.
263-
#'preamble': '',
263+
'preamble': '\setcounter{tocdepth}{3}',
264264
# Latex figure (float) alignment
265265
#'figure_align': 'htbp',
266266
}
@@ -278,6 +278,7 @@
278278
),
279279
]
280280

281+
latex_engine = "xelatex"
281282
# The name of an image file (relative to this directory) to place at the top of
282283
# the title page.
283284
# latex_logo = None
@@ -286,6 +287,8 @@
286287
# not chapters.
287288
# latex_use_parts = False
288289

290+
latex_use_xindy = False
291+
289292
# If true, show page references after internal links.
290293
# latex_show_pagerefs = False
291294

0 commit comments

Comments
 (0)