emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: Org mode <emacs-orgmode@gnu.org>
Cc: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
Subject: Verbatim export
Date: Thu, 08 Jul 2010 20:35:27 +0200	[thread overview]
Message-ID: <80zky1n7o0.fsf@gmail.com> (raw)

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.
 

             reply	other threads:[~2010-07-08 18:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08 18:35 Vincent Belaïche [this message]
2010-07-08 19:26 ` Verbatim export Christian Moe
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

  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=80zky1n7o0.fsf@gmail.com \
    --to=vincent.b.1@hotmail.fr \
    --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 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).