From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32337 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Pablo_Rodr=c3=adguez?= Newsgroups: gmane.text.pandoc Subject: Re: help filtering languages Date: Mon, 13 Mar 2023 21:46:19 +0100 Message-ID: <103a971c-503b-e15e-8e1d-2b9700099138@web.de> References: <591336ef-c61e-31a8-3f44-2625551f7e07@web.de> 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="31304"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCD6NVO5UINBBIMXX2QAMGQECJ6QIMQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Mar 13 21:46:31 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f63.google.com ([209.85.128.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pbp3s-0007vO-TR for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 13 Mar 2023 21:46:28 +0100 Original-Received: by mail-wm1-f63.google.com with SMTP id z6-20020a7bc7c6000000b003e0107732f4sf4587202wmk.1 for ; Mon, 13 Mar 2023 13:46:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1678740388; cv=pass; d=google.com; s=arc-20160816; b=rZDQ9YFALC+NeJkRN+H+MjSwyJKZ0XG+lQ6Ixs1uMWN/iJHmOeW8+ifxVhdnui0YS9 NGZ1ZvNAkLGrhV3b8LA/vKSXi59C08yhTNhVEXC6Rf1QGWr6wXYv2L3+RKoXgNWTyJI2 Qk0/ashqjqWrqQ05tY9UklPb/Vpcyutc28M331frksycjlQUmcSDJFGEvI2mtMck4zpC r3VUcondsbUKRhcLFkTrAzx8aiAfD7PazWxX9rCY0+VMvVsjdJ7wbutLyBFxkgrEl424 POJmuYBXdE6vV0X1Gdkar+jS2gj8cpIa0S1Jm+RjCrMCHFPfOiMDVUSvwT2QQ5Z7XiqN nAtg== 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:ui-outboundreport :content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=3iJdopidcwaJdwYg/s8gmJUakR8jpXImX8FNlK54XUc=; b=HHwM1mp5iX6Yz0yn3318FffYeCiXsTvxS9p5ZT3JGN/1nq3Ie7/O6lEY1O0k5Bg6ka j6xRD1UUlU5ampVgxQhcm8j8TWzQQdD/P+fWjKQMwl9E1L63fLkh+MJ7jYl9VA1jN1x9 MKW+sPjJ2iOoYqKXNvtYLhE1nhUambeRNz39Ta8/0XeOwwHfRjGYBJl6QFYikCd5CIt6 2AqyrrhwCpWn4xX5SaT4GL28h7Y8QZNq9VwtYt/I/pDpmpLrY6t0F8Q1CswcyLBw9heR WlTq5HkvAaRGfcnZ1kkuDWt3SEdI10GbyVkFPcUtGAkaq36u8YZKQ4DA2AmB4JAVR612 1mXQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b="PjcQx/t2"; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.3 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1678740388; 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 :ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=3iJdopidcwaJdwYg/s8gmJUakR8jpXImX8FNlK54XUc=; b=Wk1JcA2AsTnIGyCAOuUxMzpIKcQIMk01xQ/qdWVrTU6r1ve7oz4M7nyBnO+lTh/F3t 0qWuHgS8vrBrneQ59HmbmVlsI+fRM8cSOQEJhSU87e784BN98o1vIu84ui2dtmM1yY0V a8fssUVtF/JnJlw96hJSxlVwSoY6St/H+kfVPb9hmXZCMe4tadJvaztk/ztem5mSL//u +yqdXhRTUScGo1FA71S+s2IOuUWvLd4GREpYSIhS1olwI05YDrbYvXskCagSq4cWEh6T T1QWp X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678740388; 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 :ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=3iJdopidcwaJdwYg/s8gmJUakR8jpXImX8FNlK54XUc=; b=0YgHQZCVkeSiEK1r9BG2E9isElasMb3M+1L8ti8oyYhHobJZggctgNc2RxDRNX9mL8 /1JdDivg1k8Xf1kCUqrPMyKE/9tDNtjmcZf70MhOWammkmLqdcxmgtvRT29vBnUj80ov HaW45MlDOkDmh0fM50IARRzuCOsmuNLN6GShcdon/ru7Cqrx6+ojO7VTN662ffMmah0z /R1vsg7zviE3ZmVTOjpMwdWnNbqK Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKUWhnTd0ByuZsFAcsgOoKU5K/4s7xpetEtZloAso/By85e/3zn0 cvzfZc3psItLop5OVM6rO2w= X-Google-Smtp-Source: AK7set8dhq6O2/r6QvNAhjZfb1w7IclRtwJcRj96DbXhMoghDzPtfL0zXG5q1A2y34T0qHZnPiCg8Q== X-Received: by 2002:a05:600c:3d8b:b0:3e2:1a3f:4e9e with SMTP id bi11-20020a05600c3d8b00b003e21a3f4e9emr3371661wmb.3.1678740388456; Mon, 13 Mar 2023 13:46:28 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:1c87:b0:3dc:5674:6707 with SMTP id k7-20020a05600c1c8700b003dc56746707ls9027757wms.2.-pod-canary-gmail; Mon, 13 Mar 2023 13:46:24 -0700 (PDT) X-Received: by 2002:a05:600c:4e89:b0:3eb:376e:2b9c with SMTP id f9-20020a05600c4e8900b003eb376e2b9cmr12102830wmq.36.1678740384133; Mon, 13 Mar 2023 13:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678740384; cv=none; d=google.com; s=arc-20160816; b=F5uaN9liYLap242mRtbtqC2/ttwyfOX1+C9dnP+/CoZ16tE/qyZHNBYU/2BBEnlm+2 DZObGVQPmR17mVcNu9v2NQJZY32hQWrDDVKskGPU1ruZI876lpWXRZYyjSBuUNFSXhHQ z4Z5iXxjHet6wm52g+kFWjurUJMq+VCPO0uhLQQ8B0p0o6TO3do4hMIW0E3BdwD80I6U /JSXSvZq5H1MYqMmVpXBrORwbDTUOj5xrwvsVocN+vHt8hWkEj/MsiLoE8zbP+u8fZhj Llv2/TQxeqKp9zs/BP3afJ+QyhxfIx4mRJKLiLYK41xiPt8A9tHLqX2WhnL/8xMy5lO6 N/tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=M+s5lRXCuU1C4iIU13A0JIJxqct49gBRefdg/VAQSyI=; b=yJEV4eosWRNPtmmUzpS6QXVRYzqTsgPXEummHoATajGGJ8p4boY6F7GuPr2eLZgs4N YUdLMCwi8FvEEjishl3YNQrZRD6iLqnJpVGBkDXVW14y3Mo1hhIaVEsVepSIjG1pOQLw lieKQ76lWVvC+9Yl5meVeUdRd6bWsmRsLPAmzxs3Amd79IQlintTQyB0jnuClJZA4ioK lcegySd9MAufT9MQsYLV2FXpOuTPRuUYylvPxEEw5nviYY6uYpxRnAso3mgeIpnk1hqy RjqjDhV3diaQmRsolrwQ63oA7FXYINePX5IBJWwdNQRP2wi+AgWYxmRn6r5lg910Qx4E wHuA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b="PjcQx/t2"; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.3 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Original-Received: from mout.web.de (mout.web.de. [212.227.15.3]) by gmr-mx.google.com with ESMTPS id p1-20020a05600c1d8100b003e215309bfcsi67240wms.4.2023.03.13.13.46.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 13:46:24 -0700 (PDT) Received-SPF: pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.3 as permitted sender) client-ip=212.227.15.3; X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from [192.168.1.101] ([90.167.94.19]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MxYXF-1qUTyQ1vvl-00xav1 for ; Mon, 13 Mar 2023 21:46:23 +0100 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:6JQ2AHx3+esSWlv5an5vdgqRSM1TiyXN13pi2EFYtHX5jKKEr0S Q9u9RBU8XqMYHAKVSfCW31K9DJsZzxR4wKbFcaKhj6/NnJrFl3ax144xTZTjkB8+NE3wMlj AR/vbJ42pGrwKIbTwilDVkpNHMcv1l+pWNK4b0VIEikDDQ2t4pbAZTEc0C5XRHDeLLALic6 0yXSIkza2iPV1Ls9D6M0A== UI-OutboundReport: notjunk:1;M01:P0:CGN88lpwWn4=;gc2oZQi8R44o9yG1CMnyRn+bj0m lrXJz1ePbm4ZtSRM1mqToVZvmvYmnyTVqa2sOYYBR1kYxXhk5vZrRaZxWNZI4bUnk5DiOjXJg +/Cuf3MfKuIxH5Z+TdOVlt3QhXURgm4rcH6PXrfNz63WmxsVG73nboe4Bs4e7BQLzOGMtJVoc XnumSosK0vfO5Jh9KSNIwlJBQ3Bbu+tv3bmg0z5D5vFWcl76d3Y05gHEyIWw3KJhoO2GsiEW4 +auQPLPlNPfJ7aaLEY+Wj93rzaYKyTFCjbwfhJVX502vLzphKQCsv2dO2NI919o7SCkXxnsbl 1rhz6HlN0fN/ZiHR4MtTblkQWmEZ39YN0/I/Jo875sXPw5UB7DrR3l0aoPsMKUwvLP8cqdpzg Mz35O8pHu0c1HG/SDnwsFDhKkdDVethmq/qdiP98lWckh8SmAfpccR28XXgRHW8tGxNjYHXqH LVZveUR14XO7rHONjrJmKQXIW0rDmz2gjaVYi7EdbPX2dqz3TxZBBuiLkmg31G2L1TGguFDxj LuHhrMWXpsy4iYnUwX6xZK9BBylFzU2EYEqVXQ+AAGNgiqkNH9KZ9JzaKK8hdEQmt335YJl6y rtSX3A5HARhbILT8yIjHGlTwZJlCzfzezXBotnLioGjn879BDfZxBt5Lx0uSALNuBBZHDGHJv RFYNoXSehQs8TYSPVFvilQslhAP+ZSGx0QffclP+EGn9WYv/ZTx94LsXm2jlvP/oCojWTRO63 r4JA05zOWT+MpPxv9blZJ7QSBpIq/a9Ky2WidMHsMBXYA4HpZny4aAaQH/QrVlmoohZ3MGZZ X-Original-Sender: oinos-S0/GAf8tV78@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b="PjcQx/t2"; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.3 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de 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:32337 Archived-At: On 3/13/23 20:43, Bastien DUMONT wrote: > {:de} will be parsed as a string, not as an attribute list. > Attributes are of the form key=3Dvalue. In this case, you can write > (-f commonmark+attributes): > > _Deutsch_{lang=3Dde} > > What you propose is a syntax extension Many thanks for your reply, Bastien. I know there is a way to full attribute specification, since the original proposal is almost a decade old (https://github.com/jgm/pandoc/issues/895 [which was superseded by https://github.com/jgm/pandoc/issues/3451]). > and it would be quite difficult to write a filter taking into > account multiple attributes and cases where the {...} string is > immediately followed by other characters. Well, I see what I was missing here. > Maybe a custom reader would be better suited. I wouldn=E2=80=99t mind to add this to (a custom version of) djot. But I cl= early lack the knowledge to do that. > But it would be easier to stick to existing conventions! I=E2=80=99m used to the convention (although I=E2=80=98d rather avoid it, s= ince it tend to mix languages a lot), but when explaining CommonMark/Markdown to newcomers, this is one important exception to lightweight markup. And believe me, it is not easy to explain the key=3D"value" attribute syntax (it doesn=E2=80=99t make it easier to ignore the quotes) to people w= ith practically no computer background at all. Because this goes on top of a bunch of new things for them (which would make anyone explode). Many thanks for your help, Pablo --=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/103a971c-503b-e15e-8e1d-2b9700099138%40web.de.