emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Philip Chan <cpchan@bell.net>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Using double square brackets literally (escaping link conversion) in org-mode
Date: Tue, 4 Sep 2012 07:01:45 -0400	[thread overview]
Message-ID: <BLU0-SMTP204C6D22BDA49F7C742742BBAA0@phx.gbl> (raw)
In-Reply-To: <CAAdktExhm6bLiqD0ZG7JpmiZcdwLTrcX-NQDpBxjejc9JdykWg@mail.gmail.com> (Giuseppe Pagnoni's message of "Tue, 4 Sep 2012 12:20:38 +0200")

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

Giuseppe Pagnoni <gpagnoni@gmail.com> writes:

Hi Giuseppe:

> I use org-mode for taking notes and I often need to jot down code
> examples.  In the language R, subscription is often done with double
> square brackets (for instance, I can extract the 2nd element of a
> `list' object x with the code: x[[2]]).  Now, I haven't been able to
> write such example code within org-mode, without them turning
> automatically into hyperlinks (I am talking about the plain emacs
> interface here, which is what I use most, not about exporting into
> formats such as latex or HTML).

Use a src block. For example:


Please refer to this section:


in the manual.


"...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly)."
(By Matt Welsh)

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2012-09-04 11:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 10:20 Using double square brackets literally (escaping link conversion) in org-mode Giuseppe Pagnoni
2012-09-04 11:01 ` Charles Philip Chan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-04 11:40 Giuseppe Pagnoni
2012-09-04 11:59 ` Charles Philip Chan
2012-09-04 13:59 Giuseppe Pagnoni
2012-09-04 14:16 ` Charles Philip Chan
2012-09-05 10:09 Giuseppe Pagnoni

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:

  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=BLU0-SMTP204C6D22BDA49F7C742742BBAA0@phx.gbl \
    --to=cpchan@bell.net \
    --cc=emacs-orgmode@gnu.org \


* 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


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