From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32787 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: typst writer Date: Sat, 10 Jun 2023 08:18:32 -0700 Message-ID: <3232D62E-5D61-466C-999E-62681A43E3B6@gmail.com> References: <8634f40f-135b-4b6c-8b95-810d4506c351n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29829"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBTFISKSAMGQEQDAGLEQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 10 17:18:40 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f57.google.com ([209.85.219.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q80MR-0007ZQ-Br for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 10 Jun 2023 17:18:39 +0200 Original-Received: by mail-qv1-f57.google.com with SMTP id 6a1803df08f44-6261e50ee78sf38132506d6.3 for ; Sat, 10 Jun 2023 08:18:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686410318; cv=pass; d=google.com; s=arc-20160816; b=iM5zIsKrg7qwpcgG60nXpD7WWocxtlQkQU/UoctJtx7lia/0id2fdW9kELbS+it8M+ nWhrqvxgW3zX3zGkAGkzAFTWPkAcXnX2CE9nwsyYRwdOIXXqICmrnvA30yDNjqeuiytv H0xsKMbueDUs6xmo40wsYfFVDufjpkImQ38CN6pCEqhPWEKIZES5GCsRuqu+p4s22KDU aRj3HiJt821NSTGdkbEtGoMz1DFxuJWuOZBmVmqh1S1YXyaOwF54jZimfQyn2inWBa/N b4wCW8O8+wzWf5r5pGoyzuJjybrAO9ARztKvAlfRC3B8ozimFOceszSFCByBWP5dWlEC oQBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:from:sender:dkim-signature :dkim-signature; bh=1o1z9tHmplD86OTIRXeB/qVC4ZiqE2eD8ag4bkxonwY=; b=WIZULpdKFCI5JUpIjU17AcRNU3KFgFpEG1jKlB/8sw0RhU5S8PjgcTiT4qAkiACEOV NWkIh3XFeHO/WWHUCAyDPdNeKOK0qFasOI9gxBXxSkoHbEmh1LfFrn4M1EIV6ryq1AeX DuEUmItRZc/4u8tObMeEMh79mUKRKR0887KXPaEQqzfcLafY7CftDGNZ4V3UBqLFo7+l TJiBSEeGDUSz/kxe1gzMUWpYYJHfPwCtWUWEP5vcdOcXJjhsmRJh8QyCOW7AFXVe52l/ BcZ0lj1fEZjdqiavnbgCIffSOJhwgQy+wSygMqBkHQHyxsuo2V0vz2wq/4QLzDSTVvvh +D3w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rYccKwJ5; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102a as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686410318; x=1689002318; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:sender :from:to:cc:subject:date:message-id:reply-to; bh=1o1z9tHmplD86OTIRXeB/qVC4ZiqE2eD8ag4bkxonwY=; b=ZAcoXpm9UBRb9OVgKRn4O348BUnRgjFtQKtfcwhs4AK1QyR0EHeEWhwyZeKJ1bDwYA 9xdvMah+mSWKuuyb5NpHaejXL1ZREclPvI0X+ULRtFDAvCAWK578/3pmynQj+3ilNRza a7gag0+/jWHNkcRleli0e43WonkVzn/9UWdYatyp7z33gyquuLN/IFzTi2/LL9981SnK vTaLeQ1QlB7HHzROpTrzmZ8+DFchzrWF0ArWkKAnZq94H/D4ZLExYyKwsJXK5ie5BwJa FBwLDIqBHjuNKzjm2I1DKjUfTyO0jomlHVvxzy8mmnIZV7hUgqIewgh6TldhDJJy2PVQ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686410318; x=1689002318; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:from:to:cc :subject:date:message-id:reply-to; bh=1o1z9tHmplD86OTIRXeB/qVC4ZiqE2eD8ag4bkxonwY=; b=ndfKBi90YUMLxYqDDNGdcv0bBCgm0GV4Rv4wPw+7+R8uFXIvP4nuQdANHjU1NkgCru u0hEcXJSoU/jrGHYPSEWzbdIKhprfAnnwvVEWt7hfBwxePjuLlFbUmszoU1dcmx2jJfS A9SUJKRXU/ROp2dzJS5DJi4Vr+yprEqNCeTsEWigdyGxsy+75BPWkYLrrDbQtsXDSDdq vdZKhsEH9pgBCCY2xHTGQPWsDu8rxUfnm6nG+1NlKDoTXhlJNIb+pXytxyKY1+V6Qlcg mx+f7h4/cct5f264Wjt1GdAMK8Y9kkKsUlGF/Jo7qnt7iroTUxFRPxn2egrHlg7XK2SJ 4fTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686410318; x=1689002318; 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=1o1z9tHmplD86OTIRXeB/qVC4ZiqE2eD8ag4bkxonwY=; b=OsTRSost7mOIT6gaRw2iWgGLfo1OD/8PdzaITGkOAETy0OAXXnTC057e057n2qr7wI F4AIxseX/gNkJvJklwbBUo1E5Nr73Yf1OEqMmZfC0OTrzL5lGS6n3/J4wH+3+vePyNtB GUHguBx+4Lh6r2i7ZNTfFdYu9LsEmpjGapr7HQolkW9Lf4zhcw0y/N8dtyQJ953+4dRc mmHqmnMX5hX94N9Mnw9ovk3BslwNcLootUHrgTTKx0waq6f5qvifwCyz+G65KCF5Hd3I +tzfwS Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDw4RGXFdS0svRjoaEJUHht5Zj+GOuMoc34MQwcNnqzBx0eMBs6e 3XNosnF/bNCzjNB/+iRswEw= X-Google-Smtp-Source: ACHHUZ6BIQ1YcPogYXTOvuc9Sw5UR4tumC3fP/w8lEH097+COM2E+5y3R0ffQluCC+vxHjm/xAIdXg== X-Received: by 2002:ad4:5ce9:0:b0:625:aa49:9ab9 with SMTP id iv9-20020ad45ce9000000b00625aa499ab9mr5744025qvb.61.1686410318380; Sat, 10 Jun 2023 08:18:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6214:aaf:b0:626:1a77:6fb0 with SMTP id ew15-20020a0562140aaf00b006261a776fb0ls620712qvb.0.-pod-prod-09-us; Sat, 10 Jun 2023 08:18:35 -0700 (PDT) X-Received: by 2002:a05:6214:212b:b0:61b:3557:a699 with SMTP id r11-20020a056214212b00b0061b3557a699mr6624768qvc.9.1686410315843; Sat, 10 Jun 2023 08:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686410315; cv=none; d=google.com; s=arc-20160816; b=MlkR99BSYbrYyOdEabeOb5wbwHQs007qiVbo7BDC1T7RjYRM9c3omD1C/SNliT4XYk oKimjr3hEhBGnEVvIXqJKnmkrjeCOz0+KO3HZv+a/r+zzT60TZWW9J321rP/PrrIDqAj ozrmTaf9aD0XWUgmFlhosvmT6At5oerDORcfrVRrycy62hHR77iQWSskBb5JkyZS5soU iJReGuuOA01jEeZF7x2GT2JYZ/0ShELRCYJvjEMmkLYp5DBDb5/I3nwQ/jMTCB6RvJpn 9lpHiFYN7vQOsC1vRy1KWMWTYvBnMRUbHCgg1KWWZonsgG4FDGxVTYvQqfDZV4lfqN9O hLaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=nnUf+S0YFK6jynxo8/SVuq6Q/H9vrRt2VbTjreqsDgw=; b=mIaxUXaiE80n2dMXeJ4QZ3YqHtr1Haplx/siqTHR45OlpmVHTv2u1eTdAgWdznFuqa nJzCrywVmEzfboYOw8/uBqIgzWt8lbIYaQ5DK/bC+yhDe5oRVp9Kb+eFp5NJ63CWmtVs sYS9bls82VtrUsQzLNovhADMd5jU25g0mNcQzhqS1+TAOoRX97XV5HTL/swu03opNTrP aQRsnVc6/XqFm/ZqAkQrD3bCGvgKA8b40V0e7MQvTabsqkxfmlKTslM1+Z0YK25uYxgB TqTQ5CDPXMomw5RfkIIsvQlJJ8teqUDod0yHSbmcFklAmU3c4SiCFXSRbFV9bhBrelwu USIA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rYccKwJ5; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102a as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com. [2607:f8b0:4864:20::102a]) by gmr-mx.google.com with ESMTPS id r13-20020a0cf60d000000b006262d9cc70esi534903qvm.5.2023.06.10.08.18.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Jun 2023 08:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102a as permitted sender) client-ip=2607:f8b0:4864:20::102a; Original-Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-25bc4c0101dso106619a91.1 for ; Sat, 10 Jun 2023 08:18:35 -0700 (PDT) X-Received: by 2002:a17:90a:b797:b0:256:6e9b:1398 with SMTP id m23-20020a17090ab79700b002566e9b1398mr3821961pjr.2.1686410314554; Sat, 10 Jun 2023 08:18:34 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:a56f:2880:d03e:8e08]) by smtp.gmail.com with ESMTPSA id l14-20020a17090aaa8e00b00256dff5f8e3sm1199024pjq.49.2023.06.10.08.18.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Jun 2023 08:18:33 -0700 (PDT) In-Reply-To: <8634f40f-135b-4b6c-8b95-810d4506c351n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rYccKwJ5; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102a as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32787 Archived-At: Since that custom writer was released, pandoc has developed built-in support for output to typst. Unlike the custom writer, this includes support for translating the math. So, all you should need to do is: pandoc -f latex -t typst input.tex -o output.typ > On Jun 9, 2023, at 10:37 PM, 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8634f40f-135b-4b6c-8b95-810d4506c351n%40googlegroups.com.