Add a few more PDF tips

This commit is contained in:
lhark 2021-02-15 00:29:15 +01:00
parent ab14f658e1
commit 8e164cb0ad

7
how_to
View file

@ -218,6 +218,9 @@ PDF :
Extract pages :
pdftk input.pdf cat <range> output out.pdf
# range can be <start>-<end>, more info at pdftk --help
# Use qualifiers like odd/even, north/east/south/west/left/right/down
# (respectively 0, 90, 180, 270, -90, +90, +180, clockwise)
# ex: pdftk A=in.pdf B=other.pdf cat A1 B1-5 B6west A8
Uncompress pdf file content :
pdftk input.pdf output output.pdf uncompress
Extract text from pdf (poppler):
@ -251,6 +254,10 @@ PDF :
Filling the form:
pdftk form.pdf fill_form fields.fdf output filled_form.pdf
Generate a PDF quickly from Markdown:
# tectonic is pretty nice as a "it just works" latex compiler
pandoc --pdf-engine=tectonic in.md -o out.pdf
Fill dynamic XFA forms on linux:
Run Acrobat Reader DC 2019 on wine:
https://linuxconfig.org/how-to-install-latest-adobe-acrobat-reader-dc-on-ubuntu-18-04-bionic-beaver-linux-with-wine