From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31998 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Claudio Di Vita Newsgroups: gmane.text.pandoc Subject: Inaccurate parsing with tex_math_dollars Date: Tue, 17 Jan 2023 00:58:14 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_10648_102103903.1673945894499" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23561"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDOYFIOXRYHRBJ6GTGPAMGQETTJVOZA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 17 09:58:20 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f188.google.com ([209.85.167.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pHhnP-00060W-TT for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 17 Jan 2023 09:58:19 +0100 Original-Received: by mail-oi1-f188.google.com with SMTP id bp6-20020a056808238600b00360c55456bcsf7830670oib.2 for ; Tue, 17 Jan 2023 00:58:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=c5DwhDSCle9tzhHh85lC4y22qsU3fXgaidy510KsDi8=; b=LXMLt4RlEjwPZS+ueD+0PNZMHCYVRfgxu23wGV7npeie3LS22kOrt5rKooFPpT9QM+ wnWutwJZi0Uj+2LqRvTo9eVwgUQd5c+7Y+u8ro8AurIwVNRmRLx3Lo7w44zhYc8ca+7d sfUJiHQlNZbBiZCGoFgwWIwAN17msIwpW3jyVdNzWjRAQTODu+/1JEaOKo5qWcoE4T6I HdlOtNbjqQ3zxkXC08H1GhrOXT4uR7/tkWEoDzRuFr7sCK3MQaC3Sdo7ePtWs825d2T5 8iNzX5gfrZmaaPp4N68jZEkHATffNKojdCGGzZYffmhZvBswQepZXSu36Pq/7vCxXeGH HVZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=c5DwhDSCle9tzhHh85lC4y22qsU3fXgaidy510KsDi8=; b=qxWRzrfZF13Mr6nTOEubPliqcwTct7PmSLPFIhDAjBEd95YehDednWqVl6msTRopef atFPQChv3nELW0Nbxivr+0D/pa9t7QjfvN92WCDD8AfgX/9RwV5W5FZWmuXBw7rqxhee FyllQskRHUG60p/zKnPRX9p5nsEocyH2wr38oJ5qpPz5GpQB7loVexdKEZ5QAxyqiqUt t+/XrNAd58GTwuhKYAKBdvBAFe5MrwL3N5+CK2xPeT3Bgh0lhoviwc06SMZGYjJT6jHC 2PqziL2MlRyL/LeIGWPW2XGhEG3/EFsRL9xyom7ofgRw8k8L8lltn3WFgsjQefIYuSAf HN+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=c5DwhDSCle9tzhHh85lC4y22qsU3fXgaidy510KsDi8=; b=2hieXDM0TH1cDvy0plg+3RzW1FzOCa1wo6VTkLSKehVZP6UrcN3sgBCB69vBp88Pz+ 244rTjHVMeWFQ9/z+Bp6NldhLDN1KLj+YLBpY5ldK21sMTGLYrwnsrR9X0erwfxsE5hL JEAaXQQroCTVoByeU1rdKyPj/oHw38JbOiWiASAl4/B7cIEhHBSsZMzFVDrdMSm00zpU PA6JgigYhLS7UknOd6iw8zAbSvvZU1tRQuiTHoc1TzKMmU1Kr2ik265kI7lCRJY2hQqg dXgM6Krx5XqVIuEp/p72s37T9uimglVT1VDPTALlLKZu4Z/VYlP12cwTWsl/ro0AwMRi wdxQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2kqpXqi7oeByREWe2wERDQ9BvrJFEPOWo+5mkDXRuDBd8wWZAPQx MFWyptFX9NxmnrdC5l+Z3L4= X-Google-Smtp-Source: AMrXdXv6c4HcEHCXgSxS4Mze/qNdFcFaF3als5EjIGbIiJWlNCuNen/rezwODAC32sW9uj2pwCZ8oQ== X-Received: by 2002:a9d:604a:0:b0:670:6e9b:2c89 with SMTP id v10-20020a9d604a000000b006706e9b2c89mr111823otj.339.1673945898821; Tue, 17 Jan 2023 00:58:18 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:746:0:b0:359:ca69:f473 with SMTP id 67-20020aca0746000000b00359ca69f473ls4780070oih.10.-pod-prod-gmail; Tue, 17 Jan 2023 00:58:15 -0800 (PST) X-Received: by 2002:a05:6808:2222:b0:360:ee3b:e55 with SMTP id bd34-20020a056808222200b00360ee3b0e55mr154504oib.80.1673945895311; Tue, 17 Jan 2023 00:58:15 -0800 (PST) X-Original-Sender: claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@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.io gmane.text.pandoc:31998 Archived-At: ------=_Part_10648_102103903.1673945894499 Content-Type: multipart/alternative; boundary="----=_Part_10649_1565916380.1673945894499" ------=_Part_10649_1565916380.1673945894499 Content-Type: text/plain; charset="UTF-8" Hi folks, reading the documentation, with the extension tex_math_dollars enabled (that's the default) anything between two $ (or two $$) characters will be treated as TeX math. However, I think that when such extension is enabled, the document parsing, including the metadata, is a bit inaccurate, because also strings like ${value1}/${value2} are treated like TeX math. Of course disabling the extension or escaping the $ characters there are no issues, but it would be nice to avoid that, if possible. Any idea of what can be the wrong parsing cause ? Cheers, Claudio -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d0ebb8c1-bced-44cc-869d-bae152411448n%40googlegroups.com. ------=_Part_10649_1565916380.1673945894499 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi folks,

reading the documentation, with the extensio= n tex_math_dollars enabled (that's the default) anything between two $ (or = two $$) characters will be treated as TeX math.

= However, I think that when such extension is enabled, the document parsing,= including the metadata, is a bit inaccurate, because also strings like ${v= alue1}/${value2} are treated like TeX math.

Of c= ourse disabling the extension or escaping the $ characters there are no iss= ues, but it would be nice to avoid that, if possible.

Any idea of what can be the wrong parsing cause ?

Cheers,

Claudio

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/d0ebb8c1-bced-44cc-869d-bae152411448n%40googlegroups.= com.
------=_Part_10649_1565916380.1673945894499-- ------=_Part_10648_102103903.1673945894499--