back to school ?!

This commit is contained in:
Samuel Ortion 2023-08-26 11:48:50 +02:00
parent 266b65a13b
commit 758cd67006
8 changed files with 82 additions and 60 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
build/
.auctex-auto
## Core latex/pdflatex auxiliary files:
*.aux

View File

@ -1,3 +0,0 @@
{
"ansible.python.interpreterPath": "/bin/python"
}

18
content/chapters/include.tex Executable file
View File

@ -0,0 +1,18 @@
%----------------------------------------
% CHAPTERS
%----------------------------------------
\newcommand{\includechapters}[2]{%
\foreach \i in {0, ..., #2} {%
\edef\FileName{content/chapters/#1/\i}%
\IfFileExists{\FileName}{%
\input{\FileName}%
}
}
}
\includechapters{part1}{2}
% \includechapters{part2}{2}
% \includechapters{part3}{1}

View File

@ -1,26 +1,28 @@
---
_exclude:
- .git
- copier.yml
- example
_tasks:
- git init .
- git add .
- git commit -m "Initial commit"
- git checkout -b dev
student_name:
author_name:
type: str
default: Samuel Ortion
help: Your name
author_email:
type: str
default: samuel@ortion.fr
help: Your email
teacher_name:
type: str
help: Teacher's name
teacher_email:
type: str
help: Teacher's email
course_name:
type: str
help: Course name
@ -30,11 +32,7 @@ semester:
help: Semester
default: M1 - S1
pathway:
cursus:
type: str
help: Pathway
default: GENIOMHE
title:
type: str
help: Title
help: Cursus
default: GENIOMHE

BIN
main.pdf

Binary file not shown.

View File

@ -1,19 +0,0 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LuaLaTeX Template for course notes
%
%
% Version: v0.0.1
% Author: Samuel ORTION
% Date: 2023-04-30
% License: LPPL 1.3c
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{talpa}
\author{Samuel Ortion}
\date{\today}
\title{Course notes \\ Template}
\begin{document}
\maketitle
\end{document}

View File

@ -1,10 +1,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Course of {{ course_name }}
% Course - {{ course_name }} -- {{ cursus }} -- {{ semester }}
%
% Author: Samuel ORTION <samuel@ortion.fr>
% Version: 0.0.1
% Author: {{ author_name }} <{{ author_email }}>
% Version: 0.1.0
% Date: 2023
% Licence: CC-By-SA 4.0+ International
% License: CC-By-SA 4.0+ International
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[
@ -12,35 +12,62 @@
10pt,
fleqn,
oneside
]{talpa}
]{musculus/mus}
\input{colors.tex}
\input{meta.tex}
\input{definitions.tex}
\hypersetup{
pdftitle={
Course - {{ course_name }}
},
pdfauthor={
{{ student_name }}
},
pdfsubject={},
pdfkeywords={},
pdfcreator={LaTeX}
\title{
{{ course_name }}
}
\author{
{{ author_name }}
}
\cursus{
{{ cursus }}
}
\semester{
{{ semester }}
}
\teacher{
{{ teacher_name }}
}
% \addbibressource{bibliography.bib}
\input{definitions}
\makeindex
\hypersetup{
pdftitle={
Course - {{ course_name }}
},
pdfauthor={
{{ author_name }}
},
pdfsubject={},
pdfkeywords={},
pdfcreator={LaTeX}
}
\addbibresource{references}
\usepackage[
type={CC},
modifier={by-sa},
version={4.0},
]{doclicense}
\input{preamble}
\input{glossary}
\input{definitions}
\makeindex%
\makeglossary%
\begin{document}
\tableofcontents
% \input{content/introduction.tex}
\doclicenseThis%
\input{content/chapters/include.tex}
\input{content/introduction}
% \input{content/conclusion.tex}
\input{content/chapters/include}
\end{document}
\input{content/conclusion}
\end{document}