emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Denis Bitouzé" <dbitouze-39ZsbGIQGT5GWvitb5QawA@public.gmane.org>
To: Nicolas Goaziou <mail-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org>
Cc: "Denis Bitouzé"
	<public-dbitouze-39ZsbGIQGT5GWvitb5QawA-wOFGN7rlS/M9smdsby/KFg@public.gmane.org>,
	public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@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: Mon, 14 Sep 2015 08:35:04 +0200	[thread overview]
Message-ID: <m337yh8q5j.fsf@example.com> (raw)
In-Reply-To: <87y4gat5az.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> (Nicolas Goaziou's message of "Sun, 13 Sep 2015 22:47:32 +0200")




Le 13/09/15 à 22h47, Nicolas Goaziou <mail-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> a écrit :

> Denis Bitouzé <dbitouze-39ZsbGIQGT5GWvitb5QawA-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org> writes:
>
>> 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 |.
>
> Markdown export back-end use :html conventions to translate entities.
> For some reason, HTML prefers &vert; over |, and so does markdown.

&vert; and | are displayed the same way but can have different
"meanings".

> There are a few options available:
>
>   1. Prefer | over &vert; 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.
-- 
Denis

  parent reply	other threads:[~2015-09-14  6:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-12 14:02 Bug: \vert{} exported to markdown not as expected [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/bitouze/.emacs.d/elpa/org-20150907/)] Denis Bitouzé
2015-09-13 20:04 ` Nicolas Goaziou
     [not found]   ` <87bnd6ulv0.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org>
2015-09-13 20:26     ` Denis Bitouzé
2015-09-13 20:47       ` Nicolas Goaziou
2015-09-14  0:10         ` Charles C. Berry
     [not found]           ` <alpine.OSX.2.20.1509131701560.819-iDQ3frm8jJiryYnjg5slPZa4wMfmKMrbhPhL2mjWHbk@public.gmane.org>
2015-09-14  7:46             ` Denis Bitouzé
     [not found]         ` <87y4gat5az.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org>
2015-09-14  6:35           ` Denis Bitouzé [this message]
     [not found]             ` <1442212613.9320.TMDA@plane.gmane.org>
     [not found]               ` <1442212613.9320.TMDA-wOFGN7rlS/M9smdsby/KFg@public.gmane.org>
2015-09-14  7:10                 ` Please confirm your message Denis Bitouzé
     [not found]                   ` <1442214745.28220.TMDA@plane.gmane.org>
     [not found]                     ` <1442214745.28220.TMDA-wOFGN7rlS/M9smdsby/KFg@public.gmane.org>
2015-09-14  7:11                       ` Denis Bitouzé

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m337yh8q5j.fsf@example.com \
    --to=dbitouze-39zsbgiqgt5gwvitb5qawa@public.gmane.org \
    --cc=mail-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org \
    --cc=public-dbitouze-39ZsbGIQGT5GWvitb5QawA-wOFGN7rlS/M9smdsby/KFg@public.gmane.org \
    --cc=public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).