From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14893 Path: news.gmane.org!not-for-mail From: "R (Chandra) Chandrasekhar" Newsgroups: gmane.text.pandoc Subject: Re: Papersize setting not reflected in PDF Properties Date: Sat, 30 Apr 2016 00:35:34 +0530 Message-ID: <74ca72bc-696e-8657-1d34-fd960dd651c8@gmail.com> 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: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1461956744 26379 80.91.229.3 (29 Apr 2016 19:05:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 19:05:44 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCQPFLNGRAERBAPBR24QKGQEQR7RHZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 29 21:05:39 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pa0-f56.google.com ([209.85.220.56]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awDjO-00058Z-PH for gtp-pandoc-discuss@m.gmane.org; Fri, 29 Apr 2016 21:05:38 +0200 Original-Received: by mail-pa0-f56.google.com with SMTP id i5sf29642629pag.1 for ; Fri, 29 Apr 2016 12:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding :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=OEYKkgJxtPv6y80pUrr8qgHiH6Pe1PyOGk86+svvVD4=; b=I2XfUhdyybMho6/6Ri1ihTcCXLIJzGQpKijU3Y3B6CDsgiWYMmEtwEB37ujRfaLbT9 ALn0B6sb8paJ3txoi1vYYWQ1Hysc+6m6ArFdLpXCNEjVW6eQfC1puy0w6trURF5v3gw4 ug+5JhHR2cFzBn3OQNxZIRB+4LLPo5UmZYorjDZsD3u1JwoEPYfJwmfxPWgkEpmqX6eP 2PWR9vA0U7owjxGJzE3mv8M03BYdDRxJnazx4yNwUodITHS66RNKGslZsdUCNmLY2LoK sV4REsUq6+W2OO0SXfFLdNd2aRjjocTYta/M437FiJc9AoafTDsXlfffgbhVHa/gsycm ZQcQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding: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=OEYKkgJxtPv6y80pUrr8qgHiH6Pe1PyOGk86+svvVD4=; b=pSXgLSv2AN1HDKYXwV0UeFOdJD/4BLLaJHrnKG6fZ8gZ117MKvL2eKNfwhO4W/ZGOU TWUr8gVSVcrVSpBqTn34Hb1/hbm5eevfRkm5r2CW08xsll/Ld+cZ9bUIj9b2pz3WufYq 5gBUq9Cf8ad3wWTCF9gYQ98eBhbb7PZRY81I/KuIZrD2w1aIVLthhna8wWTqJ47bS2TZ 7XYonzzFa1WZjfPIkwczBW4Bi+hFdNXFYpBDy2fhImwNExhIszfKptf75En9l/lXlgWP l3+WIUBU0lfJUbv3w52ZKKtxyPLRjCCGBUcT5ju/+EiZpCOKV0Iu7/4LRVFU0rjRH9vn OXcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding :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=OEYKkgJxtPv6y80pUrr8qgHiH6Pe1PyOGk86+svvVD4=; b=CLigSjYpJQAHX7vAwPMwi/MFyJU/QilpcB53hN3vOv0l56MIEr6amvvaraokLRpKFS Yy6tq7qHgZH7dyGS1kL8CyrkX9PFJUSJVxJnwlZofBmc/8LgjHHi8aFiQQYwyjI9mx/w 7tGlTvjYECmXi+wlERvA8X6vp8MX9kFQCDq4pCjesZ7QJYqNbSYD+wkuAxb/TH3P2K9a 3L47nu0ay3CGfjuc9w/ytyr4GQAiaHpz0nxbqvGBBUZkWMVPf72SrL1jQ9B+1ppMx2zz 81odiuZ2cv77QefEpXruPQ5Sx/gzFvQkbgW84fKZtao3B6qFw7C82tvqTHvdrZs Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOPr4FU1Yw4o26zFtgsIcFW9EW8gIuXBj8FMveUeFjMmqJA52g3FXJEEwnEDF5d3XMf7Mg== X-Received: by 10.182.156.76 with SMTP id wc12mr290614obb.11.1461956737916; Fri, 29 Apr 2016 12:05:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.33.83 with SMTP id l19ls492119otd.7.gmail; Fri, 29 Apr 2016 12:05:37 -0700 (PDT) X-Received: by 10.157.14.211 with SMTP id 77mr14630962otj.27.1461956737378; Fri, 29 Apr 2016 12:05:37 -0700 (PDT) Original-Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com. [2607:f8b0:400e:c03::230]) by gmr-mx.google.com with ESMTPS id i10si415817pfj.2.2016.04.29.12.05.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Apr 2016 12:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c03::230 as permitted sender) client-ip=2607:f8b0:400e:c03::230; Original-Received: by mail-pa0-x230.google.com with SMTP id iv1so48998944pac.2 for ; Fri, 29 Apr 2016 12:05:37 -0700 (PDT) X-Received: by 10.66.65.235 with SMTP id a11mr31274289pat.155.1461956737164; Fri, 29 Apr 2016 12:05:37 -0700 (PDT) Original-Received: from [192.168.0.4] ([112.133.229.6]) by smtp.gmail.com with ESMTPSA id h5sm32381684pat.0.2016.04.29.12.05.35 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Apr 2016 12:05:36 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: X-Original-Sender: chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: domain of chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c03::230 as permitted sender) smtp.mailfrom=chyavana-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:14893 Archived-At: If I do that, I get the text cut off at the top and bottom because the=20 text is typeset using the margins and page area of A4, but the=20 documentclass reverts to its default letterpaper. So, I get an A4 page of text typeset on letterpaper. It is important to=20 set the paper size to A4 at the documentclass level because the default=20 size is letterpaper. Chandra On 30/04/16 00:18, Christophe Demko wrote: > 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: > > 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 papersiz= e? > > > > 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)$$classopti= on$$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-/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.com > . > For more options, visit https://groups.google.com/d/optout. --=20 ------------------ R (Chandra) Chandrasekhar Web: http://swanlotus.org email: chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org ------------------ --=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/74ca72bc-696e-8657-1d34-fd960dd651c8%40gmail.com. For more options, visit https://groups.google.com/d/optout.