From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32784 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:50:36 -0700 (PDT) Message-ID: References: <8634f40f-135b-4b6c-8b95-810d4506c351n@googlegroups.com> <7696e6b2-40ee-4f75-a487-a3853db56edbn@googlegroups.com> <0bc1003d-c941-431f-a742-930e92ec0d30n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_13718_493246935.1686376236009" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38211"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDIYFG6G2MERBLM6SCSAMGQERSRD4EI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 10 07:50:40 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f59.google.com ([209.85.160.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7rUm-0009lG-84 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 10 Jun 2023 07:50:40 +0200 Original-Received: by mail-oa1-f59.google.com with SMTP id 586e51a60fabf-1a36fa3850dsf1200618fac.0 for ; Fri, 09 Jun 2023 22:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686376239; x=1688968239; 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=9vim670+iE2IJMvc/vBxVBxvEL1oiARdQZNU+ziwKf8=; b=hRJEZrOQsLS86K2IIrr3931FzXUv+5AvLkyiQ74TrYVQm+rLxPHq7MmMZxqv+BCMdN TfpnoSl2zxbZv7wb8QZRbNXncWi2Q7d1snKqFVxfGd6jB47aRDE91rMiL9UZOC392tTC R3hJ81PbsU1Yka9suz6Zhj0h38tISbAt3fr4AuAeuO/t9389hLphs5US4pTIFAABWKcH Ljv4Npc9nO+0Iz5PfkK7NRmsMQJyT3mgBpV3GmyaGHSuH76LoIo/N79zcc1zZmKwWgI2 MaoE50keXldHsn4rX9/ctVMols9s0icXy1psJjVPqTLd5F1xINaPCv198MxV/yyyG7ND Y7xA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686376239; x=1688968239; 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=9vim670+iE2IJMvc/vBxVBxvEL1oiARdQZNU+ziwKf8=; b=Pg+/0Y42ECis6JD3gEqWUSNkm2WGFmL+QSrbRevLuyDjfPgBV/jKsVzJT0Dzzs7Knb 288h0UlZVGXw8e+AF3ELshfnUxMMDqUVZMwjM6XaAK+J99hc1OA9qJd4OyBxmxCE6tyM AGUOsupuqC5ysaXSj+W9snz1fvk2kMbPe+jljmjPTccGQ6nDEfNXrb57T8Aerj2pSzgW vgX1os7ZQFpUSz7KKG/kZKxS+zeZFc73DHeLqv0NyBWmfHn5Pbrw96hyVtGdI0wlHa5E j9uafV8X+FO7CQIjtcEapJ0KQx8t+qWHxVFufnFatVMfTqH3qkwIot78e/N8usjiFPZw qZEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686376239; x=1688968239; 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=9vim670+iE2IJMvc/vBxVBxvEL1oiARdQZNU+ziwKf8=; b=dzZpovMM4nM1Q2BTa6nlP7w2ZLI8ioRWnAJUzazXav+cCPimZ7PE8kXcZBuy+L+2tk hN40DQY0pd7xMlnq7BS8QQF3ML8feSymAzwgcfkM8ehuZd5O6Tux6t0HaxHTdCv+CAdd 50acwvkwQp1oYwWBNH9wPX8bCRd7/EuGi9ZXMhJCyKtfpdxWez53grb6yqm3cDwV69zg /SPYuwAkk+cJVNJls4NB9Bz7hb4Ihwti8Jy3XOqPblzmE+RSbxCCO+pEnmf/7rgwKIuW 8n7KAY2UQgwaF3FfMoeNZNUTVzBQa2HHCfvR7KwMDYDi38uPTf Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDwAUwMZZ+Y6NKmh+Q0t7K//SRXG6XmIL/4ydIP/zHLAcfov1l7q TMjIggdZISKObPKD2B4IR0M= X-Google-Smtp-Source: ACHHUZ6YxtAlL3JGxDNsQkmVIlWWhLT5JxQTXElFbGYPzgJGBV42hcqj2owLc40cltVFNRMnmcg9Hg== X-Received: by 2002:a05:6870:2206:b0:19d:e05b:8738 with SMTP id i6-20020a056870220600b0019de05b8738mr2424593oaf.28.1686376239121; Fri, 09 Jun 2023 22:50:39 -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-20020a056870f80f00b0019f3563ef77ls208061oab.0.-pod-prod-07-us; Fri, 09 Jun 2023 22:50:36 -0700 (PDT) X-Received: by 2002:a05:6870:b7a8:b0:19e:e72d:8576 with SMTP id ed40-20020a056870b7a800b0019ee72d8576mr1195216oab.8.1686376236616; Fri, 09 Jun 2023 22:50:36 -0700 (PDT) In-Reply-To: <0bc1003d-c941-431f-a742-930e92ec0d30n-/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:32784 Archived-At: ------=_Part_13718_493246935.1686376236009 Content-Type: multipart/alternative; boundary="----=_Part_13719_348098765.1686376236009" ------=_Part_13719_348098765.1686376236009 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable lastly, if so, is there any better writer for dealing with math symbols in= =20 latex? On Saturday, June 10, 2023 at 1:47:55=E2=80=AFAM UTC-4 Aaron Leonard wrote: > 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 wrot= e: > >> 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 wro= te: >> >>> 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 ea= sy=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/f693f518-cab6-4571-8f0f-21231c0bd05dn%40googlegroups.com. ------=_Part_13719_348098765.1686376236009 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable lastly, if so, is there any better writer for dealing with math symbols in = latex?

On Saturday, June 10, 2023 at 1:47:55=E2=80=AFAM UTC-4 Aaron Leona= rd wrote:
fol= low up to this! is the custom lua on GitHub different than just using somet= hing like: "pandoc input.tex=C2=A0 -t markdown -t typst -s -o output.typ" in t= he terminal? thanks!


On Saturday, June 10, 2023 at 1:39:32=E2=80=AFAM UTC-4 Aaro= n Leonard wrote:
note = that im running this on my terminal and followed the basic pandoc intstruct= ions 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 us= er so its=C2=A0likely my issue is extremely simple and an easy fix (fingers= crossed!)

I downloaded this:=C2=A0https://github.com/lvignoli/typs= t-pandoc

=
when I run the command "pandoc -t writer.lua input= .tex -o output.typ" for my relevant files I was getting the error that= no file or directory is found.
I changed the path to ~/writer.lua but now am getting the err= or :

Er= ror 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/f693f518-cab6-4571-8f0f-21231c0bd05dn%40googlegroups.= com.
------=_Part_13719_348098765.1686376236009-- ------=_Part_13718_493246935.1686376236009--