From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28536 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lucas Viana Newsgroups: gmane.text.pandoc Subject: Re: LaTeX macros in org reader Date: Fri, 4 Jun 2021 13:03:43 -0700 (PDT) Message-ID: <020c6332-60fe-43aa-88b7-519c70182cd7n@googlegroups.com> References: <70bd4430-fc7b-4f01-9a1c-92d01ce44e46n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1160_670840478.1622837023009" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="682"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDS4Z4GQTIKRBIEO5KCQMGQE4NVKPHY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 04 22:03:48 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f58.google.com ([209.85.210.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lpG2k-000APg-Km for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 04 Jun 2021 22:03:46 +0200 Original-Received: by mail-ot1-f58.google.com with SMTP id f7-20020a9d5e870000b02902f479dba730sf5918359otl.21 for ; Fri, 04 Jun 2021 13:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=KDsxAAc54XLNXY2umqcQfVjQGMpD5MEsHk03BhFp1lU=; b=PsbQqHGx/WM3xEJm+MzJXe+bkWm4osHVYURYpZ4erTq3dw0Tke68NSuBGY+mHQNQjA V9yWq0ajOeE04FHV0AP55M/hrIyw6WzdvQfHRtyOVU5A6Tvk22mmShw2rJkpag99zdtC 5fUhIHlO2rtcD8Vxyvk1Rxgiceyzpotio/u2K9RGoYUw5OQSx2DrLQguWbFbCu5qRpSb d37ErVymO1s35ieUk6zxc/MhkooQxHoglWeVoWj3Re1sEJ6RcK3gdlJfRBcIcySlTJtH PYmI2KK6lmwY+dbnNuOtK4l24PMk6omBlGqYFugXzxeDTQCDrutbp7RY2sBcffR0PIyY OqDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=KDsxAAc54XLNXY2umqcQfVjQGMpD5MEsHk03BhFp1lU=; b=ZhJjHN/PBhrLUzYppLbtFL/TU5GO2W406OvvH9TXM/JOzqJ7M97p0+vPlApZkp+TmS UuTgOjr77AIWZlQ4xL9SEh1LG7MaXUtZ8Mvmv7Qrvz1hkTf2khhHutnDZx3t2sEtE+SN b6c0Iib0+eod0XAfYmv3dIPRelGjJB7hLay16ZktW1AOuAw+bAAQls8ImPJuFQlI3J5G EFpTaCNV0DAHMBI2ai3bOW3bcbjNo9FOsX7Qdk4h8lIz0QNGCSlBN3N5K2Hf/+C5cjeX TXl+BV6Y6nZtxSntuT2ohzO4pesDEiKVvukOzOo5NYCqerTxxfvbcP68Cnpw3uCRJ67h vnqQ== 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:in-reply-to :references: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=KDsxAAc54XLNXY2umqcQfVjQGMpD5MEsHk03BhFp1lU=; b=ItB3R1dI1OJCrAuS0w2uJ20m9OAhv9kmcwbQYkUsrxgHQT7knDl9lYKSbZagT9XPBS m7x++QxSXbr4vI7iz5LACemsw0ECDyMGHMkxsuU8DnVpc4Mc0cbUAmTj0zrw+Rfpt5zL TTQg182sm8prsFjzj3NZJmDZcDELSu+ayucMPp8QHlL9g+eYgBnz280SHsO9BOpY4OzD YJc+UEq8sxynrSg+6WwnQ9m1xZfZ8Y/5w7duzGYSAwOX1kqif4NeHaKqSrL/q/jsAsFO VCFjGxBvTrjN0UiId/x/GzXRD/TE25K0Ydfn3bIawSRWcDaDjafPloagUOJuc75hzBRY SoPg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531Li11Q8wNJHglRsEnrcgoL+B/19tKIK8G6qQqdp9tcqVtZ38SW fYl9QLuoEffHzR/p2FXqbeM= X-Google-Smtp-Source: ABdhPJzYQlQeN0BlXAz/X5WBb2TewjTLMDwGNtUPJYT9/tvKqiB18J4xrASZOxbvhDZbXqfMaJgjCA== X-Received: by 2002:a9d:4606:: with SMTP id y6mr5157553ote.313.1622837025248; Fri, 04 Jun 2021 13:03:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:6959:: with SMTP id p25ls2716688oto.3.gmail; Fri, 04 Jun 2021 13:03:44 -0700 (PDT) X-Received: by 2002:a9d:6d93:: with SMTP id x19mr4901958otp.117.1622837023737; Fri, 04 Jun 2021 13:03:43 -0700 (PDT) In-Reply-To: <70bd4430-fc7b-4f01-9a1c-92d01ce44e46n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: lucasvianareis-Re5JQEeQqe8AvxtiuMwx3w@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:28536 Archived-At: ------=_Part_1160_670840478.1622837023009 Content-Type: multipart/alternative; boundary="----=_Part_1161_130524591.1622837023009" ------=_Part_1161_130524591.1622837023009 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Also note that this works with the org reader: \( \newcommand{\mymacro}{This is my macro}=20 \mymacro \) -- works and exports mathml It just doesn=E2=80=99t =E2=80=9Csave=E2=80=9D between math environments =E2=80=8B Em sexta-feira, 4 de junho de 2021 =C3=A0s 16:16:05 UTC-3, Lucas Viana escr= eveu: > Hi, > > When using the markdown reader and converting to html with --mathml, one= =20 > can write: > > \newcommand{\mymacro}{This is my macro} > > \(\mymacro\) -- works and exports mathml > > But with the org reader, the above file fails (=E2=80=9CCould not convert= TeX=20 > math=E2=80=A6=E2=80=9D). Is something like this supported, or is it possi= ble to write a=20 > filter to support it? Should this be a feature request? > =E2=80=8B > --=20 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 e= mail 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/020c6332-60fe-43aa-88b7-519c70182cd7n%40googlegroups.com. ------=_Part_1161_130524591.1622837023009 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Also note that this works with the org reader:

\(
\newcommand{\mymacro}{This is my macro} 
\mymacro \) -- works and exports mathml

It just doesn= =E2=80=99t =E2=80=9Csave=E2=80=9D between math environments

=E2=80=8B
Em sexta-feira, 4 de junho de 2021 =C3=A0s 16:16:05= UTC-3, Lucas Viana escreveu:

Hi,

When using the markdown reader = and converting to html with --mathml, one can write= :

\newcommand{\mymacro}{This is my macro}

\(\mymacro\) -- works and exports mathml

But with the org reader, the ab= ove file fails (=E2=80=9CCould not convert TeX math=E2=80=A6=E2=80=9D). Is = something like this supported, or is it possible to write a filter to suppo= rt it? Should this be a feature request?

=E2=80=8B

--
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/020c6332-60fe-43aa-88b7-519c70182cd7n%40googlegroups.= com.
------=_Part_1161_130524591.1622837023009-- ------=_Part_1160_670840478.1622837023009--