From: Melroch <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Papersize setting not reflected in PDF Properties
Date: Fri, 29 Apr 2016 21:04:06 +0200 [thread overview]
Message-ID: <CADAJKhBVACxDSUvqsxaCTdk4bKsdopLQfKMdYV8+Yvprw_PG5A@mail.gmail.com> (raw)
In-Reply-To: <CADAJKhAEoDDiBNSe9Ee8bf1S3hJHnsec_yFVvW3pjEHrjaondQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2177 bytes --]
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.
Den 29 apr 2016 19:48 skrev "R (Chandra) Chandrasekhar" <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>:
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/pandoc-discuss/b199b75f-a40f-0877-5782-9cc0ce7f0b69%40gmail.com
.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhBVACxDSUvqsxaCTdk4bKsdopLQfKMdYV8%2BYvprw_PG5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 3701 bytes --]
next prev parent reply other threads:[~2016-04-29 19:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-29 4:53 R (Chandra) Chandrasekhar
[not found] ` <36b333e5-2759-7c61-f656-68d9ce08dd16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-29 8:29 ` Joost Kremers
[not found] ` <87lh3w4y2o.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2016-04-29 11:29 ` R (Chandra) Chandrasekhar
[not found] ` <d702a67f-bf6f-e732-a7da-432fc846532b-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-29 13:39 ` R (Chandra) Chandrasekhar
[not found] ` <7966bc6d-d6fb-5392-fe8f-137e20024418-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-29 17:38 ` R (Chandra) Chandrasekhar
[not found] ` <2c0b0377-bc86-096a-3a74-ab3626a489fe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-30 0:05 ` kurt.pfeifle via pandoc-discuss
[not found] ` <fa0bddbf-548c-46c4-80b3-afb2d2c73a92-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-04-30 2:07 ` R (Chandra) Chandrasekhar
2016-04-30 3:32 ` John MacFarlane
2016-04-30 3:29 ` John MacFarlane
2016-04-29 17:42 ` BP Jonsson
[not found] ` <57239D0C.7050309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-29 17:46 ` R (Chandra) Chandrasekhar
[not found] ` <b199b75f-a40f-0877-5782-9cc0ce7f0b69-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-29 18:48 ` Christophe Demko
[not found] ` <d195d8cd-9064-4ed6-b44c-3cc69bf1866f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-04-29 19:05 ` R (Chandra) Chandrasekhar
[not found] ` <CADAJKhAEoDDiBNSe9Ee8bf1S3hJHnsec_yFVvW3pjEHrjaondQ@mail.gmail.com>
[not found] ` <CADAJKhAEoDDiBNSe9Ee8bf1S3hJHnsec_yFVvW3pjEHrjaondQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-29 19:04 ` Melroch [this message]
[not found] ` <CADAJKhBVACxDSUvqsxaCTdk4bKsdopLQfKMdYV8+Yvprw_PG5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-29 19:07 ` R (Chandra) Chandrasekhar
2016-04-30 3:26 ` John MacFarlane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADAJKhBVACxDSUvqsxaCTdk4bKsdopLQfKMdYV8+Yvprw_PG5A@mail.gmail.com \
--to=melroch-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).