From mboxrd@z Thu Jan 1 00:00:00 1970 From: "aldrin d'souza" Subject: a problem with org-exp-bibtex Date: Thu, 12 Mar 2009 13:53:30 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhgCU-0001YO-LN for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 04:23:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhgCS-0001Xy-B8 for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 04:23:33 -0400 Received: from [199.232.76.173] (port=40442 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhgCS-0001Xv-5v for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 04:23:32 -0400 Received: from yw-out-1718.google.com ([74.125.46.155]:47846) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhgCR-0005KP-V2 for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 04:23:32 -0400 Received: by yw-out-1718.google.com with SMTP id 6so639640ywa.66 for ; Thu, 12 Mar 2009 01:23:31 -0700 (PDT) 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: emacs-orgmode@gnu.org 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.