From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18064 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: latex to html or plain text without any latex construct Date: Tue, 22 Aug 2017 17:09:57 -0700 Message-ID: <20170823000957.GD11626@Johns-MacBook-Pro.local> References: <87r2w5xaie.fsf@mat.ucm.es> <20170821210000.GD9940@protagoras.berkeley.edu> <871so3yet8.fsf@mat.ucm.es> <20170822175049.GC33272@protagoras.berkeley.edu> <878tibz7c2.fsf@mat.ucm.es> 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 1503447015 4153 195.159.176.226 (23 Aug 2017 00:10:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2017 00:10:15 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBYUP6PGAKGQE6QGPTJA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 23 02:10:07 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ua0-f183.google.com ([209.85.217.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkJFE-0000UP-Qk for gtp-pandoc-discuss@m.gmane.org; Wed, 23 Aug 2017 02:10:04 +0200 Original-Received: by mail-ua0-f183.google.com with SMTP id e10sf157930uah.0 for ; Tue, 22 Aug 2017 17:10:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503447011; cv=pass; d=google.com; s=arc-20160816; b=N0kZC1GXKXc4PE9EuoMv8+PKkCHXkNFhVVadRPA8RCZ3pYqKwA1h4mB7tIbZuYJhci apFD9HJPBXBQjHswuc8E4JjzZOZXi4bqXrAkegzmlh4le8syYZ+EvVYeDSCYLfGgELCt SMXEiQtFj5uYgethPASNOQ0XH+FZF8tLcgrEZtTWdPAKdU61POqYkhL7bxucJkzq5tW2 JthFwRmAgial65YjtBDmw0UfC+G/lH821fOEkblTZmL4lN/o2LbsUrdQnozr80jvaUNU 41lbYuNowEgc4HUglHIo0cmUcehsCS7c7OtzbhEKYtYFi2I9HY2TDL7LNwiq/pWTykrv sbqQ== 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=9vh3daijnR1ly+Wp2oupMbyFU/31e1cuGBQjJW45lQA=; b=up+G3ssNYZFaOGHyHlVGD5DpRTvzW3dN8dgDFTv73KcKcmONa9SKqJDHdmE6JM6FFE Z5UilD9TnWzqUHyER8b/Eb5I2+pDmFIfoK4Cg+c3HmWItzMxvndk0vJPcaTbfc6BF21d 5CTW10zEcMEyI2O2pV2dr5GKQNjyeYkr9ITVQFjx5QDH5YpOQltcts8vo6CXTAI1CKRF aHwn56PDbc3J1Xg95ZMqIVhK+gGXwUfZyGWPrm4KU/rLyRZKeOx55APHv0bjxKujxPXY 4yjP+q1PzA0JqrTsETVpTqlaQSpSxuyoVdc1X7DU/GSZehFDW3KsjpKTBusuI8xeZ3h/ ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=mcbpcytM; 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=9vh3daijnR1ly+Wp2oupMbyFU/31e1cuGBQjJW45lQA=; b=fSTJkcaecNrK9ZoNmYH8JwmgskCpIR7DlMllvAvobcHqRhOYYyK+ncgkDfN6Z1NJOT ndzQ5pGHsL8COXVAvmGSISnSWuKe4NjVWugbCgOWLQCWW4zx/b7h7H65LHofswCw1KSU HM09X/gFPPqAZPS50oRiRwNAi/PkLhVGFBj+1DXjb/d7RqIb3Tt780AEOVvDxYN2qaJE X7kkIFS2VXlnyIgC3qHmVUZ4A0NHDLQ+GLwB+OR+ur8JdSkOE6RWIt2pt0jM5Cs7+1I1 fSmstRBWcD05qnP1EdG0Q+OCLmqZmBiRLEW7yK5EwfxNieaXsguMvqTqCG63h0LhLENH XAkQ== 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=9vh3daijnR1ly+Wp2oupMbyFU/31e1cuGBQjJW45lQA=; b=Bx//8yc44MGKRgp0vstetegd/Hl16QKI0skgFaGnaRTzqAjH0iRr5tSPP2lY1mKLCI +4t7+1vIOAbTJH0TGDeszpAD2fikpT1svv2fEPz/PWxhB6bMkhXhUdiZR1HPAJIPnLkw JodLfb9ZYamIA5riV6asGGqPKPc0gOB4ASRVqNop9dRVF0kcmEvoK5qdsrbyc0kP81vd A9Y+Fa1sL4vKG545MiqlZdzI1WyyNV8qSRXKGukPELnvP5ZJCxGV5WT6tmQZ29SfKOAf czWQXppf4Z7XLltC/D/24WECbB7W7LyyfZTs9vXyujjkCnV9BY+ld1ves2DN2KzYYwvP Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5jbkzXBKec/FNq+f+HPCvoDrd834dD6Fl9Rh5ZGZ+voFcmKTmmM qXR+KD1GbKxdBw== X-Received: by 10.36.103.84 with SMTP id u81mr75951itc.13.1503447011257; Tue, 22 Aug 2017 17:10:11 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.55.7 with SMTP id e7ls478405ioa.35.gmail; Tue, 22 Aug 2017 17:10:10 -0700 (PDT) X-Received: by 10.99.139.65 with SMTP id j62mr689577pge.139.1503447010461; Tue, 22 Aug 2017 17:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503447010; cv=none; d=google.com; s=arc-20160816; b=HXYhyZqw8gsW7QfYJ9IMac8BP4bSpByg9KnJTusWPFGuDNTQ/Y9R0kj44eMC7T58qd pJERb2ewnocCqFLnD7dePACsm2GCPf0dQ5MSQztYCX8Eir0mTMGwTKtnuq2z4u4HrOua t0sXK5ZELLes0qeOOTuF9h7z064n3DLUTTkkVtUvEm8CEuDzo2IHJ2ZIr44jUCvJwgTw pO0q9UXrThZZc0GrzbRerby9txu68g8ca636TsH1m0iRmOgx0v34JpvnZ16M96FPUHpZ XtOZKrnmFB3p6XuY8Ic1EmAkkgXe7Ei3Ha6oHlIpzU3b/niB2kMlEbpe+v08muzOaWex 4rEg== 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=iTrhSSMkwRZWNGcbybVV8cnmtmTcTLME7eGy71t8a+4=; b=r0VPc2m82XygeXRtZHgkLlYEo/sOl3X6MsrEQ9YD4Xy2KabN+YS7+j8aUksTy+jL2N pq4kMAbvnwkgHe6pY38ZTNtGA1jYzy1cyba+TpdK+PxnVFNXbgWRrF6HnkEKiaoK/HRr OTW1BRrR46lyugxV5MUhsVxp/dnqHzyavdvR48Vy1QeZHXcjuz4GdRtQrnvCml7P2LoJ eKfiwX0djeqnp6H5YVcOhgq2GnJ3GN+CY/r1cPNb34TWDdDHWznAZvoWWruyvhIncagC bODMirhqfrDit1vT23DqqXJfcpB1pfuyt2xQjPJN/Zw3jc590jJWOKl71+s0TPi6ySe7 aN+Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=mcbpcytM; 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 k73si61665pfh.2.2017.08.22.17.10.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Aug 2017 17:10:10 -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 83so977846pgb.3 for ; Tue, 22 Aug 2017 17:10:10 -0700 (PDT) X-Received: by 10.99.37.6 with SMTP id l6mr804654pgl.407.1503447010027; Tue, 22 Aug 2017 17:10:10 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id r87sm200591pfb.112.2017.08.22.17.10.09 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Aug 2017 17:10:09 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id A24F6A1C5; Tue, 22 Aug 2017 20:09:58 -0400 (EDT) Content-Disposition: inline In-Reply-To: <878tibz7c2.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org> 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=mcbpcytM; 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:18064 Archived-At: Ah, you also need import Text.Pandoc.JSON instead of import Text.Pandoc +++ Uwe Brauer [Aug 22 17 20:16 ]: >>>> "John" == John MACFARLANE writes: > > > Try with toJSONFilter rather than toJsonFilter > >> import Text.Pandoc > >> > >> main = toJsonFilter stripmath > >> where stripmath (Math _ _) = Str "FORMULA" > >> stripmath x = x > >Then I obtain >stripmath.hs:3:8: > Not in scope: `toJSONFilter' > Perhaps you meant `toJsonFilter' (imported from Text.Pandoc) > > >I am running pandoc 1.17.2 > >-- >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/878tibz7c2.fsf%40mat.ucm.es. >For more options, visit https://groups.google.com/d/optout.