From 939940925a34d1d1bde89143145e17ee5f4b6636 Mon Sep 17 00:00:00 2001
From: Jan Ulrich Hasecke <jan.ulrich@hasecke.com>
Date: Thu, 24 Oct 2019 15:22:52 +0200
Subject: [PATCH] Kapitel Erstes Einloggen fertig

---
 source/conf.py |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/source/conf.py b/source/conf.py
index e4cffdd..614af97 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -20,8 +20,11 @@
 from subprocess import check_output
 import sphinx_rtd_theme
 
-changesetid = check_output(["git", "--git-dir=.git", "rev-parse", "--short", "HEAD"]).decode("utf-8").strip()
-changesetidlong = check_output(["git", "--git-dir=.git", "rev-parse", "HEAD"]).decode("utf-8")
+changesetid = check_output(["git", "rev-parse", "--short", "HEAD"]).decode("utf-8")[:7]
+
+numfig = True
+numfig_secnum_depth = 3
+math_numfig = False
 
 # -- Project information -----------------------------------------------------
 
@@ -76,16 +79,16 @@
 latex_elements = {
     'passoptionstopackages': r'\PassOptionsToPackage{svgnames}{xcolor}',
     'fontpkg': r'''
-        \setmainfont{TeX Gyre Pagella}%
+        \setmainfont{TeX Gyre Heros}%
         \setsansfont{TeX Gyre Heros}%
 %        \setmonofont[RawFeature=-tlig]{TeX Gyre Cursor}%
         \setmonofont[Ligatures={NoRequired, NoCommon, NoContextual}]{TeX Gyre Cursor}
         ''',
-    'preamble': r'\input{mystyle.sty}',
+    'preamble': r'\input{./mystyle.sty}',
     'releasename': 'Version',
     'fncychap': r'\usepackage[Bjornstrup]{fncychap}',
     'printindex': r'\footnotesize\raggedright\printindex',
-    'maketitle' : r'\newcommand\sphinxbackoftitlepage{\vspace*{\fill}\noindent \copyright\ Jan Ulrich Hasecke 2019\par Herausgeber:\par hasecke.com -- Business Communication \par Jan Ulrich Hasecke \par Schubertstra├če 4 \par 42719 Solingen \par Deutschland \par\par ISBN-13 9781793008770 \par Independently published}\sphinxmaketitle',
+    'maketitle' : r'\newcommand\sphinxbackoftitlepage{\vspace*{\fill}\noindent Herausgeber: \par Hostsharing eG \par Flughafenstra├če 52a \par 22335 Hamburg}\sphinxmaketitle',
     'sphinxsetup': r'''
          verbatimwithframe=false,
          VerbatimColor={cmyk}{0,0,0,0.1},
@@ -109,6 +112,13 @@
    'fvset': r'\fvset{fontsize=\footnotesize}',
 }
 
+latex_additional_files = ['mystyle.sty']
+
+latex_docclass = {'manual': 'book',}
+latex_show_pagerefs = True
+latex_show_urls = 'footnote'
+latex_use_xindy = False
+
 def setup(app):
     app.add_object_type('role', 'role',
     objname='Rolle',

--
Gitblit v1.9.0-SNAPSHOT