From: Christian Moe <mail@christianmoe.com>
Cc: Org mode <emacs-orgmode@gnu.org>
Subject: Re: Verbatim export
Date: Thu, 08 Jul 2010 21:26:13 +0200 [thread overview]
Message-ID: <4C362655.3030100@christianmoe.com> (raw)
In-Reply-To: <80zky1n7o0.fsf@gmail.com>
Hi,
Typographically, isn't what you want here an *en dash*, rather than a
hyphen? When the dash is set off by a space, that is usually the case.
Try:
#+begin_quote
-- this --
#+end_quote
(don't forget to add a space after the last double hyphen, or it will
not be converted)
Cheers,
CM
Vincent Belaïche wrote:
> Hello,
>
> I would like to know how to make some sequence of characters to be
> verbatim, ie that special characters lose their special meaning.
>
> For instance in the following quote the first `-' will be interpreted as
> a bullet point when exporting to HTML
>
> #+begin_quote
> - this -
> #+end_quote
>
> So I tried this:
>
> #+begin_quote
> ~-~ this -
> #+end_quote
>
> but then the first `-' is not in the same font as the second one, it
> looks exaclty the same as if I had used the code =xxx= font
> specfication.
>
>
> I also tried this:
>
> #+begin_quote
> \- this -
> #+end_quote
>
> I does not work (the first dash is not exported at all).
>
> The same problem is for `[0]', how can you get this string not to be
> interpreted as a footnote reference.
>
> It should be possible to make the following type of things:
>
> #+begin_verbatim
> [0]
> #+end_verbatim
>
> or \verbatim{EOF}Hello - EOF
>
> where EOF can be any string that is not found in the verbatim string. so
>
> \verbatim{.}Hello - .
>
> would to the same as \verbatim{xxx}Hello - xxx.
>
>
> In the same vein, it would be useful to have some \relax{} macro not
> expanding to anything, this way _\relax{} some underlining with
> underlined leading spaces_ would work.
>
> BR,
> Vincent.
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
--
Christian Moe
E-mail: mail@christianmoe.com
Website: http://christianmoe.com
next prev parent reply other threads:[~2010-07-08 19:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 18:35 Verbatim export Vincent Belaïche
2010-07-08 19:26 ` Christian Moe [this message]
2010-07-08 20:42 ` Bernt Hansen
2010-07-09 3:34 ` Vincent Belaïche
2010-07-09 13:13 ` Bernt Hansen
2010-07-09 18:48 ` Vincent Belaïche
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C362655.3030100@christianmoe.com \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.