Commit Graph

13 Commits

Author SHA1 Message Date
Bastien Guerry e44d2975ff Fix copyright (to 2012) year and Org version (to 7.8.03). 2012-01-03 18:47:01 +01:00
Carsten Dominik c18896841e 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
2011-10-06 10:10:47 +02:00
Bastien Guerry 904ed18bc2 Fix copyright years for elisp files in core and contrib.
Also add "This file is not part of GNU Emacs." when this is the case.
2011-08-15 15:23:11 +02:00
Christophe Rhodes 3e4477249c Add "References" header in org-exp-bibtex
* contrib/lisp/org-exp-bibtex.el (org-export-bibtex-preprocess): include
hard-coded "<h2>References</h2>" in #+BEGIN_HTML block

I might be missing something, but while in LaTeX export org-exp-bibtex
produces a References header, in HTML export there's nothing -- which
looks a bit odd, particularly in documents with footnotes.  Attached is
a patch which simply includes an appropriate header.
Cheers,

Christophe
TINYCHANGE
2011-05-24 05:36:05 +02:00
Bastien Guerry e7409b5cd1 org-exp-bibtex.el: Use `org-export-bibtex-preprocess'.
* org-exp-bibtex.el (org-export-bibtex-preprocess): Use
`org-export-current-backend'.
2011-03-02 18:15:09 +01:00
Bastien Guerry 68114fb650 Replace remaining htmlp and latexp conditions. 2011-02-18 09:49:12 +01:00
Carsten Dominik 9321460f3e Make org-exp-bibtex.el require org and org-exp 2010-01-31 17:53:28 +01:00
Carsten Dominik 4dc86eedd4 Use better regular expression to find bibliography line
Hsiu-Khuern writes:

> In contrib/lisp/org-export-bibtex.el, the BiBTeX file has to
> match the Emacs regexp "\w+".  So a line like
>
> #+BIBLIOGRAPHY: mybib_new
>
> will not work because of the underscore character in the
> filename.  (I suppose the actual behavior depends on the local
> Emacs settings that affect the "syntax table".)  May I propose
> changing the regexp to "[[:alnum:]_]+"?
>
> Initially, I was stumped by this because I thought \w was a
> "regular" regexp :), such as defined in sed, and would match
> underscores as well.
2009-08-14 20:30:19 +02:00
Carsten Dominik 02dc6813dc BibTeX export: Fix a bug for the LaTeX side
Patch by Taru Karttunen
2009-04-16 14:24:10 +02:00
Carsten Dominik d288e665dc org-exp-bibtex.el: Allow multiple citation keys per \cite macro
LaTeX supports \cite{key1,key2,...}.  Now org-exp-bibtex.el does as
well.
2009-04-01 12:50:40 +02:00
Carsten Dominik cf71b88515 org-exp-bibtex.el: More improvements
Better error message, more general citation key matching.
2009-03-12 18:26:55 +01:00
Carsten Dominik 9c32f810bd org-exp-bibtex.el: New version with sorting and more. 2009-03-12 12:49:34 +01:00
Carsten Dominik bb7db5f96f New file: Taru Karttunen's org-exp-bibtex.el 2009-03-01 16:47:51 +01:00