From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23387 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Reagle Newsgroups: gmane.text.pandoc Subject: Re: concatenating md have a page-break between in resulting docx? Date: Thu, 5 Sep 2019 16:46:12 -0400 Message-ID: <16c406f5-ca1a-c2f2-de16-db846a919570@reagle.org> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="228623"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBD65ZAVVYEKRBHPIYXVQKGQEMPSG4KY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Sep 05 22:46:24 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yw1-f60.google.com ([209.85.161.60]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1i5ye8-000xLx-1f for gtp-pandoc-discuss@m.gmane.org; Thu, 05 Sep 2019 22:46:24 +0200 Original-Received: by mail-yw1-f60.google.com with SMTP id b2sf2873939ywf.0 for ; Thu, 05 Sep 2019 13:46:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567716382; cv=pass; d=google.com; s=arc-20160816; b=RmQXwhfa1+GXw+V/x3zMXv7EyzHAZyntZX8+ZMiT4trSGzl5viTTGSYWmWmDUjDc36 ATVfHbqCjyG8+wa3J9i/tqQ0umjYTeJ5eh6/h7C7PGC2ub0k/fJXDcYsSIiHqrO+7qS7 yP4xQK/Wc5nqw1DApc4jONd+9ij7TiZDNEnJRBmGMxFqT41UEUQ0EyPIpYmAM7RNT+eG H3Ab7g/ljp3Tus4icyuS57gkaKDmAm/IH7mTXnKupopjlcWqLEGAAHrblmE4fmUcFpPZ mtf+G6LmIrRfrfHs/NS51/vh9m+oR42lQsBDDQC9EZHgH4eLI2OVI1zdBKGpsb1l1UOU 8aHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:sender:dkim-signature; bh=LsJ5RIv+ob/0yChjjlXA+mwUyeQAXF6kilquLSEXquo=; b=07PBU9/tVujsSXrcFLDahY1prn5xEl2l0y0Iy4K0cQJdkJni9/jWMD2wDcTQ3Lk8HO PSOUoetEXM3bqw6ZXIFdEvjNggjAn7L77OypZi6yoN8oWMmYFt6z3qJ9KsI56nUPxmxL 4RxQa1Y4cjuS8sWB72+IFONmqfluuNh5mk/Van5SRTSFg5ZUk1kDOQxR1/N70FmU8T5h gvZhujI8LORoxRjNK2JX6woHINGvYBS+Ah2811/dS4tOzu1GGfGSOtRgkoxbZ16dW9AT izK38pZI1sGm14H7VfA1WB8t1cEr/4STdbPeDkQWH9D4HEH+Vm08DOT4CawT7vaW7qJ3 F1qw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=c3U8MEwb; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.209.55 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=LsJ5RIv+ob/0yChjjlXA+mwUyeQAXF6kilquLSEXquo=; b=MOsTxTyUu+yBeVoUCgfHNj0pfu89fkz+VUKnlq76rkU8xwfXiFOf/K9rYrGLxPqJHs Sb9o7SfkOWwkyi+51aHRBYCWykGZauSkFvmjOnGBTrELbsiKMu5+pTT83kVSTxGg4b+s 8nkTjx8IXkE8SpPXhrel62n9fkj/Gi5Xyc8A2J8S4ft7M1nP9Ows5XdJ04LrlSOWVO+5 kYrBrZCShVmmpJeqe9FhI1CemCbNqTVeBZlNTxGnkYySPiLBxa1oCN4CcmJdzHkpMs1S sJ8dh3LwzfJQmFf3Vo3O08gsXjZlT2VG6Dzv2e7KZBqUkSrpUiaW808grPeFZ/yQZqTT CwaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :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=LsJ5RIv+ob/0yChjjlXA+mwUyeQAXF6kilquLSEXquo=; b=IStfe2benuLlzkQYEhUo8LonyHrkkWi9ya5VPCdemrGLeyLLqR5DQ3oYL4H6pzPp0C iBL27GjNCd6/QCV0imhItlVBg5DOqHi64MG73GF6a0WJ6+XrXEPS15oBYJKsJHMX0mtd u8huz38clCiWiGO6viWKBxob5FU30CUN73n5x6OSNxQFQIQD/642seslvMabNARsyMo4 YM119kGOcnkWzUBXBpdGtV5PcLdeTZ96HGyrFtTe8iugGrSXw1YjWRCyWMr3cUYKGhb/ JhUpCe7diANjPal2fzj7kaZ4UTYteiyJXDgK Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXfoChxiNylJtp4PYbN7tt8DQ0k0NGnbAgo+YWePLqESLKWGYTF prbTV++LzcCLPaLe39kbiUU= X-Google-Smtp-Source: APXvYqy278wpXLm+x6Hobh2DfzHn9HRrjz28due6VQ9xZNQPIQPjrl9KGViYnDBYyU0HsB+aksHJkg== X-Received: by 2002:a81:7845:: with SMTP id t66mr3857505ywc.435.1567716382815; Thu, 05 Sep 2019 13:46:22 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a81:2d43:: with SMTP id t64ls584041ywt.16.gmail; Thu, 05 Sep 2019 13:46:21 -0700 (PDT) X-Received: by 2002:a81:83c9:: with SMTP id t192mr4074912ywf.497.1567716381575; Thu, 05 Sep 2019 13:46:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567716381; cv=none; d=google.com; s=arc-20160816; b=fXxxAibP5lgAisCIgeYRA4uPuJal84Biegwc2AVw+IRcraKuUqAWh2j2pGZJVtMocZ 2Ni/K5ekHqGhoFmcbQZ0/xjZqQ36m8CAyu9xLtWadGI/8bIzoHdsvIiheGukPPCzGoxP 509LhB+htKKK4cYqLNkOgZHf+gl82WXGvYbQlp211MOa8zWRqmSiq5GRVi1Qr5qfnpgs ZX+W4TJYMYcsNRctMsiJogDouX9ZvcWVvJAMN9G9/oZKERTF+NQ2JTYgotmlR/3LUOun E63Nh8u/SEaMALMyP3mBDdfsv4vAK7YIM3c9AaLtRA243IBw/TKP5e0U6gZeE1QzcG7k DfUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :dkim-signature; bh=n9Xu+kQWyNCHLsooj3pow5eja8i3Or1Tg3kMUJuZN/E=; b=DDZLWajk2K1kLaSlz5uipzCQ+xoxne/ANSE2qrvvDjyIz5RKW+E57BlviXft2cuSIb aJhJuYU2mGLnPlB8EpF+uOQXisGYkg6v/JCBry5T462yqHvaGc/GCVxpM1nI3R12Prcp kxKomlDdcvK0z+iTOUbs/CU2fRpidMJldsiUx7QwU4zoA8goqhwVqDZcNZWCC5/mS2Rc cqWHo0YRMXOV9wQpdZZij53IUf2fQ8tB/CsQOF9DOB3POVRr5vPYMHLC1QJiLdtGwCvU Ancp5WuiPBFhRNiup+bmdCjknzyFaaeJfKOHpgZoYRGAafkmdOisOw8r6yo+jMNqP+2e DYhg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=c3U8MEwb; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.209.55 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from eastern.birch.relay.mailchannels.net (eastern.birch.relay.mailchannels.net. [23.83.209.55]) by gmr-mx.google.com with ESMTPS id g203si224311ywc.5.2019.09.05.13.46.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Sep 2019 13:46:21 -0700 (PDT) Received-SPF: pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.209.55 as permitted sender) client-ip=23.83.209.55; X-Sender-Id: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E519750286C for ; Thu, 5 Sep 2019 20:46:19 +0000 (UTC) Original-Received: from az1-ss21.a2hosting.com (100-96-38-166.trex.outbound.svc.cluster.local [100.96.38.166]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 238D35025C5 for ; Thu, 5 Sep 2019 20:46:19 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from az1-ss21.a2hosting.com ([TEMPUNAVAIL]. [68.66.224.43]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Thu, 05 Sep 2019 20:46:19 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-MailChannels-Auth-Id: a2hosting X-Reaction-Average: 61588939705cf374_1567716379604_1291846001 X-MC-Loop-Signature: 1567716379603:2666147237 X-MC-Ingress-Time: 1567716379603 Original-Received: from c-73-149-23-48.hsd1.ma.comcast.net ([73.149.23.48]:63466 helo=[192.168.0.50]) by az1-ss21.a2hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1i5ydx-007I93-H9 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Thu, 05 Sep 2019 13:46:13 -0700 In-Reply-To: Content-Language: en-US X-AuthUser: joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-Original-Sender: joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=c3U8MEwb; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.209.55 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@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:23387 Archived-At: On 9/5/19 3:55 PM, BPJ wrote: > https://github.com/pandoc/lua-filters/tree/master/pagebreak Thank you, that requires me to add `\newpage` to my files (rather than as a= n option on input file processing) but that's easy enough. And when I don't= use the filter, it looks like the latex command is ignored. Two asides: 1. For lua filters, why not use the same `-F`/`--filters` option?=20 I know lua is internal and the other is json-based, but couldn't pandoc fig= ure it out? 2. When I accidentally used `--filter`, I get a confusing message: ``` =E2=95=B0=E2=94=80=E2=9E=A4 pandoc --filter=3Dpagebreak.lua --toc -i 1-cha= p.md 2-chap.md -s -o test.docx Error running filter /Users/reagle/.pandoc/filters/pagebreak.lua: Could not find executable /Users/reagle/.pandoc/filters/pagebreak.lua ``` It is there, it'd be nicer if it said "if a lua file, use --lua-filter." --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/16c406f5-ca1a-c2f2-de16-db846a919570%40reagle.org.