From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18237 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: From LaTeX to markdown (doesn't work from Windows cmd) Date: Wed, 27 Sep 2017 09:31:28 -0700 Message-ID: <20170927163128.GD70077@Johns-MacBook-Pro.local> References: <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: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506529906 29042 195.159.176.226 (27 Sep 2017 16:31:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2017 16:31:46 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB3VEV7HAKGQETG74CQA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 27 18:31:42 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f187.google.com ([209.85.223.187]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxFFI-0006qB-HV for gtp-pandoc-discuss@m.gmane.org; Wed, 27 Sep 2017 18:31:36 +0200 Original-Received: by mail-io0-f187.google.com with SMTP id q7sf7802049ioi.12 for ; Wed, 27 Sep 2017 09:31:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1506529903; cv=pass; d=google.com; s=arc-20160816; b=qjiL2RAvFrQm+6e+s4b6kVErg26T8qa/RUEz7f4+7GVLTzBYmp1rz5wEj56pb11Qv4 bUM/dk4FMJOJLTyXGCDtfZJIEGb3PsA2YjOQtrFnyiy3LpVX8SKAxvm+j5xznoMb4+xQ LlmDnKFMfkaADNf/A1vsP7iebQ9L9Phc1yM2fI/jW79fOFJVGqeldAzS6cKHIgqdc7p1 DE5rwy/2EPLx6qIxT3Y064k5JzLbqTIlY2xL7r65s48iFcfx1hpAV/2VgxcUJ94Q4Isz nl3Q7AzgCWSi7c2PHiZVVhniBELRLW6xZ3oJHHM7ySbX4N2ja5ApPL7/UBfsy45/QGY8 eCgg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:date:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=xIlR+oeT3m2lyYPwVeBr0LRY6NZvmUj/Nn8cnMht1EM=; b=TGKeCvn+rwJsl5s0RZV6+Iyhm40esizP6+JUwA+hu1VXKshoE5A17nww/SuIfm2AdJ mGVXn10pu/h1GHW0DU0g6WvAZullkLmf7BvokPSRCmsL7nq131FE0uAqNzPejfb+yPpG la2+DKv4w+/uMNgjODGeHuCNyR/JjBQ91YETqRBYXOUpFITmj4GU4NZ6xXJM7G0utb5l gvCgHmAlUWt4WN2PNBO48/H5SnYFSv5SQCENgrWESY70pdOBuSGctQC7ZW8IukajI+o8 gTk47z26f3gUgOeOQtRpyUzSGWdud8mA28gciweIBu ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=cZh6cA00; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=xIlR+oeT3m2lyYPwVeBr0LRY6NZvmUj/Nn8cnMht1EM=; b=MexnEkNZ+ZgrZPUaP7MhXO8b5QYPRUjNbVquPYD26Dmn7l1hiP91OWQBj5U4hF6ZnG XTI4yH/iao4pZIZfUBCHrmUzJkWnl3f1SqOvIS0eqWvO1CP6olCVnxYfYTh3tWzxQQua 0H7NvjqyFkcVNk81W4c9vQFUxA4YMdWLhwTZHkmbLjn9oaC38yyMoiNjh21PA1xnKHQS jFRo7NyfJyDvsdsZFFodtO1gSvHWWsG004ZnxuhvXOZxwRC1UNyWnMCr1Jh4ifDFzljt k6aXnghD/y2D/FctqKwGhxMNlxPfW6f9XG4PUR5N575JFbJhbnZEhVm2Y7MEGlXi52O2 vDjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=xIlR+oeT3m2lyYPwVeBr0LRY6NZvmUj/Nn8cnMht1EM=; b=Iamtx8D4PPLBAbxJwppUqhN0x1PHb3qKOCYOmK9rGUtdllBO0kJDPHL985rKYM9+RN T+RNXgGI8+O5tpS50i0+rs1UF+agSXh7s6qyVm+Zl0fNMUqrgs/VPALZQdCCSJ8rPR84 +GVy9GowA5go8jstKONAuGUM1S5MG1uZSSrxGuPwEvDSsP7ONWY9lLEIIv4kM48C/OYc f2xYFrTo2T9aYpOk44evIivyqORPK3m6lFwCM7e9DkJGDpcE+WCopIj2h9znF7AtS7cK EwEPBFHDcEuvFSJEyeMgwgpsoLIAAWbpc Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUiBooFUaLAwZp/oJI0jbq8FxovhjVLsHrcz2OijddXzwM6plqlL ln5GnKe4Lu9/ipDDdWphg3o= X-Google-Smtp-Source: AOwi7QChfd3PB+mpsllbYXUCNZuiuUGJ0L0Y6lozKsaCErc5zRDPQDA1xNWE45JLpXmXPfxL8cg4Gw== X-Received: by 10.36.43.205 with SMTP id h196mr24351ita.10.1506529903756; Wed, 27 Sep 2017 09:31:43 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.99.167.11 with SMTP id d11ls553520pgf.13.gmail; Wed, 27 Sep 2017 09:31:42 -0700 (PDT) X-Received: by 10.84.194.3 with SMTP id g3mr288421pld.48.1506529902593; Wed, 27 Sep 2017 09:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506529902; cv=none; d=google.com; s=arc-20160816; b=VV82WruaMiLrYmM/gOjPiYg6zZHfHj3LxRGwPfywwQyBGqOrElxEkI38dCUcbM8FnU XfdMg1MRpEsrvV4+lJ7E2wBM7j1SYKHvG6ZAxLWY9SrLUhWu4ZtorDErOQtrjztNmHj0 U9R6T810R9weAmHIZGYVOwXvnGWBfJ7H5I7pjGfkU88u5bOcOtMpfRBjR/uwJXtgwc15 BlBRvhJ/4OxGVP6WcznqZgRbaiRWq1OcKY1fbJGHvrJqYpWfYbmXXl3eB9CCQrH7xFCs M81DanVrgWapZC7Su4H/ytwtploVbDrDLSLKDK4JLeSl8nniCzUhF0+iceBrvRjcsGbW Vi9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :date:from:dkim-signature:arc-authentication-results; bh=BhksbwXz+qIKDRlxTn6JtJBVEpJnkYMwzHC1r1cK264=; b=wOrYevY3/ubP6n8ZpmGgxUoFYBUnUamUFg2Nzdh81xQLbrpnrBXkrfBkfZXZos67Ch kCH1ANYzQH9EtDcrnDvEjjjVgCiV7XXtle6XfbN3g0C4NRL+zdzZzxKrllJWeqY3x/G7 lAUGDatq7EjDg40kpXj3VIULxMUCeo4IsYlKF8smjiI8m2AmovgZibgC/ed+vWgouQuu Tflsh3CB9qtTi4qZFjiVnkNMJYnIIxHOlHfwJKXQhv3OT9WG20PSfmBza7ufdmwFMXjj FKjhb3X/H4HP02fzk5qsIGQ1ntjAIr9c83/JVJjGGlYTrRb/XnXDBRzOa9pnpLlDhsAC Cmxw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=cZh6cA00; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com. [2607:f8b0:400e:c00::22e]) by gmr-mx.google.com with ESMTPS id k76si1042395pfb.5.2017.09.27.09.31.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Sep 2017 09:31:42 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22e as permitted sender) client-ip=2607:f8b0:400e:c00::22e; Original-Received: by mail-pf0-x22e.google.com with SMTP id m63so7511315pfk.7 for ; Wed, 27 Sep 2017 09:31:42 -0700 (PDT) X-Received: by 10.98.26.201 with SMTP id a192mr1765069pfa.311.1506529901405; Wed, 27 Sep 2017 09:31:41 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id u74sm22518298pfk.125.2017.09.27.09.31.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Sep 2017 09:31:40 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 49F65A1C5; Wed, 27 Sep 2017 12:31:29 -0400 (EDT) Content-Disposition: inline In-Reply-To: <5778e54e-b8b3-414e-97e4-69a94f59b90d-/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 header.s=20150623 header.b=cZh6cA00; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22e 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:18237 Archived-At: What version of pandoc are you using on Windows (pandoc --version)? +++ Herv=C3=A9 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=C3=A9. > > -- > 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=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/20170927163128.GD70077%40Johns-MacBook-Pro.local. For more options, visit https://groups.google.com/d/optout.