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