From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33168 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Extracting typst equations Date: Sat, 7 Oct 2023 16:12:22 -0700 Message-ID: <3DCF70A0-C854-42C7-9C61-E3F9FE29E7DC@gmail.com> References: <6ba769a5-4d4f-4b8a-885d-bfd5439e7c29n@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="10970"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBWOLQ6UQMGQERPWEJIA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Oct 08 01:12:29 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f56.google.com ([209.85.161.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qpGTF-0002gA-9N for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 08 Oct 2023 01:12:29 +0200 Original-Received: by mail-oo1-f56.google.com with SMTP id 006d021491bc7-57eeeb2f0f1sf4028978eaf.0 for ; Sat, 07 Oct 2023 16:12:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696720348; cv=pass; d=google.com; s=arc-20160816; b=Sner4+cXlHchRNf/RbbPE6JrjuNgyk1wOYuhOTriowOtZk9A/iD9cWN+45tu3Terhl 8V2xPFvz4Vrd9XRgfEtMt9xZrIL2HsDB8ggJkYLm0P5Rt+OOWRVotHXgROPS5YzMDYF0 8jQ9vRHFlS9U5CkogxJp71vIVlKKLmiz0FsORNv0h639vKH9/Vd0Q4qDhap12q7uJsNE AzTRjv5uLlTcul7L8AwNFV6lTxmFLGRbGZPjpIyTTBNEpfYvQVLxRxmgo5teX5wpXYIO Pvb3NI4nZAWcf38Pd/i/D4bgdxp++6G9FCE9Foi4oiZwkWJvl8PeYaYt0xLVYW6KNsNF iZVA== 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=sokJKZs8sx518d4U/ENN1J8YXBC8VZxJA+J0JEGnCK0=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=d0EnKcXN+1OnyDR92ABgp3pbyog4O/EBoQAv6BV7b7viJPTuVkYesFFgRjd4+0Uw4K 9VNL/fPZCljnthiTcHilJcU26Uj/HcZZ362+F7nJyo9kMm8FH1kO+kqUfm20xFfSH9f9 tmw0DhLwwRxK+d8m/wzYmrvAFjPjtDZDgxOssLfw3JVCvmVeLFCZlHgBxvKtPM8WKR1J vFWiDTgNJlleacT9i9NhlReCF3abb99b0NyS7bpGQSC1U8NCilR2Yp9WAMwdD3LTwyTy IHdK2AZCoPiMc1mOEL14bk1KYfo9ebMnBqzhT7xHhmWR84nBXVR7dnkUNZO7nl/7dO47 qpgA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l0L8b3A+; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::32d 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=20230601; t=1696720348; x=1697325148; 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-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=sokJKZs8sx518d4U/ENN1J8YXBC8VZxJA+J0JEGnCK0=; b=qx/FNZLsvsgYI4JA+gyA97L3F1Dp4bRT+VSqtEgCRtvCNSrowjaYufAHpdSgYX8T5Z dotTTHRjz1xrxnXam9Zcg+ITYEQj7xjMfE6DPs3j0U+PwY3K/tGMEkAsDrxRCVLMFXDJ l99QdSkccsZeu9Umnox6wguajBj0E8mgiIHA1LuQWS7ihku3FoyUlZ2kMokOiqdNm8Cy +SntQf9MsxDE6Wu2DbpPy1acc1RNasVy10fpxgssnMUBe/FbxJcnIO2/jkIR+JD0nEyN sMMg1EU+/mKXfZ/n8PsTLAxFsmrVDqI8Lvz3yNRvaCYYYivX+A+V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696720348; x=1697325148; 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-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=sokJKZs8sx518d4U/ENN1J8YXBC8VZxJA+J0JEGnCK0=; b=MCK7N302DLdZ2GtRcwkmnOt8ss53RmE7IIXJWvGpX/ZUjSPS0fX7A2KyvTMdhaCUq2 dVHOuo2KvQIXvZGnJ2oCuK9gofXmn/rO4LclCDwEkN+a4WYbHcRbkAOt8jETryShHQUj F6E9NEmGwWUqfAdKwhD1TeIKbMP4mseLmXYS5iKgXmr1znSFiwhLNjYeL3FbTAjbEdPk MV/NTQGJoPZXx85wj37JVLqScMJI6uqtmcFMlHXkAQQCQj8kFeAYxmPVcwkuW1Nshvtk LIYat/MmAJpWE1VD9r4EPySEfX8LZhjYEBVjIX0r6Otq9YtdDYN8pDMq4/KsTx5RTB X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696720348; x=1697325148; 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=sokJKZs8sx518d4U/ENN1J8YXBC8VZxJA+J0JEGnCK0=; b=LTi+LIa3wZxCom1fNW+dV5MKAtC9uELzLS0wsTcWJcemEd9BLdaW0rn8p+wC5bS4xE XicV2mM1iKA7FSbm/hkfzaqPWKu+IvJXsH/NlwzP2iKcT8LL62R2IKhCfQ46GRfPrVtW dUoAzWeB0JW5igndLZKM89G/EdfYILbddz0prcYgqMamkfjsnyakgYxWDqmO1Q7ytyeC 4SBhC7RW4vX+e9rF0qQw74bEoBBCAOC7qO6PDUxv3XBei4QT5AdAEsNAtZTEHFsYQFgv p0drmf Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YymSftYZM2o1AF4CA3glSMZeADBS5+N6P58182CIvUmU0hWdDLe yBvFlOfkJxejiIB1142cV3s= X-Google-Smtp-Source: AGHT+IGOUAiT2l+MochXFfFxfKRbdYJnz9BaScaMAt+fsm3Vkyb4UiM3EtiFp1IxP2sYCUfu8K3fYA== X-Received: by 2002:a4a:9b88:0:b0:576:8c2c:c865 with SMTP id x8-20020a4a9b88000000b005768c2cc865mr11460719ooj.8.1696720348077; Sat, 07 Oct 2023 16:12:28 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:5101:0:b0:57b:ebfe:d8a with SMTP id s1-20020a4a5101000000b0057bebfe0d8als3318976ooa.0.-pod-prod-01-us; Sat, 07 Oct 2023 16:12:25 -0700 (PDT) X-Received: by 2002:a4a:9b88:0:b0:576:8c2c:c865 with SMTP id x8-20020a4a9b88000000b005768c2cc865mr11460661ooj.8.1696720345072; Sat, 07 Oct 2023 16:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696720345; cv=none; d=google.com; s=arc-20160816; b=Hc81D2w/ofbz4RgQdh8nsm7zVMR5ytCrLPDHbLxP3pKO1j2vRF5DuI7U4gd4b6R42b 8/gi+sZ1av6XJ8kTmtPVqxeTqfLMFw/PdS0mkV2LbhVu7el92VMjVvJQNwCHW9hzCCTO Tzn7XEIMeES6J/oIdmMd48Vj2lNHdPfuHmQugUMV1D1XMCXih2u5jQlY6w6IJfL3Gr0m CTJ9umsT3sDGesGBdx+eV7SwxPljHIFj855la20F9+ZDg9cr9sz2DZ8tmv2i8/TVpymN rYVNdp1D/i0g7Z9A/kdPP2KnIpAwcu7TUv97tzIZkEcTviaRR50IAQEvwI5ykXdY+FWh INaQ== 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=g8XkMudclsbSPFhYCijqfLOV4zUKADL49utNTi8R3kc=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=BQR9kLPdrd1FJzy8LyABbocjcv4+1rIwcPHzpu/7bScB0BXIgq2ZGxPGwDYTzqXrH1 PaRcNUR0ppTE3JoeN8rQ0eJ59Y5yIZexuBThi3j5imYQWjMMeS0kL8R956OirYNp9XtO cH42Rpy03krYaVmWqjzfFTrHRvzHInWpc75Xu79eeLR5vymsLMFlZrY/5zsC3fn2BLUK v5uGuc0Vwufh0rIrlnXzTq/uTW84CxM5pwHUtg5zPbEZky5HwNZvuKaVsIqHqXzSQfEV wQNAxdGcPcS9PnxY6xneLE65Dk3lJm1ixUIEv9bPWEVPGvz/jmafEaFMH8mp7x4fu2RO 5G+A== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l0L8b3A+; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::32d 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-ot1-x32d.google.com (mail-ot1-x32d.google.com. [2607:f8b0:4864:20::32d]) by gmr-mx.google.com with ESMTPS id ed15-20020a0568306e8f00b006c44affd0c6si765740otb.2.2023.10.07.16.12.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Oct 2023 16:12:25 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::32d as permitted sender) client-ip=2607:f8b0:4864:20::32d; Original-Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6c4d625da40so2409233a34.1 for ; Sat, 07 Oct 2023 16:12:25 -0700 (PDT) X-Received: by 2002:a05:6358:4297:b0:135:57d0:d173 with SMTP id s23-20020a056358429700b0013557d0d173mr12008062rwc.20.1696720344411; Sat, 07 Oct 2023 16:12:24 -0700 (PDT) Original-Received: from smtpclient.apple (ras-21-158.vpn.berkeley.edu. [136.152.21.158]) by smtp.gmail.com with ESMTPSA id ep7-20020a17090ae64700b002775f7dbd7esm5602658pjb.49.2023.10.07.16.12.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Oct 2023 16:12:23 -0700 (PDT) In-Reply-To: <6ba769a5-4d4f-4b8a-885d-bfd5439e7c29n-/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=20230601 header.b=l0L8b3A+; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::32d 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:33168 Archived-At: No, the typst reader creates a Math inline element with TeX code (that's what we use for representing math in the AST). > On Oct 7, 2023, at 12:48 PM, ch_...-S0/GAf8tV78@public.gmane.org wrote: > > 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.