Commit ddc5cd16 authored by Sébastien MARCEL's avatar Sébastien MARCEL

mods README

parent c839f139
Pipeline #22742 passed with stage
in 9 seconds
......@@ -6,5 +6,5 @@
*.out
*.snm
*.toc
lecture.pdf
lab.pdf
??_section*.pdf
TARGET := lecture.pdf
TARGET := lab.pdf
SECTIONS := $(sort $(wildcard ??_section*.md))
# builds a single section
......
......@@ -3,10 +3,10 @@
## Description
Slides of the lab:
- [x] lab 1: face,
- [ ] lab 1: face,
- [ ] lab 2: iris and fingerprint,
- [ ] lab 3: speaker,
- [ ] lab 4: vein and multi-modal,
- [x] lab 4: vein and multi-modal,
- [ ] lab 5: spoofing.
## Lab material
......@@ -33,31 +33,30 @@ $ ln -s ../graphics .
```
## Building the slides
As slides are written in md format we need to convert them to latex before
compiling. We are uing pandoc to convert from md to beamer.
Proceed in 2 steps when working on the slides in .md files:
1. edit only the .md files
2. check if it compiles
* First convert all the .md files into a single latex file main.tex
``` sh
$ pandoc -t beamer ??_*.md -o main.tex
To compile
* You can just compile the slides of one md file:
```sh
$ make 01_section1.pdf
```
* Next compile lab.tex that includes the actual slides in main.tex
***notice the name of the make target is the filename with a `.pdf` extension***
* Or your can compile all the slides (`lab.pdf`) that merges all sections into it.
```sh
$ pdflatex lab
$ make
```
***The input `.md` files are sorted before inclusion, so ensure that the name sorting works fine before building the whole document.***
Finally when everything works fine and the lab.pdf is generated properly
you can simply invoke make than will execute the Makefile and run pandoc +
pdflatex:
* You can use flag `-B` with make to force recompilation if necessary. Otherwise, our Makefile is set to detect changes automatically.
```sh
$ make -B
```
It results in a ``lab.pdf`` file. Please don't git add/commit/push this
file nor any other compilation by product such as ``main.tex`` or
``*.log *.lot *.lof *.loa *.toc *.idx *.inc *.ilg *.ind *.bbl *.blg *.aux *.glo *.dvi *.ps *.pdf *.out *.brf *.nav *.snm *.vrb`` files.
It results in a ``lab.pdf`` file.
**Please don't git add/commit/push this file nor any other PDF by-product. They are git-ignored by default.**
\documentclass{beamer}
\usepackage[T1]{fontenc}
\usetheme{idiapbsp}
\input{settings}
\input{graphics}
% These are NOT displayed on the front page
\subject{Lab}
\institute{Master Biometrics}
% These are displayed at the title page with contents
%\title{Biometrics}
%\subtitle{Lab: XXX}
%\author[author]{Dr. Sebastien Marcel}
\title{Biometrics: Lab}
\subtitle{XXX}
\author{S\'ebastien Marcel\\
Head of Biometrics Security and Privacy group\\
Idiap research institute\\
Switzerland\\
\url{www.idiap.ch/~marcel}
}
\date{\today}
\begin{document}
\maketitle
\input{main}
\end{document}
......@@ -5,10 +5,10 @@ author: |
Idiap research institute\
Switzerland\
\url{www.idiap.ch/~marcel}
subject: Lecture XX
subject: Lab 4
date: \today
title: "Biometrics: Lecture"
subtitle: "Welcome and general information"
title: "Master Biometrics: Lab 4"
subtitle: "Multi-modal biometrics and more"
institute: "Idiap Research Institute"
lang: "en"
---
Markdown is supported
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