From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33167 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "ch_...-S0/GAf8tV78@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Extracting typst equations Date: Sat, 7 Oct 2023 12:48:49 -0700 (PDT) Message-ID: <6ba769a5-4d4f-4b8a-885d-bfd5439e7c29n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_27530_1124588695.1696708129266" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5389"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD65VBUXVUPBBIXMQ2UQMGQEDFPETYQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Oct 07 21:48:54 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f55.google.com ([209.85.210.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qpDID-0001DE-Li for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 07 Oct 2023 21:48:53 +0200 Original-Received: by mail-ot1-f55.google.com with SMTP id 46e09a7af769-6c4e17f37acsf4511927a34.1 for ; Sat, 07 Oct 2023 12:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1696708132; x=1697312932; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=0x7T2oCRmQZtGyNWZsKu+3j9pXl4Q+1G40sK54d9EqE=; b=ax1wFxIT8CfaNRV4qyqOtw1IAqn+NaXGGMOqm5/BmFcde65W9dSKsiVAuDvTagqEyk EyESkhN89COiw938yyvQcFn0gu5X2BuSiTJjlkwOzfV5jAeEqnt7XA0kHNXKqv3pyP97 5c3u2jrcJALL9Fi+foxGNFkHtMW1p01ne1joVLzMalzQ35qR8DyV59Y3KGrhRcEbGsDO Zt3aRWyf7vSeMFpqMc/3qAkCsbhoqdndxYKvY0VCH7MH8Ws9h1+fkfJhxAhLSi8FNoiD jMm+sW0pf/GupxrXQppSd/u7dUOFxYVi+Uv2zemLW1EXv3t27GbW2lfnMrdC0kzPG1wg 9zww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696708132; x=1697312932; 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:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=0x7T2oCRmQZtGyNWZsKu+3j9pXl4Q+1G40sK54d9EqE=; b=vtj1FIVso3OHiPDqT9UDonuNwfEyC/0ihwwGvTySazCQuJaJrN0MrRUZKSNtHmwmU6 z6PB/l9Py7grp4rxmxNiEXDz0kfCQ7ez0ZajCpkTDXqU9fE+/fmisJsnYuYvBiCbhC9T gukBUyZUmKR4S2K09tg8dltZxuBHomkM+2QBqG8B+D7wRK18LG2MiXFKtFmf6neoIvia Z23TO9abSuEqS7M0J5yGvILd2nRPcIpz4ttG5NIeeN4yKEeKLixooVmG1yUjJ6QFhGTf VdCS9sm514dXYRmZN1+QR+6Tdfj5l6px/815SUQKqi8XhrLjz52zbUehlpmnSFLQGsgd Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YyP6Djo7xBPM+sa8cdMBjqbjr/Kh7/35KhiS9cByhoiMPh5dcfD 9xCT9+1894N5h2lmQ52Ocng= X-Google-Smtp-Source: AGHT+IG2hiVZNkdyhbz2D7ZsC2npTP2Cs29zphzfYpeAhiHN2ltiwD/eJ8pG41H/b160fNahyMn3TA== X-Received: by 2002:a9d:4d84:0:b0:6b9:1473:7fa3 with SMTP id u4-20020a9d4d84000000b006b914737fa3mr10777904otk.27.1696708132665; Sat, 07 Oct 2023 12:48:52 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:558d:0:b0:57b:7aef:9d1a with SMTP id e135-20020a4a558d000000b0057b7aef9d1als613101oob.0.-pod-prod-05-us; Sat, 07 Oct 2023 12:48:49 -0700 (PDT) X-Received: by 2002:a9d:7ad6:0:b0:6b9:5156:a493 with SMTP id m22-20020a9d7ad6000000b006b95156a493mr3625201otn.4.1696708129756; Sat, 07 Oct 2023 12:48:49 -0700 (PDT) X-Original-Sender: ch_819-S0/GAf8tV78@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:33167 Archived-At: ------=_Part_27530_1124588695.1696708129266 Content-Type: multipart/alternative; boundary="----=_Part_27531_182354002.1696708129266" ------=_Part_27531_182354002.1696708129266 Content-Type: text/plain; charset="UTF-8" I have a lua filter that is being applied to Math elements with equations (I extract them to generate graphics which I then include as images) However, with pandoc's new support for typst the equations are converted to Latex *before* the filter is run, so for $ (a+b) $ I get in math.text: \left(a+b\right) is there a way to get the original typst formula? -- 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/6ba769a5-4d4f-4b8a-885d-bfd5439e7c29n%40googlegroups.com. ------=_Part_27531_182354002.1696708129266 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a lua filter that is being applied to Math elements with equations (I extract them to gen= erate graphics which I then include as images)
However, with pand= oc's new support for typst the equations are converted to Latex before the filter is run, so for

$
(a+b)
$=

I get in math.text:

\le= ft(a+b\right)
is there a way to get the o= riginal typst formula?

--
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/6ba769a5-4d4f-4b8a-885d-bfd5439e7c29n%40googlegroups.= com.
------=_Part_27531_182354002.1696708129266-- ------=_Part_27530_1124588695.1696708129266--