Skip to content
Snippets Groups Projects
Commit 0cde9079 authored by Anas Sibarni's avatar Anas Sibarni
Browse files

Correction d'erreur de mise en page et orthographe sur le fichier rapport.md

parent cea9ddf2
No related branches found
No related tags found
No related merge requests found
......@@ -5,56 +5,73 @@
- SIBARNI Anas
- ACHOUCH Anas
- YAHIAOUI Mohamed El Amine
---
## Procédures Compilation
## Procédures de compilation
### L'outil de conversion utilisé dans notre cas est Pandoc
Pandoc est un outils de conversion en ligne de commande qui récupère un fichier (*par exemple un fichier text simple à balisage léger*) et le compile dans une autre extension.
#### L'outil de conversion utilisé dans notre cas est Pandoc.
Pandoc est un outils de conversion en ligne de commande qui recupere un fichier text comme par exemple un fichier text simple a balisage leger et le compiler dans une extension souhaiter.
### Première étape : Installer Pandoc
Sur l'OS Debian :
#### Première étape : Installer Pandoc
Debian :
```sh
#Installer pandoc et dn support LATEX pour les PDF
sudo apt install pandoc
sudo apt install pandoc-citeproc
```
#### PDF
---
### Convertir un *fichier.md* en PDF
```sh
#Erreur trop de sous tableau|parti, pas supporter par Latex. A voir alternative.
pandoc <entre>.md -o <sortie>.pdf
```
#### HTML
#### install la commande pour le template
on fait une copie du template.
### Convertir un *fichier.md* en page HTML
### Install la commande pour le template
Effectuer une copie du template :
``` bash
# Clones repo to /tmp and copies templates to ~/.pandoc/templates
curl 'https://raw.githubusercontent.com/ryangrose/easy-pandoc-templates/master/copy_templates.sh' | bash
```
#### Compilation du PDF avec template
voici une commande permettan de compiler un ficier html avce un template, et quelques option personaliser comme le nom du fichier et le titre.
voici le lien du template open source
[Source](https://github.com/ryangrose/easy-pandoc-templates)
### Compilation du PDF avec template
Voici une commande permettant de compiler un ficier html avec un template, et quelques options de personalisation, comme le nom du fichier et le titre.
[Lien du template open source](https://github.com/ryangrose/easy-pandoc-templates)
``` bash
# pandoc source.md -o destination.html --template=template_name.html
pandoc rapport.md -f markdown -o rapport.html --template=easy_template.html --toc --metadata title="SAÉ 2.03: Semaine 06 - GRP A7"
```
#### Convertire en HTML avec un tamplate
### Convertir en HTML avec un tamplate
```sh
'https://raw.githubusercontent.com/ryangrose/easy-pandoc-templates/master/copy_templates.sh' | bash
```
---
### Resumer code a executer
### Résumé du code à executer
```sh
sudo apt install pandoc
sudo apt install pandoc-citeproc
pandoc rapport.md -o rapport.pdf
curl 'https://raw.githubusercontent.com/ryangrose/easy-pandoc-templates/master/copy_templates.sh' | bash
pandoc rapport.md -f markdown -o rapport.html --template=easy_template.html --toc --metadata title="SAÉ 2.03: Semaine 06 - GRP A7"
```
\ No newline at end of file
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment