From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14892 Path: news.gmane.org!not-for-mail From: Melroch Newsgroups: gmane.text.pandoc Subject: Re: Papersize setting not reflected in PDF Properties Date: Fri, 29 Apr 2016 21:04:06 +0200 Message-ID: References: <36b333e5-2759-7c61-f656-68d9ce08dd16@gmail.com> <87lh3w4y2o.fsf@fastmail.fm> <57239D0C.7050309@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0122926495bccc0531a44ec0 X-Trace: ger.gmane.org 1461956648 25056 80.91.229.3 (29 Apr 2016 19:04:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 19:04:08 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBJXAR24QKGQEKZTYJCI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 29 21:04:07 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lf0-f56.google.com ([209.85.215.56]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awDhv-0004NS-Gj for gtp-pandoc-discuss@m.gmane.org; Fri, 29 Apr 2016 21:04:07 +0200 Original-Received: by mail-lf0-f56.google.com with SMTP id d131sf58982990lfd.1 for ; Fri, 29 Apr 2016 12:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:mime-version:in-reply-to:references:date:message-id:subject :from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=ni//JqD003HrT49qCnbQGDycgkFbbjhFRVSTx1s5+G4=; b=TAtDdpfHEegvLLlVz8PMuXVphv54bcrucr2e5TUU5OulFKpdLqQs1Mf2IPWDRi+sxt v5us0IKG2HMzIN2DCSAmu3pgk03Bw5GcJ+vNM0fSqweFsSY6uuuLsc1C53WguCaVJ/m+ XmSIfnCC1tzfNbWcypTfmG5RwBKZaVNYEMfWbu9sOKlG+jnVOGUy8eHVu8mY+rbY51E8 +E987vcEwZMy4D7OfggnLCPVSya54tFEdIGrpFf1a8rLglYV0iCFvyOMCV2B0GFn3DRw GGS1/N63OduhX1vVkH0Ci10jZJrVLf0VY1rXz3ICIRvIYomsNQbijGQ/67mUw15ZD6iD 0Xvw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=ni//JqD003HrT49qCnbQGDycgkFbbjhFRVSTx1s5+G4=; b=F/bOTdZJ+YwU8BpVbjK0WNI5IBQSnwsjCIWSCkAezUJ2xm1KlJJh2dHmtqKVqUJQCD n66mvNOyWa2dT+cAGgYv5e/iOv/CZwY+arknIGRts9jIgtcCfOATMImVRp00n1H5Gu2x jWN6CFMSu5VCjotDDCv0KOBfsbMiaqR4NPjEhCRwDUhwYheRgA5PLOG2LK61uthTxtmo LtinDFJlG0H1ula+LdWDPRHdcc6wjHndYz2/6O+WqC7e5i3ZgxOT2XH9/vFJpH0n+C6G OrW3yokbLVpzjYyNlccY14V/UUT0yy5VxEZl5NZejSLPu73NuiM1Hk+jpspJ149PgQhP XUKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ni//JqD003HrT49qCnbQGDycgkFbbjhFRVSTx1s5+G4=; b=BEwSkxwgW2Xt3sp87/x859rh1RDYFm8b4E3/+0rRiDr6vNu9LiyrywSyVHOwh/mwCz wACfFlW8cuIdXhkqt7oThFM85OHueWjFZpseMhuIbKZph1k5BwdO5UFbruaobUPl3n1D iTgbILJkn9zgwQFyW6zimkmSBa734rZHYgq/ww8ZhQPHPzhEcPLSX/HvP5KEuaA5tZrF eBWivtIE9cncyyG857ugWFm17o2NdT5Yto26dJeW6W7ODumovMIVaWmTljfupAbUkJ2d LmIf7ov98hMzivGd/DYMaAauNIloWqVZ2YizJe47t61rpUHV5fs+lXvBkWdf0MuRhxcz ECkA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOPr4FWeE/aDZC7Laj9vzVwwP+ITSi8bes5HTbxjbT7HkNG0JtvjL95+GrqhipV4kLOa0w== X-Received: by 10.28.105.87 with SMTP id e84mr27133wmc.14.1461956647197; Fri, 29 Apr 2016 12:04:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.28.131.136 with SMTP id f130ls175371wmd.28.canary; Fri, 29 Apr 2016 12:04:06 -0700 (PDT) X-Received: by 10.28.165.6 with SMTP id o6mr633573wme.4.1461956646563; Fri, 29 Apr 2016 12:04:06 -0700 (PDT) Original-Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com. [2a00:1450:4010:c07::229]) by gmr-mx.google.com with ESMTPS id ai9si744461lbc.2.2016.04.29.12.04.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Apr 2016 12:04:06 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4010:c07::229 as permitted sender) client-ip=2a00:1450:4010:c07::229; Original-Received: by mail-lf0-x229.google.com with SMTP id j11so145861077lfb.1 for ; Fri, 29 Apr 2016 12:04:06 -0700 (PDT) X-Received: by 10.112.162.36 with SMTP id xx4mr2093049lbb.8.1461956646385; Fri, 29 Apr 2016 12:04:06 -0700 (PDT) Original-Received: by 10.25.30.10 with HTTP; Fri, 29 Apr 2016 12:04:06 -0700 (PDT) Original-Received: by 10.25.30.10 with HTTP; Fri, 29 Apr 2016 12:04:06 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4010:c07::229 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:14892 Archived-At: --089e0122926495bccc0531a44ec0 Content-Type: text/plain; charset=UTF-8 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" : 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. --089e0122926495bccc0531a44ec0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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) Ch= andrasekhar" <chyavana@gmail.= com>:
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.<= br>
/bpj


But there is ...

The first line of template.tex for latex is:

\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endi= f$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$se= p$,$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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail 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/pan= doc-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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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://group= s.google.com/d/msgid/pandoc-discuss/CADAJKhBVACxDSUvqsxaCTdk4bKsdopLQfKMdYV= 8%2BYvprw_PG5A%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--089e0122926495bccc0531a44ec0--