Re: [NTG-context] some difficulties with btxlist

2016-04-25 Thread Pablo Rodriguez
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___

[NTG-context] some difficulties with btxlist

2016-04-24 Thread Thomas A. Schmitz

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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___