From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: How to type A[0] in org w/o footnote Date: Tue, 26 May 2009 13:18:33 -0400 Message-ID: <87d49v6avq.fsf@gollum.intra.norang.ca> References: <5236d6f90905260715xe466b4cl615c594b0f11db9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M90Ib-0006NJ-K4 for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:18:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M90IX-0006Lg-6Q for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:18:48 -0400 Received: from [199.232.76.173] (port=59310 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M90IX-0006La-08 for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:18:45 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:63806) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M90IW-0005Np-FS for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:18:44 -0400 In-Reply-To: (Carsten Dominik's message of "Tue\, 26 May 2009 17\:21\:48 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > On May 26, 2009, at 4:15 PM, Xin Shi wrote: > >> I tried to type A[0] in a document with orgmode, but it gives me the >> footnote link. I could use A[ 0] for a quick replacement, but are >> there any better way to tell org not interpreting the footnote? > > One way would be to always code code emphasis when typing something > like this which is probably some kind of code snippet? > > So either > > #+begin_src c > a[0] += 33 > #+end_src > > > or > > The pointer referenced by =a[0]= points to the first real number > in the array =a= > > > The second method will still highlight the [0] as a link in org-mode > because of > bad font-lock setup. However, during export this should behave fine. Another method is to turn off footnote handling in your export options line (f:nil) ,---- | #+OPTIONS: f:nil `---- -Bernt