From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20066 Path: news.gmane.org!.POSTED!not-for-mail From: Jeremy Theler Newsgroups: gmane.text.pandoc Subject: unexpected _ when reading latex Date: Fri, 20 Apr 2018 11:14:18 -0300 Message-ID: <9253e5117262e3e9ce81c159dac68106fbd2b6ac.camel@seamplex.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-xBhNXGmxGNcjz4zPJ63P" X-Trace: blaine.gmane.org 1524233550 32081 195.159.176.226 (20 Apr 2018 14:12:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2018 14:12:30 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7FLGCQYBBBR7L47LAKGQEMMIKSDQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 20 16:12:26 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ua0-f184.google.com ([209.85.217.184]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9Wlx-00085s-B7 for gtp-pandoc-discuss@m.gmane.org; Fri, 20 Apr 2018 16:12:21 +0200 Original-Received: by mail-ua0-f184.google.com with SMTP id v21sf479021uav.19 for ; Fri, 20 Apr 2018 07:14:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1524233672; cv=pass; d=google.com; s=arc-20160816; b=xg2rbnvKAzWelAIJoZXeSLnD90iwZDYTHLwVJNLk+f38bejnkORa+8dCOYoS8DDdXK SvniHHVqWFlzpeEU8UXUcPt4iPfJ8vG4AM0sMZxIRQiT5bgCPqLsaPC77Wi3uIGkIitU TUrQsBkeK0S2y/lVE5S6k23Yb6VfyLQHUnQky6/nxbZVjLoCNis1y1pjbdnimT1ChJ9D b1XOe9zyo3uEOptMhd0hR3Fj9tha3/aWzz6FB86P49ssK+DKRyNd0nZePG23VUu/CDet LmcfV9eKhd473TNbFv4KHKwXA/ILrpcb7RWov9AgRBRBvmLrgg43EBzmT5k7yhtg2hJx 7rxg== 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:mime-version:date:to:from :subject:message-id:arc-authentication-results:arc-message-signature :sender:dkim-signature:arc-authentication-results; bh=Uxw4tETjsm5thpD9bo09c3r0wSmnS9OuIUuBXY48RbA=; b=OgpvzBFYEkYnK0+7ZA23uK6iHdvGuJvGYd1/bnWq7jpFNbafug+6T4t8ja9TDQxYhb qOX6YA2fFXo/ht0hzXStloqayi3nQyVg4UCz45Qy+fTHa4mqGTssn9XXVI9Nc3danBH+ +nwDg5U6+NXskSusE8pPastQBonazgsN5/Sg1+l0JYqs0M4/HXrVfJbWMhfyFkTbrhuL bYhgC8nZuvCIma1w351l8r+34Tcb8xGwa3kPC9DixCNxteA7AO/D+GYCZ16USTwg68yn pV74N+XWvK9jZihUnk1mMLdCdh2qmUITGwK3WGFkctKG1Hz2zrFsiiBN66Nq6Bjh3yGX cJbQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=rWMd9Klj; spf=pass (google.com: domain of jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2607:f8b0:400d:c0d::234 as permitted sender) smtp.mailfrom=jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:message-id:subject:from:to:date:mime-version :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=Uxw4tETjsm5thpD9bo09c3r0wSmnS9OuIUuBXY48RbA=; b=E9fr21sM3MzRaL/yVOn7YWP+v1Y+zdlvWhEJxrVUxVmvXNbg7xxge5eZaJCuwyRSUM PcyMz9/ZWLxfw+YOU5QwtAFHFGQTncB4pZbRWicnS1+bqPIVCHvNANtWPH7buOsGMEIn lsimTdVND4tBizYIkXC2QVkXV1gQSZFXTqrhPWEqPcRNbzLD4b7+4PD9Y52eGwrI1da9 /uS6LVl7/8XcFh4EmNdaf4XXZXgX7CZj/rE8LXdfKHH4M2V4cSiLM9RMneKAmbZGq+WN wYlhb3HAQJC9hZnXjCbY+6/Cv0fdP0exrhBRacVxyZSuYaetD/gT1qKLbnuRbIAgZdoE Razw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:message-id:subject:from:to:date :mime-version: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=Uxw4tETjsm5thpD9bo09c3r0wSmnS9OuIUuBXY48RbA=; b=dCh1EHDwj3ksv9X/hreAKJRtRp6XJAGEC7bH5IJ3t8Ec3hDd50Zgz2htF/l3puDnIZ +ojIGL0V5hkyPiB+6sRYA0XmxODG7WedZ+OjlZG/aEoZRllaslbQLobdc0EkPdWqppJ6 aWlQdyn3U0JB96tFxWfnYHFqJn+oCaY8LJKzX1OUNV/8L2RRTJLVYKmaFf7KxWTc31T4 NBsRIcKV6x/fqlbKFohC0BtvDUne+3xSy9W/KLYQcV7Rd5AoKSUBLj64Pk+pU0ACaKWb evQL8hSxaQWwDvoPDOMTcdRRdBBuSxNOpgVHHWQnXXaFXPrFnP0ewmDEufyU4m7DPGzh CuPg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALQs6tD39sRgq89rzk87jgj9dW/nCO7Mjx1uIippRwD0bZ8srreOEZqh DgWlYH9PXDMJXetK71mYhds= X-Google-Smtp-Source: AIpwx4/E1CxnqV63qhl7LQzN0wDRC+YWr1aQIwtgfU9RFLLnd98+bYUCJFt66euamdUFwPLfKwKO9w== X-Received: by 10.31.151.23 with SMTP id z23mr521548vkd.6.1524233672085; Fri, 20 Apr 2018 07:14:32 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:719a:: with SMTP id w26-v6ls5566413qto.5.gmail; Fri, 20 Apr 2018 07:14:31 -0700 (PDT) X-Received: by 2002:ac8:974:: with SMTP id z49-v6mr7834185qth.51.1524233671118; Fri, 20 Apr 2018 07:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524233671; cv=none; d=google.com; s=arc-20160816; b=yAO7+VeW3pZW0558gCGi1U6gSAvqF5sOfuEegOhKCmA7lPDSNolqEqlvH+X2xbpqkP MDBERusqAnfvampltvv0BTHb7Y3Z1msFqAni1xC5LqwMuHXHT5EHRJeCML3nzKEP5NIZ ZIDW/ArS/s0j6esfRg3ivBmVkVuqOtGMAQKb2TZ2yMGO5BGX+hTG4ge9ArKUPYeY5oJe pGvIy7Sec3uboCu9ALQgGLP7bReubSpijn3gpZm9MdwGlQgfJeHM/l6+gXo2aUJs082z GBNxV5Y1sshmdtOSmxE1l5MjGoU4QJhaLEgA3puGP1w5TRN9uZ+iC/tjb/Ghi2wBhOQb inkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:date:to:from:subject:message-id:dkim-signature :arc-authentication-results; bh=2+OG92I1gRIJe8Nd0wJydoNg2o5eEwd37J4rUfawNSE=; b=I2uvoeMvQYqKDdMdDi4UWaW3S8DJX7ScLAn/CJab/1bLhivdD+YWBcDOqF+iEnODu+ 1HjpULMGnGrYHTQRGTI6W2TX5OaIGyR3RTe6k8d1Dk65ElgjO+bowFkLXsk7MKY0c1r1 oZvh65WI8fod8YCIHrR9oH/JmpZy9BFmiEpkQxeOdKiRVzIWRjeowcoSVLTFYhrIe3Ig 2oo928MWcumwFz+5kToKF4e0w5mwAQ2qzuDQYcFknH/ODa61ktFhpLfnAC++a0V+gI91 8KS6TH7U9zyWH5hmO8pk5+BuZP06wqyg9Hkj6cVS6W7m6WRc64+vL4B7GgkBu8XTWp9V QRyw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=rWMd9Klj; spf=pass (google.com: domain of jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2607:f8b0:400d:c0d::234 as permitted sender) smtp.mailfrom=jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org Original-Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com. [2607:f8b0:400d:c0d::234]) by gmr-mx.google.com with ESMTPS id d199si460459qke.3.2018.04.20.07.14.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Apr 2018 07:14:30 -0700 (PDT) Received-SPF: pass (google.com: domain of jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2607:f8b0:400d:c0d::234 as permitted sender) client-ip=2607:f8b0:400d:c0d::234; Original-Received: by mail-qt0-x234.google.com with SMTP id f20-v6so9653724qtp.7 for ; Fri, 20 Apr 2018 07:14:30 -0700 (PDT) X-Received: by 2002:aed:3224:: with SMTP id y33-v6mr11572062qtd.179.1524233670592; Fri, 20 Apr 2018 07:14:30 -0700 (PDT) Original-Received: from tom ([181.230.183.240]) by smtp.gmail.com with ESMTPSA id z185sm4924610qkz.65.2018.04.20.07.14.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Apr 2018 07:14:29 -0700 (PDT) X-Mailer: Evolution 3.28.1-2 X-Original-Sender: jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=rWMd9Klj; spf=pass (google.com: domain of jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2607:f8b0:400d:c0d::234 as permitted sender) smtp.mailfrom=jeremy-24em0bpozeFWk0Htik3J/w@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:20066 Archived-At: --=-xBhNXGmxGNcjz4zPJ63P Content-Type: text/plain; charset="UTF-8" Hi all. Pandoc is complaining about an unexpected underscore (the one after D$) when parsing a complex (yet still valid) LaTeX inline math expression: The density of heavy water is $\rho_\text{D$_2$O}$ I understand the parsing logic is complex because there are nested levels. Can a similar logic be implemented in Pandoc to handle this expression? regards -- jeremy -- 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/9253e5117262e3e9ce81c159dac68106fbd2b6ac.camel%40seamplex.com. For more options, visit https://groups.google.com/d/optout. --=-xBhNXGmxGNcjz4zPJ63P Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all. Pandoc is complaining about an unexpe= cted underscore (the one after D$) when parsing a complex (yet still valid)= LaTeX inline math expression:

The density of heavy water is $\rho_\text{= D$_2$O}$
=
<= /div>

I understand the = parsing logic is complex because there are nested levels. Can a similar log= ic be implemented in Pandoc to handle this expression?

=


regards
--
jeremy


--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.= com/d/msgid/pandoc-discuss/9253e5117262e3e9ce81c159dac68106fbd2b6ac.camel%4= 0seamplex.com.
For more options, visit http= s://groups.google.com/d/optout.
--=-xBhNXGmxGNcjz4zPJ63P--