Allow dashes and underscores in bibtex citation keys
* contrib/lisp/org-exp-bibtex.el (org-export-bibtex-preprocess): Allow dashes and underscores in bibtex citation keys. TINYCHANGE Patch by Nik Putnam
This commit is contained in:
parent
2978501ad0
commit
c18896841e
|
@ -102,7 +102,7 @@
|
|||
(save-match-data
|
||||
(insert-file-contents (concat file ".html"))
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "a name=\"\\(\\w+\\)\">\\(\\w+\\)" nil t)
|
||||
(while (re-search-forward (org-re "a name=\"\\([-_[:word:]]+\\)\">\\([[:word:]]+\\)") nil t)
|
||||
(setq oebp-cite-plist (cons (cons (match-string 1) (match-string 2)) oebp-cite-plist)))
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "<hr>" nil t)
|
||||
|
|
Loading…
Reference in New Issue