Dear all,
I think the answer will be easy, but I cannot manage it myself... i try to avoid that latex creates a new line after each reference in unsrt.bst. However, I cannot find what to change in this particular file, or should i change more than only something in this file.
Thanks for your help!
Erik
BibTeX, biblatex and biber ⇒ New line in bibliography
NEW: TikZ book now 40% off at Amazon.com for a short time.

New line in bibliography
Hi,
You'll have to search for in the .bst and delete it in the appropriate places. But - for me - editing .bst's is quite tricky.
However, you could at least test it
So not sure if this works and solves your problem.
Good luck,
jocom
You'll have to search for
Code: Select all
newline$
However, you could at least test it

So not sure if this works and solves your problem.
Good luck,
jocom
New line in bibliography
If Erikve wants all the references in a single paragraph, I don't think it's enough to change the bibliography style. Instead one needs to redefine the thebibliography environment and the bibitem macro. If it's OK to also change the bst file the following seems to work. Change the function "fin.entry" to (remember to save the changed style under a new filename!)In the preamble of the latex file add
If you don't want to change the .bst file it's a bit more tricky. The simplest thing I've come up with is something like(with the rest of the code as above). However, I would personally prefer a ragged right margin here, but I'm not sure how to get it since I need to redefine \par to get it to ignore the empty line between each \bibitem entry in the .bbl file. Does anyone have a nicer way to do this?
Code: Select all
FUNCTION {fin.entry}
{ add.period$
write$
}
Code: Select all
\makeatletter
\newcounter{cit@tion}
\renewenvironment{thebibliography}[1]
{\section*{\refname}%
\sfcode`\.\@m%
\flushleft%
}{\endflushleft}
\def\@bibitem#1{%
\ifthenelse{\value{cit@tion}>0}{%
\textbullet\ %
}{}%
\refstepcounter{cit@tion}%
[\thecit@tion]~%
\if@filesw \immediate\write\@auxout{\string\bibcite{#1}{\thecit@tion}}\fi\ignorespaces%
}
\def\@lbibitem[#1]#2{%
\ifthenelse{\value{cit@tion}>0}{%
\textbullet\ %
}{}%
\refstepcounter{cit@tion}%
[#1]~%
\if@filesw \immediate\write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces%
}
\makeatother
Code: Select all
\renewenvironment{thebibliography}[1]
{\section*{\refname}%
\sfcode`\.\@m%
\def\par{}%
\ignorespaces%
}{}%