From: "Denis Bitouzé" <dbitouze-39ZsbGIQGT5GWvitb5QawA@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@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 [thread overview]
Message-ID: <m3io7e5anb.fsf@example.com> (raw)
In-Reply-To: <87bnd6ulv0.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> (Nicolas Goaziou's message of "Sun, 13 Sep 2015 22:04:35 +0200")
Le 13/09/15 à 22h04, Nicolas Goaziou <mail-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> a écrit :
> Hello,
Hello,
> dbitouze-39ZsbGIQGT5GWvitb5QawA@public.gmane.org (Denis Bitouzé) 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 |bar_baz|
>> #+end_src
>>
>> Whereas:
>>
>> - \under{} gives the expected underscore symbol (_),
>> - \vert{} gives | instead of the expected pipe symbol (|).
>
> What is wrong with |? 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 |, not as "real" |.
In other words, I was happy with \under{} that exports real _ and, IMHO,
\vert{} should do the same with |.
Regards.
--
Denis
next prev parent reply other threads:[~2015-09-13 20:26 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é [this message]
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é
[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=m3io7e5anb.fsf@example.com \
--to=dbitouze-39zsbgiqgt5gwvitb5qawa@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@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).