Alter PDF generation to be language aware.

* Detect langauge by directory name
* Allow different pandoc arguments by language.
* Add --toc argument.