Ah! Thanks for that!
If you check the manual, you'll notice that `geometry` is listed below
the section "Variables for LaTeX". It does not apply to odt.
Use `--reference-doc` instead.
'ph...-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org' via pandoc-discuss writes:
> People,
>
> I have also tried:
>
> pandoc --from=markdown --to=odt t.md -s -V papersize:a4 -o t.odt
> pandoc --from=markdown --to=odt t.md -s -V papersize:a4
> geometry:margin=10mm -o t.odt
> pandoc --from=markdown --to=odt t.md -s -V papersize:a4 -V
> geometry:margin=10mm -o t.odt
> pandoc --from=markdown --to=odt t.md -V geometry:a4paper -o t.odt
> pandoc --from=markdown --to=odt t.md -V geometry:a5paper -o t.odt
>
> but in LibreOffice it says that the resulting t.odt file is "Letter" even
> though it defaults to A4 mm dimensions - I can't change to A5 or get
> margins to work . .
>
> Am I missing something?
>
> Thanks,
> Phil.
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124