From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19530 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Date: Tue, 13 Feb 2018 09:12:11 -0800 Message-ID: <20180213171211.GA16514@Johns-MacBook-Pro.local> References: <87inb767g7.fsf@mat.ucm.es> <20180208211548.GE1526@protagoras> <87eflt1574.fsf_-_@mat.ucm.es> <20180212060258.GE5841@Johns-MacBook-Pro.local> <873725jggo.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 1518541858 2969 195.159.176.226 (13 Feb 2018 17:10:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Feb 2018 17:10:58 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB6NYRTKAKGQE4QLMDEI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 13 18:10:54 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f63.google.com ([209.85.214.63]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ele60-00073W-LE for gtp-pandoc-discuss@m.gmane.org; Tue, 13 Feb 2018 18:10:20 +0100 Original-Received: by mail-it0-f63.google.com with SMTP id d137sf8374405itc.0 for ; Tue, 13 Feb 2018 09:12:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1518541946; cv=pass; d=google.com; s=arc-20160816; b=KV/axpf3vSkk76phsR29U18sf0hIFhsybD8KPjy33fkwXx2LkKuAIFOoY07r/qoGCT Sb6ixtvCLIcPYOosiPfUrgyI3t6aVa6NgIsY9f23K+iEvvJIFQhumZoNxRgQ3J+oGxED t/9C46KQ7BIlOFErKg/yY1ew/juc2+5KZKBlW7Ic2tztM2vwiScH2BM94nYgve9XHzgA 4AJq6/phUeWLBy5vc5FPGmdUoQ5PrhoAde/zJUc/KCkLrvByvNr+gE+S1N0xL4rKCL54 MiRVVD+8JXjzcnGdD8JcQKRKscRQBoHIah9GPR21iDsCKyyEKgv16QqdiQeo4iBYu2v2 kIww== 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=kLQUwJ3R2N/z3W50Fq+e4trUD73qxi22qoZ0zNxy0Wc=; b=v39pQtTThdatUtgeRYN9uopjIDRzorutSVzBynPgBtGIrltPhrV93abvKwiUXNdPnC EaJmG6S7hovxaLvmEiC2o2gpzSJp32keQZZQ1GzMQcTGL+NuK6/ltmEit+9CkkG9zuXx XULf6NpXRcZMnhhZSgCkiel/YvjkPVOBXTkU5YgCatYWwNnb5zFBnAilN379VjkrPOM2 7lAsKIkh3fIAqdUCnuYQQf3s+4hlowlOby0jzXppjUd4080taxrGxJ+CeCfR6wJfQP+i +WfGLh0zZrGJjLlcy3qZmfDC7+jOxvJntQc/B3U9xgHB8Hb2V2qw26ripu6X0siYOWDs ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=tyqqGaqR; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f 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=kLQUwJ3R2N/z3W50Fq+e4trUD73qxi22qoZ0zNxy0Wc=; b=WHrxBd7njAoTRhl6YCuwteLJn8AbIlQy62fmAcNBAVDOpKkNTjA98lWFLdBmpxmO5y ycgzBjxsiuueP+2F+haArnufsNbtznR+pHcglgiBAUeMYnKUunesmx47Tp2utw5zEr6m xswcYJ87wgEUOE1PR4SQVymJBMwCxLSz0/5S4eKUHReD1HExYi6a/Slb2FGzwuxkpmYJ RMtZZXnNKaxBM/c4RnlyT0JLrNmJ55EONTCFdxK3C/vW4KbXQ/xBK9FkM5j6meVWjaOV rSDBJNStSs62Ojy7CBcAzm1OrRETNibhlOb1a+0r1bZsVP2Yp8t3t6DIzAoAlv+2yBI0 Ag1w== 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=kLQUwJ3R2N/z3W50Fq+e4trUD73qxi22qoZ0zNxy0Wc=; b=MYOTZNMi4ENShXc/+xOLWRwaNAdnV3EbpNa0J9Kq+1+8AnlBUUs9kRnhbH011wm6rm UchLRrtJEmaRbhWSZ3RQFziWARdUgOSPy87i28y7FdoYCAfKhwrxe0r37fGUxldQ2kZ8 RhYYjXeP8BAM7IGbs7u6JjUThHX9tZpS36TDoxykWdiiopISd/ODjvyWdKl2lY0Ncr6v +J94XKOqw4YpkVgbqy4X6vD6oCrPDEHcHI5ScbQzZpTs/vETvFykE3K0nFmw3ri2zSjT SwWglJl2A41liC1FkgBu5SEa4VcnCTrKle6sa+ZiPiDpZ73HNwz2KMHDgOxpgkE35EPm Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APf1xPBHKxP+0d7/rIUQ4NQApOK/vg1THuWChsTOLqNAofWvTFSKQ9FB vV7WrE/YE+gL1B3d2JN3w+A= X-Google-Smtp-Source: AH8x227PLt2+qkFpfjqsFW4QM4KyksU2K5Fvz7JHQvhghYa3mCs4/U7f8TawSyKaU/dLnXgwj4EaDA== X-Received: by 10.36.60.84 with SMTP id m81mr27970ita.7.1518541946494; Tue, 13 Feb 2018 09:12:26 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.65.233 with SMTP id b102ls1233396itd.5.gmail; Tue, 13 Feb 2018 09:12:25 -0800 (PST) X-Received: by 10.36.77.195 with SMTP id l186mr1526162itb.40.1518541945340; Tue, 13 Feb 2018 09:12:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518541945; cv=none; d=google.com; s=arc-20160816; b=jWeiD1Zd/DcGWN3WXVb/PUZY2CGJQ3zsTyMf3AyF3lhAiM7aiQY9ajyRRpCYPyjyka GwyPGypR/UxJ0AJPyeN9UO8NJR2MwDt08jFu8/2dT03cJPPNaUDvSajWbGQbo7oVsUVo gtbK4XhWjIFYJjItYgQ5q75Sbzco4dLI0b+yoV0qZyuFsRJr9/4vhCFgM9Q18c91Mg+V pQW58/fiilQAogvsHtCW/y55GtJrYXk+9zriVkUQhpi+i4fyc2VcOusSQcwYiP+Kunqy XawKMTsnhWwPP6VsHTOwT5NePM8Fg4JuglAY3eVsGdzORqvsL1yhmd/dhz/8wlxt3PxB ntxw== 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=IPJMj3kx3CPUyWo/9zbRERGtkOfz4sbr8CJ7vVWhFrw=; b=HIfUvHtngO/GrEfoaxNCZsf4XXsQh8/J1L6mUbKTcDdO7yKItiZCLx2FmJtZk6atgX m1iaclmwGfhvpNBjnNnuN6bSaciJ43CPKeAabC/N0KUL1Bz1+R3JiPZcKoMHlvST4Joo ZDLQro6En+oCvA7UwIPrdasW3/TN6xUukSqndVsnlXVKG2OMmlSdg3R9gs5t88cp7xkI 706sSssVm/LGV5ZilWMOl6W+Jyun4kbTLW4K691kL86QLjrGxuIP/qFWzHdZ5AAqAqOM SCJ4qhz/0ytZTWKp1XvTqarLNfSBa8NYIW7nPkrcB+B+AGb+YnNy/fOVQkuWTCY4KDXI aD7g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=tyqqGaqR; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22f.google.com (mail-pg0-x22f.google.com. [2607:f8b0:400e:c05::22f]) by gmr-mx.google.com with ESMTPS id 66si474479itr.0.2018.02.13.09.12.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 09:12:25 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f as permitted sender) client-ip=2607:f8b0:400e:c05::22f; Original-Received: by mail-pg0-x22f.google.com with SMTP id f6so279078pgs.10 for ; Tue, 13 Feb 2018 09:12:25 -0800 (PST) X-Received: by 10.98.190.22 with SMTP id l22mr1939585pff.32.1518541944457; Tue, 13 Feb 2018 09:12:24 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id r90sm12472823pfg.29.2018.02.13.09.12.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2018 09:12:23 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 2F91AA231; Tue, 13 Feb 2018 12:12:12 -0500 (EST) Content-Disposition: inline In-Reply-To: <873725jggo.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=tyqqGaqR; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f 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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:19530 Archived-At: It looks like this error may have something to do with the specifics of your filter; perhaps you could post it? +++ Uwe Brauer [Feb 13 18 12:07 ]: >>>> "John" == John MacFarlane writes: > > > The filter has to be compiled againts the same version of > > pandoc-types as the binary you're using. I'm guessing > > this hasn't happened in this case, but I'd need to > > know more about your package versions. > > > One solution would be to remove your pandoc 2.1.1 > > (assuming you installed from our binary package) > > and use cabal to install pandoc itself. > >I desinstalled all the deb binary pandoc packages deleted .cabal and >.ghc >and run > >cabal update >cabal install pandoc --enable-tests >I compile the filter, > >ghc --make stripmath.hs > >This is the filter which worked fine in pandoc 1.17 >,---- >| >| import Text.Pandoc.JSON >| >| main = toJSONFilter stripmath >| where stripmath (Math _ _) = Str "FORMULA" >| stripmath x = x >| >`---- > >I run it >pandoc test.tex -t json | /home/oub/ALLES/HGs/scripts/stripmath | pandoc -f json -t plain -o test.txt' > > >and again the error message pops up > > > >Error at "source" (line 96, column 46): >unexpected % >\cite{oliynyk16:_futur_flrw,oliynyk15:_newton% > ^ >stripmath64bit: Error in $: not enough input >JSON parse error > > >Again everything was fine in 1.17 > >Uwe Brauer > >-- >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/873725jggo.fsf%40mat.ucm.es. >For more options, visit https://groups.google.com/d/optout.