From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32639 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ThomasH Newsgroups: gmane.text.pandoc Subject: Re: Creating a partial HTML document Date: Tue, 16 May 2023 22:14:43 -0700 (PDT) Message-ID: <39c3adec-4363-43be-ac1f-76e96aeead65n@googlegroups.com> 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> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_9984_1145351555.1684300483992" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17929"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCOJJAXZ7EPBBROFSGRQMGQERHVZ7AA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 17 07:14:48 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f64.google.com ([209.85.161.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pz9Uu-0004RZ-6C for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 17 May 2023 07:14:48 +0200 Original-Received: by mail-oo1-f64.google.com with SMTP id 006d021491bc7-54f6b5c7cadsf219301eaf.2 for ; Tue, 16 May 2023 22:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684300487; x=1686892487; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=TsHR82ofQL/bz3Qdww4XsCAg8m6zE1RsZV4FQz7p2C0=; b=ae1pxpdRG0J/378Vuhq3Tm89OolNuiwdAHLcR/6up6bq+floMR35loGNhPxTwkcvmp RN5TdLxE1YFNZIgsbjoy9ImfFhRPLem2Jw0VxtmH1RS8Fz6XXUIBr+won0joupfqeT3h WSRSN6pUvcOmJWaUTXohijvsJBX8c123598EJnNmpDOkaOVdMu8ub8IrYd5onERTDudk /XMLIdFKUkq5HxfVCnfPiy3eM6YHaRlj3hu963WpAMcrcF15pRZopG3tZQHyMcUZ7kzY A17mhXl75X8mRAO86HGA5ak/P367tiFY4HSac1sh0M1soKUek5hZ8uKCwcDwwSl1XvT2 L2tg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684300487; x=1686892487; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=TsHR82ofQL/bz3Qdww4XsCAg8m6zE1RsZV4FQz7p2C0=; b=RGRQUH/wkk9KxSAB8LeaNL+cwBZwxNTSZ1mdmSSRDJRrwianVNVlY7Z5gSruCSB9LX Dg7H67Nb6SpybjVRMw+BR56z/6u2o3BGoTOssLMSLseludJgPxPH0iVNulJyPpy4EpFw 4dBistihpEBPcTHwjEA78uPntC9VymME0UX8WAQokNEsJjnuu559OVXjerg2H5Ilst4H risR5YpjZMYV4QcdPPkAzX0Nh8DImhxhzzae4odakjqt/E9ylcv6Xw1SmgsAOLnmcSY0 8g0XsEZuZRTcdTTOqEfsZuHoa0aQ/m2595NvvG9x2EOuxObZVQUhJu/Z9gs3UbinG3Ke 5RCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684300487; x=1686892487; 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:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=TsHR82ofQL/bz3Qdww4XsCAg8m6zE1RsZV4FQz7p2C0=; b=SoWBds5ajLZSNrMMIxj9JOqyBr2P9b4303BUDLX8Vbm/t6/QEgECjctl2CP8Uh0TEZ Dkteez2eZIdnhENMLRpYsUX3084eiPld0701zELmarNK4R9SHe+eZHosgzDQwxbW54kP BjjAu6czQ1+QXP/C1jhRL+jWvAKIOw7ilY+lrc4zEuVhl2TniBNNZOujZiOgPZ7lRmgy 4jR61T7fHWTAwMDPBltmb7vGsrDAyy37xkG/5rRvYSbIQLjW9kPD/Aj1fmdpT6LC4HCd XQgFb7TRNgE8e9K3GgbFhgpwrtkwzOW94YLiiF1IXthn8Hdba2 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDzF942KNWkiDVczwBGbViqiJ21/81gSa/z0iIs/mo6Eh1u6fnsi VGhA/nAR1mvIM86gMXFsCHA= X-Google-Smtp-Source: ACHHUZ751KqpYG3IIFrs+RndSR103ResmK+WaoVurZxY4Gnw7jV5+1U4I9hrYBEgMzmCiaauysGQ8Q== X-Received: by 2002:a05:6870:e616:b0:196:74ca:432a with SMTP id q22-20020a056870e61600b0019674ca432amr8793587oag.4.1684300486933; Tue, 16 May 2023 22:14:46 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:9d9b:b0:195:ca3e:57ec with SMTP id pv27-20020a0568709d9b00b00195ca3e57ecls9552165oab.6.-pod-prod-gmail; Tue, 16 May 2023 22:14:44 -0700 (PDT) X-Received: by 2002:a05:6870:1011:b0:19a:5d2:2a67 with SMTP id 17-20020a056870101100b0019a05d22a67mr1041908oai.2.1684300484615; Tue, 16 May 2023 22:14:44 -0700 (PDT) In-Reply-To: <6d105e0d-0e11-38fb-4978-9748102c93af-FcZObrvlYduBUy7/sJONFg@public.gmane.org> X-Original-Sender: therch-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:32639 Archived-At: ------=_Part_9984_1145351555.1684300483992 Content-Type: multipart/alternative; boundary="----=_Part_9985_62824542.1684300483992" ------=_Part_9985_62824542.1684300483992 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:=20 > - I need to have a style added to each HTML tag. These do not vary and=20 could be predefined by me.=20 This should be possible using a Pandoc Lua filter, assigning=20 `element.attributes['style'] =3D ''` to each element. But I=20 wouldn't know if there is a way around writing a filter function for each= =20 and every relevant element type (para, header, span, ...), though they=20 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 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/39c3adec-4363-43be-ac1f-76e96aeead65n%40googlegroups.com. ------=_Part_9985_62824542.1684300483992 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

This should be possible using a Pa= ndoc Lua filter, assigning `element.attributes['style'] =3D '<your style= >'` to each element. But I wouldn't know if there is a way around writin= g 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 &= 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/39c3adec-4363-43be-ac1f-76e96aeead65n%40googlegroups.= com.
------=_Part_9985_62824542.1684300483992-- ------=_Part_9984_1145351555.1684300483992--