# biblatex biber to \bibitem

I am a LaTeX really entusiastic newbie. Thus I am writing all my reports and articles using this wonderful tool. Unfortunately the editors of scientific review do not all have the same entusiasm concerning LaTeX. I plan to submit my future paper in the ICES Journal of Science which (fortunately or not) has a kind of LaTeX template available online (http://www.oxfordjournals.org/our_journals/icesjms/ices.zip) and guidelines available here (http://www.oxfordjournals.org/for_authors/latex.html).

My main problem is concerning bibliography. In all my writing I use biblatex with in the preamble:

\usepackage[style=authoryear,
firstinits=true,
uniquename=false,
uniquelist=false,
maxcitenames=2,
maxbibnames=7,
backend=biber]{biblatex}.


In the text I call citation using \autocite, \textcite, \citeauthor and \citeyear.

As requested by the journal I tried to convert my bibliography into a \bibitem list. I went to check the .bbl file as advised online but the structure seemed really complicated and nowhere \bibitem was mentionned. I found online some method that I managed to make work in my case by creating a dummy .tex file:

\documentclass{article}
\begin{document}
\nocite{*}
sdryfj
\bibliography{BIB.testbib.bib}
\bibliographystyle{plain}
\cite{NumR}
\end{document}


I run some compilation and got a .bbl file with \bibitems list. I thought I was seeing the end of it and paste this list in thebibliography environment at the end of my document.

Unfortunately all my citations references (\autocite etc..) seems to not be compatible with this different way of bibliography input. In addition, all the references are printed cited or not....

I was wondering if there is a way to reach the same results directly from biber biblatex so I would not have to modify my document too much...

Xochitl C.

PS: I also tried to redefine commands like this but it did not work:

\renewcommand{\autocite}{\cite}

\renewcommand{\citeauthor}{\cite}

\renewcommand{\citeyear}{\cite}

\renewcommand{\textcite}{\cite}

-
A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). You can also use backticks  to mark your inline code as I did in my edit. –  Adam Liter Jan 15 at 15:49
Thank you for the tips and the edit :) –  Xochitl C. Jan 15 at 16:25
Does Biblatex: submitting to a journal help you? Unfortunately, the answer there is: It is quite complicated. –  moewe Jan 18 at 8:33
Thank you for the thread. §Unfortunately it doesn't really help as my journal specify it wants the references with \bibitem structure and I dont think that's what the other code does. I did manage to convert my biblatex into bibitem but cannot deal with the reference in the text.... Any clue? –  Xochitl C. Jan 20 at 9:19

I have found a somewhat more or less complex workaround, which I hope helps you at least a little bit. Consider this MWE, I will call main.tex

\begin{filecontents}{\jobname.bib}
@BOOK{testA,
author = {A. Uthor},
title = {A title},
year = {2014},
publisher = {A Company}
}
@BOOK{testB,
author = {B. Uthor},
title = {B title},
year = {2014},
publisher = {B Company}
}
@BOOK{testC,
author = {C. Uthor},
title = {C title},
year = {2014},
publisher = {C Company}
}
@BOOK{testD,
author = {D. Uthor},
title = {D title},
year = {2014},
publisher = {D Company}
}
\end{filecontents}

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=authoryear,
firstinits=true,
uniquename=false,
uniquelist=false,
maxcitenames=2,
maxbibnames=7,
backend=biber]{biblatex}

\begin{document}
Initial order in the bib file was A, B, C and D.

We will cite D\cite{testD} first, then A\cite{testA} and B\cite{testB} and C not at all.

You can refer to A\cite{testA} again.

\printbibliography
\end{document}


This will result in

I will assume your document will compile without error, so you can run the following command:

biber --output_format=bibtex main[.bcf]


This will create a file main_biber.bib in which all references are sorted according to the biblatex style you chose. Compare here.

Then create the following dummy.tex file:

\documentclass{article}
\begin{document}
\nocite{*}
\bibliography{main_biber.bib}
\bibliographystyle{unsrt}
\end{document}


Note: main_biber.bib was created automagically. Use unsrt to keep the order created by biber. See here.

Run the following commands: pdflatex dummy; bibtex dummy

This will create a file dummy.bbl in the bibitem format. Clean your initial main.tex of all biblatex stuff and append dummy.bbl. For convenience this will be called newmain.tex and should look like this:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\begin{document}
Initial order in the bib file was A, B, C and D.

We will cite D\cite{testD} first, then A\cite{testA} and B\cite{testB} and C not at all.

You can refer to A\cite{testA} again.

\begin{thebibliography}{1}

\bibitem{testD}
D.~Uthor.
\newblock {\em D title}.
\newblock D Company, 2014.

\bibitem{testA}
A.~Uthor.
\newblock {\em A title}.
\newblock A Company, 2014.

\bibitem{testB}
B.~Uthor.
\newblock {\em B title}.
\newblock B Company, 2014.

\end{thebibliography}

\end{document}


It will then change to a numerical citation order, but I think that will be dealt with by the journal editors. Run pdflatex (at least twice) and you will obtain:

I just saw, that you still have to (re)define any biblatex citations you use to match \cite. Of course most/all of the perks of biblatex are removed by all of this. –  Martin Jan 21 at 3:18
Hi! thank you for the help. 2 questions: What does mean : biber --output_format=bibtex main[.bcf]? I think it's some code used while using Linux but I am using Windows and do not really understand what to do. Is there a way to redefine biblatex citations to match \cite automatically without having to go trought the text? I try renewcommand but it was giving me errors. Thanks! –  Xochitl C. Jan 21 at 8:43
What tools do you use in windows? They probably come with a build in terminal editor. You may be able to run biber from the commandline, which you can get with cmd (search in startmenu). 2) Because you have to remove all biblatex stuff, the \*cite commands are not available, you have to define them with \newcommand{\autocite}[1]{\cite{#1}}` of course any biblatex functionality is lost therefore. –  Martin Jan 21 at 10:31