From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19528 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.text.pandoc Subject: Re: Date: Tue, 13 Feb 2018 12:07:19 +0100 Message-ID: <873725jggo.fsf@mat.ucm.es> References: <87inb767g7.fsf@mat.ucm.es> <20180208211548.GE1526@protagoras> <87eflt1574.fsf_-_@mat.ucm.es> <20180212060258.GE5841@Johns-MacBook-Pro.local> 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" X-Trace: blaine.gmane.org 1518519985 13616 195.159.176.226 (13 Feb 2018 11:06:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Feb 2018 11:06:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDS4Z3WZ2UDRBIEORPKAKGQE2VYDIKQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 13 12:06:21 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-wm0-f63.google.com ([74.125.82.63]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elYPb-0002gW-S1 for gtp-pandoc-discuss@m.gmane.org; Tue, 13 Feb 2018 12:06:11 +0100 Original-Received: by mail-wm0-f63.google.com with SMTP id z83sf3888258wmc.5 for ; Tue, 13 Feb 2018 03:08:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1518520098; cv=pass; d=google.com; s=arc-20160816; b=v6D0KJPAVkHlJjWmNEzDmDqQtZv04AyE2ovT92OzkVfET39xkHalvdZok+re+sjfZW 28iUoYYBC1wwuoa0LwA0e7FCSjPiahXt+AorIwKteshDmO8q8Vawc+lkJcWwRMIr5WUe uI0LtdYYaEzoegyZizB7ybr7vkue3dhqLo8A1jioVmgm0UDLO4dyohAvSyd7fPB0fvjz qsbtdPhj8MJEZpXGacsoRI1birwsVgDExnS/8PPUp6/RtsMghamd9whdG52YsRq/+I5l 1Aw/asYLu3YjPw/hTy9cgDDR/AB7XZIFIddx+AmY+WkUEd0a9qwBzxXISEfr80ga1iLV le7w== 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:cancel-lock:mail-copies-to :user-agent:mime-version:references:message-id:lines:date:subject :from:to:mail-followup-to:arc-authentication-results :arc-message-signature:sender:dkim-signature :arc-authentication-results; bh=AG7/qCiRrSR+0AoYiplYBeLoxjwp/v0C8eIXX5vC6YQ=; b=rSvfIftg+Lsn6nKT8ftDQQI2KFDWsFUZKGM3b+IqeITU710CZQK403KgKcK9Q6ri8a iyGIElc9bZKt3RlpEab0mFcaV1b4Z1mL49nUsJuF8pJ69aZ1qyuUvBupxim8qLmRlIMj prQvQWKR9cmb271Wm7bXNZuIRtg4gHl+Q8wCZ3IyVu/bkW90UdZ5FzNj6mqf2SD2jCvG sdMV6BqGRn5tJT79JxcRfBEk+QFfAYPYURWrmMsvwyYxkOOWEUQ4ceJsVmtgUMrE7C+z NkxPYE1l7XQDY2QupsW4RRsw+iqyu6Dqcg9VkrVn9WzyDBZOGQ ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of gtp-pandoc-discuss@m.gmane.org) smtp.mailfrom=gtp-pandoc-discuss@m.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mat.ucm.es DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mail-followup-to:to:from:subject:date:lines:message-id :references:mime-version:user-agent:mail-copies-to:cancel-lock :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=AG7/qCiRrSR+0AoYiplYBeLoxjwp/v0C8eIXX5vC6YQ=; b=qTYD8Le7L5x9CXUfSTdAO20WddQuCDNjx13rZqBHWnu36/P3elglu+UVanUA4HCLB+ 6ho+RiU8Y/X2qsPNGXk56yqsAUYmHnP27Yw2+stBHJr/IBM2kRaXNfxNuCfq/Dj2ATfX 2yk2sFzYhb3vNng14ksbAGNIUR6bPgpSLikuEmwgF+WkcE9uqsGXg+OUSlGOGzvXZkJJ YNmetAgeJZwCDAg1WSkKKNBKDlNzw8zN13gfyzepeoeOug32ZQjC3VrJmF/p5sKUnFn0 GuB6E76CJWMdt09QxPjEtw0EvooOVS6UTFaZtQ7AZzoZ8AfzY2gozvNOu5cwWUCS6hDp UJvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mail-followup-to:to:from:subject:date :lines:message-id:references:mime-version:user-agent:mail-copies-to :cancel-lock: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=AG7/qCiRrSR+0AoYiplYBeLoxjwp/v0C8eIXX5vC6YQ=; b=Eri2h20EbL6eQkxlFbWHBWV/VE0FXh1thGm56mTaviOJcwHJXGN6d451Buecz/yHNe k4X5VIdS4u4oe3jMhjaNybqqioTyd/AJxsmg5fOlckVzPaLCFluIz+ulyrX5rpIarcBW /EA3cZJwZw905B/06GG500XgemWzFzEDNs7PuWancg2KN2UrIQm/3OkDfYv2SgaC576A LAQTRc3tp+X5zgZjAY63S698BIN70H9C7s56k7WfECZ1e11DVcYCEor9aLEYrvqj44L/ HwpjIlVo4yy8+b6rQbBTBcZ9MU+G8aByq6wRb5P8GZTIs8MVqpg Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APf1xPAN1zv1OMVy+rsxBZahqBawgP8l4DU5nd1bG/KAsAcXt53p+n+B 5aW1+ypmsnlVa8pemv3xAOU= X-Google-Smtp-Source: AH8x227cS3a/450jCBJnwbjwZ/IikVfSbGSDW6/r18VWrcgiiOtdfLgTh0Io6bUIDJ2LqpYK5/w/yw== X-Received: by 10.28.40.134 with SMTP id o128mr13359wmo.0.1518520097968; Tue, 13 Feb 2018 03:08:17 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.80.202.5 with SMTP id d5ls3780204edi.8.gmail; Tue, 13 Feb 2018 03:08:16 -0800 (PST) X-Received: by 10.80.201.74 with SMTP id p10mr409778edh.7.1518520096138; Tue, 13 Feb 2018 03:08:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518520096; cv=none; d=google.com; s=arc-20160816; b=mF3Q3/yHofxzpw9fy+5N1Mrm+THNbq6Tqw/f/e5UbSAwkZg7jlH0tnfjuvh8SD2vjS bf8Vu973vcUrgr2d1htlWHqS3JDzGxemsEjOlgGoxifFCIALL7V7auVM7+XlXiU7UfYM PEjYNzkujSD2EMZ3OCb4OWw1pcDtDrHa6tWaGyg7QuqWO9OoDS5YYHOeUxhC32U6uHM1 c4FfEvQ7Gp/WZ3khZNPQb2ONLo+8EjZR9ldfo0Fftua8fY8OGU8A03tz7XofXa67J/k/ O6nj28EqpFi1d43u9gTxVzuDToIhHwpaqhzy5Zu8+SiB4fyJY0I1c7a3oA4KDllRjBae AX1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cancel-lock:mail-copies-to:user-agent:mime-version:references :message-id:lines:date:subject:from:to:mail-followup-to :arc-authentication-results; bh=hP/UnAt8DJdcAnkZmRJ840X7HRkpB3BkaJlxdEDq+h4=; b=BH+PloWYykGL98dpfixVpIBpGVkMTvlKLPJIDMWREiYxkzuPS4CsxJYo8xyFbxRgQS o4zoYFT0VSyKZIQK7Ea/+O1VZvecj3stn4P+bpU0ovzrU9dnAvijHm/sezsilxIavVSg 8rm20fQ7XbAh36iE3dm4olwrRtIisl1mjU7SGqV87YUgpKk7PyqD6K7HOTLbrJf8xdMT uwYpu4AdxbZmpb8SxW+RJSI0/orylKiO8kOMIvQja8tnDhxakM9T8jJBaCLlFxrqve8T k5FCx1QkPtqwiGMMhA41xTbHqzse+j+A1JiqrtvrLPAdfcmELHkLlBxqqS67selM/Fny B9jg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of gtp-pandoc-discuss@m.gmane.org) smtp.mailfrom=gtp-pandoc-discuss@m.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mat.ucm.es Original-Received: from blaine.gmane.org ([195.159.176.226]) by gmr-mx.google.com with ESMTPS id v28si569051edd.3.2018.02.13.03.08.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 03:08:16 -0800 (PST) Received-SPF: neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of gtp-pandoc-discuss@m.gmane.org) client-ip=195.159.176.226; Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1elYP8-0000y0-P4 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 13 Feb 2018 12:05:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Lines: 51 Original-X-Complaints-To: usenet-VEh2mgPqUsheXY1tMh2IBg@public.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:slq6FZzx70L393aEQi4/qwMEM28= X-Original-Sender: gtp-pandoc-discuss@m.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of gtp-pandoc-discuss@m.gmane.org) smtp.mailfrom=gtp-pandoc-discuss@m.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mat.ucm.es 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:19528 Archived-At: >>> "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