From: "Denis José Navas Vega" <denis.navas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Math whitespace commands and docx output
Date: Sat, 26 Nov 2016 18:40:19 -0800 (PST) [thread overview]
Message-ID: <8190e2fd-7564-4504-9a9b-2ce7e52de5f2@googlegroups.com> (raw)
In-Reply-To: <20161126180613.GA8286-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 2364 bytes --]
I have found that LibreOffice does not understand '<mspace width="2.0em">',
comparing the following MathML texts (copied from the unzipped odt).
Therefore, I must accept that LibreOffice does not correctly interpret
\qquad
or that at least, '<mspace width="2.0em">' is an unimplemented instruction
in LibreOffice.
## Markdown source
For example, the \qquad in the following equation is ignored:
$$ y = mx + b \qquad (1) $$
Y otra ecuación sin el espacio qquad para cotejar diferencias:
$$ y = mx + b (1) $$
## Results
This is what Pandoc produces when the ecuation has \qquad:
<?xml version='1.0' ?>
<math display="block"
xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>y</mi><mo>=</mo><mi>m</mi><mi>x</mi><mo>+</mo><mi>b</mi><mspace
width="2.0em"></mspace><mo stretchy="false"
form="prefix">(</mo><mn>1</mn><mo stretchy="false"
form="postfix">)</mo></mrow></math>
And this is what Pandoc produces without \qquad:
<?xml version='1.0' ?>
<math display="block"
xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>y</mi><mo>=</mo><mi>m</mi><mi>x</mi><mo>+</mo><mi>b</mi><mo
stretchy="false" form="prefix">(</mo><mn>1</mn><mo stretchy="false"
form="postfix">)</mo></mrow></math>
And this is what I got using the '~' space command with LibreOffice:
<?xml version="1.0" encoding="UTF-8"?>
<math xmlns="http://www.w3.org/1998/Math/MathML"
display="block"><semantics><mrow><mrow><mi>y</mi><mo
stretchy="false">=</mo><mi>m</mi></mrow><mrow><mi>x</mi><mo
stretchy="false">+</mo><mi>b</mi></mrow><mspace width="16em"/><mo
stretchy="false">(</mo><mn>1</mn><mo
stretchy="false">)</mo></mrow><annotation encoding="StarMath 5.0">{y = m x
+ b ~~~~~~~~ \( 1 \)}</annotation></semantics></math>
--
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/8190e2fd-7564-4504-9a9b-2ce7e52de5f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 3610 bytes --]
next prev parent reply other threads:[~2016-11-27 2:40 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
[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 [this message]
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=8190e2fd-7564-4504-9a9b-2ce7e52de5f2@googlegroups.com \
--to=denis.navas-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).