From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16606 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Adding page numbers to HTML5 rendered PDF Date: Thu, 5 Jan 2017 22:26:43 +0100 Message-ID: <20170105212642.GC28738@Johns-MBP.home> References: <20a10d08-3723-4b5e-94fe-230655c49168@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Trace: blaine.gmane.org 1483651622 22068 195.159.176.226 (5 Jan 2017 21:27:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2017 21:27:02 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBIHUXLBQKGQEY4ZY4GA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 05 22:26:58 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf0-f190.google.com ([209.85.192.190]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPFYi-0004OL-V3 for gtp-pandoc-discuss@m.gmane.org; Thu, 05 Jan 2017 22:26:53 +0100 Original-Received: by mail-pf0-f190.google.com with SMTP id i88sf108512536pfk.1 for ; Thu, 05 Jan 2017 13:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent: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=DhQByYbFy4O/i/EttZHsj8u8AwcWYlyDPZc/vg/Zugc=; b=Y1ShNPHa3RPNbgrlgoa5QzmWmCZ/UPZTQh/Lnp72joZGbDm1DUplLyjPWSHsbfunQZ JrB1ohZppGlszCIdhga3qVd/97iRxI3DInhBeBOeWlAeOy/9LJ7mHygfgbg9SKGOlLVY O1wc5vsBeEtqnu7a7gZB5owRQmWzyC+AGdCCTue66wJnM58RVgX+1V6Zii3ZePVInwF0 4DATOrWYIW3RiDIEuv8FPXQ6BUNaueHI1nZ27ixomNTYYk1jHugPnSHQDDhY4CXyKidi 26uLJIhtcBX40BwXcCBu65V9CahBR+zNmT8Sj6wIibGl6Gw0t4PkGiE4/sYVbTPVlhOS KqZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :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=DhQByYbFy4O/i/EttZHsj8u8AwcWYlyDPZc/vg/Zugc=; b=Tfux+gG6Dygb5cLL1GY3D+oOvEtGa/5lj8cAEc2tUGMdwVpTXRBp0w3l5csTKB2+IK klP73E3dWAMWy5mb2CYBt3prMBodZC4K1HumIiHR3ONfYj9h1GLdmsLltwUKfshY2FSe dBzYb98xgdWSWz8wbATQZykeYNXnE0Ya2HPXOD39YeJqqWKBjqoRd9y9qDisHdkEjz1P MBnxiUGlUArfL3XpKSpsyINaveoogZECQPjkz8ykwG0WuAg/o53i/wG+v9BT7t5KiVO5 MRLK2K529kDOlLb78VuabL5eeAMHq9HoKRFeNvOdLlDDFfKznyr/N3FrxxC7Ji5dIthe Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIkVDXIiPajG15Ao5btfzoiCX5OujRscfwfjUwyebU+3vv5+p7RKUaiSZwHTYvlVG5LsNQ== X-Received: by 10.157.17.3 with SMTP id g3mr4004095ote.8.1483651616991; Thu, 05 Jan 2017 13:26:56 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.13.228 with SMTP id 91ls1378728ots.42.gmail; Thu, 05 Jan 2017 13:26:56 -0800 (PST) X-Received: by 10.129.57.84 with SMTP id g81mr21837127ywa.127.1483651616605; Thu, 05 Jan 2017 13:26:56 -0800 (PST) Original-Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com. [2607:f8b0:400e:c05::242]) by gmr-mx.google.com with ESMTPS id w2si19202873pfg.0.2017.01.05.13.26.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jan 2017 13:26:56 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::242 as permitted sender) client-ip=2607:f8b0:400e:c05::242; Original-Received: by mail-pg0-x242.google.com with SMTP id g1so41808117pgn.0 for ; Thu, 05 Jan 2017 13:26:56 -0800 (PST) X-Received: by 10.84.206.37 with SMTP id f34mr160967143ple.127.1483651616192; Thu, 05 Jan 2017 13:26:56 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id b8sm5952794pfh.16.2017.01.05.13.26.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jan 2017 13:26:55 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 30594A0C5; Thu, 5 Jan 2017 16:26:45 -0500 (EST) Content-Disposition: inline In-Reply-To: <20a10d08-3723-4b5e-94fe-230655c49168-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::242 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:16606 Archived-At: Currently the writer is sensitive to papersize, title, margin-bottom, margin-top, margin-right, and margin-left metadata fields. We could add number-pages easily enough... why don't you submit an issue on the tracker? +++ Ben White [Jan 05 17 04:59 ]: > Hi All > I am using pandoc with -t html5 to make a PDF that has CSS formatting. > This uses wkhtmltopdf under the hood, which I used in a previous > project. > wkhtmltopdf has some useful options such as --footer-right [page] to > add page numbers in the footer, however these options don't seem to be > exposed in the pandoc options. > Is there a way to either: > * Pass options down to the rendering engine, or > * Insert page numbers in a PDF rendered by wkhtmltopdf? > > Thanks > Ben > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/20a10d08-3723-4b5e- > 94fe-230655c49168%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/20a10d08-3723-4b5e-94fe-230655c49168-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout