emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "aldrin d'souza" <aldrindsouza@gmail.com>
To: emacs-orgmode@gnu.org
Subject: a problem with org-exp-bibtex
Date: Thu, 12 Mar 2009 13:53:30 +0530	[thread overview]
Message-ID: <dd3cb46b0903120123g2caa9c6aw5babcc1a0f268ca6@mail.gmail.com> (raw)

hello,

i use org mode for publishing my notes and i find the org-exp-bibtex
functionality very useful because it allows me to separate my
references cite them neatly using the \cite{} notation. however, i'm
facing an issue with it.

here's a simple org/bibtex combination to reproduce the probem:

----------[test.org]----------
note
* org-exp-bibtex
i love org. \cite{org}
#+BIBLIOGRAPHY: test plain
------------------------------

and here is the bibtex file (test.bib):

----------[test.bib]----------
@Manual{org,
  title = "org-mode manual",
  url   = "http://orgmode.org/manual"
}
------------------------------

when i export the note as html the \cite{org} bit gets replaced by a
link which points to "#sec-1" inside the generated html file. it
should have pointed to "#org" because that's where the cite
description is.

the weird part is that it works fine if i don't have any sections in
the file. for example, if the org file is changed to the following
everything works fine:

----------[test.org]----------
note
org-exp-bibtex
i love org. \cite{org}
#+BIBLIOGRAPHY: test plain
------------------------------

any help in getting this to work for org-files with sections would be great.

thanks,
--
ajd.

             reply	other threads:[~2009-03-12  8:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12  8:23 aldrin d'souza [this message]
2009-03-12  9:39 ` a problem with org-exp-bibtex Taru Karttunen
2009-03-12 10:44   ` Carsten Dominik
2009-03-12 11:18     ` Taru Karttunen
2009-03-12 11:28       ` aldrin d'souza

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd3cb46b0903120123g2caa9c6aw5babcc1a0f268ca6@mail.gmail.com \
    --to=aldrindsouza@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).