@@ -278,12 +278,6 @@ def __init__(self, **options):
278
278
# Options for LaTeX output
279
279
# ------------------------
280
280
281
- # The paper size ('letter' or 'a4').
282
- #latex_paper_size = 'letter'
283
-
284
- # The font size ('10pt', '11pt' or '12pt').
285
- #latex_font_size = '10pt'
286
-
287
281
# Latex references with page numbers (only Sphinx 1.0)
288
282
latex_show_pagerefs = False
289
283
@@ -299,19 +293,12 @@ def __init__(self, **options):
299
293
# the title page.
300
294
latex_logo = 'images/cover.pdf'
301
295
302
- # For "manual" documents, if this is true, then toplevel headings are parts,
303
- # not chapters.
304
- latex_use_parts = True
305
-
306
- # Documents to append as an appendix to all manuals.
307
- #latex_appendices = []
308
-
309
- # If false, no module index is generated.
310
- latex_use_modindex = False
311
-
296
+ # Latex settings
297
+ latex_toplevel_sectioning = 'part'
298
+ latex_domain_indices = False
312
299
313
300
# Additional stuff for the LaTeX preamble.
314
- latex_preamble = r"""
301
+ preamble = r"""
315
302
\definecolor{VerbatimColor}{rgb}{0.961, .98, 1.}
316
303
\definecolor{VerbatimBorderColor}{rgb}{0.6,0.6,0.6}
317
304
\usepackage{graphics}
@@ -359,7 +346,7 @@ def __init__(self, **options):
359
346
"""
360
347
361
348
latex_elements = {
362
- 'preamble' : latex_preamble ,
349
+ 'preamble' : preamble ,
363
350
'fontpkg' : '\\ usepackage{lmodern}' ,
364
351
'fncychap' : r'''%
365
352
\usepackage[Sonny]{fncychap}%
0 commit comments