I would like to ask how to properly pass options and theyre values to LaTeX `geometry` package via command-line option `--metadata-file`?

Consider following example:

`MetadataSettings.yaml`:

```
---
documentclass: scrbook

geometry:
- left: 2.5cm
- right: 2cm
- bottom: 3cm
- headheight: 15.3pt
---
```

with `test.txt` containing text "test" or whatever and with default latex template and command:

```
pandoc --metadata-file=MetadataSettings.yaml -f markdown -s -t latex -o test.tex test.txt
```

produces `test.tex` file, in which key-value options written in metadata file are simply flattened to "true", which wont compile to pdf.

If possible, I would very much prefer setting `geometry` package options (and other packages similarly) via metadata-settings file, which makes them nicely organized. So, how can that be done properly?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/73344cc2-9463-4a09-b0d0-c74b84933c6do%40googlegroups.com.