![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
Hi all (in particular Hans and Alan...), I'm finishing a book project where I'm using the new bibliographic system. Everything is working as it should, but I have two problems with line breaks: 1. Page numbers in ranges are separated by an n-dash (as in: 234–567). It looks as though ConTeXt doesn't break lines at this n-dash. I'm sure there must be an easy way to tell TeX that this is a legitimate breakpoint (short of inserting some \penalty manually after every n-dash), but I can't figure it out myself. 2. For the bibliographic list, there remain some bad line breaks that cannot be avoided; for these cases, I have added \setuptolerance[verytolerant,stretch] and expected to see no lines extending into the margin (at the cost of some ugliness). But there are still some overfull lines. Does the list have its own tolerance setting somewhere? Thanks, and best Thomas
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 04/24/2016 11:51 PM, Thomas A. Schmitz wrote:
Hi all (in particular Hans and Alan...),
I'm finishing a book project where I'm using the new bibliographic system. Everything is working as it should, but I have two problems with line breaks:
1. Page numbers in ranges are separated by an n-dash (as in: 234–567). It looks as though ConTeXt doesn't break lines at this n-dash. I'm sure there must be an easy way to tell TeX that this is a legitimate breakpoint (short of inserting some \penalty manually after every n-dash), but I can't figure it out myself.
Hi Thomas, this should do the trick: \definebreakpoint [compound] [—]% em-dash \definebreakpoint [compound] [–]% en-dash \setbreakpoints [compound] I hope it helps, Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Thomas A. Schmitz