Take the 2-minute tour ×
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.

When answering this question about CV reference lists I thought it would be helpful if there was a "dummy" bib file that I could include. Is there a package like lipsum or blindtext for bib files?

share|improve this question
add comment

2 Answers

up vote 17 down vote accepted

I think any BibTeX installation will have this one available

 texmf-dist/bibtex/base/xampl.bib

That is (in texlive at least) in the default path so you can do:

\documentclass{article}


\bibliographystyle{plain}
\begin{document}
\nocite*

\bibliography{xampl}

\end{document}

or cite a specific entry such as

@ARTICLE{article-minimal,
   author = {L[eslie] A. Aamport},
   title = {The Gnats and Gnus Document Preparation System},
   journal = {\mbox{G-Animal's} Journal},
   year = 1986,
}
share|improve this answer
    
I found it (and a bunch of other bib files), but they were based in texmf-dist/bibtex/bib/ for my TeXLive 2011. –  StrongBad May 28 '12 at 12:39
1  
yes that's where they were in mine but texlive's texmf.cnf puts those directories in the bibtex path so if you latex/bibtex the latex file as posted, then bibtex should find the .bib file. % BibTeX bibliographies and style files. bibtex8 also uses these. BIBINPUTS = .;$TEXMF/bibtex/bib// BSTINPUTS = .;$TEXMF/bibtex/{bst,csf}// –  David Carlisle May 28 '12 at 12:52
add comment

Users of biblatex may add

\addbibresource{biblatex-examples.bib}

to their preamble and hereby make available a sample bibliography with about 70 entries. However, this .bib file uses biblatex-specific field types like journaltitle and therefore is not suitable for users of traditional BibTeX/.bst files.

share|improve this answer
add comment

Your Answer

 
discard

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.