From 8e164cb0adc7ebea62d1015e234ae0f77d4635dd Mon Sep 17 00:00:00 2001 From: lhark Date: Mon, 15 Feb 2021 00:29:15 +0100 Subject: [PATCH] Add a few more PDF tips --- how_to | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/how_to b/how_to index 241efde..666e24a 100644 --- a/how_to +++ b/how_to @@ -218,6 +218,9 @@ PDF : Extract pages : pdftk input.pdf cat output out.pdf # range can be -, 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