From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: How to type A[0] in org w/o footnote Date: Tue, 26 May 2009 13:42:24 -0400 Message-ID: <5236d6f90905261042h1f0a0da4h4c54f8d7b2c6839f@mail.gmail.com> References: <5236d6f90905260715xe466b4cl615c594b0f11db9@mail.gmail.com> <87d49v6avq.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0847296289==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M90fX-0003gr-8d for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:42:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M90fS-0003gf-83 for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:42:30 -0400 Received: from [199.232.76.173] (port=44814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M90fS-0003gc-41 for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:42:26 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:59630) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M90fR-0002Z1-KX for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:42:25 -0400 Received: by fxm17 with SMTP id 17so4296318fxm.42 for ; Tue, 26 May 2009 10:42:24 -0700 (PDT) In-Reply-To: <87d49v6avq.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org, Carsten Dominik --===============0847296289== Content-Type: multipart/alternative; boundary=0016e6de04e3e86d7b046ad43f44 --0016e6de04e3e86d7b046ad43f44 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks a lot! Xin On Tue, May 26, 2009 at 1:18 PM, Bernt Hansen wrote: > 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 > --0016e6de04e3e86d7b046ad43f44 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks a lot!

Xin


On Tue, May= 26, 2009 at 1:18 PM, Bernt Hansen <bernt@norang.ca> wrote:
Carsten Dominik <carsten.dominik@gmail.com> writes:

> On May 26, 2009, at 4:15 PM, Xin Shi wrote:
>
>> I tried to type A[0] in a document with or= gmode, but it gives me the
>> footnote link. I could use A[ 0] for a quick replacement, but are<= br> >> 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
> =A0 =A0a[0] +=3D 33
> #+end_src
>
>
> or
>
> The pointer referenced by =3Da[0]=3D points to the first real number > in the array =3Da=3D
>
>
> The second method will still highlight the [0] as a link in org-mode > because of
> bad font-lock setup. =A0However, during export this should behave fine= .

Another method is to turn off footnote handling in your export option= s
line =A0(f:nil)

,----
| #+OPTIONS: =A0 f:nil
`----

-Bernt

--0016e6de04e3e86d7b046ad43f44-- --===============0847296289== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0847296289==--