From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16174 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Math whitespace commands and docx output Date: Fri, 25 Nov 2016 11:35:41 +0100 Message-ID: <20161125103541.GG77617@Johns-MBP.home> References: <417644b0-297f-42de-9678-f622120644b4@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1480070154 10387 195.159.176.226 (25 Nov 2016 10:35:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2016 10:35:54 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBAVI4DAQKGQE3VB3HUY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 25 11:35:47 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qt0-f185.google.com ([209.85.216.185]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cADr4-0001GN-QD for gtp-pandoc-discuss@m.gmane.org; Fri, 25 Nov 2016 11:35:42 +0100 Original-Received: by mail-qt0-f185.google.com with SMTP id l20sf12569931qta.1 for ; Fri, 25 Nov 2016 02:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=7bswePX/fXToHGKT143AXsQYWmQVyV+TDrXw6mBh7kI=; b=A/f9iksrzUohbpMApmuTxA85RKt1CA2ncmFpPZdUgU2ogQuUWBkIddXzBqjVPuoqqk VWA3+im8BqqLFBF89Gh442uW52SkDL6fah4ORu5kgnB13rjFGCtNl9B3BTWI9bTYTEJf WyXcccjU7wu/1fplOwK67yXktE3N6iMjFQ8pgFFtmRPipZ7u2/5yMg18KfevDLpPg/XI oFRVjg0duTix9ZcB+iTDs+HjjNdlqnN3HmzzjdVvIcyawq9jr+femYZPkaNLo7km9VEF 2FeafEcc4ZVOazGYur+5mYEBDkXi43F/bN9+nVYUqhWk0pjEGq3ZCPB5SuYDIxJ5 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=7bswePX/fXToHGKT143AXsQYWmQVyV+TDrXw6mBh7kI=; b=kJJ5qcZ6YrSbZNNadzmUuxIz5u3vxSyh0ZQkJFdgX26U5QBBdADP8jQO3nwbQMiYGH mdGpI7PZ4QQx8GzCN6Xz0G6SDwuIXrDcv0rZvTChURJAzOah5W+8LzQfEe8c0qRMXLSu Co8AGtdPhy7EWb4JrQ5bUwrI1WeaYvtbCudNiqQ5qNUUMHPQFqE+CiNt3PesYIdWIpv/ CLYdeQ62nwIJR2M8PtcLJ3ahf+UY9lBeFLxnq8r/XhYiysRnzdS6LuARhhVej9Hh0fEY jCIg+m+ptjh6W2KNYbO5er6YjeW2SDZz/ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKaTC00/c4zVa3wyylX2DyFQuDpdIvrGJ26kaI5A7Roj553LSzvMpxR+2C502VQqOHptTQ== X-Received: by 10.36.175.6 with SMTP id t6mr114010ite.6.1480070146475; Fri, 25 Nov 2016 02:35:46 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.164.40 with SMTP id n40ls1647851ioe.49.gmail; Fri, 25 Nov 2016 02:35:46 -0800 (PST) X-Received: by 10.99.101.71 with SMTP id z68mr3404640pgb.68.1480070145991; Fri, 25 Nov 2016 02:35:45 -0800 (PST) Original-Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com. [2607:f8b0:400e:c00::241]) by gmr-mx.google.com with ESMTPS id g192si522416pfb.1.2016.11.25.02.35.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Nov 2016 02:35:45 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::241 as permitted sender) client-ip=2607:f8b0:400e:c00::241; Original-Received: by mail-pf0-x241.google.com with SMTP id 144so2896151pfv.0 for ; Fri, 25 Nov 2016 02:35:45 -0800 (PST) X-Received: by 10.98.69.133 with SMTP id n5mr7120725pfi.160.1480070145589; Fri, 25 Nov 2016 02:35:45 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id o1sm48846978pgf.35.2016.11.25.02.35.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Nov 2016 02:35:45 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 1FE4BA16A; Fri, 25 Nov 2016 05:35:44 -0500 (EST) Content-Disposition: inline In-Reply-To: <417644b0-297f-42de-9678-f622120644b4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::241 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:16174 Archived-At: You can see how pandoc handles whitespace here (using the texmath executable from texmath): % echo "\\qquad" | texmath -t omml =E2=80=81=E2=80=81 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 =3D 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=3Demail&utm_source=3Dfooter > 4. https://groups.google.com/d/optout --=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 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.