From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18045 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: Parsing entities in org input Date: Fri, 18 Aug 2017 14:47:43 -0700 Message-ID: <20170818214742.GB86414@protagoras.berkeley.edu> References: <87ziawtvky.fsf@zeitkraut.de> 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 1503092878 8583 195.159.176.226 (18 Aug 2017 21:47:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 Aug 2017 21:47:58 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBCWB3XGAKGQERNVREZQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 18 23:47:53 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qk0-f183.google.com ([209.85.220.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dip7M-0001k8-S7 for gtp-pandoc-discuss@m.gmane.org; Fri, 18 Aug 2017 23:47:48 +0200 Original-Received: by mail-qk0-f183.google.com with SMTP id o124sf5176453qke.1 for ; Fri, 18 Aug 2017 14:47:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503092875; cv=pass; d=google.com; s=arc-20160816; b=eN64k6Gq8DBHMcjiWoIAo+J2wfIL+gjOij+R0hRiXlP0Mcx97qHNcoq7tkfmy7bAVh q7ib5QYzX/s4yxuKRbm7z2PT/sK43B4ZiaiwLhgNdczQD9o4w5GmINGg2wpjzLsNMLt5 yLTRlqPK8oEYktlMkKBvwkhqhI7glSI2i7FFsHMnPczjxe90IXIA0PtHCdI7RG7Q8ngF jfXyC4pDJrT+LIBdZm9H5sJVVio+d1vJ8oQd+EySH3WaYSXTS3DsYY60Qr1/KlzPH1xs YVyGcmxk0BrkH4fhUkRSLamNtrKNR1fu8r8nL4W3cSSm6C+vL2kOjBrWJHCBOmqdz13/ F97Q== 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=8WmmaILLiX5G6kLGvm08GqIhPg0GMB4m/erouC/4Wws=; b=sCYKJFF1qAFijRLs+PBYHibVn/O1wYCaX9jZnuM3IG/zJX6BA/5dZ34T8rvl1o/MxP 7vq7p6KLWS0BexnFuX49weHCqUVLeCZcjtPfG2dFTlUkjAY+qXH3Chs/E1xRFLFgkORp laWo+XyvilK+AqmMLGw+BwhO5rtpGfRU+y7W5xhFpm1M1YcAuT4iEaeHqNadQUqXA6bS gv/tlENgmHjWGUJfR2nG3ponV7Ev0wfI0RqHM38i/og/Hfhsz+VdVpZ6L+tfISQYToIp ogBzEW0tDLhU3trIBiWw5+yYJG/wn14s8M1YUYlD80YMKdWjWPqQaKwUpuulfp3r3mWY ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=yj2tn+yu; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 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=8WmmaILLiX5G6kLGvm08GqIhPg0GMB4m/erouC/4Wws=; b=ekl0SZxcQ9Cv9DH0zfgHEtUv41dbZmOSbsZ7glDJN+o5JKROkOMip3K2H/6gYLVYa7 1a0inz0GAGHx3ziPai2LDctQfKxGxE3XTZjp1+tz2/dHhCPKTuwqR+SJNCdmMyEXf63T wouI3KnKVam+V+5TBbpm0F004/CCdE5MzaiL8W4ZceyFcl92z1QbXqg+aFT5UhWJlZUv 4qQnzumOBKXs7JbbDG0fp8phLIuHkZxPJf+On2VkkjQStdfPZ1RguYID2ByBEhxqHWWn i9jpLmcfoGGfz52EfyxiKqxjYuTMa5TZz5U/1PpTEt52HMKuYlDIyHaNRkqycbw/FBJm ajsw== 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=8WmmaILLiX5G6kLGvm08GqIhPg0GMB4m/erouC/4Wws=; b=qx4QAuEVhDjxToRSbGU152WX3ORwBTxQjYfMptIeAco8/E8K6EiTIVGzZ9eeF+12Ms cyzCBR1hHbLtq992h9XERNorTGryb7R86CFMggJ3hO1WCFqPs7AYWURzILC34HXLEQPW kAG9xLwBYQofrDMwWcBo1FFco/L1je5kn7XxJwhtHbMYH3q7JH4SGsiUhp8Wy2oCNn2X vc6Yze9ZNAQwnvcQEKlupvZev6mfWAZaWywXMKUqqivbrKzKR1GeNviXR31bm3VZVdZE BXny2vlJGxXL7Q0EkXtJl5LTTnbxtcUG8ZH+sM0wEOy6wRuqqKFlUYw49H+lf8Nj/8Lz Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5hS8Q5XTnh8Jza/pKTlXijJoIyqB+g4O2Kfmj20RsDfIKyy4Dmf OL1t00TdE0aSMA== X-Received: by 10.36.103.84 with SMTP id u81mr137643itc.13.1503092875449; Fri, 18 Aug 2017 14:47:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.77.78 with SMTP id l75ls2064697itb.6.canary-gmail; Fri, 18 Aug 2017 14:47:53 -0700 (PDT) X-Received: by 10.200.3.156 with SMTP id t28mr6880755qtg.22.1503092873698; Fri, 18 Aug 2017 14:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503092873; cv=none; d=google.com; s=arc-20160816; b=a9qq9C2Pt1Vv5OjrO8h5k8wlPOjG5F2/U7telnuADyxe8HbOTYT8uZNRQ3ZhwQ+tqP 7Xsfxb+77BgjzTff9kYZsGsRrHEUFrmAC+G3ShgBSqsxtdKUFcCoKeCQFkSjW0c0nHCf wE/IDe9qUwYKkl9bYTnM5brGQ82SiS7gQJyJ2AImP3J6UdwuWnMc0wFw6dxyNAqxhO0t W/Qse95xxPOOr1nj95AmnoGH+SwdrvKwIOh7Tqk0XkxCb5lD2lOsZuxxPtbrBA64xGS0 UGFS6+eyj378hnbDp/UST7S0bt952K90DtpEG7cjQLWFsqCYogrpemYJMgm7/955+wHJ GXAA== 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=iqxIbSOZSL96LbVNFfNZQpqVp7VMHl7jZGPMBSJlaFs=; b=XMowfaVpDyN+fyCixxzrcJQI3CUJA83vTEhfgF+O5GOtTakztq5DKIuoDG8VtJqqdp ubgM6SzCqBHXiwJ8vEC/8nMTgbOGkj5ifdvAGZ6oBFUUe+fdU51IJKLubhXYN246ykqs k1BKw9l42n68oAYT2wPKrSjiUhcb2aM/h6vBAtPFg2voOdM+PVqX7ss/IvyHrTX0ze4d v6i9mBoCAFQmrLDDaoCuqYSG6hEVASL3s2pkNASE4Hm7DtRzZYpQ45VC0TvagXjSIVRf tLHTwcZECZDDowasLx8tk0LD2tg0IL17sfbF7GLus0qf7/TUjCg6QJCncPRMncrflsDG RgGg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=yj2tn+yu; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x230.google.com (mail-pg0-x230.google.com. [2607:f8b0:400e:c05::230]) by gmr-mx.google.com with ESMTPS id 186si1155929pfa.13.2017.08.18.14.47.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Aug 2017 14:47:53 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 as permitted sender) client-ip=2607:f8b0:400e:c05::230; Original-Received: by mail-pg0-x230.google.com with SMTP id t3so43746090pgt.0 for ; Fri, 18 Aug 2017 14:47:53 -0700 (PDT) X-Received: by 10.98.61.129 with SMTP id x1mr10296484pfj.68.1503092873260; Fri, 18 Aug 2017 14:47:53 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id m72sm3909060pfi.50.2017.08.18.14.47.52 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Aug 2017 14:47:52 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id E7768A1C5; Fri, 18 Aug 2017 17:47:41 -0400 (EDT) Content-Disposition: inline In-Reply-To: <87ziawtvky.fsf-9EawChwDxG8hFhg+JK9F0w@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=yj2tn+yu; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 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:18045 Archived-At: inlineCommand in the LaTeX reader will call 'report' to issue this warning for unknown commands. By the time the org reader backtracks to try it as a MathML entity, it's too late, the warning has already been issued. One easy but somewhat ugly workaround would be to change the verbosity level prior to calling inlineCommand, and then change it back afterwards. +++ Albert Krewinkel [Aug 18 17 23:27 ]: >I believe that this is a side-effect of pandoc's new feature to warn >whenever information might be lost. The org parser also tries to read >the command as if it was a MathML entity, so it still succeeds. The org >reader should handle this better, please open an issue on github for >this: