From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32402 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pa Sc Newsgroups: gmane.text.pandoc Subject: Re: Help with Lua filter for markdown to LaTeX with Pandoc Date: Sun, 26 Mar 2023 02:42:54 -0700 (PDT) Message-ID: References: <79ac7814-9558-4d49-a682-cf31f970d27dn@googlegroups.com> <6a7dabf5-1fda-4825-9d21-193b63363937n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2818_1766816084.1679823774922" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2853"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDS5HMVM7MCBBIFHQCQQMGQETOV6RNQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Mar 26 11:43:00 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f188.google.com ([209.85.167.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pgMtw-0000Ny-78 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 26 Mar 2023 11:43:00 +0200 Original-Received: by mail-oi1-f188.google.com with SMTP id s63-20020acadb42000000b00388f0de0c51sf366770oig.12 for ; Sun, 26 Mar 2023 02:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1679823779; 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=ltf3P8i5ibmHd+LrBreqLlhG5X3vo+tHfmePYsQWFw4=; b=bkZXoEOz5oSBwbSGwQS4iBMgn+38syf9L7wuDvo2jD6AyX3AGry7/5r7vGTvjlXtvu e5qE8PiGGydJUYGn10ec9cMNiKp1fcxva9bR2nfGRhlU0mQLoMOYjCSrY6MUFtn3q/ot ze5SpCqgC59RY2LEeJcS+Yi+cNmXGuMiOwKUIm2SCVsT0Vjzxm8ZluZ7HpO799E2HK0N 7LVSQTP7bbHX4zzNj24sdxCkkUy24oO7gXd/+jnRW7OD7Est8JkIG7nMCyR8ScvXgK4A deAFK7zrShlF/AMT4TGZUEun1kXpsw+UVGRdTXOvog+Hvp18C2FMyw82KUM0b0FbG2IO AE0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679823779; 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-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=ltf3P8i5ibmHd+LrBreqLlhG5X3vo+tHfmePYsQWFw4=; b=i09Fj9sNEzh+JgtG7doctZ+tRn0rfVMoWxlMx3vpPTF14PXt/9Bk92K6h0k9M3k/ip i+g8d+DraUJZFW+Ach4cLioN/htL6q8DMeHmMR5WOh1qLJFbYMsv9OabNvm6UFaU2tWZ EJYNVZD0ZvJ+YS7ftgR1e0OGjgKQmBYqO83Z5ggRbOoBZfXPH3TxthThnCt4JcldsjSl mPjkiqsQmLvAKfV/vHsp0myNm3oIoAR8I/FilMOstPVtbXzBk5/hZkorePk6ZwVc8uA4 UJKXLESmJyvi2Y1bMpdlpVHdaM7LM5XUWKuIlrrXN+p68LnlQ3YxN4OOoJUYjxqfnMmH Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKUrGmF5HUOap7lC04a6Whd+y4xPNFk7kDH4IIqcDkw3cwAE2BNp CNCL8RlRr5GrsZ7uBFc/uYE= X-Google-Smtp-Source: AKy350asHutEDTR2RlTKAl9eNWPCbDvynsWA4IdF1WcgzSQv5L7Agk77uhbZJPU811NIftowbzWSFw== X-Received: by 2002:a9d:7c83:0:b0:69f:5701:de09 with SMTP id q3-20020a9d7c83000000b0069f5701de09mr2666886otn.6.1679823779107; Sun, 26 Mar 2023 02:42:59 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:a58f:0:b0:51f:f7a6:4288 with SMTP id d15-20020a4aa58f000000b0051ff7a64288ls243518oom.2.-pod-prod-gmail; Sun, 26 Mar 2023 02:42:56 -0700 (PDT) X-Received: by 2002:a4a:ddd6:0:b0:53b:4b20:b0a7 with SMTP id i22-20020a4addd6000000b0053b4b20b0a7mr2388110oov.1.1679823775645; Sun, 26 Mar 2023 02:42:55 -0700 (PDT) In-Reply-To: X-Original-Sender: ideas-and-peanutbutter-zqRNUXuvxA0b1SvskN2V4Q@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:32402 Archived-At: ------=_Part_2818_1766816084.1679823774922 Content-Type: multipart/alternative; boundary="----=_Part_2819_278449822.1679823774922" ------=_Part_2819_278449822.1679823774922 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Do you mean the two filters that are in the original post? Or what filter= =20 do you mean? Bastien DUMONT schrieb am Sonntag, 26. M=C3=A4rz 2023 um 00:08:53 UTC+1: > Please share the two lua filters you use to parse `=3D=3D` as a syntax fo= r=20 > highlighting and to print in red an emphasized span produced by this=20 > filter. We can't figure out what is wrong without them. > > Le Saturday 25 March 2023 =C3=A0 03:44:24PM, Pa Sc a =C3=A9crit : > > Yeah, I have a MWE here: https://tex.stackexchange.com/questions/680766= / > > help-with-lua-filter-for-markdown-to-latex-with-pandoc > >=20 > > As for the command: > > ``` > > mkdir -p /home/ME/Documents/Obsidian/Output/{{title}} > > pandoc -r markdown-auto_identifiers -w latex {{file_path:absolute}} -o= =20 > /home/ME > > /Documents/Obsidian/Output/{{title}}/{{title}}.tex --template=3D"/home/= ME/ > > Documents/LaTeX/My Templates/Proposal/default-proposal.tex"=20 > --lua-filter=3D/home/ > > ME/Documents/LaTeX/Filters/highlight.lua=20 > --lua-filter=3D/home/ME/Documents/LaTeX/ > > Filters/highlight-period.lua=20 > --lua-filter=3D/home/ME/Documents/LaTeX/Filters/ > > Span.lua --lua-filter=3D/home/ME/Documents/LaTeX/Filters/highlight-red.= lua > > --lua-filter=3D/home/ME/Documents/LaTeX/Filters/Span-red.lua > > ``` > >=20 > > -- > > You received this message because you are subscribed to the Google Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [2] > https://groups.google.com/d/msgid/ > > pandoc-discuss/6a7dabf5-1fda-4825-9d21-193b63363937n%40googlegroups.com= . > >=20 > > References: > >=20 > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2]=20 > https://groups.google.com/d/msgid/pandoc-discuss/6a7dabf5-1fda-4825-9d21-= 193b63363937n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > --=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/aded6fcf-0720-4fea-a873-af2cacfb8281n%40googlegroups.com. ------=_Part_2819_278449822.1679823774922 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Do you mean the two filters that are in the original post? Or what filter d= o you mean?

Bastien DUMONT schrieb am Sonntag, 26. M=C3=A4rz 2023 um 00= :08:53 UTC+1:
Please share the two lua filters you use to parse `=3D=3D` as a syntax for= highlighting and to print in red an emphasized span produced by this filte= r. We can't figure out what is wrong without them.

Le Saturday 25 March 2023 =C3=A0 03:44:24PM, Pa Sc a =C3=A9crit :
> Yeah, I have a MWE here: https://tex.stackexchange.com/questions/68= 0766/
> help-with-lua-filter-for-markdown-to-latex-with-pandoc
>=20
> As for the command:
> ```
> mkdir -p /home/ME/Documents/Obsidian/Output/{{title}}
> pandoc -r markdown-auto_identifiers -w latex {{file_path:absolute}= } -o /home/ME
> /Documents/Obsidian/Output/{{title}}/{{title}}.tex --template=3D&q= uot;/home/ME/
> Documents/LaTeX/My Templates/Proposal/default-proposal.tex" -= -lua-filter=3D/home/
> ME/Documents/LaTeX/Filters/highlight.lua --lua-filter=3D/home/ME/D= ocuments/LaTeX/
> Filters/highlight-period.lua --lua-filter=3D/home/ME/Documents/LaT= eX/Filters/
> Span.lua --lua-filter=3D/home/ME/Documents/LaTeX/Filters/highlight= -red.lua
> --lua-filter=3D/home/ME/Documents/LaTeX/Filters/Span-red.lua
> ```
>=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 [1]pandoc-discus...@= googlegroups.com.
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/6a7dabf5-1fda-4825-9d21-193b63363937n%40googlegroups.com.
>=20
> References:
>=20
> [1] mailto:pandoc-discu= s...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups= .google.com/d/msgid/pandoc-discuss/6a7dabf5-1fda-4825-9d21-193b63363937n%40= googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter

--
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/aded6fcf-0720-4fea-a873-af2cacfb8281n%40googlegroups.= com.
------=_Part_2819_278449822.1679823774922-- ------=_Part_2818_1766816084.1679823774922--