Use
geometry: a4paper



Le vendredi 29 avril 2016 19:46:53 UTC+2, chandra a écrit :
On 29/04/16 23:12, BP Jonsson wrote:
> Den 2016-04-29 kl. 13:29, skrev R (Chandra) Chandrasekhar:
>> If, I replace
>>
>> papersize: a4paper
>>
>> by
>>
>> classoption: a4paper
>>
>> in the YAML metablock. I do indeed get an A4 page sized PDF.
>>
>> I guess now my question becomes, why does it not work for papersize?
>
> Apparently there is no variable $papersize$ in the default latex template.
>
> /bpj
>

But there is ...

The first line of template.tex for latex is:

\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}

Note the extra paper that I think was the cause of my problem.

Chandra

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d195d8cd-9064-4ed6-b44c-3cc69bf1866f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.