From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: From LaTeX to markdown (doesn't work from Windows cmd)
Date: Wed, 27 Sep 2017 09:31:28 -0700 [thread overview]
Message-ID: <20170927163128.GD70077@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <5778e54e-b8b3-414e-97e4-69a94f59b90d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
What version of pandoc are you using on Windows (pandoc
--version)?
+++ Hervé Soulard [Sep 27 17 03:24 ]:
> 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
> 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é.
>
> --
> 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/5778e54e-b8b3-414e-
> 97e4-69a94f59b90d%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/5778e54e-b8b3-414e-97e4-69a94f59b90d-/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/20170927163128.GD70077%40Johns-MacBook-Pro.local.
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2017-09-27 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 10:24 Hervé Soulard
[not found] ` <5778e54e-b8b3-414e-97e4-69a94f59b90d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-27 16:31 ` John MacFarlane [this message]
[not found] ` <20170927163128.GD70077-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-09-28 7:54 ` Hervé Soulard
[not found] ` <cf7106c0-94aa-4827-9cd0-6e6ce97d17ab-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-28 16:01 ` John MacFarlane
2017-10-03 8:39 ` Hervé Soulard
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=20170927163128.GD70077@Johns-MacBook-Pro.local \
--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).