From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17673 Path: news.gmane.org!.POSTED!not-for-mail From: Kurt Blarrel Newsgroups: gmane.text.pandoc Subject: LaTeX siunitx macros not working Date: Fri, 19 May 2017 20:15:55 -0700 (PDT) Message-ID: <0de9dc67-40f0-4938-90ee-51ca2f7e2818@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1435_767114146.1495250155742" X-Trace: blaine.gmane.org 1495250156 27169 195.159.176.226 (20 May 2017 03:15:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 May 2017 03:15:56 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDKKJCVJ2YCBB3HJ73EAKGQEWCHL4EQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat May 20 05:15:52 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf0-f190.google.com ([209.85.192.190]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBurv-0006yf-D6 for gtp-pandoc-discuss@m.gmane.org; Sat, 20 May 2017 05:15:51 +0200 Original-Received: by mail-pf0-f190.google.com with SMTP id u23sf9438930pfg.1 for ; Fri, 19 May 2017 20:15:57 -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 :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=SCqwEtWIy+vMRUlvWshplZ8za8cZJCnxqIvLlmdHClk=; b=NzApKyUCsp5GRi2YP2IaD/Oaz09s/sJEEdovS3B7hCFsahTvvao9w4GVLWrO0BJ177 TYyOMNfQEBu0Ep8Y4n/0oxfTLWTTSplttgDwUj9XsXE9kP9mi3zTznFd7fVp/y9dAluk /7fzv9VgeJfs6kK2MvIauBU4FI/gDuWSFgYr4/68guHLv87znpnflp8RZFG2qNwFGeKP ofK1zeTUaSCpuwGJPGK6+yibKxlNwd8esuiufkIHBHgxr76rdHzn2k2BDkTgAvIhF3jx yFSkEGcXuH92CbbU+yqyosWyrAZV/Ff3rakQ0LO/cLR4H6MrvvubZZbBDUBSgAKvFggL 88Iw== 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:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=SCqwEtWIy+vMRUlvWshplZ8za8cZJCnxqIvLlmdHClk=; b=adm5J9pTOzfolJTe51JdjIsHgxURPRgY7OVyG9P2HVfQ4z34MzsRsRYmlz6Ricwihn 97kRWtUU7M1xZHghwK1zy+21/Hh1X926zX0mah4Tu3p1ePdxNfeneLnPgi3mx36pn05P MI/PP3mpO7sKFgNl4eaRNDfo6unV8SBQ7aF/E3ZmbHRhATWOHpqPFAVrgoULVPHg2+RF 1cYSzQSucFk8sZ/VkiHjuFuVm/RUOMa/Pv11mENMdRH+YFEDYuillZfBNylZtT+7NOnM NA8pqh1vKnKXpMDN8Xnw+h2Ezo4XebSJTwc+U1gleMhDIvoNpxUDJxRtWgIYslCdfK83 bxgw== 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=SCqwEtWIy+vMRUlvWshplZ8za8cZJCnxqIvLlmdHClk=; b=YtHap8MDPjJJvLfRPkwaDpWM2eff1PqKYcF/7c5+GdotuDH+Pucy03xyxyh2jk7VvB Z+3UnMJu3jO+06lo7I/Wp58rWwUrIMSip5NSbfQ7CuLz045hOAYq1PFlbpTF0CaNnCIY VSO77nRS7POYoX2LnAVwpXV65aRS3RucGB3sFYErX17bDIVWce6moX5ODQvIdOG+Oimw C2Se/fgkgrdWT/Ygt0ODHRqj6v3gbtkl36qBc7VyhGgSdGEJZQZXqOOMGYLFdymqw/PC GrjmSKJNZlUJXa5UtHRpHN56ijiCCPrJuXGChwlohEraOB2ib1Z/xJr0zywqf5CNUklq souQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AODbwcCItWX9oBVrNctq/84zZLSe6VJ8TRMC71qk3LmZR10nkvPUpTQ3 P3s4zLhyyWlVcg== X-Received: by 10.157.40.242 with SMTP id s105mr268933ota.5.1495250156671; Fri, 19 May 2017 20:15:56 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.54.70 with SMTP id w64ls10926278otb.26.gmail; Fri, 19 May 2017 20:15:56 -0700 (PDT) X-Received: by 10.157.82.15 with SMTP id e15mr268283oth.6.1495250156188; Fri, 19 May 2017 20:15:56 -0700 (PDT) X-Original-Sender: KurtBlarrel139-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.org gmane.text.pandoc:17673 Archived-At: ------=_Part_1435_767114146.1495250155742 Content-Type: multipart/alternative; boundary="----=_Part_1436_1466679193.1495250155742" ------=_Part_1436_1466679193.1495250155742 Content-Type: text/plain; charset="UTF-8" Hi pandoc-discuss, Today I tried compiling the dev version of pandoc to access the LaTeX package siunitx support, but I'm a bit disappointed to find it only works partially. Test input: test.tex > > \documentclass{article} > \usepackage{siunitx} > \begin{document} > The cow jumped \SI{20}{\metre} for \SI{20}[\$]{}. > \end{document} Command: > pandoc test.tex -f latex -t markdown -o test.md Returns: > [warning] Could not load include file 'siunitx.sty' at line 3 column 21 Output: test.md > The cow jumped 20 for \$ 20. I compiled pandoc on Windows 7 x64 by cloning the repository and running "stack setup" then "stack install --test" as per the instructions. Both steps seemed to work without issue; all tests were passed. pandoc --version reads as follows: > pandoc 2.0 Compiled with pandoc-types 1.17.0.5, texmath 0.9.4, skylighting 0.3.3 Could anyone confirm if this is unexpected behaviour? Does it have something to do with the warning message? Thanks a lot, K -- 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/0de9dc67-40f0-4938-90ee-51ca2f7e2818%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1436_1466679193.1495250155742 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi pandoc-discuss,

Today I tried compil= ing the dev version of pandoc to access the LaTeX package siunitx support, = but I'm a bit disappointed to find it only works partially.
<= br>
Test input: test.tex

\d= ocumentclass{article}
=C2=A0
\usepackage{siunitx}
=C2=A0
\begin{document}
=C2=A0
The cow jumped \SI{20}{\metre} for \= SI{20}[\$]{}.
=C2=A0
\end{document}

<= div>Command:
pandoc test.tex -f latex -t = markdown -o test.md

Returns:
[warning] Could not load include file 'siunitx.sty&= #39; at line 3 column 21

Output: test.md
The cow jumped 20 for \$ 20.



I com= piled pandoc on Windows 7 x64 by cloning the repository and running "s= tack setup" then "stack install --test" as per the instructi= ons. Both steps seemed to work without issue; all tests were passed. pandoc= --version reads as follows:
pandoc 2.0=
Compiled with pandoc-types 1.17.0= .5, texmath 0.9.4, skylighting 0.3.3

=C2=A0=
Could anyone confirm if this is unexpected behaviour? Does i= t have something to do with the warning message?

T= hanks a lot,

K

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/0de9dc67-40f0-4938-90ee-51ca2f7e2818%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_1436_1466679193.1495250155742-- ------=_Part_1435_767114146.1495250155742--