From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14891 Path: news.gmane.org!not-for-mail From: Christophe Demko Newsgroups: gmane.text.pandoc Subject: Re: Papersize setting not reflected in PDF Properties Date: Fri, 29 Apr 2016 11:48:14 -0700 (PDT) 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/mixed; boundary="----=_Part_420_58444676.1461955694342" X-Trace: ger.gmane.org 1461955699 10031 80.91.229.3 (29 Apr 2016 18:48:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 18:48:19 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDN5TJEC4AEBB3WYR24QKGQEUWHRFXY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 29 20:48:19 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ob0-f183.google.com ([209.85.214.183]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awDSa-00051K-3N for gtp-pandoc-discuss@m.gmane.org; Fri, 29 Apr 2016 20:48:16 +0200 Original-Received: by mail-ob0-f183.google.com with SMTP id bg3sf27221493obb.1 for ; Fri, 29 Apr 2016 11:48:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=qvW7EQjCcUmJSkEvfoJWBBnNIWhEu/Vm4NBq9diT8FE=; b=I7Rf+29ut/Nu16YZ82EIfuch7kmj3XIMmxikdeauJ4kPaUGtLvfVfC+Trmbxqf5RUv jTipJ0oCYdhBaK7s+QyWigyei8BykGha8sgZrMPvMRl1madGKfZw7oOj74rkgspUHft0 a/OWKqBggZmihXBO5QRUYRwWSG7jXCG593ZCZZqJ5Sz1r9cNWPbBN1kIqbEJZX4tgjyk oAweiplrVITlwjQQfBy+oHb1dSZ+py9XZuMOl8wtwSsQnM4184k6N7wf29XREcDn8JtZ FsA7fb2/zgU8Xyl6owSjgSJ5072OJQxyfA3+cTaWbKQmV1zinKvLqLUxrxHixbRQoO63 fGQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=qvW7EQjCcUmJSkEvfoJWBBnNIWhEu/Vm4NBq9diT8FE=; b=WQYxyJnHzsRajUY266ZCxOwJt+7aFBgLg9QI9ihcf2nMBqh4PWAr3Bwh+cs2qx3UKc 0vmhueve3WhQ8C4m9YLdeEIJScXtAbuc3BZysVfM/CfCMH3njkOeOYCEJc05NiMt5PyK zEQmZ/ThedA4gO/v3Mp3SuPK7837L2mEVE96agX8aTilEg/ezoaf8WzhJ8UP3176VPbT m7QHuIYfRo5HZ5PJvxxrba6FBMIW9rY/CNH4XJbWY2I6pEPxVmDtwtNUKGXsxI9yqvCl eHormPAB2WPOBEjiZMBkInHsfk0UUAWHLUJTt/ak47aHKCt0+J2hRri8hK/+unEEHda8 UcqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=qvW7EQjCcUmJSkEvfoJWBBnNIWhEu/Vm4NBq9diT8FE=; b=krc/0MRlcqPk5TP5/Pl81xIAUPvHURWbt5GqfCi/4OkOfS50wHx+E2+IFpApbAJGeJ J1NTmYl4b42L0XvBtF9J3e3xJpjxD3tu0LsAhHyi0KkHMn9BVo+aCFgsGQ5nQuCWvuO+ 0pR2DyYAg/IWq4UxsVlMsQTx/Db/n2XbEl4YCk/XlKZUYwYF0BYufi32u0xFzXCg34Vx yZDCOc0B/ueYdzhlFjBn79v5HEQeV7KrosMIzUCnwNAoQsNDWAJdy1O9/zphhbUOG6s9 m2Rjc/1dSjpmISLfYovTMxRTDbRAuaFeBS/U8ItRCxFCzBEV6YdcpLuUFJIeEkAggB/d ZsCQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOPr4FXL4mQGwOrNdIZDEeT8hAayNHVfSHfBJTELKnz0B9aoZrGe01tVgpuLkrlHHaXUpQ== X-Received: by 10.157.3.52 with SMTP id 49mr288107otv.19.1461955695332; Fri, 29 Apr 2016 11:48:15 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.142.106 with SMTP id rv10ls456746obb.89.gmail; Fri, 29 Apr 2016 11:48:14 -0700 (PDT) X-Received: by 10.182.226.4 with SMTP id ro4mr291305obc.2.1461955694733; Fri, 29 Apr 2016 11:48:14 -0700 (PDT) In-Reply-To: X-Original-Sender: chdemko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:14891 Archived-At: ------=_Part_420_58444676.1461955694342 Content-Type: multipart/alternative; boundary="----=_Part_421_1515470945.1461955694342" ------=_Part_421_1515470945.1461955694342 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Use geometry: a4paper Le vendredi 29 avril 2016 19:46:53 UTC+2, chandra a =C3=A9crit : > > On 29/04/16 23:12, BP Jonsson wrote:=20 > > Den 2016-04-29 kl. 13:29, skrev R (Chandra) Chandrasekhar:=20 > >> If, I replace=20 > >>=20 > >> papersize: a4paper=20 > >>=20 > >> by=20 > >>=20 > >> classoption: a4paper=20 > >>=20 > >> in the YAML metablock. I do indeed get an A4 page sized PDF.=20 > >>=20 > >> I guess now my question becomes, why does it not work for papersize?= =20 > >=20 > > Apparently there is no variable $papersize$ in the default latex=20 > template.=20 > >=20 > > /bpj=20 > >=20 > > But there is ...=20 > > The first line of template.tex for latex is:=20 > > \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$en= dif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$= sep$,$endfor$]{$documentclass$}=20 > > > Note the extra paper that I think was the cause of my problem.=20 > > Chandra=20 > > --=20 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 e= mail 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/d195d8cd-9064-4ed6-b44c-3cc69bf1866f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_421_1515470945.1461955694342 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Use
geometry:= a4paper
<= /span>



Le vendredi 29 avril 2016 19:46:53 UTC= +2, chandra a =C3=A9crit=C2=A0:
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 pape= rsize?
>
> Apparently there is no variable $papersize$ in the default latex t= emplate.
>
> /bpj
>

But there is ...

The first line of template.tex for latex is:

\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$bab= el-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(class= option)$$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 &= 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://groups.google.com/d/= msgid/pandoc-discuss/d195d8cd-9064-4ed6-b44c-3cc69bf1866f%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_421_1515470945.1461955694342-- ------=_Part_420_58444676.1461955694342--