From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32000 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, 17 Jan 2023 14:35:07 +0100 Message-ID: References: <87fsc9xs68.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000488db505f275c5af" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39027"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDOYFIOXRYHRBF6ITKPAMGQEROZTMRI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 17 14:35:23 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f56.google.com ([209.85.210.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pHm7W-0009vM-Vr for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 17 Jan 2023 14:35:23 +0100 Original-Received: by mail-ot1-f56.google.com with SMTP id d2-20020a056830138200b00684eceb646esf3202678otq.4 for ; Tue, 17 Jan 2023 05:35:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673962522; cv=pass; d=google.com; s=arc-20160816; b=WXQObKbPRbJyZ1YPYAxndpt8d1zX+PX7xqNcQz7B4FroqJwSNa75/4+yQbtXCqKjlS 9ivXAF31FLdsv4kfY4FNCdCCUnnGJz3zZ4c/RLVgHdTNEWdPT4DyhShjluuCuIGun8XW YKW94DTeWVMyJTgFVwsoAt9qzcLSc7gNRXr4ftBuCidNS7QHU8Iie1KyBSjGLWBb95U2 4Bk6PXGtiWZmg3H5awloweof8675YPDHO8pzJdmikfaCJ8RaY5laBLJpoapDeWYiRPO/ 5Q8C7UMJY4AZIMgqGUip97/oF8dFtR4vCtjNAJB6dRChm1DRNPY2IGPVECZJwJ2dSdUu FtnQ== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=VK9K/8pt20b5heCIgxzgxzJQeVhM2FVxXelQEdhL8BU=; b=Yk9t06lEwtB0ZTcEXJauhdfIEEyJBx1TEWC1+s0/KK65wRNSPF9tIO8jh8ZGnytrgt P79Y39FlCBsL1/aPVWzNNKgAnQDeSRSuNdxo1LAvufxxknIdJFT4hEUw4Z9blkd+IXdI UCGEliQLYtbqHNrdeB/KUxdufLatSkJyfQPhu3gkwm64qtvjhHXoUQH/MgkMAnMPlDBK PK57ETxU59Wa9EtyHu6oT8+dwKEN+uxIvQL+Gwg6oIahPMdiO9fY8kjuGWJrY4BMLrkr LiSZylKs7eIp2cKHc6fhLmEmvFMoUrGRwpbzMFUSrtwFEgj/yHxzZAAyAiFKdgbDHiCA LVww== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Aa4cgxCa; spf=pass (google.com: domain of claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::112c as permitted sender) smtp.mailfrom=claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=VK9K/8pt20b5heCIgxzgxzJQeVhM2FVxXelQEdhL8BU=; b=S9WmV/dF+GlHvgHf2M0sCdIDthrNX76pwqaN02MF3DCwrFcmZr3+ZEnZJY+0v8YYX4 C3NMvzgEMcE0SntoBrG6jyTTqy/rUUJS9DizD8kjN99RmCJs1iPGd8zeoTK1Q/G2kxT+ gSmo+F9wvsR1bDwKOLNcaWYOjUEEm5b1R/QdjXK7sMqODJAt/j6H6IOEIlGlc7tSpvqc UNDIIr/3WdwvW904XZjej16z0mD049H6pnNBKG152t0JGdy/jE6myzPInUhGb5Zc1pa4 T0HVazM2B5P8RgCth47InFRn4ToRetUqnDJHEqkqODrQLQQtpqacnLulEGsrb7IBoJC6 fpeg== 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-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=VK9K/8pt20b5heCIgxzgxzJQeVhM2FVxXelQEdhL8BU=; b=R7thLHZpv7pWH7NYOxmzRxzDB+NKv3lDIrUEu+/2Lpcwd67eQHn/Fz/5jbpKJVDHne PGO2GjvEsjPlswQ8CR1IcyGIlqgyGBc4s45ecJC4PvfCLnS7Rsq4qBPcURZOFKXnvUYW YHJkqluhkMHUeNfjGEmP98+e2CMVr6ICVIr3qLHcJLq6DioE2eOCXIGL2/Ve0CknYXTP VnBDAtbqP2sw/seDg0gDCTu/Q322rQdKFFhH83jNvxVwo9fYPGSFRCEKrGRLJI+Bt08O VNRYObttAurzw0HNZ1PD+9AWVbOYM/vyzPhlOwZ+fgaTNG5kmjflSSVFDqy2MPZqivNQ xtzg== 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-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=VK9K/8pt20b5heCIgxzgxzJQeVhM2FVxXelQEdhL8BU=; b=DkozTT6DZNytp7FB8BQw4qffW5EjhLA01gaKL3u0BUOMxeGpOWVD58Txy6+ZG90gvc cfUNJlwt28TFRA1f4hO0UeftZuRMCCecWT6HuiY8M/rHy9BM96sHmrgdc6BZ0G6csz8n g8dgy4qtv5WOn7z4CSmU7/S1Jr990NldqmRfWAk35X6xNWPXbeLo5M6PwU8/SrQHE9f0 5dTu7/kIFwpfEi/GJ9AV19XVIwzaKHlD36hoN8GA3HjTFlLoPYwYQVOkQiAj7jpK3F/Q 8UHmPEwDkol0KFUDO0lS0FBNLR+K0FWY8JTmZUD15G8orA Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2krXkRnSFDpTwNFfuGugHPUxkpHLqfRMBUAqzl2lve8scaOdIw5I wRQ7oi4USAHyeypvnPnx29w= X-Google-Smtp-Source: AMrXdXvRC/5MAnmH37ZvlW2NydEkrVyDYkYrPnsMNA5uiEL+fatWEtr5H8pNOLPADTpVH7X/c2ry/g== X-Received: by 2002:a9d:7a46:0:b0:684:d5a3:e8d2 with SMTP id z6-20020a9d7a46000000b00684d5a3e8d2mr172097otm.301.1673962521774; Tue, 17 Jan 2023 05:35:21 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:3919:b0:66e:aed3:654a with SMTP id br25-20020a056830391900b0066eaed3654als3065849otb.4.-pod-prod-gmail; Tue, 17 Jan 2023 05:35:19 -0800 (PST) X-Received: by 2002:a9d:4805:0:b0:671:b52f:5c3a with SMTP id c5-20020a9d4805000000b00671b52f5c3amr1470604otf.34.1673962519261; Tue, 17 Jan 2023 05:35:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673962519; cv=none; d=google.com; s=arc-20160816; b=MauqILJS1p0KW63jgRO4piW9ltIRUaq9VeAYikoidrYL5vEnFEl9owueDxGqWNQ33G r9ElirxMlyXtYcPbroYFXplOYNeIxw81ZwL6eUCoMwoBhzbFD1ukTduVDgVojOfqX5qR bJSFxlHdlZRzrtOpQGNGO/sniQb6t5xe3iQLnaUslVWAX95bqiSHq3JcGvnLy6Ap2byD Yc13UGNlKy3UxwuYAkbUZqcMxLNdUF+NysQUwFC/Bjmd34/LOm/gyJW1Rt0b/SGnTKOG qXm3kaw4W1zhb+Au7GBjyEoSV+ezzrRWnHEGQ8vuXtDpdz3JSws+tXOjpAo4WF1LmTfr HBLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=6jHLaitgQl9+fRuh4wHnjVckwdfKjUrgJGG5goU2rH4=; b=XEm+kqVMSP3ZerZsIgjBA1QssleiesHPPqBhriZNE7T03fMagftx4gydrcs4FuOMjX e5Ba62xzver0PmIrG26EdA3OY5ntZmPb+tn9nsOyrI682vHHpESdUrt9O/om3hvUcCuY Tyx1MrSNYx2p2lSGrHlEA6cqb4zye6q5wSmqwzUoakrc9YRIXcpHpO4K9N4l9RKvwd0o vaK/qHCSOnE9JqHDAaOzBaPO2NFfDb+jAehShMsz2RjH2s3NU42UJQ5bkQOaoKz0mGw2 l/eVEmdE7RwRa9/x3vYpKoaQrwFbKhCyWBOWYDXFZmU5dA15mEWKBKmupioIZ/4Ca34d yxhg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Aa4cgxCa; spf=pass (google.com: domain of claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::112c as permitted sender) smtp.mailfrom=claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com. [2607:f8b0:4864:20::112c]) by gmr-mx.google.com with ESMTPS id 71-20020a9d064d000000b0067054a075b7si2487032otn.2.2023.01.17.05.35.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 05:35:19 -0800 (PST) Received-SPF: pass (google.com: domain of claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::112c as permitted sender) client-ip=2607:f8b0:4864:20::112c; Original-Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-4d59d518505so253004547b3.1 for ; Tue, 17 Jan 2023 05:35:19 -0800 (PST) X-Received: by 2002:a81:6dc1:0:b0:36a:de9d:825e with SMTP id i184-20020a816dc1000000b0036ade9d825emr370741ywc.477.1673962518513; Tue, 17 Jan 2023 05:35:18 -0800 (PST) In-Reply-To: <87fsc9xs68.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Aa4cgxCa; spf=pass (google.com: domain of claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::112c as permitted sender) smtp.mailfrom=claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32000 Archived-At: --000000000000488db505f275c5af Content-Type: text/plain; charset="UTF-8" Thanks Albert, I forgot to mention that possibility. However I was wondering if the parsing can be fixed/improved. Cheers, Claudio Il Mar 17 Gen 2023, 13:27 Albert Krewinkel ha scritto: > > Claudio Di Vita writes: > > > 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. > > One solution is to backslash escape the dollar characters, as in > > \${value1}/\${value2} > > > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/V5fTt9aN_AI/unsubscribe. > To unsubscribe from this group and all its topics, 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/87fsc9xs68.fsf%40zeitkraut.de > . > -- 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/CAMBF16uoWv5%3DUtiMRvWQ8139hk64bGqL-%2BejfO6%2BCiatgvBTBg%40mail.gmail.com. --000000000000488db505f275c5af Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Albert,

I forgot to mention that possibility.

<= div dir=3D"auto">However I was wondering if the parsing can be fixed/improv= ed.

Cheers,

Claudio

Il Mar 17 Gen 2023, 13:= 27 Albert Krewinkel <alb= ert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> ha scritto:

Claudio Di Vita <claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> 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.

One solution is to backslash escape the dollar characters, as in

=C2=A0 =C2=A0 \${value1}/\${value2}



--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe=C2=A0 e836 388d c0b2 1f63 1124

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/V5fTt= 9aN_AI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-disc= uss/87fsc9xs68.fsf%40zeitkraut.de.

--
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://g= roups.google.com/d/msgid/pandoc-discuss/CAMBF16uoWv5%3DUtiMRvWQ8139hk64bGqL= -%2BejfO6%2BCiatgvBTBg%40mail.gmail.com.
--000000000000488db505f275c5af--