Commit 28fa0945 authored by Konrad Völkel's avatar Konrad Völkel
Browse files

build a pdf

parent 835ee83f
Pipeline #90589 failed with stages
in 34 seconds
......@@ -21,6 +21,7 @@ jupyter-build:
- pip install -r requirements.txt -v
- jupyter-book clean .
- jupyter-book build . --builder html
- jupyter-book build . --builder pdflatex
artifacts:
paths:
- _build/
......@@ -30,6 +31,7 @@ pages:
image: busybox:latest
script:
- mv _build/html public
- mv _build/latex/*.pdf public/
artifacts:
paths:
- public
......
......@@ -3,11 +3,12 @@ description: >-
Vorlesungsskript für die Vorlesung "Data Science" an der HHU Düsseldorf
author: "Konrad Völkel"
email: "datascience@konradvoelkel.com"
copyright: "2022"
copyright: "2022 CC-BY-SA 4.0"
release: "0.1"
logo: "images/logo-wide.svg"
exclude_patterns: ["README.md", "LICENSE", ".git/*", ".venv/*"]
only_build_toc_files: true
execute:
execute_notebooks: off
......@@ -26,9 +27,10 @@ html:
#use_edit_page_button: true
use_multitoc_numbering: true
favicon: "images/favicon.ico"
baseurl: "https://voelkel.pages.cs.uni-duesseldorf.de/lecturescript/"
latex:
latex_engine: lualatex #pdflatex #lualatex
latex_engine: "xelatex" #pdflatex #lualatex
use_jupyterbook_latex: true
latex_documents:
targetname: datascience-skript.tex
......@@ -45,8 +47,9 @@ parse:
- html_image
sphinx:
html_show_copyright: false
config:
html_show_copyright: false
html_baseurl: "https://voelkel.pages.cs.uni-duesseldorf.de/lecturescript/"
execution_show_tb: True
latex_elements:
preamble: |+
......@@ -59,3 +62,6 @@ sphinx:
latex_toplevel_sectioning: 'section'
latex_elements.papersize: a4paper
latex_elements.pointsize: 12pt
# extra_extensions:
# - sphinx_sitemap
# - sphinx_multitoc_numbering
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment