Ah, but you should just write "papersize: a4". The "paper" is included automatically by the template. Unfortunately LaTeX just ignores "a4paperpaper" instead of raising an error.
On 29/04/16 23:12, BP Jonsson wrote:But there is ...
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
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.
ChandraTo view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b199b75f-a40f-0877-5782-9cc0ce7f0b69%40gmail.com.
--
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.