From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16638 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.text.pandoc Subject: Re: Filter with arguments Date: Sun, 08 Jan 2017 20:40:41 +0100 Message-ID: <874m198hmu.fsf@fastmail.fm> References: <20170106114647.GG791@Administrateurs-iMac-3.local> <8760ls8jby.fsf@fastmail.fm> <20170106125852.GA1662@Administrateurs-iMac-3.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=UTF-8 X-Trace: blaine.gmane.org 1483904452 15480 195.159.176.226 (8 Jan 2017 19:40:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2017 19:40:52 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.1.50.3 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS7B5O6XUOBBO5LZLBQKGQE6G4PQRY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jan 08 20:40:48 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qk0-f189.google.com ([209.85.220.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQJKZ-0002kU-OH for gtp-pandoc-discuss@m.gmane.org; Sun, 08 Jan 2017 20:40:39 +0100 Original-Received: by mail-qk0-f189.google.com with SMTP id d201sf32198246qkg.0 for ; Sun, 08 Jan 2017 11:40:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:references:user-agent:from:to:subject:in-reply-to:date :message-id: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=2uod2dAU278yOpK1RmOoIgkzoDvSkt08tuzXTUnDUAs=; b=KixTKF24ECodgQMoj/R9Fo7FVqEAwgeEElGGphVR9kS0daY87UMgXONQxekjCl4gZM 1BYRLJTxSsuF198PQe6KXsKiPTgcSckmIxJz4KeHoZ9os6GfUOp8Y4rhiU1psZc59Ubd WMRIG4Er5jukbkGKjYofHQ++Q0orVCf2qsA+hp9TJxJVtVm/TgAJsEnXQVUoV6p6UiN0 TBrR6gKvqUkk6Kg0tv+SekkCtxZW0kdPHCGTvTzQkdSmvQfpN2/roGy68EfzNeSjZIcP gszGtPqH383SW8E/KohgEVv9bQ37TH/p5kUzX6IY8CXfjSBkSxOsVKoaf7dG3yYT24EW Jyxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id: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=2uod2dAU278yOpK1RmOoIgkzoDvSkt08tuzXTUnDUAs=; b=Faurh3NaGb+V86OnGCMFvkLapBKqFdW8G2D3mL3jnfcawd2FMwWjTk5nWxaO9SMqTR HP+fDRRYl5/MNMEB1bZsGdAOI/RIE9aPB2D6/NRet+vepl1pKpXcmwpIPmQTJN1jDkb6 sdXce0qxHv87bcDQNtyFwyKx6tlEce+e5eCarKPg9CSgR8gc7AMNBK+PdpkGWwerptgN 1OzFjKTBPx+bldu/jeOWK7Q6K0CAXd6hQ8OD5Ube6H+jDMWx+5E+j7sqfxzjFpIzf07i Qsz7pdfYvFCSuw5QhTDSrunKRtmcGQenoqwmCHdzvT+CPf7c0a50i51Lz+4OYfxbo8aZ Dohw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIkVDXKLQa8wQiK2C/vJpRDjZFKoP13y8R1kaxCE6cPhfCGuCIuw911wZJmFWJpI/PDvXg== X-Received: by 10.157.18.211 with SMTP id g77mr718227otg.14.1483904444075; Sun, 08 Jan 2017 11:40:44 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.5.41 with SMTP id 38ls5246085otw.35.gmail; Sun, 08 Jan 2017 11:40:43 -0800 (PST) X-Received: by 10.31.9.75 with SMTP id 72mr17553571vkj.42.1483904443582; Sun, 08 Jan 2017 11:40:43 -0800 (PST) Original-Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com. [66.111.4.25]) by gmr-mx.google.com with ESMTPS id v77si7071090ywa.7.2017.01.08.11.40.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Jan 2017 11:40:43 -0800 (PST) Received-SPF: pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.25 as permitted sender) client-ip=66.111.4.25; Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 427E920A62 for ; Sun, 8 Jan 2017 14:40:43 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 08 Jan 2017 14:40:43 -0500 X-ME-Sender: X-Sasl-enc: DPvpnrR8tH4Sz7cnR9QufiIyLbf6qL2uziEvHDlL+8M4 1483904442 Original-Received: from IdeaPad.messagingengine.com (x4d0addd3.dyn.telefonica.de [77.10.221.211]) by mail.messagingengine.com (Postfix) with ESMTPA id AECB22423F for ; Sun, 8 Jan 2017 14:40:42 -0500 (EST) In-reply-to: <20170106125852.GA1662-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org> X-Original-Sender: joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@fastmail.fm; dkim=pass header.i=@messagingengine.com; spf=pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.25 as permitted sender) smtp.mailfrom=joostkremers-97jfqw80gc6171pxa8y+qA@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:16638 Archived-At: On Fri, Jan 06 2017, John MacFarlane wrote: > I think this is too complex, with --filter-args affecting > the immediately preceding --filter option. It's not unprecedented, though. pdfjam,[1] for example, allows you to specify multiple file names on the command line, with each file followed by the pages from the preceding file that pdfjam is to extract. But, although I brought it up, I'm now hoping you won't go this way, because my pandoc-mode for Emacs doesn't have any infrastructure set up for this kind of thing... Normally, new options in Pandoc can be supported in pandoc-mode with a single line of code, but --filter-args would require quite a bit more work... ;-) Joost [1] http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam -- Joost Kremers Life has its moments