The command \setbreakpoints
is made for that. Setting \setbreakpoints [compound]
enables a break point after /
, +
, (
, )
and -
. For more information see ConTeXt wiki Composed words.
Example:
\setuplayout [width=4cm]
\starttext
Lorem/ipsum/dolor/sit/amet,/consectetur/adipisicing/elit,/sed/%
do/eiusmod/tempor/incididunt/ut/labore/et/dolore/magna/aliqua.
\setbreakpoints [compound]
\blank
Lorem/ipsum/dolor/sit/amet,/consectetur/adipisicing/elit,/sed/%
do/eiusmod/tempor/incididunt/ut/labore/et/dolore/magna/aliqua.
\stoptext
You might want to try the following modification of the bibliography environment.
The bibliography will be printed unindented (\noindent
), the \unspace
removes the last space added in the bibliography, the \printtext
part adds the label number followed by a space.
\defbibenvironment{bibliography}
{\noindent}% or {} if you like indentation
{\unspace}
{\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}%
\addspace}
If you use this, however, there will be no space before the label, we can add it by
\renewbibmacro*{finentry}{\finentry\addspace}
The MWE
\documentclass{article}
\usepackage[firstinits=true,backend=bibtex,doi=false,isbn=false,url=false]{biblatex}
\AtEveryBibitem{%
\clearfield{pages}%
}
\renewcommand{\bibfont}{\normalfont\footnotesize}
\addbibresource{biblatex-examples.bib}
\defbibenvironment{bibliography}
{\noindent}
{\unspace}
{\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}%
\addspace}
\renewbibmacro*{finentry}{\finentry\addspace}
\begin{document}
\cite{wilde,shore,springer}
\printbibliography[heading=none]
\end{document}
yields
As you can see, this is not very clear and well arranged, so I would advise against doing this - especially in long bibliography lists.
Following jon's suggestion in the comment below, this might be better.
We add more space between the entries (a \quad
) and print the label in bold.
\documentclass{article}
\usepackage{lmodern}
\usepackage[firstinits=true,backend=bibtex,doi=false,isbn=false,url=false]{biblatex}
\AtEveryBibitem{%
\clearfield{pages}%
}
\renewcommand{\bibfont}{\normalfont\footnotesize}
\addbibresource{biblatex-examples.bib}
\defbibenvironment{bibliography}
{\noindent}
{\unspace}
{\printtext[bold]{%
\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}}%
\addspace}
\renewbibmacro*{finentry}{\finentry\quad}
\begin{document}
\cite{wilde,shore,springer}
\printbibliography[heading=none]
\end{document}
Best Answer
My solution is to add a 0pt hspace.