BibTeX, biblatex and biberremoving line breaks in bibliography

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
s0198362
Posts: 9
Joined: Sun Dec 21, 2008 10:23 pm

removing line breaks in bibliography

Post by s0198362 »

Hi.

I want to remove the line breaks in my bibliography so that the citation style would be as follows

[1]a reference. [2] a second reference. [3] etc.

rather than

[1]a reference.
[2]a second reference.
[3]etc.


Is there an easy way to do this using Bibtex?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

removing line breaks in bibliography

Post by localghost »

Perhaps you can make a find in the TeX Catalogue [1]. It lists several tools for bibliography management.

[1] The TeX Catalogue Online, Topic Index - Tools for managing your Bibliography


Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
rfk46
Posts: 2
Joined: Thu Oct 15, 2009 8:12 pm

removing line breaks in bibliography

Post by rfk46 »

To create a references list with no line breaks (a single paragraph), you can do this:

Code: Select all

\documentclass[...options...]{article}
\usepackage[...options...]{biblatex}
\usepackage[...options...]{paralist}
\bibliography{your_bib_file}

% for bibliography formatting via paralist enum environment
\renewenvironment*{thebibliography}{
   \pointlessenum
   \begin{inparaenum}
   \renewcommand\makelabel[1]{  \textbf{[##1]}}
}{\end{inparaenum}}

\begin{document}

words \cite{yourPaper09}

more words \cite{anotherPaper08}

\printbibliography
\end{document}
See
http://www.ctan.org/tex-archive/macros/ ... /paralist/
http://www.ctan.org/tex-archive/macros/ ... /biblatex/
for more info and options.

Rich
istvanlatex
Posts: 1
Joined: Wed Oct 12, 2011 8:29 pm

removing line breaks in bibliography

Post by istvanlatex »

Dear participants,

I have tried to get rid of line brakes in bibliography.
I use a mac and I've downloaded livetex or mactex.

As suggested on this forum I used the following

Code: Select all

\documentclass[...options...]{article}
\usepackage[...options...]{biblatex}
\usepackage[...options...]{paralist}
\bibliography{your_bib_file}

% for bibliography formatting via paralist enum environment
\renewenvironment*{thebibliography}{
\pointlessenum
\begin{inparaenum}
\renewcommand\makelabel[1]{ \textbf{[##1]}}
}{\end{inparaenum}}

\begin{document}

words \cite{yourPaper09}

more words \cite{anotherPaper08}

\printbibliography
\end{document}
as suggested but, the references still appear as traditionally, i.e. numbered and each on new line.
Can anybody help?

I use latexshop for editing and I first latex the source file, then bibtex-it and then latex it again twice. The references appear in the text but in the ref section, the line breaks are still on as nothing has happened.

Many thanks in advance for any help or suggestions,

Istvan.
Post Reply