From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32079 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Claudio Di Vita Newsgroups: gmane.text.pandoc Subject: Re: Inaccurate parsing with tex_math_dollars Date: Tue, 24 Jan 2023 06:25:38 -0800 (PST) Message-ID: <6599e581-5fc3-4a77-8be1-d6d962d54600n@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1385_1660942960.1674570338530" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37436"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDOYFIOXRYHRBY6UX6PAMGQE7CYCNII-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 24 15:25:43 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pKKF4-0009d5-UG for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 24 Jan 2023 15:25:42 +0100 Original-Received: by mail-oi1-f186.google.com with SMTP id du3-20020a056808628300b00364c7610c6asf4452009oib.6 for ; Tue, 24 Jan 2023 06:25:42 -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:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=oSSjbxJ6nLE1j0wIMv761rELtLKbKZmdSBYzUMvtwo8=; b=cJ6vYWba2r8SAEwICrJX5Ag+oOCpUsgZ8FkXBScva0su6YDo8lQMEf785igtFzQ1eV xedX+yp2m+/aoHCy46kCdMcQB3FJsigm3NghzgeILH/i47S9Z2Vah5QzMF6ZTqvPiPw8 s2/h7s2NsAqLP9SR5w4zuTmjsvRuadLEHFblIqbaFTOWe0ofl5+MTYch7Q/rw2wtxiPO sY6D69EZKd+bbZHUhPbd421/QRO46DC0WRA9ZR9iYgZDRdj/Xgu9yq0p63c8MMHopZ5+ LwFqX4NE4Y7GuiqCjigZJWzmRXpj/NTFqyhKQy45gpEGo/FNN3+l9pA8HQojUz6tPHB8 SFHQ== 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:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=oSSjbxJ6nLE1j0wIMv761rELtLKbKZmdSBYzUMvtwo8=; b=SHD1hRhvtLsGf1vjt5S1pg5tBNJaA1yM9TUTLkJyFycFtdAcHKqWkLKxhCubpPm4/v au/cc8nRkMBArfTR0Ofk5/3Jb6CUqSKYslqIV1yMoo6jufW6vjMJjOh4tWVF9yeRf68O TRSnlepImDN3l83SdWkHUvyxne7mfyu223BOtOz3v5U868i8W8XkRgxMOtroaq4nZnRJ nwONl0vM2MAuQA6urISLw4hU38/QEMGztVz4lZPMmfczz1301WfQLk11RPkEoZ+euxB4 dpA16pWZ6lO0ZHMVlBmV7ugkby1HgMeYLjIxCyqYrpOQewQ1k6FEt5GuJx5AFYdHChJg l6QQ== 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:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=oSSjbxJ6nLE1j0wIMv761rELtLKbKZmdSBYzUMvtwo8=; b=h95iJBSs0J38CV15EHXVJ1fu5xZn01iCUVMCY5FhxC1HA7qsK3FlwEytfmi+A4D7CX xPKlBSkxJzAq0yWtIdHWR7SBEXcqBCVDYTyd5ean82cucW5KGHyvp7zoRBYrYab0Akbe aHBUttoaaVcxMOv3z5KwADODwH+p20rnKl+l3J5Zl9VFNadWf40ZbssvoOTX2CCouhIm k+hPvBCJOsHj1LdqTqy6j0C4Nv9pYwNO5rSfNg5vtQiSAhR6QrUBhlQsPMwtfUaCY9C+ xHUaL+McyXOFycDVZTfREaLPd25Sp/riXaAPcUEgGfRZAF8jlwN1qOLK+0HAq7gCcKvT 0zUg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2kr3zbQ/lTgyBQQVVCkSYQ95DmGlnnm4RDRPtP+NChIY8WQtiNXp S0Pn1W9MIhNiRJ47wRa9E7Y= X-Google-Smtp-Source: AMrXdXvmr/dHH+f0G4X9IzCFxAJ6vkljZ+pYz8Se7Qq0E0QClRQ7NYndFqTG3HhIjwPMb+DxayKrYg== X-Received: by 2002:a05:6870:9a88:b0:144:a46f:e355 with SMTP id hp8-20020a0568709a8800b00144a46fe355mr1901367oab.95.1674570341814; Tue, 24 Jan 2023 06:25:41 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:be87:b0:14d:3678:867f with SMTP id nx7-20020a056870be8700b0014d3678867fls6007078oab.10.-pod-prod-gmail; Tue, 24 Jan 2023 06:25:39 -0800 (PST) X-Received: by 2002:a05:6870:3842:b0:144:6d8b:c318 with SMTP id z2-20020a056870384200b001446d8bc318mr1944183oal.98.1674570339271; Tue, 24 Jan 2023 06:25:39 -0800 (PST) In-Reply-To: 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:32079 Archived-At: ------=_Part_1385_1660942960.1674570338530 Content-Type: multipart/alternative; boundary="----=_Part_1386_1793929087.1674570338530" ------=_Part_1386_1793929087.1674570338530 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Confirmed: when tex_math_dollars is disabled pandoc doesn't create Math=20 elements, while under the same conditions (inheriting=20 PANDOC_READER_OPTIONS) pandoc.read create Math elements for the same=20 document. Il giorno marted=C3=AC 17 gennaio 2023 alle 09:58:14 UTC+1 Claudio Di Vita = ha=20 scritto: > Hi folks, > > reading the documentation, with the extension tex_math_dollars enabled=20 > (that's the default) anything between two $ (or two $$) characters will b= e=20 > treated as TeX math. > > However, I think that when such extension is enabled, the document=20 > parsing, including the metadata, is a bit inaccurate, because also string= s=20 > like ${value1}/${value2} are treated like TeX math. > > Of course disabling the extension or escaping the $ characters there are= =20 > no issues, but it would be nice to avoid that, if possible. > > Any idea of what can be the wrong parsing cause ? > > Cheers, > > Claudio > --=20 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 e= mail 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/6599e581-5fc3-4a77-8be1-d6d962d54600n%40googlegroups.com. ------=_Part_1386_1793929087.1674570338530 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Confirmed: when tex_math_dollars is disabled pandoc doesn't create Math ele= ments, while under the same conditions (inheriting PANDOC_READER_OPTIONS) p= andoc.read create Math elements for the same document.


Il giorno marted=C3=AC 17 gennaio 2023 alle 09:58:14 UTC+1 = Claudio Di Vita ha scritto:
Hi folks,

reading the documentation, with= the extension tex_math_dollars enabled (that's the default) anything b= etween two $ (or two $$) characters will be treated as TeX math.
=
However, I think that when such extension is enabled, the do= cument parsing, including the metadata, is a bit inaccurate, because also s= trings like ${value1}/${value2} are treated like TeX math.

Of course disabling the extension or escaping the $ characters the= re 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 &= 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/6599e581-5fc3-4a77-8be1-d6d962d54600n%40googlegroups.= com.
------=_Part_1386_1793929087.1674570338530-- ------=_Part_1385_1660942960.1674570338530--