From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33029 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: K4zuki Newsgroups: gmane.text.pandoc Subject: Tex RawInline and following alphanumeric span get merged (2.19+) Date: Sat, 5 Aug 2023 11:47:22 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_29597_1420473789.1691261242715" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38311"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCY7J2HL3ALBBOVYXKTAMGQEN26VUMY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 05 21:00:15 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f58.google.com ([209.85.161.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qSMVa-0009q2-FJ for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 05 Aug 2023 21:00:14 +0200 Original-Received: by mail-oo1-f58.google.com with SMTP id 006d021491bc7-56d2c34fa25sf4669896eaf.1 for ; Sat, 05 Aug 2023 12:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1691262013; x=1691866813; 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=nkQgDhf6WHoWbk9yVkguu0UbXqoIV1ZO3fsLI/l3i5A=; b=Hz31lLvDwqxB4yWD1T/7SKjZ8gsI2Q3MdOKW2hlBTIVn0YlFp9+oxeZowdqBQDFL9Q obtIsfdNK3Rr6h2hc5uygCrsZ1UegvnQbdrms148fjyr9uEzkpT43Wqa/ySWEhCmprYJ Gq0ekMg5lkS8CQoinzjpg8o8i+Nc41sMP3/+FLnBPH8LgGgFaisS7W2v7xUDEsF5QQ/v S0ErQccGNPlOiuIFaj+LL9A+rwEf2IC1EOkT3nCrjQuolh6mLuprfNgrhIFQEN0FNIjw SxNpXDWXFQR/rcWbbR4qASJNgfsN0+8ax0zbJZQuEXmR80zE4C5WTe2xXAEFif8daUX7 SCww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691262013; x=1691866813; 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=nkQgDhf6WHoWbk9yVkguu0UbXqoIV1ZO3fsLI/l3i5A=; b=h1zXiltLVtXKRdZtpEgtRJ0L/a9VGGsm85wuXUkIYON8RHC3FrgSKnO5sy2wdD0Yrz ZvBhegms5eP2Sk8INyT3exJY6d+afQHP3j3p5UPf+BWk6JQCKoBkvk1YHKAgKEG1U7c2 dDB+31aGJ01mICzDHCAIe4cTsoSeVatXr8srUxmdgnZrEooE9LQmrWN7IjzVP9/GoB2h AxVgvQPv8ySC6phVN/3Jfg0YfnvqKMwR0dt4Z/gLyaAegzA6GOjZ+aLVu3GfW1vJT9lF ridQluemkrjN4wc9/Jz6f535ACF5QxF6mtuRYdeMtcWalzAbcR6g32azsQkfkWvT5ZvN nC8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691262013; x=1691866813; 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-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=nkQgDhf6WHoWbk9yVkguu0UbXqoIV1ZO3fsLI/l3i5A=; b=Z+tJO3Fbd13ljIejnT7ugCaIYY1D9tWzXsJ8PIx2Y+T5awXSRc01YMdH0ZBmHJEJB1 fg7KfkKY3suLVSfqVHHVb0Hzju28zn5Y9SOL7dGjIKUxbOSD36bDGdqUxRoI2G+EtpPd Dp6D4dlrE4zbuEaWOcAMrOIJRPu2BTuKQXkPhm7iCF+MD+ZukfQXIgW1ap4TfZfYogIx ah8Dvw8gnYHuT1K728Zkw2gk5UmsW9xI5MTBT8qiTMyoecnd4mEvsNX4PCV93LFm7r4k QjQ6IGIhvGwNMHf+2D8z5gyR50T4lYJHzMhAmN+RVKaW388aWPgxFLEBx7vdtI7LJY47 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzLl+7Ha0j5jPdXbX7PVsFQR2sACi6QwxuYwtn4KKOLmkFVmvEX zI3psN1Di7BcjfbABQyaig4= X-Google-Smtp-Source: AGHT+IGq0nKEoZWE3RrXs8Yh4oCbXSYFTW6LHV/0z+7xhToxIuRmpz5tCMPtMnkSioomfrY/VUe3vA== X-Received: by 2002:a05:6808:180a:b0:3a7:44da:d5e6 with SMTP id bh10-20020a056808180a00b003a744dad5e6mr7312416oib.38.1691262013326; Sat, 05 Aug 2023 12:00:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:33ca:0:b0:566:a929:67e7 with SMTP id q193-20020a4a33ca000000b00566a92967e7ls1231910ooq.2.-pod-prod-09-us; Sat, 05 Aug 2023 12:00:10 -0700 (PDT) X-Received: by 2002:a05:6870:772a:b0:1bb:72af:4373 with SMTP id dw42-20020a056870772a00b001bb72af4373mr5483692oab.10.1691261243279; Sat, 05 Aug 2023 11:47:23 -0700 (PDT) X-Original-Sender: k.yamamoto.08136891-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:33029 Archived-At: ------=_Part_29597_1420473789.1691261242715 Content-Type: multipart/alternative; boundary="----=_Part_29598_469767840.1691261242715" ------=_Part_29598_469767840.1691261242715 Content-Type: text/plain; charset="UTF-8" Hello, When trying to pick a tex RawInline, some particular case has a problem. Converting following markdown code to native is not what I expect #### Input ```markdown \linebreak [0]{custom-style="NormalTok"} ``` #### Expected output ``` [ Para [ RawInline (Format "tex") "\\linebreak" , Space , Span ( "" , [] , [ ( "custom-style" , "NormalTok" ) ] ) [ Str "0" ] ] ] ``` #### Actual output ``` [ RawBlock (Format "tex") "\\linebreak [0]{custom-style=\"NormalTok\"}" ] ``` #### Confirmed pandoc versions - 2.19.2 - 3.1.1 Could you guys advise if this is a bug or expected behavior, and what could be a workaround? So far I found `\linebreak{}` works. Thanks && Regards, Kazuki -- 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/cf53af8c-b1be-485f-9ef7-c1554cf4611an%40googlegroups.com. ------=_Part_29598_469767840.1691261242715 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello,
When trying to pick a tex RawInline, some particular case has a = problem.
Converting following markdown code to native is not what= I expect

#### Input
```markdown
=
\linebreak [0]{custom-style=3D"NormalTok"}
```
###= # Expected output
```
[ Para
=C2=A0 =C2=A0 [ RawInline = (Format "tex") "\\linebreak"
=C2=A0 =C2=A0 , Space
=C2=A0 =C2=A0 = , Span
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ( "" , [] , [ ( "custom-style" , "N= ormalTok" ) ] )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [ Str "0" ]
=C2=A0 = =C2=A0 ]
]
```

#### Actual output=
```
[ RawBlock
=C2=A0 =C2=A0 (Format "tex") "\\li= nebreak [0]{custom-style=3D\"NormalTok\"}"
]
```
=

#### Confirmed pandoc versions

=
- 2.19.2
- 3.1.1

Could you guys a= dvise if this is a bug or expected behavior, and what could be a workaround= ? So far I found `\linebreak{}` works.

Thanks &a= mp;& Regards,
Kazuki

--
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/cf53af8c-b1be-485f-9ef7-c1554cf4611an%40googlegroups.= com.
------=_Part_29598_469767840.1691261242715-- ------=_Part_29597_1420473789.1691261242715--