From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26027 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Henrik Klang Newsgroups: gmane.text.pandoc Subject: Pandoc Lua script to filter specific markdown sub sections during PDF generation Date: Tue, 1 Sep 2020 01:01:12 -0700 (PDT) Message-ID: <4e07ae0a-dcb1-4f89-8b91-ba787b7bea1cn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_290_785428652.1598947272404" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="821"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD5OJP6RVQGRBSP7W75AKGQEMDXYTYQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 01 10:01:17 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f60.google.com ([209.85.161.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kD1EC-00006d-NW for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 01 Sep 2020 10:01:16 +0200 Original-Received: by mail-oo1-f60.google.com with SMTP id i1sf147005ood.9 for ; Tue, 01 Sep 2020 01:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=6BbEF72SfjHBwgm7ZbRyuv/wlKIUOZLe5NoSL4TaItE=; b=T4ZvT9DD8FkhSoTuJ8VHmsKTp7fwYYMZfzLWcC1xXcfnSgXCWx/fUvs/urkmB4dlty ANBQN+va+lxjK41S0Qenv3Uxr8PfMTz2YBpxRC3ZyXSfv7t3chp+te2FdPeVe2kd1CPF xuQoVbcZ4pDRl6wV7I4IVteCmIAObcHmLVl11tM1+ttu5rCcysC1zcgdy+NCqF5s9UhW xRx5J7itq2Muk4A2xNNCxAPFFZk+MPLdJpWsaDhZG1eATbjiE3295kX0qtiBFNDHbaWO i9BKIK/2PeBVFfv5roMEkfaXVFtwEnUnNQS0j7iXPBTlEX5oKrtPhERJ9LvYEs+xLsWK RhQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=6BbEF72SfjHBwgm7ZbRyuv/wlKIUOZLe5NoSL4TaItE=; b=JoaOiqrB3zTUG99cESGVVZFLWzs6vdXMoXeXX+fQ3RHFf+etwivMB3FtUMvAdvXand rn898pJ5hgGLXTOweIienuswY9crgQ0b65o2sbNTgyCdz2UClvB9XntP+WjFxvQlxGto 7Y4eMibL3uKGZb0VL4TONdW1ArS90lzXzSAM/3B+UuAFhVH6OMkJH0kH+Un4QLdE6lD6 n779oG6ZnX62r0bSNpsWVsK2EAgpQykaZ0VWdI8uBVUbJ59/EOxbH8rUI1YXz74qr/tt Ixd7ScMiFUrb6W3UbF2WzNdRHtkgnLtmNLnhawITYvPENviMjLAtntFIN9LpKJzFL8Oz OR+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=6BbEF72SfjHBwgm7ZbRyuv/wlKIUOZLe5NoSL4TaItE=; b=qS5xsN6Sa/f3x51tWtcFBkHnpiIOLwx4GZM2ZDACl8RPQhjturQUZF8b/hHipADWus Svfnv1r67FcyptxAKTdinq90wvGH83DwsHvkeQHNep30r9QZPeGPcALgyCwp5uhp945/ e3C1PK1ro08VRZ18UzrDf/hSHinroAV1KPX3N1A8mNtBKNUB7vjgkGLYcCEER2tcz9iJ VARPmjK/S8051hRdHM+GImxPscacEqqTjSFXMM0CpLrDFSN43hGftEz9OCAxh4erULKd glsWKeEdhsO1ysU+lqbdo8AuVjfnhOag9BXd1Anw2JlqtajxjttmRi444YI0WNxcaBQW OWaw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532jT4wK4z9fj6MPwDWLnej+ZG0RLNOaTY0IjYZuRehsuUJKxrUN 3m80dF1GI+64gWBbQdjqwcw= X-Google-Smtp-Source: ABdhPJxPOaXGP3lRHjf/zir2kzCjVIe4uIBkkT7X81YBDKL3Ju9p97r1ifxUa+GMZOVpjIIaBsf2LQ== X-Received: by 2002:a54:4197:: with SMTP id 23mr379247oiy.106.1598947275748; Tue, 01 Sep 2020 01:01:15 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:49c9:: with SMTP id w192ls65342oia.5.gmail; Tue, 01 Sep 2020 01:01:13 -0700 (PDT) X-Received: by 2002:aca:ecc4:: with SMTP id k187mr349190oih.138.1598947273235; Tue, 01 Sep 2020 01:01:13 -0700 (PDT) X-Original-Sender: henrik.klang-Re5JQEeQqe8AvxtiuMwx3w@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.io gmane.text.pandoc:26027 Archived-At: ------=_Part_290_785428652.1598947272404 Content-Type: multipart/alternative; boundary="----=_Part_291_1060964590.1598947272404" ------=_Part_291_1060964590.1598947272404 Content-Type: text/plain; charset="UTF-8" I have markdown source and want to generate PDF using Pandoc. I want to remove sub sections from a specific level, in the generated document. E.g. filter them from the source markdown. Would this be possible with Lua or would it be better to do prefiltering using some other tools? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4e07ae0a-dcb1-4f89-8b91-ba787b7bea1cn%40googlegroups.com. ------=_Part_291_1060964590.1598947272404 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =20 =20 =20 =20
=20
=20
=20

I have markdown source and want to generate PDF using Pandoc.

I want to remove sub sections from a specific level, in the= generated document. E.g. filter them from the source markdown.

Would this be possible with Lua or would it be better to do= prefiltering using some other tools?

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/4e07ae0a-dcb1-4f89-8b91-ba787b7bea1cn%40googlegroups.= com.
------=_Part_291_1060964590.1598947272404-- ------=_Part_290_785428652.1598947272404--