From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32782 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:39:32 -0700 (PDT) Message-ID: <7696e6b2-40ee-4f75-a487-a3853db56edbn@googlegroups.com> References: <8634f40f-135b-4b6c-8b95-810d4506c351n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_13304_1184686661.1686375572587" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27613"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDIYFG6G2MERBFMZSCSAMGQEJBJEJCY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 10 07:39:37 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f63.google.com ([209.85.160.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7rK4-00073P-L0 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 10 Jun 2023 07:39:36 +0200 Original-Received: by mail-oa1-f63.google.com with SMTP id 586e51a60fabf-1a02fd9fd7esf1263899fac.0 for ; Fri, 09 Jun 2023 22:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686375575; x=1688967575; 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=LN4RC8E8YVSwO/0ALUHLXjOhjVYxrQxnhttzjsIbgaA=; b=Ajd+fDmvAQ8XYTUVaezyG7qQp/qj6DPqdLOhQx+l8NZM+ZeuabxC5QPUUvLO2sazrt BQsBxV3eotL7RO72PaoXFrha0B4oNq+1TmIfO7h8ZH5NQtRzj6yomnMzf9I9toumgmfv bNijdp5Xewjw5RBBqbaEwUFg/wEvHJs/4PuW8ZtEZs2xVzCKCbCy+jUBVY7o0lWML1UP kCeWwmIMzc1UBNYzgB+6e3zMpDUcBdFAIRbXKvROAYqAVfBdw6rV4jdEGOxYwY1VMbTj pES03B9DoCzMrmVaQKVbVcTAef1iCmiknPVrb5wMSppOdyv4DjSr4X40RKkl5yH/HsQm JfPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686375575; x=1688967575; 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=LN4RC8E8YVSwO/0ALUHLXjOhjVYxrQxnhttzjsIbgaA=; b=npOj0J7Qj0oXtRFDdrvkck5ffYQC3qcnO8QpPBS8cB0sE9ohSmVauGRCkGDdVqvGUd 2pk6o+8ZbPp1+YYcRvrPhRvUzNEb1wqg2TOhn6P8WcQK1+9bBJK0+zrq3uzSC1PAOH4b lpAbFRUFVbODVDJa4xnekfjiXxgdGZRaXrBAvTgtrQzH6Q0uM4G39MB+TNOP24rs2LKM UBoiIMNHNk6qnB4fwAsRFayQTPljOtrMeabxAjxmiWDX5AyuSvDAW1q37qeOL6UGBR16 ZH2tq/7aBCHRD3eXWBwequ5e4sOf2kQjHH2GZIgBjCPYVZz78eA5jON76X3NoIetqebD 2WGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686375575; x=1688967575; 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=LN4RC8E8YVSwO/0ALUHLXjOhjVYxrQxnhttzjsIbgaA=; b=QBGGQFAELnRgRg5L0zaKJdfQsGwav81duSoJnwCdoPujB04CByzYsVRc8h5oJuisBa grm9pdWNgFX4q0V4hg5SZMKIh+9w4pJqBmrNp7htS1168gCvYID8HApy+xEOtB6xUY6u 3q4d+GVpyZvjuKf0vHyYttUv6HgbwMtPEl6IuCcwzt2o277oLdF4+qVzEpuBEmDlmnbS THZl/WNWs0ZxDmClQ6s/A9ZXet3VfE8T6H3BKOpbskG6sI1OKYAzbUuVTXAJBV6IrtPN XiSSOC8RnTAqOLoHe9/4snRUmfETERBNLmB2doSOIA4AQ6bCtQ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDzV8i2A3rKGmUjtgz2J1+XT46OYGy9Zxj1VwcOZHrEhkS8+6CqL n5cLk2TchIbVYJ5YA5/WCgM= X-Google-Smtp-Source: ACHHUZ4ywHfgVK2Hb9ZpjJSG63ncWFZndXIHLVdxe8JsoRsDeKgdVKGJEUf9bnkc/kGD+neEX/NqHw== X-Received: by 2002:a05:6870:87c3:b0:19e:c567:6020 with SMTP id s3-20020a05687087c300b0019ec5676020mr2528981oam.38.1686375575539; Fri, 09 Jun 2023 22:39:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:f80f:b0:19f:3563:ef77 with SMTP id fr15-20020a056870f80f00b0019f3563ef77ls205160oab.0.-pod-prod-07-us; Fri, 09 Jun 2023 22:39:33 -0700 (PDT) X-Received: by 2002:a05:6870:7706:b0:19f:3568:d2c0 with SMTP id dw6-20020a056870770600b0019f3568d2c0mr1198629oab.1.1686375573231; Fri, 09 Jun 2023 22:39:33 -0700 (PDT) In-Reply-To: <8634f40f-135b-4b6c-8b95-810d4506c351n-/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:32782 Archived-At: ------=_Part_13304_1184686661.1686375572587 Content-Type: multipart/alternative; boundary="----=_Part_13305_959680410.1686375572587" ------=_Part_13305_959680410.1686375572587 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 wrote: > 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 easy= =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" for= =20 > 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/7696e6b2-40ee-4f75-a487-a3853db56edbn%40googlegroups.com. ------=_Part_13305_959680410.1686375572587 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable note that im running this on my terminal and followed the basic pandoc ints= tructions 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 wrote:
hello everyone, im having trouble setting up the typst writer on pandoc= . note im a new user so its=C2=A0likely my issue is extremely simple and an= easy fix (fingers crossed!)
<= br>
I downloaded this:= =C2=A0https://gith= ub.com/lvignoli/typst-pandoc

when I run the c= ommand "pandoc= -t writer.lua input.tex -o output.typ" for my relevant files I was ge= tting the error that no file or directory is found.

I changed th= e path to ~/writer.lua but n= ow 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.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/7696e6b2-40ee-4f75-a487-a3853db56edbn%40googlegroups.= com.
------=_Part_13305_959680410.1686375572587-- ------=_Part_13304_1184686661.1686375572587--