note that im running this on my terminal and followed the basic pandoc intstructions to convert a rtf to latex file as an example

On Saturday, June 10, 2023 at 1:37:05 AM UTC-4 Aaron Leonard wrote:
hello everyone, im having trouble setting up the typst writer on pandoc. note im a new user so its likely my issue is extremely simple and an easy 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 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 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 !!!

--
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-/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.