From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to type A[0] in org w/o footnote
Date: Tue, 26 May 2009 13:18:33 -0400 [thread overview]
Message-ID: <87d49v6avq.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <BBC7840D-4291-4127-A2C8-0A13FA149C28@gmail.com> (Carsten Dominik's message of "Tue\, 26 May 2009 17\:21\:48 +0200")
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 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
next prev parent reply other threads:[~2009-05-26 17:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 14:15 How to type A[0] in org w/o footnote Xin Shi
2009-05-26 15:21 ` Carsten Dominik
2009-05-26 17:18 ` Bernt Hansen [this message]
2009-05-26 17:42 ` Xin Shi
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d49v6avq.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.