43 lines
743 B
Markdown
Executable File
43 lines
743 B
Markdown
Executable File
|
|
PDF
|
|
---
|
|
|
|
[pdftk](https://doc.ubuntu-fr.org/pdftk)
|
|
|
|
* concat: `pdftk *.pdf cat output tous.pdf`
|
|
* deconcat: `pdftk input.pdf burst`
|
|
* deconcat avec prefix: `pdftk input.pdf burst output page_no%d.pdf`
|
|
* pivot:
|
|
* 1er page à l'Est mais pas les autres pages :
|
|
```
|
|
pdftk input.pdf cat 1east 2-end output sortie.pdf
|
|
```
|
|
* toutes les pages au Sud :
|
|
```
|
|
pdftk input.pdf cat 1-endsouth output sortie.pdf
|
|
```
|
|
* extraction
|
|
```
|
|
pdftk input.pdf cat 6 2-5 7-9 output sortie.pdf
|
|
```
|
|
|
|
|
|
Images
|
|
------
|
|
|
|
`convert -resize 50% image.jpg image.jpg`
|
|
|
|
|
|
Pandoc
|
|
------
|
|
|
|
```
|
|
pandoc input.md -o output.pdf
|
|
```
|
|
|
|
- Add links and color them:
|
|
```
|
|
--reference-links -V colorlinks=true
|
|
```
|
|
- don't forget space before list
|