From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22062 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Colin McLear Newsgroups: gmane.text.pandoc Subject: ignore section & content in output Date: Sat, 9 Feb 2019 10:55:15 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_242_1518880856.1549738515332" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="243744"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCJPTDWP5AIRBFGE7TRAKGQEFTPXAKI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Feb 09 19:55:20 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gsXmY-0011Eb-4P for gtp-pandoc-discuss@m.gmane.org; Sat, 09 Feb 2019 19:55:18 +0100 Original-Received: by mail-ot1-f59.google.com with SMTP id j23sf6440251otl.6 for ; Sat, 09 Feb 2019 10:55:18 -0800 (PST) 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=0y/6+SgaY/MQJWAcVxVbryyDNJs7dWt4dGir0RZBq3A=; b=NOPXKcEQSiDrvFelpJJs2hd5obNnuvVYxW/x3cpOyRqc92ENBY6VhXK2+gfPSdakLr 5FtmR09w7L2IF/7cAkXBT0H+wKhVeOlbG/C5P1Jj+/LVHzaA7WeeEq/5/dUWnbUI2lXt 2de5zZ2HWNhKlRRWYSOioiqYG21cmaGQ2N6ka+0HWRdZoIrvyuJGc2tGPPO88bSv5BGc 05/KDGl4mA2/QUTu/pn+KjUdklAmSZjfXYTqYdfRaJ2dX9WhambJ09eyLQ0Q9+NFDF+n VuJglcp0l364CHl9n1q15vPdrr0oJyeTyyytHvT5z+/Zu0BfQH/mfSt3nbJY38oD06Fb HMdg== 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=0y/6+SgaY/MQJWAcVxVbryyDNJs7dWt4dGir0RZBq3A=; b=gVLxFpfTkLxGqwzEHXjWwOasOY9y5JKmXvdCviOSZ7LB4atpg/Rhzg+5PUHWh/tIHB wTkDbDpCbaSFhbfNePZhNhvvhRIJlGy1F0UK1rTZdR+pTOa6Vkok/MuzQoVefAqgaDCK WRFYcUoeMx42LF/dVh4MGJNQZPQf4a3og+1LJQMTurkOMrozgPDRSvTEsrfH/M+ezlrz ye/9jRycVQl13tDWyYG2qSyV0rufT6kQ5CU/QDO7tfSGIYRkbh0FNnZXcRVLImhv+rkG 3qA4C8X53dZFLvvitJ//Co0AlSPoGmX+XQNu0pXt2Y84+7S6dll7twWW3WF4qNDJFYVk r7gg== 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=0y/6+SgaY/MQJWAcVxVbryyDNJs7dWt4dGir0RZBq3A=; b=JFoeVAqdbUYYqj14PnQgt7hrivGhB8pJ9PQ4Bv0t8Tz+hxrozqy+uYuzGuSd4lh9Xw MkCfkucgmC9VbOr8dQatmsNQUIKzZc7TjmEuRU50vS6CsiLj5xbHd/uvwwONGFgZy//K FIYOS8cRiRN9pp/koOKHLg7tGdYqZr8sisX3c8gR8sX5OPMBPGhUewfwKq2p3/eHTqOq o1+gjmGHtdgXGdZSKi1gV1to35sDh21tayshHqstvq2V7m5NbYkdfMhYmWtFzCkL+l4p O85NM4DkJS9YSvFJvi/Wy974xSGUCZ5rt1RPR2dsOwBYAPZfP2SbX/JE5lOoNBT4yi+A yIxQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuYj6YxLmkkbh6PEkspe3FXq8rjhmLMV5WsYfmNR5R00CwwCgHcA BqM6pzxOAX8AkO5z32IXkoU= X-Google-Smtp-Source: AHgI3IYIzmU8bHO4IsjklIyRm/cGUyy3zQliVOGwWzcRYjzRKMWuklZDu+BefDkNFVlC5P7oStCrzg== X-Received: by 2002:a05:6830:1212:: with SMTP id r18mr217077otp.0.1549738516953; Sat, 09 Feb 2019 10:55:16 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:32c8:: with SMTP id u66ls5167470otb.0.gmail; Sat, 09 Feb 2019 10:55:16 -0800 (PST) X-Received: by 2002:a9d:654f:: with SMTP id q15mr295530otl.6.1549738515947; Sat, 09 Feb 2019 10:55:15 -0800 (PST) X-Original-Sender: mclearc-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.org gmane.text.pandoc:22062 Archived-At: ------=_Part_242_1518880856.1549738515332 Content-Type: multipart/alternative; boundary="----=_Part_243_2067146975.1549738515332" ------=_Part_243_2067146975.1549738515332 Content-Type: text/plain; charset="UTF-8" I would like to be able to put an id like {#ignore} next to any section title of arbitrary depth (i.e. h1, h2, etc) and have a lua filter that just removes that section for any output. I have a filter that accomplishes this for particular headings but for some reason (well, probably because I know very little lua) I can't make this work for heading and content. Any ideas are appreciated! -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bbe3cee2-f65b-41c2-a1e0-04eceedd463f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_243_2067146975.1549738515332 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I would like to be able to put an id like {#ignore} next t= o any section title of arbitrary depth (i.e. h1, h2, etc) and have a lua fi= lter that just removes that section for any output. I have a filter that ac= complishes this for particular headings but for some reason (well, probably= because I know very little lua) I can't make this work for heading and= content. Any ideas are appreciated!

=C2=A0

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/bbe3cee2-f65b-41c2-a1e0-04eceedd463f%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_243_2067146975.1549738515332-- ------=_Part_242_1518880856.1549738515332--