From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Philip Chan Subject: Re: Using double square brackets literally (escaping link conversion) in org-mode Date: Tue, 4 Sep 2012 07:01:45 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8qse-0005bI-OM for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:01:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8qsa-0002zK-Hb for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:01:16 -0400 Received: from blu0-omc1-s17.blu0.hotmail.com ([65.55.116.28]:42136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8qsa-0002wb-E3 for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 07:01:12 -0400 In-Reply-To: (Giuseppe Pagnoni's message of "Tue, 4 Sep 2012 12:20:38 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Giuseppe Pagnoni 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: #+BEGIN_SRC R bla..bla.. #+END_SRC Please refer to this section: http://orgmode.org/manual/Working-With-Source-Code.html#Working-With-Source= -Code in the manual. Cheers, Charles =2D-=20 "...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly)." (By Matt Welsh) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAlBF36MACgkQ3epPyyKbwPZYfQCfek6Kzyl7Pfw+a6AvqK6xDkD2 CjsAn2UV8txVPQUoxV+sf4tJcu+w9KKQ =WnJr -----END PGP SIGNATURE----- --=-=-=--