From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18063 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.text.pandoc Subject: Re: latex to html or plain text without any latex construct Date: Tue, 22 Aug 2017 20:16:29 +0000 Message-ID: <878tibz7c2.fsf@mat.ucm.es> References: <87r2w5xaie.fsf@mat.ucm.es> <20170821210000.GD9940@protagoras.berkeley.edu> <871so3yet8.fsf@mat.ucm.es> <20170822175049.GC33272@protagoras.berkeley.edu> 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 1503433029 10094 195.159.176.226 (22 Aug 2017 20:17:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 22 Aug 2017 20:17:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDS4Z3WZ2UDRBNVC6LGAKGQEYPJDTWQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 22 22:17:01 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-wr0-f189.google.com ([209.85.128.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkFbU-0001e8-Ns for gtp-pandoc-discuss@m.gmane.org; Tue, 22 Aug 2017 22:16:48 +0200 Original-Received: by mail-wr0-f189.google.com with SMTP id p8sf5336775wrf.0 for ; Tue, 22 Aug 2017 13:16:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503433015; cv=pass; d=google.com; s=arc-20160816; b=HOLeXKNVvh9WrVDD4K38ARZnxR9jz/zn8RMnKZExpw+7XhTHqR6WTt/OEywPzK8afc G5e2LX5FYc8od81uo5s6jDgR5s+LiJ0JDH1O9Nmn6IZXDwpUX28utxgxwToaTKtR6CT6 we76fiU/Jb5kdZxN2urLYLTYIn8ZR/TcgBVbmH3JFSzuLwW0CzltbxKh7sSa27WkOOY5 9twiS5X84dI9XtO/OjkZ8BktatXnlwaZ4EQX/62F1pfJKtRmhnCHRcavbN3PA/JS4DtQ 98bs64nwUZt0Rlo0430gX2njclpQQrkcyyJ1z/OFJ2ho/Crnu+Rqhg4Vbjdx5Ph3kYmK EpLQ== 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=Ll1xwezk/ibahzv0VblFkEBOXudxZBkgngiWyDTVI2M=; b=COsdvKa4z9tsLblCTNiB7YH6DFVko45UavuWT+1LaXofgfBCjfgKdarHupCjbOrYE4 hJZs9BT0fi2E0ZE6Kk4ATioslsA9uSJrLyoc24f0ynXjQGpEg0BstWGQwshhjQiHjiH3 hRI3nmic47WYHNxGGmqQOQ/3UCL5L1f2FV4xihftLgdIstU8rkDz+vb5UWbES3MtLvuK 4Q5Mk54BADNYFwsEOPO0nPrWS7fUt7N7eQOigEQZf+boSuZEGkvdNDTBrpRvhb8Od/B7 QICcHA11Z2uRV07BJ4nSVW+2JNbYQ43EdELwMOPQdXrZkbhJ+G 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=Ll1xwezk/ibahzv0VblFkEBOXudxZBkgngiWyDTVI2M=; b=mIM9dDab5IsMrU975esuHQAHNUTrw2dOfO/nRPxou8OHDgRmCQ344bPRNLPs5jlDli sqeXgMzMWWr5e8mFjJinwRfreJiZRBQs5q2qTkNWy24LMQ6TxsD/v/oNyNaRmsl8vcce RQeBhtYpIeNrTb9MjB146J+KFABvMsAPwHIoER7wv8YCfOvsCBbBHIwz5mlehfGXPRYC 96swkM2R+9jBCxF0POhrdVTZAdZJO4qkMVmveFHjcEJPLpn6I6swtZydXy+tqC4iH5Ws lEbjz717jyftWIaq9Bp9fS/zE/zIulM+eAiMaDPQcFOWNZ+w5dK6xpHZdiZfcgbG1O58 S3dA== 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=Ll1xwezk/ibahzv0VblFkEBOXudxZBkgngiWyDTVI2M=; b=fDxvb03DokqTpMiOR4EvpYfXOsg8Gg3JHAC++jkYiAYVHyVfbV/OQyS0BnVpMgnDxa k0l0VTzqBAdxwHMqtAayZMhE9OprJDfZ/89XR7NjU1cwLY506wfml/BzTfrt3kzlTwna DD5zy6uN+AC18mG6v5oOypCopJICTMkl0cBXBi7KRBe8AhR/DFSme6Hry1nksHe6qtbr S9UoHAAyRTOMaKd/p95nCgHM/Wo1WdhsacARjs/+cYTgatTmJBSSt6NI9SZtAj0Otmwl PJYvI/UF0JklB7uJyTpLPJ9sm6EAtr+nYAHOZso3//yA+U16r/l Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5g6HhvRjK4x0i+yKM7LsRHkfCc9+Mva3cDvjapkdkBDP+QSEWhT CJGAMX28xpg8lw== X-Received: by 10.28.63.149 with SMTP id m143mr2376wma.8.1503433015758; Tue, 22 Aug 2017 13:16:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.28.8.11 with SMTP id 11ls713651wmi.7.canary-gmail; Tue, 22 Aug 2017 13:16:54 -0700 (PDT) X-Received: by 10.28.126.196 with SMTP id z187mr165756wmc.20.1503433014660; Tue, 22 Aug 2017 13:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503433014; cv=none; d=google.com; s=arc-20160816; b=dFtFynYoF+K3sYcQB57rOvs+FIRkoyFx460ZJjvU5GUuDQaGeyoLEZUhPNnAzBe83x 6hBCQ5N5iqOToA4vZH50LeiIaHuBQZIC0cUDM1TfduuC0bpvk5kMW6Hqdur85crUF7Cs lNVPmw2gdDdM1NwA6LiT+odWRQJm2Mwa14+clFs+vKHHH/svDXLl+6KJB1HSf3Gtu4hM vtAe2qK5gFHaY0PNX7PZkYmmXpT4ZEvWdP3ol9AXw/xmgbhyu8eVgyGzwE+DBIgN+GDe 168tWBmjvZoQ6uMsY5cMSLjQ/QJnCd8tJLvluBhV8uJeB7YmJoGKpmRsDE6VEmSZjC7d PwYA== 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=QquW5V+nYo5VhuUNlHEPvOyFpKWr6llSRxz6aUW8z+4=; b=yMMXcAwL8iUR/zLtd3kYyRSGDXmm4gHk80E425bpj0McQ9HPc/s/gkiXQEHvwqv2jD 7FdoYMTuSZfeS8IcNBuqmj1MYbGrF4NdsujUA3PnObtL+RtOIwApHEzLDbF2u3K7FL5s R0C3eRT8dC7diyDJh112zjmb0ESwHEEcTXDTogOa8D7sW8w/6y//KBv4uJpIfC0WUakK ts/9EoBYqdHibOxCPAEJzqqsumOtMsBeJ8qN7T3t5fV0c7SrYwgZoG/lNNO+95guE830 SnRdJrNlHfR/YuyVhZZnVlYRn26Uk9UQvTj7lnSZxPeheaEZXhBoAb3Zjk32ZDpYfkoB r3vw== 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 187si28445wmj.0.2017.08.22.13.16.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Aug 2017 13:16:54 -0700 (PDT) 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 1dkFbP-0001Lc-Dh for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 22 Aug 2017 22:16:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Lines: 16 Original-X-Complaints-To: usenet-VEh2mgPqUsheXY1tMh2IBg@public.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:9mgzwjuDIj21hW6cHCQBmfouDdg= 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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18063 Archived-At: >>> "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