TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to tell bibtex to use a file with a specific extension?

If you do \bibliography{mybib.org}, then bibtex simply looks for a file called mybib.org.bib. Is there any way to avoid the .bib extension?

Using texlive 2011-1.

share|improve this question
TeX has no interest in the file *.bib -- The compiler bibtex uses the file to create your bibliography file with the extension bbl. – Marco Daniel Mar 1 '13 at 14:46
Not with BibTeX; it requires the .bib extension. – egreg Mar 1 '13 at 14:51
If you're managing your bib files in Emacs org-mode, you can give the file a .bib ending and add a local variable to the file to tell Emacs to consider it to be an org file. – Tyler Mar 1 '13 at 14:59
@Tyler I rarely need to edit the actual entries, which is why bibtex-mode isn't that useful for me. The actual bibtex entry goes on a sub-headline (called ** Bibtex) inside each paper's headline. That way it is nicely hidden away from view, and I can focus on the title and notes I've made about the paper. Since the entry never starts with a * it doesn't bother org-mode in any way. And since bibtex just completely ignores everything outside the bib-entries, they both play nice with each other. – Malabarba Mar 1 '13 at 15:38
That sounds interesting. I keep an enormous single .bib file, with my notes embedded in a comments field within the entry. It's easily searched using bibtex-mode, but is becoming unwieldy. Could you post an example of your bib.org layout somewhere? I'd be very interested in seeing it. – Tyler Mar 1 '13 at 15:52
up vote 4 down vote accepted

The compilation by bibtex doesn't allow such a combintion. The help function of the compiler demonstrates it:

localhost:~ marco$ bibtex --help
Usage: bibtex [OPTION]... AUXFILE[.aux]
  Write bibliography for entries in AUXFILE to AUXFILE.bbl,
  along with a log file AUXFILE.blg.
-min-crossrefs=NUMBER  include item after NUMBER cross-refs; default 2
-terse                 do not print progress reports
-help                  display this help and exit
-version               output version information and exit
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.