# [NTG-context] Overfull boxes in bibliography

Alan Braslau alan.braslau at cea.fr
Wed Sep 28 13:29:31 CEST 2016

Hello,

It turns out that "alignment" of the bibliography lists does not take the document global settings, but rather, like in other cases such as a framed environment, alignment is reset to the default value: strict alignment does not give the best results for the bibliography list rendering, so I have now set this is the various style specifications to be "{verytolerant,stretch}".

Awaiting that this correction be propagated, one can add

\setupbtxlist
[aps] % for example
[align={normal,verytolerant,stretch}]

in your setup. There should then be no need for overfill boxes.

Alan

> On Aug 30, 2016, at 00:23, Henri Menke <henrimenke at gmail.com> wrote:
>
> Dear list,
>
> I noticed, that even though I set \version[temporary] to make overfull boxes visible, they were not marked with an overfullrule in the bibliography.  Below you find a minimal example which reproduces the problem on TL 2016.  First I typeset the entry by hand where the black rectangle shows up in the margin, then I format it automatically using \placelistofpublications where no box is shown.
>
> How can I have overfull boxes highlighted in the bibliography?
>
> Many thanks, Henri
>
> ---
>
> \startbuffer[biblio]
> @article{Heisenberg1926,
>  author = {Heisenberg, W.},
>  title = {Mehrk\"orperproblem und Resonanz in der Quantenmechanik},
>  journal = {Zeitschrift f\"ur Physik},
>  year = {1926},
>  volume = {38},
>  number = {6},
>  pages = {411--426},
>  issn = {0044-3328},
>  doi = {10.1007/BF01397160},
>  url = {http://dx.doi.org/10.1007/BF01397160}
> }
> \stopbuffer
>
> \version[temporary]
> \setuppapersize[A5][A5]
>
> \usebtxdataset[biblio.buffer]
> \usebtxdefinitions[aps]
>
> \starttext
>
> \showframe
>
> \setupitemize[left={[},right={]},width=3em,stopper=]
> \startitemize[n]
> \item W. Heisenberg, Mehrkörperproblem und Resonanz in der
>  Quantenmechanik, {\em Zeitschrift für Physik} {\bf 38}(6), 411--426 (1926).
> \stopitemize
>
> \nocite[Heisenberg1926]
> \placelistofpublications
>
> \stoptext
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________