emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Verbatim export
@ 2010-07-08 18:35 Vincent Belaïche
  2010-07-08 19:26 ` Christian Moe
  2010-07-08 20:42 ` Bernt Hansen
  0 siblings, 2 replies; 6+ messages in thread
From: Vincent Belaïche @ 2010-07-08 18:35 UTC (permalink / raw)
  To: Org mode; +Cc: Vincent Belaïche

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.
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-09 18:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-08 18:35 Verbatim export Vincent Belaïche
2010-07-08 19:26 ` 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

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).