emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] ox-bibtex.el regexp is not correct when finding bibtex keys


From: Xiaolong Zhang (HKUCS)
Subject: [O] ox-bibtex.el regexp is not correct when finding bibtex keys
Date: Wed, 29 Jun 2016 16:39:21 +0800

Hi list,

On line 237-241 of ox-bibtex.el of function org-bibtex-process-bib-files:

;; Update `org-bibtex-html-entries-alist'.
(goto-char (point-min))
(while (re-search-forward
      "a name=\"\\([-_a-zA-Z0-9:]+\\)\">\\(\\w+\\)" nil t)
       (push (cons (match-string 1) (match-string 2))

The regexp does not allow the forward slash character, which is
actually allowed for bibtex keys and is the format for DBLP. For
example, "DBLP:journals/corr/VeitWVBDAACCCDD15"
(http://dblp.uni-trier.de/rec/bibtex/journals/corr/VeitWVBDAACCCDD15)

I hope it could be fixed as the current exporting to HTML using
ox-bibtex.el does not process citation keys from DBLP. Thank you.

Regards,
Xiaolong



reply via email to

[Prev in Thread] Current Thread [Next in Thread]