public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: J <lixichen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: The \mathlarger command from relsize package does not work for .md -> .docx conversion.
Date: Sat, 21 Apr 2018 04:06:01 -0700 (PDT)	[thread overview]
Message-ID: <8c5559ab-9ebd-45e3-9a1b-4a2e164978b6@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1274 bytes --]

The \mathlarger command from the relsize package works for .md -> .pdf 
conversion but not for .md -> .docx conversion. 

Could you help to suggest how to make it work for .md -> .docx conversion ? 
Many thanks !

$ pandoc MWE2.md --mathml --filter=pandoc-crossref --filter=pandoc-citeproc 
-s -o MWE2.pdf  --pdf-engine=xelatex
$
$ pandoc MWE2.md --mathml --filter=pandoc-crossref --filter=pandoc-citeproc 
-s -o MWE2.docx
[WARNING] Could not convert TeX math ' \lim\limits_{r\to\infty} 
U_{X}^{\sigma} = -\mathlarger{\frac{1}{r}} \qquad(1)', rendering as TeX:
  igma} = -\mathlarger{\frac{1}{r}} \qquad
                     ^
  unexpected "{"
  expecting "%", "\\label", "\\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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8c5559ab-9ebd-45e3-9a1b-4a2e164978b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2277 bytes --]

[-- Attachment #2: MWE2.md --]
[-- Type: text/x-markdown, Size: 552 bytes --]

---
geometry: top=3.18cm, bottom=3.18cm, left=2.54cm, right=2.54cm
mainfont: Times New Roman
CJKmainfont: FangSong
fontsize: 12pt
header-includes:
    - \usepackage{caption}\captionsetup{singlelinecheck=false,justification=centering}
    - \usepackage{setspace}\onehalfspacing
    - \usepackage{xcolor}
    - \usepackage{relsize}
---

The *exact* asymptotic behavior of the exchange-energy density of any finite many-electron system is known, and is given by 

$$ \lim\limits_{r\to\infty} U_{X}^{\sigma} = -\mathlarger{\frac{1}{r}} $$ {#eq:asymptotic}

[-- Attachment #3: MWE2.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 9723 bytes --]

[-- Attachment #4: MWE2.pdf --]
[-- Type: application/pdf, Size: 40245 bytes --]

             reply	other threads:[~2018-04-21 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-21 11:06 J [this message]
     [not found] ` <8c5559ab-9ebd-45e3-9a1b-4a2e164978b6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-04-21 19:41   ` John MacFarlane
     [not found]     ` <m2r2n8l54i.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-04-22  3:31       ` J

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c5559ab-9ebd-45e3-9a1b-4a2e164978b6@googlegroups.com \
    --to=lixichen-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).