From mboxrd@z Thu Jan  1 00:00:00 1970
From: =?utf-8?Q?Denis_Bitouz=C3=A9?= <dbitouze-39ZsbGIQGT5GWvitb5QawA@public.gmane.org>
Subject: Re: Bug: \vert{} exported to markdown not as expected [8.3.1
 (8.3.1-103-g366dc4-elpa @ /home/bitouze/.emacs.d/elpa/org-20150907/)]
Date: Sun, 13 Sep 2015 22:26:00 +0200
Message-ID: <m3io7e5anb.fsf@example.com>
References: <m3lhcb91nn.fsf@drums.chezmoi.fr>
	<87bnd6ulv0.fsf@nicolasgoaziou.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org>
In-Reply-To: <87bnd6ulv0.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> (Nicolas Goaziou's message of
	"Sun, 13 Sep 2015 22:04:35 +0200")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode-mXXj517/zsQ@public.gmane.org>
List-Help: <mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org

Le 13/09/15 =C3=A0 22h04, Nicolas Goaziou <mail-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> a =C3=A9=
crit :

> Hello,

Hello,

> dbitouze-39ZsbGIQGT5GWvitb5QawA@public.gmane.org (Denis Bitouz=C3=A9) writes:
>
>> The following file:
>>
>> #+NAME: test.org
>> #+begin_src org
>> Foo |bar_baz|
>>
>> Foo \vert{}bar\under{}baz\vert{}
>> #+end_src
>>
>> is exported to markdown as follows:
>>
>> #+NAME: test.md
>> #+begin_src markdown
>> Foo |bar\_baz|
>>
>> Foo &vert;bar_baz&vert;
>> #+end_src
>>
>> Whereas:
>>
>> - \under{} gives the expected underscore symbol (_),
>> - \vert{} gives &vert; instead of the expected pipe symbol (|).
>
> What is wrong with &vert;? Doesn't Markdown accept HTML entities
> anyway?

The point is the following: the site where the .md file (exported from
the .org file) will be used has this (maybe current) feature to be able
to interpret strings such as:

|REP_TO_COMMENT|

Hence, I have to export "real" _ and |.

1. For _, \under{} is necessary since _ at the org mode level is
   exported as \_.
2. For |, source | could be okay. But I'd like to use strings as above
   in tables and, AFAIK, the only way to have pipe symbols in a table at
   the org mode level is to code them \vert{}.  And that's the purpose
   of my bug report, \vert{} is exported as &vert;, not as "real" |.

In other words, I was happy with \under{} that exports real _ and, IMHO,
\vert{} should do the same with |.

Regards.
--=20
Denis