From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14877 Path: news.gmane.org!not-for-mail From: "R (Chandra) Chandrasekhar" Newsgroups: gmane.text.pandoc Subject: Papersize setting not reflected in PDF Properties Date: Fri, 29 Apr 2016 10:23:08 +0530 Message-ID: <36b333e5-2759-7c61-f656-68d9ce08dd16@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 X-Trace: ger.gmane.org 1461905605 9288 80.91.229.3 (29 Apr 2016 04:53:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 04:53:25 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCQPFLNGRAERBOGRRO4QKGQEJFHHMDY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 29 06:53:16 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf0-f186.google.com ([209.85.192.186]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aw0QT-0005Ni-N3 for gtp-pandoc-discuss@m.gmane.org; Fri, 29 Apr 2016 06:53:13 +0200 Original-Received: by mail-pf0-f186.google.com with SMTP id d4sf35066635pfd.1 for ; Thu, 28 Apr 2016 21:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:to:from:subject:message-id:date:user-agent:mime-version :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=9YNmp7hk+pdI0ZxSJGXI5U0K7takEBdCNPvo4nXrBXI=; b=rWrfM4tSSWf+tRqQhfaOxq1Hjs7djGV0eygN10wPMrL3yQ8WBXHbd7AaxOtymfU7pN 6DSgcM23C3+oGjfn/BpfzAfBks/8VCrFnyfUrdGzKGFRZ6kPpR90WSzPoGHejV4vwBuk tW4Lvn2UvXfBFl/QdU4QNM5F3tZhBHvodfKXzqdypoptZuybYNI56FPFn24V17haaYGL 3DTSo1IqDkY0GvBM/ixZJ23ZDH+OYi7dq0HV4K1IDivam/Xe45FvczitRwmOKh31Lbkj D4ePAHyE7Q9L4aH8/KPTkZDfAAJXQL+5Q+wwSkACRyVMciDzdfyT7V1IAkYGNDYSkPbX R0Gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :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=9YNmp7hk+pdI0ZxSJGXI5U0K7takEBdCNPvo4nXrBXI=; b=cqt1P66qdwfIYt4D6K0VoVXsgoftEnTruHWKnkliB9cKRjNeLb52dF4jmXgK7U0X8r H505gqNj0jL3j0hB2zID83xNE7oNbYy53FG/UEiEDH8nkL50Wjlyw4ZEaswmOILCP7ds eve3tyAFyMCGCc4xSyY6tF8gCQUNA7a5voyhEQxexzeyEtkZJFizMldGTIabQJ/reQ8b dPYZ7nUZMbZ3JNsO5cZ+iPasfBwv+Au70XY3Bn71e/4rEiXu0pCajeXzjF6ynkII04qK ASNHYrRI3CXERzXOxE1S4h1+fc/EK3m6mrVg8kbbQ/NXyiPujDCcGWTd+2/FLLlkoHiG eFGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:to:from:subject:message-id:date :user-agent:mime-version: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=9YNmp7hk+pdI0ZxSJGXI5U0K7takEBdCNPvo4nXrBXI=; b=UbiDEAasu3PBqIdYp4u6oJ3sL9K1MKLE8jU3WO6VBkYk93Bt+pS5M7IDjUoB0t6fdx yWIGooKXYzN9evkY4C0J7DzrtVcb6AUnqsNwoTEFYQwxjj8e81kEWWpjMx56vaz4iRpN yZFLn3y8AjsHnf2QIfxvJZJMOmB7jXEe8v6edO1UwCu+9NdF89T36gFR0MOtMrudLv03 Wv5QAIxtQVE0pA2dkfemX1fu3sKeHkrBny/VAMfP7K6sUsVwul+nbpg3p+ysz3D/SySk UQSClmbfgxRe5/zLnq9oPjS7xy3NUf1EmppQWr8hS2wb+DEPi54oTU36UPaWQK/NuBJe +Clg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOPr4FWGZWzCxyAOlxo5EFo5CVt/gSEfF8Mdksh4rRKDil5DZxt7kgEoBqxetuEYUmWqGA== X-Received: by 10.50.61.200 with SMTP id s8mr30259igr.3.1461905592863; Thu, 28 Apr 2016 21:53:12 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.10.195 with SMTP id 64ls813237iok.103.gmail; Thu, 28 Apr 2016 21:53:12 -0700 (PDT) X-Received: by 10.50.40.39 with SMTP id u7mr971545igk.9.1461905592276; Thu, 28 Apr 2016 21:53:12 -0700 (PDT) Original-Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com. [2607:f8b0:400e:c00::232]) by gmr-mx.google.com with ESMTPS id d141si963745pfd.1.2016.04.28.21.53.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Apr 2016 21:53:12 -0700 (PDT) Received-SPF: pass (google.com: domain of chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c00::232 as permitted sender) client-ip=2607:f8b0:400e:c00::232; Original-Received: by mail-pf0-x232.google.com with SMTP id c189so43654935pfb.3 for ; Thu, 28 Apr 2016 21:53:12 -0700 (PDT) X-Received: by 10.98.64.144 with SMTP id f16mr25891940pfd.159.1461905592111; Thu, 28 Apr 2016 21:53:12 -0700 (PDT) Original-Received: from [192.168.0.4] ([112.133.229.6]) by smtp.gmail.com with ESMTPSA id d78sm19190801pfb.59.2016.04.28.21.53.10 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Apr 2016 21:53:11 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 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:c00::232 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:14877 Archived-At: I have appended below a self-explanatory file, which when compiled by pandoc, gives PDFs that report a page size that is Letter rather than A4, despite compiling with the papersize variable set to a4paper. ****** Start of file papersize.md ****** --- title: Test of papersize setting in YAML metablock papersize: a4paper geometry: - margin=25mm --- This file is saved as `papersize.md`. The papersize setting `papersize: a4paper` is given in the YAML metablock. I am on a Linux system running `pandoc 1.17.0.3`. The compilation script is: ~~~ pandoc --smart --standalone --from markdown --to latex --latex-engine=xelatex --output papersize.pdf papersize.md ~~~ The PDF Properties when displaying `papersize.pdf` using Okular shows `Page Size: 216 x 279 mm (portrait letter)` instead of `A4`. Moreover, `pdfinfo papersize.md` gives `Page size: 612 x 792 pts (letter)` as well. As a check, if I compile with ~~~ pandoc --smart --standalone --from markdown --to latex --latex-engine=xelatex --variable papersize=a4paper --output papersize.pdf papersize.md ~~~ I still get the letter paper page size reported above by the two methods. What am I doing wrong here and what should I do to get a page size of A4 by a YAML metablock setting? Or is this a bug? ****** End of file papersize.md ******