wiki/commandes.md

39 lines
695 B
Markdown
Raw Normal View History

2020-09-28 08:57:21 +00:00
2020-12-14 10:02:29 +00:00
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
```
2020-09-28 08:57:21 +00:00
Images
------
2020-12-14 10:02:29 +00:00
`convert -resize 50% image.jpg image.jpg`
2020-09-28 08:49:00 +00:00
2021-11-11 17:07:10 +00:00
Pandoc
------
- Add links and color them:
--reference-links -V colorlinks=true
- don't forget space before list