I'm writing a conference paper that has to be formatted using certain .sty file. For all other work, I'm maintaining one bibliography.bib, I'd like to use here as well. Is it possible?
In the template, such an example of bibliography item inclusion is given:
\begin{thebibliography}{9}
\bibitem{exampleCiteKey}
Smith, John,
\emph{An example reference}.
Publishing House, UK,
2nd Edition,
1998.
\end{thebibliography}
The style definition says:
%%%%%%%
% Bibliography
%
\renewenvironment{thebibliography}[1]
{\section*{\refname
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
\list{\small\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}
\@bibsetup}%
\small\renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
\sloppy\clubpenalty4000\widowpenalty4000%
\sfcode`\.=\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
%% setup 8/10 type
\def\@bibsetup{%\itemindent=0pt
\itemsep=2pt \parsep=0pt \parskip 8pt
\small}
\def\sameauthor{\leavevmode\vrule height 2pt depth -1.6pt width 23pt}
What I normally do in my documents is:
\bibliographystyle{plain} %Style of Bibliography: plain / apalike / amsalpha...
\bibliography{bibliography} %You need a file 'bibliography.bib' for this.
When I tried merging the above two:
\begin{thebibliography}{9}
\bibliography{bibliography}
\end{thebibliography}
I'm getting an error saying \bibliographystyle is missing (adding it causes the bibliography to look different than required by conference organizers). Isn't there a way to use bibliography.bib and make it look as defined in .sty?