Feature/mfr pdf

Working but not ready for merge.
Prefer `str.format` to string concatenation.

```python
assets['js'] = [ '{static}/js/{fname}'.format(static=static_dir, fname=fname)
                for fname in js_files]
```