From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Denis_Bitouz=C3=A9?= 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: Mon, 14 Sep 2015 08:35:04 +0200 Message-ID: References: <87bnd6ulv0.fsf@nicolasgoaziou.fr> <87y4gat5az.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <87y4gat5az.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> (Nicolas Goaziou's message of "Sun, 13 Sep 2015 22:47:32 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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: Nicolas Goaziou Cc: Denis =?utf-8?Q?Bitouz=C3=A9?= , public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org Le 13/09/15 =C3=A0 22h47, Nicolas Goaziou a =C3=A9= crit : > Denis Bitouz=C3=A9 wri= tes: > >> 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 |, not as "real" |. >> >> In other words, I was happy with \under{} that exports real _ and, >> IMHO, \vert{} should do the same with |. > > Markdown export back-end use :html conventions to translate entities. > For some reason, HTML prefers | over |, and so does markdown. | and | are displayed the same way but can have different "meanings". > There are a few options available: > > 1. Prefer | over | in HTML Maybe I'm wrong but wouldn't this break backward compatibility? > 2. Overwrite "vert" entity with a new one that would do 1. So > basically, this is 1 but on your machine only. The feature I'm requesting may be useful to others. > 3. Use a new entity that becomes | when used in HTML export. It would be harmless. > WDYT? The 3rd option looks the best one to me. Regards. --=20 Denis