Ah!  Thanks for that!

On Friday, 11 December 2020 at 21:28:24 UTC+11 Albert Krewinkel wrote:
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

--
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/78b07f23-0da5-400a-a8ea-67f4779d6d1fn%40googlegroups.com.