From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33030 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Tex RawInline and following alphanumeric span get merged (2.19+) Date: Sat, 5 Aug 2023 22:33:08 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30957"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBJ44XOTAMGQEDBHUCCA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 06 00:33:18 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f186.google.com ([209.85.208.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qSPpl-0007mG-8F for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 06 Aug 2023 00:33:17 +0200 Original-Received: by mail-lj1-f186.google.com with SMTP id 38308e7fff4ca-2b9bf49342dsf34411381fa.1 for ; Sat, 05 Aug 2023 15:33:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691274796; cv=pass; d=google.com; s=arc-20160816; b=N49ho4fGseY2NEI99VfIec0EV5pijbOtZ9/Ze3Cre36WEHgkaWI+osiJjNn5UJpY6R m49HHrZmXZFcunmpSlA6186+W4iFravVt4RYsGyHx7PylW88xd03EaNW/TGKOicpk/dH cpNoGkFv1eZsYr805IpDuJxQneGZCQDDDpB5zbp6eDJt3iknync/SuPxQ80FTphPfRGI bKIaZewTGB/5857C5oljEnDUv5PkAM7CLocJ33u/ZmUu/ISWwg9t40U3nldDwhMf1hYK uSUVu6dZHDHBJ0MUsbeuLEZrkt1uF0ny/GrLD3waTN/lM+phzWh7auULiEF6/Kx7s+JA gKJA== 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=LvVmnFrAESUBtjtUUcxIWWu9pA3uQpWkpcHGRj/AoNM=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=nHrrusxYSc1+AAJLip5QQJ4g4AEx/TNhILYk/sY8zxlKYn4pGvhAy3JrDvt5wLZjKJ JeUXUegZnGqz3Dt8evigheIezbJsTjY7I20ISz2co2id9V1kMnhm4aKfdT9zr3r44w/P +B0yC6fHfTEHutN7NBOPqKUqUqeeCjufmyk/UXWzt/WPpjrEwEnPKD8pfTZ7PrVi3ugB IYbEXdanC2fDtBU14SZs4cYCCll/XRo3lNtg1V9czZz6gtj+gaJjQxq1PB2cZdO3nL5q oUDN9m34oaULsVV8eq8TeICfXMXUxdgn7yF197l1+btHRd5UqpZ2yU21bIDattuQ/MWz MIXw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=Ogre422y; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1691274796; x=1691879596; 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=LvVmnFrAESUBtjtUUcxIWWu9pA3uQpWkpcHGRj/AoNM=; b=j4wMXD/nYPEn70CgsuodHKwbbTZH/nG5PZ8MSXWtUurZMopmIj7w/niWAZ7dSO0KMq LpBtIJRncgQRnw/hVeu6AGlpsR9yklU+PFGCnYv0DDLe5qFHB2WTj96rQDdf7nlPxVI0 BpnHcOYYf7nfGtei7Qof+j50/zyDtaK8RRozfiawCOnT7Fk7WpX45DreL0h+6l4/vJHZ a8Vn10W8uQd5CYhK8FYBAekleS1RrqsIgF6ccvLiPbJMrXt26YhILzIg4UTQxOw7SvOd M9CLaseh90Suwe8cT X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691274796; x=1691879596; 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=LvVmnFrAESUBtjtUUcxIWWu9pA3uQpWkpcHGRj/AoNM=; b=EDn3gC2LVYLdp/Ab2eXU0iHlnL0fcf7qfDAh/NpIxHQ9iDX4Ehoj7f1bIrw+0PXpKL MLt52u6IEvtUhTIExq1qbetSVv2m8BUoyXYHHae8fdCm5fEdX3/hQ/nDRhOhSEVghxsH SBZj5cqyvD6iiV2gCgn97jHG/QPpaU8Q+noRfw95ISZ6H7IlhtEP/S/n7ARPEdtvlobp VTrjuKGjOVPtVDSxy2O6prycomNA Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YwrCJs1PRWSTZnH5xQpoA+A3CeakJIcAf3WEhvbsL8kxObRPvYE fvko4WGYhjUH5KYR3vwlaPo= X-Google-Smtp-Source: AGHT+IGNww5U/5WkeNvwifQobTNDobwO/uUgTYAaPFUxb7Ftg9naqqtLeslyPZQRBcGjuUgon+cBQg== X-Received: by 2002:a2e:9190:0:b0:2b6:e651:8591 with SMTP id f16-20020a2e9190000000b002b6e6518591mr4242141ljg.37.1691274796263; Sat, 05 Aug 2023 15:33:16 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:651c:1c4:b0:2b9:631f:ac29 with SMTP id d4-20020a05651c01c400b002b9631fac29ls535846ljn.1.-pod-prod-08-eu; Sat, 05 Aug 2023 15:33:10 -0700 (PDT) X-Received: by 2002:a05:651c:1035:b0:2b9:d28c:9c2d with SMTP id w21-20020a05651c103500b002b9d28c9c2dmr4288294ljm.23.1691274790419; Sat, 05 Aug 2023 15:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691274790; cv=none; d=google.com; s=arc-20160816; b=NoRIpv1h7PE1sL0dxl6w69HbunOZK17xxR53I79+3M3eNK/fvnxojAbj8MzmIQppS5 Z0XMZTvj23J4wj4POMNZNl8in6v2DmNu8AaNt3Bf+TRqnRyaWmciaMshtP4kugK4WCvg Zl0MFP+Enpy+8CKvQzcKxxXi16DMrIEHVfmWulHtBlt+1JNMI3Nfi+0GP1XMaokTOc06 ZAl+r8TzJgC8phX+Q1bA+DsJoZ5v8akf1XNnh/+HCqQAV/DLpH6sGVKcdfNvOjipCqwY 5cLs8HCKS87aCpzL4L4s88atP+iPc76ZX4blpGbTN5gXRlY+y9liftogcPdLj0Ed2rbP rV6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=+HL0ERXbYL5n3SxgV5r1fF1y2MfoAkMcXUnXX4/elzE=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=Q9DBd1IYV3IEYqQy6gVLazuP7e8OoMemMbb8x6eTOrba1Ni/rPkXlo1bUHhKgReMpW gr3TID+Dai+bZ2eXdtQiLHV0x1HFvwPqZ9RHLCKDScoshm6hi/8F/ZcOVyoMqg+f5AyQ wlEgrWQzQRvxA4I3AV5DSr62gDx+SpsRJpQjBYKPdJfJANtNeqY2HPh4omiTUKLdpL8R 9Nv2cR8kRuhYbjs6jrQWw/+nnVOIcD9eMHviOMxKu+BXDx6lrUX6Nsjm3FOkQjkzNMsM +m6Kbtzp9b84eEbGTnVegGEWVZRVILZCTmoWjP1tpWX99QGlu9QV4FgLCHZC3iZMD11D KJ3g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=Ogre422y; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id z1-20020a2ebcc1000000b002b6f8d5f93csi361987ljp.2.2023.08.05.15.33.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Aug 2023 15:33:10 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6A445240101 for ; Sun, 6 Aug 2023 00:33:09 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RJHR90SRTz9rxD for ; Sun, 6 Aug 2023 00:33:09 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=Ogre422y; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:33030 Archived-At: Pandoc cannot guess by itself that [0]{custom-style=3D"NormalTok"} is not t= he argument of \linebreak. You can add an empty argument as you did or mark= the TeX code explicitely: `\linebreak`{=3Dtex} [0]{custom-style=3D"NormalTok"} Le Saturday 05 August 2023 =C3=A0 11:47:22AM, K4zuki a =C3=A9crit : > 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 >=20 > #### 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" , "NormalTok" = ) ] ) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 [ Str "0" ] > =C2=A0 =C2=A0 ] > ] > ``` >=20 > #### Actual output > ``` > [ RawBlock > =C2=A0 =C2=A0 (Format "tex") "\\linebreak [0]{custom-style=3D\"NormalTok\= "}" > ] > ``` >=20 > #### Confirmed pandoc versions >=20 > - 2.19.2 > - 3.1.1 >=20 > Could you guys advise if this is a bug or expected behavior, and what cou= ld be > a workaround? So far I found `\linebreak{}` works. >=20 > Thanks && Regards, > Kazuki >=20 >=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= email > to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [2]https://groups.google.com/d/m= sgid/ > pandoc-discuss/cf53af8c-b1be-485f-9ef7-c1554cf4611an%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/cf53af8c-b1be-485f-9= ef7-c1554cf4611an%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=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/ZM7OJELudFaAM_pp%40localhost.