From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29144 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rory Byrne Newsgroups: gmane.text.pandoc Subject: How can I process custom LaTeX commands? Date: Tue, 31 Aug 2021 00:39:04 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_166_1375735918.1630395544625" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="888"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCW2ZNUJ34JBBGNZW6EQMGQEFFBGDYY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 31 09:39:09 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f192.google.com ([209.85.167.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mKyMO-000AWy-E6 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 31 Aug 2021 09:39:08 +0200 Original-Received: by mail-oi1-f192.google.com with SMTP id r7-20020acaf3070000b029026241cf3dbfsf6675989oih.16 for ; Tue, 31 Aug 2021 00:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=dGgiaswWoZr9/UqksH0WV+vSsqm0ZriyyKIwGTOiSyE=; b=CLWdN/kPkfsVyZnJlBlPhrzxZ+Es6dcdkTfDCYLZuKxUR6WrNcCpXWPPL5f0imP/9u GapJHia8sjgpMo8VTkUbQlJjIOhXgTi+auqbFJISSIG8uCJI4XybgNoorKkMq7mSFlIw 5QtUNgcuUJQfrmiR7QmU0HMo8UZLdc7OsY3XzK03HH4Tzg01+1dCAf9Ad/zTAH8gL8gw jMX4U0If6LapXbVgwQeLHJbzQar+l0YtezEbp2RKPUDXCzq5yAMnw/OC2myFxqQ3j1DH 7mVz74qjLjeyngkGpoEcGKDum+irKsilRU7YUsFimrLSXeOt3wo/4M5YrKlXg5CUr2o1 Rvvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rory-bio.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=dGgiaswWoZr9/UqksH0WV+vSsqm0ZriyyKIwGTOiSyE=; b=HciVckREVpdYgP0Yoi0/mQ/NAX1OZv/ZWfWKGLPq9MGcDR2zbT7dEl0RxOgsQUXL8G QkQC0Le93kU5TAzzDFHEtKZgTfY0Cf9f6O5NFVz/R+hk7B+VVPePNnRIhPqun/TIZCo4 mci+ugQoTzRDYkY3RFh/uXB9LvHKaSgkVw9LNmTpW81Y5mI+oDbmRX8DFu2zD8QNdxGN 9CFVkb8IwndBEzBXeSYyc9Wll7+fsh6z8K+GoQTrZcW3zQp/ygWKr5c25/06wl7n6FKj V4W2x31WG1xiEXpnEOlCmwhHTAjDBmXY8JTP5TQ9gdjUqvF/LvdsLkY4dWofsC07AxuI mseg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=dGgiaswWoZr9/UqksH0WV+vSsqm0ZriyyKIwGTOiSyE=; b=uQf8pJfr7p2ayqxlfLjqC0OVekP3kJuSgAfE7iHCKci45YzGCWBTLXD7hLxhisIeWE IjQyaCWWa6D3Eh2uIGcszej5ey7+SLZonFSuAoVOK7SP/rczb7RB1NCs5225W4W3rxJv /jS7/0AP7DehiT9Y1Ux8uthojjwHkI6zHmasU2gVMLfZlDJuPwfvjaAe+sOprSKN+85A kzMtwyPPB0FMJpnGc/z0GtQCdQgKLh6ycks5V3yjrOgGL1hG8+v4aRkwE5s1FCi5RTwO 8IgrJhNZiGQSNHBub3tecdRp48svd25V1oPdBhAZJhqifujX6kpEm2oedsXTQgE0t0SP jQoQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533AJhL4Dz2Wv1U2RGnyASE6qJEKAXiV9ihaRaO2/AL8+HTRVPwQ wVH3gXkSvq3Vu3gDqSn5IkI= X-Google-Smtp-Source: ABdhPJzFk5w38axsTfjZ9c/jbaui1MWd+UANzqGzTYw4rcIg0F5A10iqlOxQXJ+jwj6R9djW5evoNA== X-Received: by 2002:a4a:954c:: with SMTP id n12mr13305319ooi.12.1630395546809; Tue, 31 Aug 2021 00:39:06 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1e87:: with SMTP id n7ls5158600otr.4.gmail; Tue, 31 Aug 2021 00:39:05 -0700 (PDT) X-Received: by 2002:a9d:894:: with SMTP id 20mr23044590otf.262.1630395545309; Tue, 31 Aug 2021 00:39:05 -0700 (PDT) X-Original-Sender: rory-v7nxjtxOdhc@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:29144 Archived-At: ------=_Part_166_1375735918.1630395544625 Content-Type: multipart/alternative; boundary="----=_Part_167_1029714853.1630395544625" ------=_Part_167_1029714853.1630395544625 Content-Type: text/plain; charset="UTF-8" Hi friends, I am building a LaTeX package which adds some new annotation commands for semantics, like `\argument{...}` or `\conclusion{...}`. I'm brand new to Pandoc, but I would like to parse a LaTeX file containing these commands into JSON output. I was thinking that I could write a Pandoc filter which would process those commands, but that doesn't seem possible. Is there a way to use Pandoc to process a LaTeX file containing custom commands? Thanks, Rory -- 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/f238e164-9c72-4d27-a9c7-aae0222cc031n%40googlegroups.com. ------=_Part_167_1029714853.1630395544625 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi friends,

I am building a LaTeX package whi= ch adds some new annotation commands for semantics, like `\argument{...}` o= r `\conclusion{...}`. I'm brand new to Pandoc, but I would like to parse a = LaTeX file containing these commands into JSON output.

<= /div>
I was thinking that I could write a Pandoc filter which would pro= cess those commands, but that doesn't seem possible.

Is there a way to use Pandoc to process a LaTeX file containing custom c= ommands?

Thanks,
Rory

--
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/f238e164-9c72-4d27-a9c7-aae0222cc031n%40googlegroups.= com.
------=_Part_167_1029714853.1630395544625-- ------=_Part_166_1375735918.1630395544625--