From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18341 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: Markdown to markdown pre-filtering for equation numbers loses YAML meta block Date: Tue, 17 Oct 2017 13:46:53 -0700 Message-ID: <20171017204653.GC49624@protagoras> References: 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 1508273211 23077 195.159.176.226 (17 Oct 2017 20:46:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Oct 2017 20:46:51 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBNGYTHHQKGQEIGIRN5A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 17 22:46:45 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f189.google.com ([209.85.223.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4Yl4-0004ZS-0V for gtp-pandoc-discuss@m.gmane.org; Tue, 17 Oct 2017 22:46:38 +0200 Original-Received: by mail-io0-f189.google.com with SMTP id o74sf2873281iod.15 for ; Tue, 17 Oct 2017 13:46:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1508273205; cv=pass; d=google.com; s=arc-20160816; b=RIPQUzli2OVQT/aQMO0wL11x/rpUArZ9g2rgFf1Q3l4kqQfqipf/kLwsMJorn3zywQ MXaIMd36fBHl6F6Arqw1ddiC2zqXPOp6Pf/obQQeTEKPDSMWaGmp6SbmAzIMUKcWIWGo UslTO4/mTRuStXp6boOXqaQE8iCP+BQKkPznIv6CkPGkL7mfNDdu83kawXDkiGH+YlQX T6n3DWhgEZha6AlkNtthDxAoXkrlfyncUH1/QSx3sBe/tmWAm1XG68BDzFb9pWGstp6v oRDR8cYpztcNpZl6pWQuNvp5pd5Ur6q4Ae+MMvpUTVrpnVU9WFGehE8UQVvOrtyyulX3 ymBA== 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:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=4dTokQFYNmw0Gi6SZrvyTMg4PuBQbTihQHld8m4wK9w=; b=EbgRf3dXokfwBvAz8WG2VOex7y9CvaisnObBguxgG+EffpDBRGEbTMyB21hvSSC7tn srJK++1rDG6HRSrfu+QqRED0lq1AjskUbpaZt74K1TJENfXQu5kuJ+gdo/Fhrm66JfZA +c5TSViUWPxrpuCeqG23HVL/nPBt5FJVcYnrlZ0ZhHZGSxRTOrwqMxd0mVqtzTsaGoJV qXcRdEXpwryE4ZRb5xsGY7Ul1vIrQ44e0KRq6En7jMVA8XWqs/c8UVyxxkU2Z+cfj7IN 23Z+j80pfkz2EHiL8lQdGsXlDuy/WLs6BmdlDBkR9ft8pGerb7dwXzp0hSnaTGFwNe1e ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=owAun1LQ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::235 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org 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:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=4dTokQFYNmw0Gi6SZrvyTMg4PuBQbTihQHld8m4wK9w=; b=LNvKmeBwdogBLujW0H7ltgCQmcZmHToF0do7M8p3rRRKa/KyP+ZLs6w648iag0IdFP Ao7+60q/G2vem7iqdtYNjzYyvuRsn+1BkdrPBP7M8v8zgVuh5BH2Zw33rIBOc/6EdljA fldV58evGqro4aLdU1vlYwAlpsGlcggOImFOPPpZWJvQlqbFDIdKRp/oFGns5wGvZful xERacl+WtgoAmn3peajGEKYtzNc3xDg6S0P6/Xp1Ir+/p/vvICFHl6Ok3sjNYoJCTjxx 8efNjT1s1RwvqaAW0zwdvQhus9LhYVKifQyd5fr1QlSOMmg4pirWt4EIoJFVAKbDrOpb tlOg== 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=4dTokQFYNmw0Gi6SZrvyTMg4PuBQbTihQHld8m4wK9w=; b=MrE5/FoISs6iX9wGVVYsZVMKJw8Qh5DVa6BtRD7rw5OFTLsnpFW1LxBHCJinrl/Z82 7TEC22Et4Z8I4ddUuiC9K/P3+H+IPq7JXWj17InfBajN5Yjnsfu2GLu79InkCp+ST5Ee yhSkWeG9ioLBgWTClcqflnZ580v94QyZAuKKrFfgVYYMLT9QZ7/3wzl/NOOFNkat6NWZ 6lrqJw5igAV5TfLGV0TAz5NiAX4j2LCfxH3mWMh74i4uc/j8MdXSLwWFc73UxtC1BP29 n9oDhFKFD3yLj+cWGQ4YOMutWW3lb/sc9RUw+coHFFO/9v6i1qiNuNWhnBHkE5/9MCEQ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaXLF88ksnx4Jjn2BzpBs1aSiWaFfSZX98Hq4nWz49ZTdVFDGr0Z 1BGig4qxpdmqwH2n+d70XKY= X-Google-Smtp-Source: ABhQp+S+av4ZTjkkFTpilnl+hW3FBUV3qVdsaX34UK3Oqt+rrEehqATP8SnbDilFYfxUntpH4Q5jYw== X-Received: by 10.36.23.205 with SMTP id 196mr94321ith.4.1508273205285; Tue, 17 Oct 2017 13:46:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.101.78.4 with SMTP id r4ls593836pgt.9.gmail; Tue, 17 Oct 2017 13:46:44 -0700 (PDT) X-Received: by 10.159.204.132 with SMTP id t4mr3692971plo.47.1508273204363; Tue, 17 Oct 2017 13:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508273204; cv=none; d=google.com; s=arc-20160816; b=AcIoZ7QzmSWH9zIECuwc6Vc3ne2zWmV6cUxfiKnl025q9JAaRE3xvJvCGzXc6XegtA LCBepGMlEa0HA8PNfbQ4aEIOAXiuIEmkhPW1l1oVqtyfvE4aT7gCqf/qvN9Sa34aqzT3 qG2B8+EG8FtiYOIyTc75vUNYz2PbD2suBGIPLgwLL9fmcXuJ4TD1feXNtuTCrfVarZM6 RkMctn78uIKGpFeBxTkxdOccq+p/cmbbM2wVhxsM+U9xxVaozbxlMECJPWlA31hsX2l6 zfM/gc4iFavb5ipVQVLMKTwZ7ZUQ+9TRWNuwhs8WzZcGfrJbqdTQVCnjNWJ5KWonbvsj Lopw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=gpQAfaAUGlTBz52t287V4s4k+euzxyQHdHT/OQZzM0g=; b=kfI0Q4nGYERRe5fcO4n3gpQUHdbW97RhlljAzoGeflFYOXGKYpxJks79kjXZV1uGZI GoO09hkbwGOcB4Z++cP/l7NgG8ztnTJj5az2MVL/4yvxW0uxJ+ikl1kE6MTM+tb1sxzn vd6q6LFQQF/YTR0OiCuUhDu79Q1t65kkztd1oSSGtKDgwrrKe+qAFXHj/mwwPOl1E4uk HLPszkLtX0PkjByFSDwKUetxNcl2Sqdc7gPkivk5cszn+xAuLi/NSVkpmpsOeVewKdv9 doNWZhu9Wv4ZwjzQuzg58gewhpgU7oY6ggZVDWgTTDtUfCOpwH+eEqthuz8gshSR7Au2 f0uA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=owAun1LQ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::235 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com. [2607:f8b0:400e:c05::235]) by gmr-mx.google.com with ESMTPS id f20si809865plj.0.2017.10.17.13.46.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Oct 2017 13:46:44 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::235 as permitted sender) client-ip=2607:f8b0:400e:c05::235; Original-Received: by mail-pg0-x235.google.com with SMTP id l24so2366428pgu.11 for ; Tue, 17 Oct 2017 13:46:44 -0700 (PDT) X-Received: by 10.99.120.13 with SMTP id t13mr4216898pgc.40.1508273203796; Tue, 17 Oct 2017 13:46:43 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id y10sm19036352pfl.186.2017.10.17.13.46.42 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Oct 2017 13:46:42 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id AC132A1ED; Tue, 17 Oct 2017 16:46:31 -0400 (EDT) Content-Disposition: inline In-Reply-To: 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 header.s=20150623 header.b=owAun1LQ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::235 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:18341 Archived-At: Use -s or --standalone to get the metadata. +++ R (Chandra) Chandrasekhar [Oct 18 17 00:09 ]: >I need to assign equation numbers in a markdown document and am >running the pandoc-eqnos filter specifically to get a source document >with that. Ergo, I need the output format to be markdown as well, >preferably the default flavour put out by pandoc. > >I tried > >pandoc --to markdown --filter pandoc-eqnos --output out.md in.md > >but I find that the YAML metadada block at the very top of in.md >disappears in the out.md. What should I do to preserve it? > >Thanks. > >Chandra > >-- >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/ea78e6f5-67cc-be29-684f-c1fa106c7783%40gmail.com. >For more options, visit https://groups.google.com/d/optout.