This project consists of writing an additional hanbook for the three Moocs proposed since several years by the Inria French institute:
− Informatique, création numérique,
− Sciences numériques et technologie,
− Python 3 : des fondamentaux aux concepts avancés du langage.
These Moocs are dealing with computer sciences, digital culture and Python v.3 learning. They are hosted by the Fun platform: France université numérique.
This work may be distributed and/or modified under the conditions of the CC-BY-NC license.
Prerequisites :
- Recent TeX Live installation
- Copy TeXjazz bundle files and fonts inside
~/.texmf(TeX Directory Structure compliant) - Update TeX Live local TDS using
texhash ~/.texmf - Install Pygments module:
sudo apt−get update −yandsudo apt−get install −y python−pygments - Create a symbolic link for PythonTeX:
sudo ln −s /[...]/texlive/2020/texmf−dist/scripts/pythontex/pythontex3.py /usr/bin/pythontex - Create a symbolic link for Xindy:
sudo ln −s /[...]/texlive/2020/bin/x86_64−linux/xindy xindy - Copy
jazzcode.pyinto/usr/lib/python3/dist-packages/pygments/stylesdirectory
Compilation using the makefile :
- Go into the directory named
/sources - Comment or uncomment chapters you want to compile inside the master file
inria-mooc.tex(line 350) - Compile using
make inria-mooc.pdf(this compile mulitple times so it takes some time) - Clean using
make clean
Compilation manually :
- Go into the directory named
/sources - Comment or uncomment chapters you want to compile inside the master file
inria-mooc.tex(line 350) - Compile a first time
lualatex -shell-escape inria-mooc.tex(only LuaLaTeX engine is allowed) - Compile the bibliography
biber inria-mooc(master file without extension) - Run PythonTeX script
pythontex inria-mooc.tex - Compile the glossary
xindy -L french -C utf8 -I xindy -M "inria-mooc" -t "inria-mooc.glg" -o "inria-mooc.gls" "inria-mooc.glo" - Compile a second time
lualatex -shell-escape inria-mooc.tex(cross references) - Compile a third time
lualatex -shell-escape inria-mooc.tex(cross references) - Compile a fourth time
lualatex -shell-escape inria-mooc.tex(cross references) - Compile a fifth time
lualatex -shell-escape inria-mooc.tex(cross references)
Complete guide and documentation :