Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/print.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ name: Print Book

on:
push:
branches: [ "main" ]
branches:
- main
- 'feat/*'
pull_request:
branches: [ "main" ]
branches:
- main

jobs:

Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
IMAGE_NAME = facile:latest
CONTAINER_NAME = builder

ARTEFACT = ./tmp/book.pdf

docker-build:
docker build -t $(IMAGE_NAME) .

Expand All @@ -18,5 +20,8 @@ clean:

inside: clean docker-run
mkdir -p tmp
docker cp $(CONTAINER_NAME):/work/output/main.pdf ./tmp/book.pdf
docker cp $(CONTAINER_NAME):/work/output/main.pdf ${ARTEFACT}
docker cp $(CONTAINER_NAME):/work/output/main.log ./tmp/book.log

quick: inside
xdg-open ${ARTEFACT}
42 changes: 36 additions & 6 deletions book/chapters/01_einleitung.tex
Original file line number Diff line number Diff line change
@@ -1,9 +1,39 @@
\chapter{Einleitung}
\selectlanguage{ngerman}
Dies ist die deutsche Einleitung.

\selectlanguage{latin}
Brevis est velit, sed verae litterae manent.
\begin{center}
\includegraphics[width=0.8\textwidth]{images/intro.png}
\end{center}

\selectlanguage{ngerman}
Weitere Hinweise auf die Edition.
% \textbf{Mater:} Salve, parva.\\
% \textbf{Parva:} Salve, Mater.\\

% \textbf{Mater:} Ecce pila.\\
% \textbf{Parva:} Pila!\\

% \textbf{Mater:} Pila magna est.\\
% \textbf{Parva:} Magna pila.\\

% \textbf{Mater:} Ludamus pila.\\
% \textbf{Parva:} Ludere pila!\\

% \textbf{Mater:} Pilam volvo.\\
% \textbf{Parva:} Pila venit!\\

% \textbf{Mater:} Pilam pulsas.\\
% \textbf{Parva:} Pulsare pila.\\

% \textbf{Mater:} Pila longe it.\\
% \textbf{Parva:} Vale, pila!\\

% \textbf{Mater:} Bene lusisti, parva.\\

% \selectlanguage{ngerman}
% Dies ist die deutsche Einleitung.

% \selectlanguage{latin}
% Brevis est velit, sed verae litterae manent.

% \selectlanguage{ngerman}
% Weitere Hinweise auf die Edition.

\newpage
24 changes: 22 additions & 2 deletions book/chapters/03_abschluss.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
\chapter{Abschluss}
\selectlanguage{ngerman}
Schlussbemerkungen und Danksagung.

\begin{center}
\includegraphics[width=0.8\textwidth]{images/outro.png}
\end{center}

% Lepus: Salve!
% Ursus: Salve!
% Anas: Salve!
% Lepus: Esurio.
% Ursus: Ego quoque.
% Anas: Ego quoque.
% Lepus: Carotam habeo.
% Ursus: Mel habeo.
% Anas: Panem habeo.
% Lepus: Partimur?
% Ursus: Ita!
% Anas: Ita!
% Lepus: Hoc bonum est.
% Ursus: Amici boni sunt.
% Anas: Amici sumus!

\newpage
Binary file added book/images/intro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/images/outro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions book/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
\usepackage{microtype}

\usepackage{graphicx}
\graphicspath{{book/images/}}

\usepackage{biblatex}
\addbibresource{bibliography.bib}
Expand Down