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/ build/
.auctex-auto
## Core latex/pdflatex auxiliary files: ## Core latex/pdflatex auxiliary files:
*.aux *.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: _exclude:
- .git - .git
- copier.yml - copier.yml
- example
_tasks: _tasks:
- git init . - git init .
- git add . - git add .
- git commit -m "Initial commit" - git commit -m "Initial commit"
- git checkout -b dev
student_name: author_name:
type: str type: str
default: Samuel Ortion default: Samuel Ortion
help: Your name help: Your name
author_email:
type: str
default: samuel@ortion.fr
help: Your email
teacher_name: teacher_name:
type: str type: str
help: Teacher's name help: Teacher's name
teacher_email:
type: str
help: Teacher's email
course_name: course_name:
type: str type: str
help: Course name help: Course name
@ -30,11 +32,7 @@ semester:
help: Semester help: Semester
default: M1 - S1 default: M1 - S1
pathway: cursus:
type: str type: str
help: Pathway help: Cursus
default: GENIOMHE default: GENIOMHE
title:
type: str
help: Title

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> % Author: {{ author_name }} <{{ author_email }}>
% Version: 0.0.1 % Version: 0.1.0
% Date: 2023 % Date: 2023
% Licence: CC-By-SA 4.0+ International % License: CC-By-SA 4.0+ International
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[ \documentclass[
@ -12,35 +12,62 @@
10pt, 10pt,
fleqn, fleqn,
oneside oneside
]{talpa} ]{musculus/mus}
\input{colors.tex} \title{
\input{meta.tex} {{ course_name }}
\input{definitions.tex} }
\author{
\hypersetup{ {{ author_name }}
pdftitle={ }
Course - {{ course_name }} \cursus{
}, {{ cursus }}
pdfauthor={ }
{{ student_name }} \semester{
}, {{ semester }}
pdfsubject={}, }
pdfkeywords={}, \teacher{
pdfcreator={LaTeX} {{ 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} \begin{document}
\tableofcontents \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}