From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32649 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Julia Diaz Newsgroups: gmane.text.pandoc Subject: What is the point of isBlockElement in the JATS reader? Date: Thu, 18 May 2023 16:47:46 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1732_1317533306.1684453666059" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27169"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDGPDMUERAEBBI7STKRQMGQEHE7Q25Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri May 19 01:47:50 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f56.google.com ([209.85.160.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pznLa-0006tM-Gt for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 19 May 2023 01:47:50 +0200 Original-Received: by mail-oa1-f56.google.com with SMTP id 586e51a60fabf-192486192fbsf1775540fac.1 for ; Thu, 18 May 2023 16:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684453669; x=1687045669; 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=1XpQnsc0bjbH314uAE1nCdlzS/u9Tw7Jsd/YIwMlMVA=; b=rk/FGYc/tF/NetG5jcBmMvHQk1x/Lq2kWKnkuUwU8+54xGhL5wLRtyW9JBtFQD+WS8 tStg+mBn4BOwNFqHOu357Hgs33QmKBWzeQPKpW3SWE88W6CfpsA+BVDxHoo3i1n9mrtR T1vYgoAuAavWpjHuI9AhJu1MuetSO4fsCrDtvTkQYqmYh8mDXBtwG6ItYNrP5bP0LgP5 us1oZ8N7+sTjZNhdHcUIgjilQdY9HeWe1Xk6JPDTXks3pwlZoXWupvQLIhuQg5qzRZ77 mfwCahnyl+ckj/ZlTc4FBYOTKNNWhUfM5TBJUeDAwMX3ajTdcljXUmLZMkALECRnUre/ NABw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684453669; x=1687045669; 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=1XpQnsc0bjbH314uAE1nCdlzS/u9Tw7Jsd/YIwMlMVA=; b=k0y8BY+qHWD/t3kRpGKBSZzc0CMhAVA3s6Y5RgtNcF2LM0rAjQKwvLcz712Ou2iOPg j/ahwx+/FoMz+v5Gfez5mmymnQMLvtE7CRsBuSfO/2YOVQpI0D7GO0+8KzEvnz+kpR+/ sLhfOMnXBvVSLIyXlOXoFEuXrZfhc5Wp8gKp/Jfhj8wcAF6V4QnR0z1aq9gUPCVwyKFu YgrxneAIZMR22EYBV9dfriHUQQIWXYzHIdL05N8n7DkWizLFvkXKjUbtn6+qFeWTr+FX 6pnyfxGiQqOXyL/fAE5/JnmwC7jfbIni62ZXtFYQj00KSIngMD/vxCs1qgMOaVDZe0B8 1FjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684453669; x=1687045669; 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=1XpQnsc0bjbH314uAE1nCdlzS/u9Tw7Jsd/YIwMlMVA=; b=EkNWRktFxtMi5OCekDAk4V4odV08DeVw0KR71t+3gLTHxkN/QwXBwOrU5rv9eIJ9fq wUnEWRiukCOGbr9j0rMzoji1DO/SBZca/FN0PRi/vn4G+KqlI59AuD+KxQ97cr8x5Amw ietQ9e7bbhqsJKCQ33xutcIUnICEyQpTEHWHxcUTt5U6ymePH0XkZ6zmmRHepVth5pPZ Gies8N3XE+GMiOCaAjtJU6/QIriIT0Ec9NQ83Flyh6FyPKQm/eZM8HUxIQhDGRWROW99 EXHsucDI8Q3QYdFWZr+bPU2JHJVXexm7Y9Qtsj9rppS8IslIZ5HzPlL8Cpa/17H2kwcj Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxWh3bzKUz4WSJ3fTN4xaWnW9druwF9ji+lRP8GD6QHZFScYWAM B9FER0XGDDg/QiGpIWUDxig= X-Google-Smtp-Source: ACHHUZ5aMicxwbjl+6DXxxVEWYMKLHqw8gbooscgmnn/JndnAZsNg7S7a0TLvrfyOiYW7Pjit87tKw== X-Received: by 2002:a05:6870:628a:b0:192:5429:aed0 with SMTP id s10-20020a056870628a00b001925429aed0mr71716oan.10.1684453669219; Thu, 18 May 2023 16:47:49 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:e28c:b0:196:8f78:768d with SMTP id v12-20020a056870e28c00b001968f78768dls3329473oad.0.-pod-prod-03-us; Thu, 18 May 2023 16:47:46 -0700 (PDT) X-Received: by 2002:a05:6870:3a25:b0:179:c3d1:42d0 with SMTP id du37-20020a0568703a2500b00179c3d142d0mr142435oab.11.1684453666652; Thu, 18 May 2023 16:47:46 -0700 (PDT) X-Original-Sender: julia.diaz-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:32649 Archived-At: ------=_Part_1732_1317533306.1684453666059 Content-Type: multipart/alternative; boundary="----=_Part_1733_2089541390.1684453666059" ------=_Part_1733_2089541390.1684453666059 Content-Type: text/plain; charset="UTF-8" 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: qName (elName e) == p What am I missing? -- 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/af881a3e-4f9a-4644-87b5-aaf93e6e959an%40googlegroups.com. ------=_Part_1733_2089541390.1684453666059 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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?

--
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/af881a3e-4f9a-4644-87b5-aaf93e6e959an%40googlegroups.= com.
------=_Part_1733_2089541390.1684453666059-- ------=_Part_1732_1317533306.1684453666059--