From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28372 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "sjy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Different behavior between MathJax and the default TeX Math Date: Mon, 17 May 2021 06:39:38 -0700 (PDT) Message-ID: <87feab23-2ea6-42ec-8241-a78d02ddebc8n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6295_795503825.1621258778617" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24205"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDZZR4M34EJBBG7ERGCQMGQEU3RWQ4Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 17 15:39:42 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f59.google.com ([209.85.161.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lidTC-00061M-0S for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 17 May 2021 15:39:42 +0200 Original-Received: by mail-oo1-f59.google.com with SMTP id v9-20020a4a97490000b02901f9df48b0cfsf5397860ooi.0 for ; Mon, 17 May 2021 06:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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=bari9rjbQPTFtwgqMN86rNJP0iIAaswuI8kIfyJ6gWg=; b=lbG4Km46Ixl6u80G5wZ7xmYYfOTiUeDpq/QZlFEToLEJaO8lZUa8LMBK4QTqyoy0aZ M6/I0yJ8SnPivxyxYHbDJT0/AGGbaVopZzqY0ZdDdnW/NP0DYBLxTZsgETmCf+ixKKmC M/Ufo+Bs0MbAb1DErzdkOone9kV3yKC6h/nxK5PfRil3VkABnn6PkrutK6VxjN0mtlU7 aQ0hO9qNtJJiCCSjG8wn/BEb2j4CPGmGl7kmXOtUvuRMsbccEgATSmUZCSvwSHYbaYi6 51HFjlAst3r34lllpQzTp9a88Kd074Ls2uhaDrTj3VQoUrfJJTYADPeDStp3nYmFQIzX JfqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 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=bari9rjbQPTFtwgqMN86rNJP0iIAaswuI8kIfyJ6gWg=; b=kdEhditxEWbeUt/Uw6+AKOJE3x3d9+c8PJ8TNPu2jWxosI1uw+7lx027EUhT0vBB8c xk8yKPxUtghKh9LaHXTwk45ufDy7qm3omk59IAuQ47YzfDsIIi0VcX0u1IJuyitXxcpR MZ3eRG0uFi7tC4ThsoAsHxT8003o0GVMpaTzupsCAF56jfXZZcMMtgaM46n0zRNDiDdO MeutHm/TezmhyNS6/5eS5f42fv/IbWoXRtmb05dPyRzXle0EYOD2leqg2AtBdhVaajts FQjX8lEqJg619AzHCFX8H2eTGkWm13pflmHSu61mKD5KZyOZnw0DIU7/tC2mFt6b11da Pmpg== 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=bari9rjbQPTFtwgqMN86rNJP0iIAaswuI8kIfyJ6gWg=; b=tj5VSE9S3Qxe42jCSyyO3WCeV7ozSoRsW5rgdaLhanFzgQaGPICAm22nd/0j/S1vo5 K1HWG4qhUtMrHRrWT7556Bl28cO1lTkOdz/7Dqn9P8MWrye/YPCYDh4XCaBXvYOs/1aA rS7BO0HmiegFek7vBxoA2263Hzr/AtDWZZMtRWPuaPZ5D/U26OHBlLSYrCzc85K0VvwA S4UOdyoBGZOeM6JYTJguadA5bb4FXTtpOLtNWTrAHmGjlDtqVEwCcR88LxmIl7Tgnu51 h2ilLbcdjWJvH0bKvP0Kdrvv00EOUQptbJDlm7Dj7v+53/KMO2lU9UYx3Qv7cfd7lWv6 gfVA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530iiXX9VPzKYwSy+YulXE24Jj982bqKYm5KbJ8ukwT3To6Uwntd C1MCiDSuZY+4McWxaqrzVgI= X-Google-Smtp-Source: ABdhPJw9VA9Z6gCKCMl5RkECyysRnKtDjuu+D5klTu7ewhHDnnBBWAq18O6TD53cbYg/RHbvpwdhaA== X-Received: by 2002:a9d:459a:: with SMTP id x26mr51093345ote.337.1621258781064; Mon, 17 May 2021 06:39:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:b102:: with SMTP id a2ls4404358oif.5.gmail; Mon, 17 May 2021 06:39:39 -0700 (PDT) X-Received: by 2002:a54:4e82:: with SMTP id c2mr13847087oiy.137.1621258779339; Mon, 17 May 2021 06:39:39 -0700 (PDT) X-Original-Sender: sjysky-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:28372 Archived-At: ------=_Part_6295_795503825.1621258778617 Content-Type: multipart/alternative; boundary="----=_Part_6296_1907952679.1621258778617" ------=_Part_6296_1907952679.1621258778617 Content-Type: text/plain; charset="UTF-8" Hello, I was wondering if anyone could advise me how to address the following issue.. The following code is correctly converted when `--mathjax` is used, but fails with default TeX math. I need to convert it into Word so I cannot use `--mathjax` option. Would there be any workaround to avoid this issue? ## test.md ``` md $${\large\text{IDF} = \log{\frac{{\text{N}}}{{\text{DF}}}}}$$ $${\large\text{TF-IDF} = TF{\times}\log\frac{{\text{N}}}{{\text{DF}}}}$$ ``` ``` bash [WARNING] Could not convert TeX math '{\large\text{TF-IDF} = TF{\times}\log\frac{{\text{N}}}{{\text{DF}}}}', rendering as TeX: {\large\text{TF-IDF} = TF{\times}\log\fr ^ unexpected control sequence \large expecting "%", "\\label", "\\tag", "\\nonumber" or whitespace ``` -- 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/87feab23-2ea6-42ec-8241-a78d02ddebc8n%40googlegroups.com. ------=_Part_6296_1907952679.1621258778617 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I was wondering if anyone could ad= vise me how to address the following issue..

T= he following code is correctly converted when `--mathjax` is used, but fail= s with default TeX math.

I need to convert it into Word so I canno= t use `--mathjax` option. Would there be any workaround to avoid this issue= ?

## test.md

``` md
$${\large\text{IDF} =3D \log{\frac{{\t= ext{N}}}{{\text{DF}}}}}$$

$${\large\text{TF-IDF} =3D TF{\times}\log\= frac{{\text{N}}}{{\text{DF}}}}$$
```


``` bash
[WARNING] Co= uld not convert TeX math '{\large\text{TF-IDF} =3D TF{\times}\log\frac{{\te= xt{N}}}{{\text{DF}}}}', rendering as TeX:
  {\large\text{TF-IDF} = =3D TF{\times}\log\fr
         ^=
  unexpected control sequence \large
  expecting "%", "\\l= abel", "\\tag", "\\nonumber" or whitespace
```

--
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/87feab23-2ea6-42ec-8241-a78d02ddebc8n%40googlegroups.= com.
------=_Part_6296_1907952679.1621258778617-- ------=_Part_6295_795503825.1621258778617--