From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32400 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: Sat, 25 Mar 2023 15:44:24 -0700 (PDT) Message-ID: <6a7dabf5-1fda-4825-9d21-193b63363937n@googlegroups.com> References: <79ac7814-9558-4d49-a682-cf31f970d27dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5018_2110458877.1679784264913" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19142"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDS5HMVM7MCBBSPS7WQAMGQEZTCVXCI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Mar 25 23:44:29 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f63.google.com ([209.85.210.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pgCcf-0004hr-5V for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 25 Mar 2023 23:44:29 +0100 Original-Received: by mail-ot1-f63.google.com with SMTP id a15-20020a0568300b8f00b0069965814cf7sf2151117otv.15 for ; Sat, 25 Mar 2023 15:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1679784268; 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=DBeSb1YJ3U0hJ6oSeqfejJMoA5pmY9i7maHbDQr7CzY=; b=WmOYqM0BK2eH7OZ2LlxFaTsskssk/YbMolrcaFYJcTNV1bg/jYajTkv7vNGVfEjVFX eREohFoLz19HRBkcw4p6ONXSbQy/AtW8iba7tzhHJJL355lxnzyatsduiNQrElAcuUhl W9vMEnKpcwVD7aUw8GCKfCU1Mhko0N0pfbQgoSWRcFRG3GRQsg2k4XCqfsHB3/WhIyas Gw6Kw4rlKFbREglM25vBnEJy5CNO6zTebV3RQy/5mSDp8yiDlK0LmJCBUWtjfLjzVWxH bFl1JIFvIPiY/LloTLpKX0zcyVMicSAJSJUlq6/OrkD5pi9jZNdLKKHr+HLvIcBhu5nm FJtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679784268; 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=DBeSb1YJ3U0hJ6oSeqfejJMoA5pmY9i7maHbDQr7CzY=; b=2ZYICyUHugdQkYLadmfFp+W2kPWMgaWj5qcsx5IZhVhOlXwbOHg5/xdF2UawQkb6Uf Rfs9W/Eo+p3ddMXfPNEd7xCvIGgBQ2Rb2fGVoJ3mC5geBRqiWPOuDoh7GFuK9sR6napU 1W5+G41+ie4kkKZKQp/JkrvFe4zolSYhW4AsHaL7dQFHa/J/FP94405af+/pUyJ+hte6 /+Dtpl+3vKSC4O97JE1yTrkJ2Lij10al2kTGmUpji3FpsqOyfvP7l6eQqHexlTcQxoCG ijKte7hH087aMGUFeu9YIAxBADdC3b39IgbqdhtFw93kFqYF+/UVFg0hvOGtpzNITWfD Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKVIugJe8UOFBKDe5FgzZPbsQOYbgP3zGJ15MmwVcL0GPUAfzpoA xaFjgXQgwI2Pf/YbtZBnDPg= X-Google-Smtp-Source: AKy350bxvkMqTngTeXd6Ssmrcmvn1UqFj1lrffGu2dwx0sVWZpUU3HmX9ss2Aqwdy1szW26r4oL8NQ== X-Received: by 2002:a9d:65d1:0:b0:69f:1418:7a8f with SMTP id z17-20020a9d65d1000000b0069f14187a8fmr2484227oth.3.1679784268007; Sat, 25 Mar 2023 15:44:28 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6871:4317:b0:17a:a798:9504 with SMTP id lu23-20020a056871431700b0017aa7989504ls1668379oab.4.-pod-prod-gmail; Sat, 25 Mar 2023 15:44:25 -0700 (PDT) X-Received: by 2002:a05:6870:cf06:b0:17e:e89f:ab77 with SMTP id xf6-20020a056870cf0600b0017ee89fab77mr1830360oab.1.1679784265513; Sat, 25 Mar 2023 15:44:25 -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:32400 Archived-At: ------=_Part_5018_2110458877.1679784264913 Content-Type: multipart/alternative; boundary="----=_Part_5019_2063495278.1679784264913" ------=_Part_5019_2063495278.1679784264913 Content-Type: text/plain; charset="UTF-8" Yeah, I have a MWE here: https://tex.stackexchange.com/questions/680766/help-with-lua-filter-for-markdown-to-latex-with-pandoc 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="/home/ME/Documents/LaTeX/My Templates/Proposal/default-proposal.tex" --lua-filter=/home/ME/Documents/LaTeX/Filters/highlight.lua --lua-filter=/home/ME/Documents/LaTeX/Filters/highlight-period.lua --lua-filter=/home/ME/Documents/LaTeX/Filters/Span.lua --lua-filter=/home/ME/Documents/LaTeX/Filters/highlight-red.lua --lua-filter=/home/ME/Documents/LaTeX/Filters/Span-red.lua ``` -- 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/6a7dabf5-1fda-4825-9d21-193b63363937n%40googlegroups.com. ------=_Part_5019_2063495278.1679784264913 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yeah, I have a MWE here: https://tex.stackexchange.com/questions/68076= 6/help-with-lua-filter-for-markdown-to-latex-with-pandoc

As for the command:
```
mkdir -p /home/ME/Docu= ments/Obsidian/Output/{{title}}
pandoc -r markdown-auto_identifiers -= w latex {{file_path:absolute}} -o /home/ME/Documents/Obsidian/Output/{{titl= e}}/{{title}}.tex --template=3D"/home/ME/Documents/LaTeX/My Templates/Propo= sal/default-proposal.tex" --lua-filter=3D/home/ME/Documents/LaTeX/Filters/h= ighlight.lua --lua-filter=3D/home/ME/Documents/LaTeX/Filters/highlight-peri= od.lua --lua-filter=3D/home/ME/Documents/LaTeX/Filters/Span.lua --lua-filte= r=3D/home/ME/Documents/LaTeX/Filters/highlight-red.lua --lua-filter=3D/home= /ME/Documents/LaTeX/Filters/Span-red.lua
```

--
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/6a7dabf5-1fda-4825-9d21-193b63363937n%40googlegroups.= com.
------=_Part_5019_2063495278.1679784264913-- ------=_Part_5018_2110458877.1679784264913--