From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Math whitespace commands and docx output
Date: Fri, 25 Nov 2016 11:35:41 +0100 [thread overview]
Message-ID: <20161125103541.GG77617@Johns-MBP.home> (raw)
In-Reply-To: <417644b0-297f-42de-9678-f622120644b4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
You can see how pandoc handles whitespace here (using the
texmath executable from texmath):
% echo "\\qquad" | texmath -t omml
<m:oMathPara>
<m:oMathParaPr>
<m:jc m:val="center" />
</m:oMathParaPr>
<m:oMath>
<m:r>
<m:t> </m:t>
</m:r>
</m:oMath>
</m:oMathPara>
It uses a "text" node with an appropriate combination of unicode
whitespaces. I don't know if there's a better way to do this,
but I can say that the results look fine in Word, so this may be
a LibreOffice issue.
+++ Thomas J. Duck [Nov 24 16 07:52 ]:
> Hi there,
> Pandoc seems to ignore math whitespace commands when the output format
> is docx (as viewed with LibreOffice 5.2.3.3). For example, the \qquad
> in the following equation is ignored:
> $$ y = mx + b \qquad (1) $$
> It works for LaTeX and html output.
> This is a simple example: Whitespace is used for many purposes in
> writing equations.
> Is this a bug, or am I missing something? Is there a workaround?
> Thanks,
> Tom
>
> --
> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> [3]https://groups.google.com/d/msgid/pandoc-discuss/417644b0-297f-42de-
> 9678-f622120644b4%40googlegroups.com.
> For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 3. https://groups.google.com/d/msgid/pandoc-discuss/417644b0-297f-42de-9678-f622120644b4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout
--
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/20161125103541.GG77617%40Johns-MBP.home.
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2016-11-25 10:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-24 15:52 Thomas J. Duck
[not found] ` <417644b0-297f-42de-9678-f622120644b4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-25 10:35 ` John MacFarlane [this message]
[not found] ` <20161125103541.GG77617-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2016-11-26 4:25 ` Denis José Navas Vega
[not found] ` <33f0e49f-edaa-435f-a98a-1dc36a68c3ce-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-26 17:39 ` John MacFarlane
[not found] ` <20161126173958.GA4430-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2016-11-26 18:06 ` John MacFarlane
[not found] ` <20161126180613.GA8286-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2016-11-27 2:08 ` Denis José Navas Vega
2016-11-27 2:40 ` Denis José Navas Vega
2016-11-27 3:41 ` Denis José Navas Vega
2016-11-29 18:24 ` Thomas J. Duck
[not found] ` <99514f6f-b316-48e0-ab0c-7d9b6a8eca3c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-12-08 3:12 ` Denis José Navas Vega
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=20161125103541.GG77617@Johns-MBP.home \
--to=jgm-tvlzxgkolnx2fbvcvol8/a@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).