[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: How to type A[0] in org w/o footnote
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: How to type A[0] in org w/o footnote |
Date: |
Tue, 26 May 2009 13:18:33 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Carsten Dominik <address@hidden> 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