From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Stewart Subject: Incorrect HTML hyperlink text when `/` used in bibtex key with ox-bibtex.el Date: Sat, 11 Apr 2015 15:44:52 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygwf9-0000hz-2h for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 10:45:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ygweo-0007GV-8g for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 10:45:34 -0400 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:33546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygwen-0007Dc-Rp for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 10:45:14 -0400 Received: by lbbzk7 with SMTP id zk7so31860605lbb.0 for ; Sat, 11 Apr 2015 07:45:12 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, When the bibtex key contains a `/` character, the export with ox-bibtex.el emits an incorrect string (I think) for citing the reference at the point it is referenced. For example: \cite{StewartTL11} Which in the HTML becomes: [4] However, \cite{DBLP:conf/appt/StewartTL11} Becomes: [DBLP:conf/appt/StewartTL11] So rather than a link displayed as "[4]" in the HTML, I see "[DBLP:conf/appt/StewartTL11]". Having experimented with omitting both `:` and `/`, it looks like it's the `/` charactes in the bibtex key that makes the difference. Is that a bug in ox-bibtex.el or bibtex2html?