From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32783 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Leonard Newsgroups: gmane.text.pandoc Subject: Re: typst writer Date: Fri, 9 Jun 2023 22:47:55 -0700 (PDT) Message-ID: <0bc1003d-c941-431f-a742-930e92ec0d30n@googlegroups.com> References: <8634f40f-135b-4b6c-8b95-810d4506c351n@googlegroups.com> <7696e6b2-40ee-4f75-a487-a3853db56edbn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_14852_38796486.1686376075584" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25570"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDIYFG6G2MERBDM5SCSAMGQEXJ2GUMQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 10 07:48:01 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f57.google.com ([209.85.160.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7rSB-0006TB-VL for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 10 Jun 2023 07:47:59 +0200 Original-Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-19f9fbe8d55sf1401415fac.0 for ; Fri, 09 Jun 2023 22:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686376078; x=1688968078; 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=UZSYrApzDnxBpmnAUg8K+8ayMPBc3+BdgSQcsc6Mjbg=; b=fPb2U+cTT1t+xTqcV7WQ4G5M7FQRQhgAVvdX6Gei2nL5KHZpp7HlzQV1ZWz+lsCabA ag5pXyojm3ClCXnToCSSRg4QGVmvc12dSb48wTT9gWtlWQiI4etHWd1RYY/Mi8erf8U6 VWvUywCnrR5UkVsSv7OUHgGI5cdSHwtmlhzYepRt9Drb35TjaorCVGhpGJuTgiunVIML iBz996fnl8aE9EIdOq7F18T7jCKAj1TTDjIoRLiSv3QpwJ8kF5Rn8Obq8gRGwOsGpRFC A0/kJbDQyY9rN4d1K2vBXldvuaTncmb+CyXT0JdRXlw0ic0M9+7G2bTuvvmLTXMH7ZYE uJUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686376078; x=1688968078; 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=UZSYrApzDnxBpmnAUg8K+8ayMPBc3+BdgSQcsc6Mjbg=; b=Te8XzKpKTMoKrqiq1Ll0NXpCbjduuEoqzRRNuO5ivsbONVvC+bsLQcTJLztSqaRBxT kxewQP1IhJsqMNCOhvN3NFJ1YCtj1fFTjh2MK+bt5sUmlTne8zW6edklUGL5AB75uLzL QxdinknsgMWMyFCmfW/VXsP2zBb0ZN47iwVGiCp4CfUpVLv+2Ay4zVDA1znciJIQvukF wJwkEp+y2pMNsb3RJv6Mt1zKBDjf/2uAposAdcEcf1Nxw1T8Uf+3rsINE4oc3sAI3ahq GJSgEJ/qXg7cs1uJDz2ywVZUIseX7rxrIAMv9mfFpGjQCGlWv0Pd2UTeLKRL08KfVopl /lqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686376078; x=1688968078; 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=UZSYrApzDnxBpmnAUg8K+8ayMPBc3+BdgSQcsc6Mjbg=; b=Ax6Wg3/FoWPNqD6Kx2BJbtqaelmI1jIpo/h6wcD44cEaTdecd8+v0f/EUgLiEmFu7n fLIn0TnKARaBSNPJXWjJ6sEqPFhCKFWPU6V8g4lo7UP5TPbWe2ZeMlaRGiEppDSgSme8 wmUzz4DjnbFhFBLI208L/OfGRMq5uGXhHBEbuZYXYx7ORxv10Zy/DPU43pJuMSGZjfZF /hn+2GhySR6P2WX/2WTWSOZAqki0urHE5YDLCvJOSP8ZQ+23+sHffN3Wi1gyz1zOyk8p mxtv8BYydqeWJM8IhqoXqFUZjNUqZWcJ3V71Hstb/FJF7Gmbf4 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDzgHUZ3Hp3HecvOGtfEpImF8Gqlk+1oc9/iBV5bTz8OyqCkiP35 kgbLzt6ux0JPV4oG6A8sG0U= X-Google-Smtp-Source: ACHHUZ45j5I4GpQjXyb2LOu4pWo+hIKxdTwpazYa7vYwcHC1Pw+GidMRoX2c5rifOlV5i7DhG2MnzQ== X-Received: by 2002:a05:6870:1729:b0:1a2:c24f:de9c with SMTP id h41-20020a056870172900b001a2c24fde9cmr2632061oae.24.1686376078794; Fri, 09 Jun 2023 22:47:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6871:153:b0:1a0:bbd6:a9c5 with SMTP id z19-20020a056871015300b001a0bbd6a9c5ls817836oab.0.-pod-prod-06-us; Fri, 09 Jun 2023 22:47:56 -0700 (PDT) X-Received: by 2002:aca:bc55:0:b0:38c:a2e:d447 with SMTP id m82-20020acabc55000000b0038c0a2ed447mr190906oif.7.1686376076311; Fri, 09 Jun 2023 22:47:56 -0700 (PDT) In-Reply-To: <7696e6b2-40ee-4f75-a487-a3853db56edbn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: aj.leonard8-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:32783 Archived-At: ------=_Part_14852_38796486.1686376075584 Content-Type: multipart/alternative; boundary="----=_Part_14853_802645348.1686376075584" ------=_Part_14853_802645348.1686376075584 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable follow up to this! is the custom lua on GitHub different than just using=20 something like: "pandoc input.tex -t markdown -t typst -s -o output.typ"= =20 in the terminal? thanks! On Saturday, June 10, 2023 at 1:39:32=E2=80=AFAM UTC-4 Aaron Leonard wrote: > note that im running this on my terminal and followed the basic pandoc=20 > intstructions to convert a rtf to latex file as an example > > On Saturday, June 10, 2023 at 1:37:05=E2=80=AFAM UTC-4 Aaron Leonard wrot= e: > >> hello everyone, im having trouble setting up the typst writer on pandoc.= =20 >> note im a new user so its likely my issue is extremely simple and an eas= y=20 >> fix (fingers crossed!) >> >> I downloaded this: https://github.com/lvignoli/typst-pandoc >> >> when I run the command "pandoc -t writer.lua input.tex -o output.typ"=20 >> for my relevant files I was getting the error that no file or directory = is=20 >> found.=20 >> >> I changed the path to ~/writer.lua but now am getting the error : >> >> Error running Lua: >> >> No render function for Inline value 'Note'; >> >> define a function `Writer.Inline.Note` that returns a string or Doc. >> >> stack traceback: >> >> ~/writer.lua:75: in function 'pandoc.scaffolding.Writer.Block.Para' >> >> [C]: in function 'pandoc.scaffolding.Writer.Blocks' >> >> [C]: in function 'pandoc.scaffolding.Writer.Pandoc' >> >> while rendering Block `Para` >> >> while rendering Blocks >> >> while rendering Pandoc >> >> stack traceback: >> >> >> Is anyone able to help with this? thanks !!! >> > --=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/0bc1003d-c941-431f-a742-930e92ec0d30n%40googlegroups.com. ------=_Part_14853_802645348.1686376075584 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable follow up to this! is the custom lua on GitHub different than just using so= mething like: "pandoc input.tex=C2=A0 -t markdown -t typst -s -o= output.typ" in the terminal? thanks!


On Saturday, June 10, 2023 at 1:39:32=E2=80=AFAM UTC-4 = Aaron Leonard wrote:
note that im running this on my terminal and followed the basic pan= doc intstructions to convert a rtf to latex file as an example

On Saturday, J= une 10, 2023 at 1:37:05=E2=80=AFAM UTC-4 Aaron Leonard wrote:
h= ello everyone, im having trouble setting up the typst writer on pandoc. not= e im a new user so its=C2=A0likely my issue is extremely simple and an easy= fix (fingers crossed!)

I downloaded this:=C2=A0<= a href=3D"https://github.com/lvignoli/typst-pandoc" rel=3D"nofollow" target= =3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den&= q=3Dhttps://github.com/lvignoli/typst-pandoc&source=3Dgmail&ust=3D1= 686462411132000&usg=3DAOvVaw1EHkjrBAx-ZsbrZtD-Yhl_">https://github.com/= lvignoli/typst-pandoc

=
when I run the command = "pandoc -t wri= ter.lua input.tex -o output.typ" for my relevant files I was getting t= he error that no file or directory is found.

<= font color=3D"#1f2328">I changed the path t= o ~/writer.lua but now am ge= tting the error :
=

Error running Lua:

No render function for Inline value 'Note';=

define a function `Writer.Inline.Note` that returns= a string or Doc.

stack traceback:

~/writer.lu= a:75: in function 'pandoc.scaffolding.Writer.Block.Para'

[C]: in fun= ction 'pandoc.scaffolding.Writer.Blocks'

[C]: in fun= ction 'pandoc.scaffolding.Writer.Pandoc'

while rende= ring Block `Para`

while rende= ring Blocks

while rende= ring Pandoc

stack traceback:


Is anyone able to help = with this? thanks !!!

--
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/0bc1003d-c941-431f-a742-930e92ec0d30n%40googlegroups.= com.
------=_Part_14853_802645348.1686376075584-- ------=_Part_14852_38796486.1686376075584--