From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18233 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Herv=C3=A9_Soulard?= Newsgroups: gmane.text.pandoc Subject: From LaTeX to markdown (doesn't work from Windows cmd) Date: Wed, 27 Sep 2017 03:24:40 -0700 (PDT) Message-ID: <5778e54e-b8b3-414e-97e4-69a94f59b90d@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_11966_1336691947.1506507880283" X-Trace: blaine.gmane.org 1506507885 13431 195.159.176.226 (27 Sep 2017 10:24:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2017 10:24:45 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCSYV3OEW4KRB2HYVXHAKGQE2IYKTCQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 27 12:24:38 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f62.google.com ([209.85.218.62]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dx9W6-0002dJ-Dj for gtp-pandoc-discuss@m.gmane.org; Wed, 27 Sep 2017 12:24:34 +0200 Original-Received: by mail-oi0-f62.google.com with SMTP id s145sf7563453oie.13 for ; Wed, 27 Sep 2017 03:24:42 -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 :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=9XWqB/NS5GUi+A3tp0euJDzalJxheZCUrhybEqUEsMo=; b=fwn/G8UsSssw77UG3SmmxqgDn8Gx6PCrsMmBu1p8fl/SkaC5LrHmcVg4hvrPbS7vXB YEZ4Cd8F/k/D5x/qPZziR5nTV5RL37IettcqOUY7DtWAvM8fEuy8oW8Sa44ZaMBIWgLl 6m0ak+fnzZOdmtvHy8VNtHmsX7Gto2He0m6IzVoHwUZUHDG4chCNYyMZ9cRfezFdbT/X lSHbwfOm2929ifD87L4t3Iyl49mCXJd6d0Sj8+ZsOdgEoBuhI9PefNqn0jRiCeUALIRZ DtfV5hI3klwF9h0defEhWUGLs75318DFIGY0tGJ/hURcdOwA9O+o63+gYnlPu3COdF1A L3tQ== 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:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=9XWqB/NS5GUi+A3tp0euJDzalJxheZCUrhybEqUEsMo=; b=MFsBe/kqtGPKwNKKqtobck2/dUc3oK1egUxAWnwEgumRta/qwf/bLIWZpmTrPt+SJ4 ZMcGRrEgplARXNl/HYJwNjmZTBFrRdt4rz/8dHmew0IDqCQxlBHc542pBMm0ZFcEx62I 9bRYW/u08wWpym3kZRMthzNHhQ9ukO6aJWUfXKt9ZayNFAjPSrTUQYThFB24gWi575Lx dS1IXJrlrCgdweaQj/LZS1CJGsQTWS3KBPxL+2SSm1NR0RoDm7vQDlvouVwCcJP3Than 2jczmVmXLqr3X0t26RoPrqqXcWZdQMZwqArtBGXB6ksawPXhYb+jSa/EvuVqcz/+Mgzf FmQQ== 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=9XWqB/NS5GUi+A3tp0euJDzalJxheZCUrhybEqUEsMo=; b=euQy/Avl1Wv1+jgTSv/6mMG15m7D47mb9AxDttIlD0uWbdUOG2pib66K4ZQA2OdsdC BZgLw4w/A2HSTYgL/ikuelAYt3AHvj73H+0JNP/Vue3wEUMKwfiZbGvH09g2vQptYk/L LktX2fxMpiR9IEzyAyPmBTzGJXOFTc6GGfxbIbOVOnbMw4PApEsDIlCTka+M2wiBrPIR dHd6BF9TAH12FpwGlpAYI1ydoD16qXjYtUM97Os6itUErIBRkUstujyqnpO99z07j8BX jJmL8hLwZFiTdFAaQmi4hOYMBjOI9hQCjhf1NJFZ6BY1w98Rkr8vhzmnvP5TZR4Dz1JL MPfQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaWFvQl/8X+dqOMwkhK7IR8XPEKOMX1FSUpIKCNqZreyUxfiMcZ3 9nCLob0d1tOB3EHKiiN4ZUs= X-Google-Smtp-Source: AOwi7QBPAMP4pYd6u/ifmwCuYyIs05zKhgdiAgXFr4gVSm/Ebuj0n3UHa4TbR7RDoXglSOPpMbF9Ew== X-Received: by 10.157.67.85 with SMTP id y21mr15296oti.27.1506507881604; Wed, 27 Sep 2017 03:24:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.45.50 with SMTP id v47ls278047ota.25.gmail; Wed, 27 Sep 2017 03:24:40 -0700 (PDT) X-Received: by 10.157.27.35 with SMTP id l32mr14185otl.0.1506507880771; Wed, 27 Sep 2017 03:24:40 -0700 (PDT) X-Original-Sender: hsoulard-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:18233 Archived-At: ------=_Part_11966_1336691947.1506507880283 Content-Type: multipart/alternative; boundary="----=_Part_11967_1050127629.1506507880283" ------=_Part_11967_1050127629.1506507880283 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi everybody, I have the following (simplified) LaTeX input (in a file test.tex): \newcommand{\definition}[1]{\textsf{\textbf{#1}}} On nomme \definition{champ de force} une fonction qui... When I try the conversion LaTeX to markdown on "Try Pandoc!", I get the=20 right result: On nomme {\textsf{\textbf{champ de force}}} une fonction qui... If I try to do the same from the Windows command line: pandoc.exe --from latex --to markdown -o test.md test.tex I get a wrong result (the macro isn't converted): On nomme une fonction qui... I've tried to add +latex_macros, but the result is the same. How should I do? (This is my first test with Pandoc). Thanks for any help, Herv=C3=A9. =20 --=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/5778e54e-b8b3-414e-97e4-69a94f59b90d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_11967_1050127629.1506507880283 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everybody,

I have the following (sim= plified) LaTeX input (in a file test.tex):

= =C2=A0 =C2=A0 =C2=A0 =C2=A0\newcommand{\definition}[1]{\textsf{\textbf{#1}}= }
=C2=A0 =C2=A0 =C2=A0 =C2=A0On nomme \definition{champ de force}= une fonction qui...

When I try the conversi= on LaTeX to markdown on "Try Pandoc!", I get the right result:

=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0On nomme {\textsf= {\textbf{champ de force}}} une fonction qui...

<= div>If I try to do the same from the Windows command line:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 pandoc.exe --from latex --to markdown = -o test.md test.tex

I get a wrong result (the macr= o isn't converted):

=C2=A0 =C2=A0 =C2=A0 = =C2=A0 On nomme une fonction qui...

I= 9;ve tried to add +latex_macros, but the result is the same.

=
How should I do? (This is my first test with Pandoc).
=
Thanks for any help,

Herv=C3=A9.

=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0

--
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/5778e54e-b8b3-414e-97e4-69a94f59b90d%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_11967_1050127629.1506507880283-- ------=_Part_11966_1336691947.1506507880283--