From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32336 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: help filtering languages Date: Mon, 13 Mar 2023 19:43:11 +0000 Message-ID: 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="5820"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBUXZXWQAMGQE7DL34EQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Mar 13 20:43:19 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f185.google.com ([209.85.208.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pbo4l-0001OJ-Af for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 13 Mar 2023 20:43:19 +0100 Original-Received: by mail-lj1-f185.google.com with SMTP id a35-20020a2ebea3000000b002959d2cc5fasf3977456ljr.16 for ; Mon, 13 Mar 2023 12:43:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1678736598; cv=pass; d=google.com; s=arc-20160816; b=hloS2K3pw1j61QG5A4PsW2+XoovpdsdnVikBq00sADSzfhmN94oy5Yo/QIq2UvK1Tq f1GmlfOLRbRk+D0H2TlkK62KbjnDe7OMDv+3FTj+KHl2S2pGmbK/29IprkmTNid3QflP FDGmlFxpsXv8hUgsTIsoJIgjZ3pz3RO3kmsoi6Jf+Kqw3inYo2FCrutk4sOTNxXeyRse TuuL7xocYrpnhVI0gjmHFv7smWJyHi8Kcy6QYg6Knr1NBTb181lvmP6pcz7qSbx65bRM yKQP00U/ZiASY1EkJUfcOPnPrJdpML3oJDZ1qRxemqU2IQ1rd4MWwWUJndyZxnPOtb2E tAhg== 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=uKrvBqzL0R9auF/oJqBJmyV+GithHHQPajyXKes5Qkc=; b=JTRfPy1fTpsw19xkq1Jmw0E4mKLhJ10WgJYwoT4cG4yAyhkdBsmNQFMEmKG9F+z7uk 2H6RQAhV0I0l3vOY//g1zfjquZ4Xcjed6FbjJPqsZTPTZV24OWDvK1/5TfZzVwu432iV 4k1chpi5b3PqYjYdP6r0hDdduhvG9JzYN65JVD/glGqAV6ksw0upsmTmIPRfAaS8CoqQ CvGs8VTIIoTm46qhvB41A8SmAhPVd0zAu/wlfUBks6ydQXhVqgiJ1d28ivNIVI/6hzRr G9DfVFd2tDEQnMatLZhWxPMnq6eEuBgQfkz7lidNV5OHIN02YPNkkmT3Gk97bulOlriN EIHA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=TWLbMGos; 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=20210112; t=1678736598; 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=uKrvBqzL0R9auF/oJqBJmyV+GithHHQPajyXKes5Qkc=; b=dvidps2M4+GSbZqWHFZ35Q2DCLO6z7Wz0myNmxxPi2Q65sDZEV1h7lgoOeOd74LDfN 3fchyl1/dbCyr0XRrfv3O0Uw5UZQ19+o0eZhnwd/aCKqtm/XmmUwc1wQtX6OJnJjMdsF gPv1ocQQg+IiGnrgtUiyFYQECIs8f2XhVrqbUhABKb9iG5aJ+prmVm/zyaoRxh4XbPy8 /JU1Fc74/dZij9k22ERiqTZ4rbY2aaW2Am3Vvgd0+pTWTe4y6Q2+LOWmCsgVkdK+x+CQ 7si3EELerS5DRwuC1z+JskqxTwEezPn X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678736598; 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-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=uKrvBqzL0R9auF/oJqBJmyV+GithHHQPajyXKes5Qkc=; b=x/GGmJe5fS0sdVOoqCL4UN1k05K4hM5Mc9bR6v/mEjnZIPdVAaGfAdLrwThCvMugq6 HWDymDpE1EoGY9aFlyKi7AlYbYzW7qy5At+nRhATKOvc0enmbwb+PGMV/ofQVvjdqxjI EiufGbq646Uz3eQwpeJQ7blisQ3f395FQHiM8Gj7Xwti6WOXMT3RyNgBi3AO4rQPioC8 PUxYql45a4cj5gnWiJgM0gX7db/mItPRqZEKND9mruc/80WYOzRzokgvBlo2FU0S Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKXEDwAqfv5bUijYABMsW2eUNtBjR1jw837AWEedcI2NwdManjCi bl27rF47BxLsVv3QGtnSlmE= X-Google-Smtp-Source: AK7set+idCqrMRan0AkG9tpVGa0pAcJ5iGVCc+L4UIbIBPtfJd7XM/IlFKwL9K8rG5rOe8131l9S5w== X-Received: by 2002:a05:651c:200f:b0:298:6a87:6c65 with SMTP id s15-20020a05651c200f00b002986a876c65mr6234141ljo.5.1678736598525; Mon, 13 Mar 2023 12:43:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:238d:b0:4db:5081:6ce7 with SMTP id c13-20020a056512238d00b004db50816ce7ls857012lfv.1.-pod-prod-gmail; Mon, 13 Mar 2023 12:43:13 -0700 (PDT) X-Received: by 2002:a05:6512:518:b0:4df:464d:91f9 with SMTP id o24-20020a056512051800b004df464d91f9mr10283259lfb.34.1678736593456; Mon, 13 Mar 2023 12:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678736593; cv=none; d=google.com; s=arc-20160816; b=b5tL5Zv5kH1ydbLxleK8B4Y1MbzJUAS6rRF/6dS3qgW8bPKkvoHzoqF1AojsXy+peD 13R7EWs/5PdJAYku2lvq4EJ6qtjIL9SgZLtPwRhZaEc3gJDaNful+SmtSc8pZr5bLOxo 1aWjJIjVwoEteU1gJ2UqrqIUuUarIKC9ludQHM81z83TywPfR4kAHPuQyrO+4A6uKa9B 7dBuNeCd7cOpeNJN0fqEV6+08GLVfLE/Vd8/RIXQchkihcoj9aAg9P56Ouc40oEv1YPQ asABMaNffNW550sl7ZPGniU1yQiDzF30kmK7997id6Z/SMnUpo24LengsTrIdtFIVEOI infA== 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=DFkI8ZaaRI9ZfNOTrksF9hdtNBJhm3WERsJGiRG18dQ=; b=nhiP/yyBBp0+eiFD5j+UCnftyIvcjHuh0PUHbSqexaLQTBe7WZL0auCFVlqBsfjNCe yuERIjqQG37du1g8JEcF29qCZ9DUpmfLyU3PMBK2od13o73z5Tjpcn3zo4gNFUHJT/Kw 6eJVMoqocuSDndIff58id4yOSw90hrIPExQrQXo0+qOycszNFqJang1fTiC4Hs7FzufU 4n1Dj+FXItdLhtZuf3ElhhwTUVPwHrBFHS7RDKICfnGVGRczlOFw67i2mV3gZaPgvwVG eKBpKQbGWEWqODw9HWLwgNs+10FZsB0VCv9M06duJiJPyr+k3U2d4Hs+BiA9HMUrmaRn 77lQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=TWLbMGos; 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 o12-20020a056512230c00b004dbafe55d43si23461lfu.13.2023.03.13.12.43.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 12:43:13 -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 C2E0D2404E2 for ; Mon, 13 Mar 2023 20:43:12 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Pb6X01jk9z6ts6 for ; Mon, 13 Mar 2023 20:43:12 +0100 (CET) Content-Disposition: inline In-Reply-To: <591336ef-c61e-31a8-3f44-2625551f7e07-S0/GAf8tV78@public.gmane.org> 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=TWLbMGos; 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:32336 Archived-At: {: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+attribu= tes): _Deutsch_{lang=3Dde} What you propose is a syntax extension, 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. Maybe a custom re= ader would be better suited. But it would be easier to stick to existing co= nventions! Le Monday 13 March 2023 =C3=A0 08:25:15PM, Pablo Rodr=C3=ADguez a =C3=A9cri= t : > Dear list, >=20 > I would like to add (natural languages) to attributes, such as in: >=20 > _Deutsch_{:de} >=20 > A filter would help to filter the language attribute defined as > everything after a colon (preceded by a space or at the start of the > attributes) and before a space (or the end of the attributes). >=20 > If I=E2=80=99m not wrong, this would filter: >=20 > _Stra=C3=9Fe_{:de-1901} >=20 > but it would avoid: >=20 > # Title {#first:title} >=20 > I think the filtering rule is pretty simple, but I don=E2=80=99t know how= to > write the filter. >=20 > Many thanks in advance, >=20 > Pablo >=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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/591336ef-c61e-31a8-3f44-2625551f7e07%40web.de. --=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/ZA98zxHsNXsGRE9c%40localhost.