public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* DOESN'T WORK:  pandoc --from=markdown --to=odt t.md -V papersize:a4 -o t.odt
@ 2020-12-11  9:59 'ph...-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org' via pandoc-discuss
       [not found] ` <18775dd1-2576-4f6a-a731-a7534a651db5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: 'ph...-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org' via pandoc-discuss @ 2020-12-11  9:59 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1030 bytes --]

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.

-- 
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/18775dd1-2576-4f6a-a731-a7534a651db5n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1550 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DOESN'T WORK:  pandoc --from=markdown --to=odt t.md -V papersize:a4 -o t.odt
       [not found] ` <18775dd1-2576-4f6a-a731-a7534a651db5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-12-11 10:28   ` Albert Krewinkel
       [not found]     ` <87o8j0mybm.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Krewinkel @ 2020-12-11 10:28 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DOESN'T WORK: pandoc --from=markdown --to=odt t.md -V papersize:a4 -o t.odt
       [not found]     ` <87o8j0mybm.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2020-12-11 12:40       ` 'ph...-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org' via pandoc-discuss
  0 siblings, 0 replies; 3+ messages in thread
From: 'ph...-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org' via pandoc-discuss @ 2020-12-11 12:40 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1525 bytes --]

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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.

[-- Attachment #1.2: Type: text/html, Size: 2279 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-11 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11  9:59 DOESN'T WORK: pandoc --from=markdown --to=odt t.md -V papersize:a4 -o t.odt 'ph...-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org' via pandoc-discuss
     [not found] ` <18775dd1-2576-4f6a-a731-a7534a651db5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-12-11 10:28   ` Albert Krewinkel
     [not found]     ` <87o8j0mybm.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-12-11 12:40       ` 'ph...-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org' via pandoc-discuss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).