From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32654 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: What is the point of isBlockElement in the JATS reader? Date: Fri, 19 May 2023 14:27:30 +0200 Message-ID: <87cz2wo61j.fsf@zeitkraut.de> 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="36045"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRB36YTWRQMGQERFYOQ6I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri May 19 14:32:53 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f56.google.com ([209.85.221.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pzzHv-0009B8-Bo for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 19 May 2023 14:32:51 +0200 Original-Received: by mail-wr1-f56.google.com with SMTP id ffacd0b85a97d-3062e5d0cd3sf1336418f8f.3 for ; Fri, 19 May 2023 05:32:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684499571; cv=pass; d=google.com; s=arc-20160816; b=MextciUhlC/sdVbmCdhDvp1Pv9tA8TG+AsHcfMSLifQHqjXSpPNhjSIhEwQcCfVT3d eAYZ0+oQzo0O9GCM67latQtztcXxz+j4SrzG4stQNF0agc81sv+YS7j7L0AOpR+dsEdW 4bo8cV1PG3LSARsNKrOcibH956F+lQTDbskMJH9gGvmO4XBSJR5SPojHXgD+h4oS7maE hb4kAeh4+9unVmaWNHnOEWTbKTSMRgIsXxv6RxtPNh6YLXVND7dabsuUMBoV1gF1Pv45 EhJgAEQfNtsIiuPlC5Z7/MVItNFPkzZhHa6Mmh1C2KmKWJDK/4m+M17mcAGAQqE80Tr0 EG2Q== 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:content-transfer-encoding :mime-version:message-id:in-reply-to:date:subject:to:from:references :sender:dkim-signature; bh=HonX1Lw1bjSCt0X9gAWoUqjX2c2N/S/DLTd13M/DOGs=; b=XBcZwjf2ogtm8R6cB7AalTvJVn5xM4lAZmNSqlysnbQ4q9VsULaxVcGdIfCaGLcchi s7dDGi+Xgfg7RCN6NGQdTLmUaFkjdDk/0COlOND3OUVTpvuclw7IjC4QBZejPZzCcLfS 8JO7nAbAlkZAL9uVhVyVf/D5nHjjvfcmI8EAhiuZFm6GlHVpHBeP8rcMxPfLFMs+ZfgV FmXQ8v8h2HyJwtdmk5OlsKuJ4z2rA2aCN/QeUUKeVu4eiCxOWreBR+jaTsxBr5OOl5mj OObrkWbbw3xG0QDz0bTUYuIlwf0xFFepvfEw19kyuhFFQNPd5dYtpweyb5ZZJnFe/tWI KcLw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::102 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684499571; x=1687091571; 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 :content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:to:from:references:sender:from:to:cc:subject:date :message-id:reply-to; bh=HonX1Lw1bjSCt0X9gAWoUqjX2c2N/S/DLTd13M/DOGs=; b=ajJaniq1zmfNhUjQuIHVgzh4rdlznG7kNqV1i/FqrQ3IHBZcs6lTGEqoCWWaUV7Wwk HwVFxOPcdOYBqRVb6PUUMq3JEcmW6xMdOMaGxMgIKH8SZzfag3LV06pOQh8Z4chGoAIB OumOYXWCxUFkwWE36lWnb0IytlGtT2pqtjMzfH8t/yq1lA1YYhk3n4XzCYNOXDvDdksE 01uHoBW145u6hvv/XmjiRDWQc7tQZAjcKpRmgx68T6x9OB256fVz3VxlNxrMw7Cua4+a I+m0o8krou2fpDCpe5HUeFSHXklxKRcWoI0Oz X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684499571; x=1687091571; 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 :content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:to:from:references:x-beenthere:x-gm-message-state:sender :from:to:cc:subject:date:message-id:reply-to; bh=HonX1Lw1bjSCt0X9gAWoUqjX2c2N/S/DLTd13M/DOGs=; b=BQGnIY6xCGsmDO997K+YPIP2ZR29QQTR4UcT4JLeu87NemqQ6d+2Wo2Jr1sIz6G98B JMdynIXpJQPvoYXjgDmZ96NWeN+s2z4o/VP7ZqfC42aDuecWEj0UfTNmUfhlDfnyGwt5 afDeWD2rXNgKNM/dvtqVkIVb6zTrfAghA5aY9hRWNq6YXZwPx3jIpJasHrdKE4jt3FAL H4m/usb4nK1gpnoFlHPWMBor10ss4hd4BOaOCDoLKjZGRJh03+k4ZwceUh Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDzOHBT4oiKkXye+miMujx5zuzGmqXvc25FdL5/v3W3/ieTlXi6W mycvG1WEuwvwnmJGMh57MWg= X-Google-Smtp-Source: ACHHUZ7x7odmtf4lGNlt9uluWPAzsDcYyLtsjTW4lKanJdOA923qzDm3jv++ypIfc5zRW5gnWWJWgA== X-Received: by 2002:adf:fc86:0:b0:306:31c9:612b with SMTP id g6-20020adffc86000000b0030631c9612bmr377526wrr.3.1684499571025; Fri, 19 May 2023 05:32:51 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:1c90:b0:3f2:54c7:57ce with SMTP id k16-20020a05600c1c9000b003f254c757cels285449wms.1.-pod-prod-00-eu; Fri, 19 May 2023 05:32:46 -0700 (PDT) X-Received: by 2002:adf:e8c3:0:b0:306:2c20:c4fb with SMTP id k3-20020adfe8c3000000b003062c20c4fbmr4041437wrn.2.1684499566239; Fri, 19 May 2023 05:32:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684499566; cv=none; d=google.com; s=arc-20160816; b=Dmo2ha5tJW4W/NJLJfxkRmLwMdc67DeA0bReEP9VNjH4LUbcFOe6ilwqOmBPS6X1UU +m2l628J2rauLpuKT1+ZEEqbn6xWnIWywqY/qu6Wt632TKZFr9lw7GVJ9QeO+J2ZwEqX Jw2ay0GDBEjx2NcYy11/VrFCd+0YzZcSOwOxabr2sosuVPhNockbTVCcUqAnu81+uw1s nfp6NI/SCgKfK33N+sGm5HPS1sbcpbIdISr/gLsk8digfdFwnas/eMs8ECjZM73UfcLo YP0oceFUN8U63WEBM7bknSs+a7MccYcIHBsnwyB1hFyyv3BFoCBg0z2uWkB9/QGF4o0b RDsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:to:from:references; bh=7tjJi/Q6DMRerHLMbjH7mDl7em+JaRXqJ4amoOqrPjU=; b=FYxckKVH6d7WxJu8V9HBgy9WN69WFTx0UpYVRH8ra69pvpujSS6nbPYw6YDP/kAJpe 9yM3ZGcpvi7AqKF2h3i5XkxvGMl2Jc4q4SFv51kaY86sdzDQvHYWWlDGyKkhgLxyUVvj AyG2Gl2ut4a5eDDz84BWzO4KRBkAfHMm4fpQfKaWb1aU17IuqM9i2DxCnZTcGgI0kXqe eoz8eXcd2ucyfikDSkvmCxO79kJ+7vnws1KnkRvGkBfvW4belPeUG+SOKEB/bbBxZSjo u+m5+LYj0pzUuhIgQ8c/3VJz13JbyLH3At9Bt/MGLwDG6SlRmPyUlF2+7asVDE0JscvK 8Sqg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::102 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org. [2001:67c:2050:0:465::102]) by gmr-mx.google.com with ESMTPS id bs10-20020a056000070a00b00309381ebd18si286471wrb.4.2023.05.19.05.32.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 05:32:46 -0700 (PDT) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::102 as permitted sender) client-ip=2001:67c:2050:0:465::102; Original-Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QN5pL5YmXz9sb6 for ; Fri, 19 May 2023 14:32:42 +0200 (CEST) In-reply-to: X-Rspamd-Queue-Id: 4QN5pL5YmXz9sb6 X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::102 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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:32654 Archived-At: ThomasH writes: > It appears that all element types first listed are then exempted > again via the `inlinetags` list, except the `p` type. This looks > indeed like a very complicated way to come up with a list of only `p > `. - A bug? Or maybe an attempt to conform to a common pattern in > Pandoc to list candidates first and then subtract them again if > necessary? The JATS reader is based on the DocBook reader, AFAIK, and reuses a good bit of the DocBook code. The list of block tags in the DocBook reader is much longer, so this is most likely a leftover than could be simplified. > On Friday, May 19, 2023 at 1:47:46=E2=80=AFAM UTC+2 Julia Diaz wrote: > >> I just realised this function produces TRUE if the name of the >> element is "p", false otherwise. Why do we need a 126 lines to do >> the same as:=C2=A0 >> >> qName (elName e) =3D=3D p >> >> What am I missing? --=20 Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 --=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/87cz2wo61j.fsf%40zeitkraut.de.