From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32647 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: H Newsgroups: gmane.text.pandoc Subject: Re: Creating a partial HTML document Date: Wed, 17 May 2023 19:40:29 -0400 Message-ID: References: <59aee5dc-9dbb-4c70-8f33-4c0722546638n@googlegroups.com> <256c5b57-18a8-4e45-94ee-0c1e2244f35en@googlegroups.com> <2ea6ffbc-e589-627c-4efe-b8e820cfd797@meddatainc.com> <6d105e0d-0e11-38fb-4978-9748102c93af@meddatainc.com> <39c3adec-4363-43be-ac1f-76e96aeead65n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------5C7854856371E3DDE571BB74" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6126"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCEIZSNSZ4IRB36LSWRQMGQEDCCPPDY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu May 18 01:40:35 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f185.google.com ([209.85.167.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pzQl0-0001Q8-Mx for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 18 May 2023 01:40:34 +0200 Original-Received: by mail-oi1-f185.google.com with SMTP id 5614622812f47-395ebc3185csf990876b6e.0 for ; Wed, 17 May 2023 16:40:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684366833; cv=pass; d=google.com; s=arc-20160816; b=v0oPo/V44JdgZKwqUylbS+Tj0Cw0X4CVuz5QerxeeUPr9ROLpy6OWaz7kEEPE7I8k+ l3vJs1vXVvQ8dICTOeXWE8Vd2RsOUYqcf1UQpFi9cxLcTzY+MAxN6YA259DNW0xMPA1V 5e/HE59/vRoCaATczvZXwvEHzzQbw5NPanvTZqQRX2xVTwUjzL/AnTlZev4sKyWDxXD0 CKID08SHUZ+LcO1NZBR2J1PEJqoTnJVlpeh1yLzXE1D9uEv3yHlKykK9eHeAPSJdZXZ+ kiV6fQvA3j64JPViefx892xKe3RYFABT2dFGUCyD3zQSm7T4dOiFEGEahfvWAC9b9lk8 p82w== 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-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:sender:dkim-signature; bh=iGyusj6wh0CVsvFH4tEHg0zrT8fj/yC0aPsltaMgy2U=; b=fcN0XR+7wF3ipVv7CM3PzeyGCoFvyQc96SpBfIIqXl4+ewWgZtEabmXfRu5pg0VrVb KbDHyzrUkJRNQvTfI+if0vDziVP854ckEe18Cu2WenvURSlBED0yfQI27bdBA0E5ta/w JEcFagiDvV8bmg0x5s2NREQ1JbTMRc+s2oBNTs0DY11ruiZ6WyUnyLHpqeE/z1My1olZ KPR4LJ3flo9u7zU28HQAU+f6Dnr/rp4v3tv7sm2M6l0knmC6i1x1W/oxNSatG2Sb0foT sK9UsG3fuV1fD17st/B0UiBarSsICSQciEctA6NKAXsdO/5a/bhTYooD1sQu3fib7DcD 644w== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.197 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684366833; x=1686958833; 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-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:sender:from :to:cc:subject:date:message-id:reply-to; bh=iGyusj6wh0CVsvFH4tEHg0zrT8fj/yC0aPsltaMgy2U=; b=cCS8Qz35UdTQ7tDYyOr8ENlHt/YFEfktazrirbDif9vETTA1nYCCrA/G1jAsA166WQ 973K6uEGhZaELVlHaLvB0NvNvPFiYQmBFWKso0GdWZmUyHI8PIqiTvPr+LUt9B8XfQJZ TouXRGWSgQ0EbRSZn/3r4cKBOg3ysPx1qRbrwYyPJcn2QUMw2NBuZVGzlWrJIB9wVoJv aLDca6h7/QW86hkRi1UMu++IIi0I69CC3CynI3Byhlx64DiDIuVnEfgBXwv/8FbDottx jXCIArkhDkwJs2nSW X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684366833; x=1686958833; 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-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=iGyusj6wh0CVsvFH4tEHg0zrT8fj/yC0aPsltaMgy2U=; b=Jghr0Hvmv0Z20BzZGOVBjSoOnnOgJEa1raenLQh6sZBP0cYFCj6YuIatnZ/G19AmSJ nbeWU/uB88GMAp6Wta79uDNwBWSz+c6XQC5jI5sjEw+NpTGDp/EBvBVCJRUQDJdrXcLo k1Y202bpUJmSh7uYd2Va7MKxf9RYAO+nwBzM5fnlQsJ/CBzXwSbHOo8ohcmnEmYHdahn as5jH9ezWD9Yt7ZCQP7TQ25SCWD0 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxYaA0dTsoRJq97CIY7gBH8yotuaWYSHxOVHEp3YbOVDxTBafV3 nTuQHfS029fRloF7bveUAG0= X-Google-Smtp-Source: ACHHUZ5tLcBl4AKRu4eHTJ/HG9enhVztz0kx554WzslK7EFqh+u96m2F+vKU7V163fB99CodBDZWhw== X-Received: by 2002:a05:6808:3614:b0:38e:1ee1:984 with SMTP id ct20-20020a056808361400b0038e1ee10984mr171747oib.1.1684366833514; Wed, 17 May 2023 16:40:33 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6871:4310:b0:19a:2651:1d12 with SMTP id lu16-20020a056871431000b0019a26511d12ls504471oab.2.-pod-prod-gmail; Wed, 17 May 2023 16:40:31 -0700 (PDT) X-Received: by 2002:a05:6870:b49f:b0:17e:9798:6e34 with SMTP id y31-20020a056870b49f00b0017e97986e34mr352963oap.32.1684366831313; Wed, 17 May 2023 16:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684366831; cv=none; d=google.com; s=arc-20160816; b=XoX2D1xxEpK68DrxCknrptYLTL7h0qslOAWB23ukLlMRyKNqeXH7ZgqoR1Y7ucue8I B38i2SA0MECr46myNv50LdWETXGCZZpu+lRPqqgNpPOaU6dSPnY2FlEsLwZNm8LG/2w0 nkGKdkhVD/MZytKh9rpysRA9SMRDVYJxl2TGJ38MvQ7bhMEjruNDgRqaUD5YLJ02zyAz CZghFwOEgzCboqCv8jJK/Gs44pJdvsFYyGwx4LfsD8Rjgzog+tLP4++sFsyj+fSxg6q6 gkre7Ly7+z9umt+YUIckAx5eJuP2FnPCa8Eut1AlMuzqFy0cKPP4/o5BGyiLbSgVYy4P NktA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=3YZJELINV37wlNHjWDTXdgnfG3IVKriyWpYZWLSP48w=; b=NgS9jjfZ+W2EpgEpgZ2/ifVCdO4t5uyfHSo4Tm8eZga52Ere54DUG27NYdpgJc73Eb E8aDpBLUE4QweHw79f4Q+rRLpLXAPxZm2swuFVRgkvFDAj3jP6cl/5e6XrNclLVUG5fi TSbe5S8RynchW661IedalsimTHhweon73lli9Xtv8IjXHVA2Hz2ErJ0hn+JmACFucdA0 pDs1eABb/k0whDASqry6iLGH87bUxIrEs9nlrOMaJCVba3YiFzjtV+eAqfNaAxaTWcHJ Dmj2cHDAGYgStXShYwAu+cd8oXJDu9tp9DFcDxFOaZ8NmiSJ17yJfJgzM5HMXRoU1wXC brZA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.197 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.com Original-Received: from mout.perfora.net (mout.perfora.net. [74.208.4.197]) by gmr-mx.google.com with ESMTPS id s6-20020a056870ea8600b0019a2db566acsi50629oap.5.2023.05.17.16.40.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 16:40:31 -0700 (PDT) Received-SPF: pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.197 as permitted sender) client-ip=74.208.4.197; Original-Received: from [192.168.1.17] ([72.94.51.172]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MAftU-1psnyQ1V72-00B3Nv for ; Thu, 18 May 2023 01:40:30 +0200 In-Reply-To: <39c3adec-4363-43be-ac1f-76e96aeead65n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Content-Language: en-US X-Provags-ID: V03:K1:mPGE7Qu3414XQLnYZ2Zm/W0grcr0z3h7jJJkPZtowZq5v4yXKcH YAM8ph0wfl4wOd94/fDI0lSu3CXcnulatqACHh/hziUS+xuf744hHRGknqB+CqL3WhW0fcx 5Kf6yz+pkHoCmVIg2ckqEu3NuQ3zrnzzzPgIDuzHli8DbVeqb4QFl3sJ5fl3eLzWGY6t2U3 3o/HG1dahHSzfYnFJ1BJw== UI-OutboundReport: notjunk:1;M01:P0:UBYoeY2mJGo=;daU43Y4AQ4fnf5/R8y7htV5Ilev m1MvQ33zKe+wbr6EdZpcflt0du7NCPXD9dS+dieo5di292citm1D/r+O1fXXX1DzFE73lXazw A+bWbd+WhySp8M0UHqYXMslUhmSNoKJPoyep0C86tzMtjU1Ef4yz5BZHFUNkNHuw5szszQ/xR 6r3IsQjqPKNbMtiJjXRi1RSHnsFlZdrfGlRVypfmwN7EVUvTeB7rtYyUQ5ZnWgeMrGz56fbIq 2bDW1g2Mzd1bbacDpsXOrM+vpaXz8aLZOi0nxgNjoSOFjublEaFJAgaoUWaiIvTYj/8X+/Avk 61Rfsv85ToAtQoiBhDbBETA623Y4LkghSIqBcZYtDo+dwwDYPaWVgKB0qe251seW6EkKg1viJ zWXbAfsPsNvPcdCbZTWr8rIxH3ZcyxrTJJL1rqDZiyjNedd6EDemGGdX2FafZaf4EhDCL44WN 8GkRwL6O4vsG3s0PQYvI2cjI66aoxiu7tT5PGi24cF1TFmK+sEH50eLrZtx68AAPPBSSu6ySi ZKcvNHrFJZeQh8G79h3o/icy16dXVkvL2qKyB7IADGT67AY73dLnG68PFqbxn8qcteyOkwhaE MKL9jXok2S4DWC326SBwx3ORLCThAt+yx2GLQSBasvShbMGHPdrNquwB8G5MxX1dm3RvHqJOn gGVJEysXr589/r5Sqml1apuCoC+aWl4uu69t6ZsApQ== X-Original-Sender: agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.197 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.com 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:32647 Archived-At: This is a multi-part message in MIME format. --------------5C7854856371E3DDE571BB74 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On 05/17/2023 01:14 AM, ThomasH wrote: > > > On Wednesday, May 17, 2023 at 3:07:25=E2=80=AFAM UTC+2 H wrote: > > On 05/16/2023 04:39 PM, H wrote: > > - I need to have a style added to each HTML tag. These do not vary = and could be predefined by me. > > > This should be possible using a Pandoc Lua filter, assigning `element.att= ributes['style'] =3D ''` to each element. But I wouldn't know i= f there is a way around writing a filter function for each and every releva= nt element type (para, header, span, ...), though they would mostly be copy= -paste. > --=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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/39c3adec-4363-43be-ac1f-76e96aeead65n%40googlegroups.com <= https://groups.google.com/d/msgid/pandoc-discuss/39c3adec-4363-43be-ac1f-76= e96aeead65n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>. My markdown documents for this use are rather simple with a very limited nu= mber of tags used. I will look into pandoc filters, as well as creating a n= ew HTML writer based on the existing one since my needs are very specific f= or this application. --=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/bfbf5842-5840-d628-d271-d912dc518157%40meddatainc.com. --------------5C7854856371E3DDE571BB74 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On 05/17/2023 01:14 AM, ThomasH wrote:


On Wednesday, May 17, 2023 at 3:07:25=E2=80=AFAM = UTC+2 H wrote:
On 05/16/2023 04:39 PM, H wrote:
> - I need to have a style added to each HTML tag. These do not vary and could be predefined by me.

This should be possible using a Pandoc Lua filter, assigning `element.attributes['style'] =3D '<your style>'` to each element. But I wouldn't know if there is a way around writing a filter function for each and every relevant element type (para, header, span, ...), though they would mostly be copy-paste.
--
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-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/39c3adec-4363-43be-ac1f-76e96aeead65n%40googlegroups.com.

My markdown documents for this use are rather simple with a very limited number of tags used. I will look into pandoc filters, as well as creating a new HTML writer based on the existing one since my needs are very specific for this application.

--
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/ms= gid/pandoc-discuss/bfbf5842-5840-d628-d271-d912dc518157%40meddatainc.com.
--------------5C7854856371E3DDE571BB74--