emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yu <yu_icq@gmx.at>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Quoting characters?
Date: Thu, 12 Jan 2012 21:58:48 +0100	[thread overview]
Message-ID: <CANtbJLFz9Eb09V6KM35X6hvQ-vN5hc89+HyY0tqXVJs665zJ9w@mail.gmail.com> (raw)

Hello!

When working with Org-mode I sometimes run into oddities, when a
character I need clashes with org-mode syntax. Is there a way to avoid
this?

Examples would be:

Writing a macro that expands to `$\neg$':
    #+macro: not $\neg$
expands to
    $
    eg$
even if I write it as \\neg. Writing the macro in the C-c C-' buffer
produces \n, but when editing it again, it is displayed as a newline.

Similiarily, I found no way to have "\^" or "\_" appear in the export,
when I wanted to write about escaping ^ and _ as =\^= and =\_=
respectively. Here as well, writing multiple backslashes wouldn't
change the output.


Maybe related, I found that when editing an block
    : #+foo: bar
    : This is an org-mode example
with C-c C-', the result text will be
    : ,#+foo: bar
    : This is an org-mode example
The extra comma generated will still be there also in the C-c C-'
editing buffer.

In a source code block, that is declared to be of the language "org",
this behaviour doesn't appear, but it reappears for other languages.

When exporting to html or pdf, the comma isn't present for "src"
blocks, but it is for the "colon" blocks.


kind regards, Yu

             reply	other threads:[~2012-01-12 20:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12 20:58 Yu [this message]
2012-01-21  6:04 ` Quoting characters? Samuel Wales

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=CANtbJLFz9Eb09V6KM35X6hvQ-vN5hc89+HyY0tqXVJs665zJ9w@mail.gmail.com \
    --to=yu_icq@gmx.at \
    --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).