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.

For a conference I have to put the references in \bibitem format. After, Googling I came up with this solution by Web page:

Create a refs.bib file with all the BibTeX entries, which are easily available from Google Scholar or similar

Create a “dummy” .tex file with the following entries:

\documentclass{article}
\begin{document}
\nocite{*}
\bibliography{refs}
\bibliographystyle{plain}
\end{document}

Now, do the following:

$ latex dummy
$ bibtex dummy
$ bibtex dummy
$ latex dummy

You will see a dummy.bbl file containing all your BibTeX entries in \bibitem format.

but, the expected results was not observed for me. Any other solution or the problem with the mentioned process.

share|improve this question
2  
Do you have a refs.bib file? If yes, it should work, but you have to run latex twice after bibtex. See also this answer of mine. –  karlkoeller Jul 21 '13 at 10:04
    
The third step should be latex not bibtex. Just keep compiling :) –  percusse Jul 21 '13 at 10:06
    
@karlkoeller, I have checked it and exected number of times and also used the version of yours but i could not get the expected result. I have put the data in dropbox please check, maybe there is a problem with my software dropbox.com/sh/ns5at0pgyky5t2i/0tjZmBmSDR –  Topdombili Jul 21 '13 at 10:49
    
@percusse, I have changed as you mentioned but no result. –  Topdombili Jul 21 '13 at 10:50
1  
The problem is that your file is biblio.bib.txt and not biblio.bib. Rename it. Also remove the non-needed stuff after \end{document} in the .tex file. –  karlkoeller Jul 21 '13 at 10:54

1 Answer 1

up vote 6 down vote accepted

I agree white general process explained in the comments, but it think that they don't fully address the final task that you must do you for the conference, which very likely want a single self contained .tex file.

Let's assume that you have mypaper.tex which is your text with some \cite{<key>} and a refs.bib file. Then :

Firstly put in mypaper.tex the two lines :

\bibliography{refs}
\bibliographystyle{plain}

Secondly run (instead of using the \nocite which has two drawbacks: (1) ordering as in refs.bib and (2) cites refs. that are not \cite-d in your paper) :

(pdf)latex mypaper
bibtex mypaper

If this step is successful you will get mypaper.bbl containing the bibitem-s and a mypaper.blg which is BiBTeX's log file. (Nota : latex reads the mypaper.tex but bibtex reads the mypaper.aux created by latex).

Thirdly (optional but recommended) make sure that all the reference are correctly inserted and displayed in the file with : (pdf)latex mypaper

Fourthly, open mypaper.tex, comment out or discard the two \biblio... lines and paste the whole content of mypaper.bbl at the place where you want to get the bibliography. You then have the final self-contained file You can run (pdf)latex mypaper at least two times to get the final .dvi or .pdf.

Note: you use plain as the format, which looks strange for me. Actually each conference/organization generally has its own .bst style file which produces \bibitem formated accordingly to their editorial rules. More specifically, make sure that you need an alphabetical-ordered or a citation-ordered bibliography. In the later case, you must use the unsrt.bst (or a variant) in place of plain.bst.

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.