Setup

On a debian system:

apt-get -y install pandoc
apt-get -y install texlive-fonts-extra
apt-get -y install texlive-luatex
apt-get -y install texlive-lang-german

Run

Write your some-name-doc.md and
execute in the same folder ./doc.sh and
maybe adjust the variable PANDOC_LANG.

Ship a nice PDF.

Password protected your PDF

Write your settings to
PDF_USERPASS.txt and
PDF_OWNERPASS.txt and the
generated PDF is locked.

ToDo

Include examples with pictures.
Here is a review of existing methods1. my caption{ width=100% }
And here a second2 footnote.

Footnotes

  1. idea one

  2. idea two