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.

I am asking this question, because there does not seem to be an easy way in LaTeX to solve this problem: two documents sharing same reference numbering.

My question: Is it possible to order a bibliography according to the order of appearance in a LaTeX document.

What I originally wanted to do is mentioned in the link above, but as a workaround I would like to presort the references according to order of appearance in one document and give them the same citation numbers in the other document. I could then use \nocite{*} to the same bibliography in both documents with the same reference-numbers.

share|improve this question
2  
1  
Very short answer (beside looking at the previous links provided by cmhugues) : use biblatex and specify the presort field. –  Martigan Jan 6 '12 at 9:13

1 Answer 1

This question is much easier than the other.

You can get the bibliography in order of appearance with

\bibliographystyle{unsrt}

if not using biblatex, or with the option sorting=none to biblatex. Say that your main document is sebastianmain.tex. Compile it and run bibtex (or biber).

Don't load any package for the bibliography in the secondary document and say

\input{sebastianmain.bbl}

where the bibliography should appear; or

\begin{lrbox}{0}\input{sebastianmain.bbl}\end{lrbox}

if you don't want the bibliography to appear. In the secondary document you can use the same keys as in the main one.

share|improve this answer

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.