Re: [NTG-context] Rule under length of last line

2006-08-01 Thread Taco Hoekwater
Hans Hagen wrote: The key element is \setlastlinewidth, which measures the width of the final line of the current paragraph. i was thinking of that as a third solution but somehow you trust \setlastlinewidth more than i do -) The cases where it fails are very unlikely to happen in

[NTG-context] Rule under length of last line

2006-07-31 Thread Duncan Hothersall
I've had a last-minute impossible request for a typesetting style, and having already told the person it can't be done in the time available, wondered whether it can actually be done at all. The request is for a subsection heading to have a continuous horizontal rule under both its number and

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Taco Hoekwater
Duncan Hothersall wrote: We generate the ConTeXt code from XML, so ideally a solution wouldn't require the last line to be set separately, but would just work whether the heading was single or multiple line. What I'm really looking for is a subsection setup that will automatically do this

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Hans Hagen
Duncan Hothersall wrote: I've had a last-minute impossible request for a typesetting style, and having already told the person it can't be done in the time available, wondered whether it can actually be done at all. depends on the amount of time, and it the case of customers what they are

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Hans Hagen
Taco Hoekwater wrote: Duncan Hothersall wrote: We generate the ConTeXt code from XML, so ideally a solution wouldn't require the last line to be set separately, but would just work whether the heading was single or multiple line. What I'm really looking for is a subsection setup that will

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Duncan Hothersall
Wow, very cool. Will adapt and wikify. Thanks - it's even better to say no and then do it anyway. :) Thanks again. Duncan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context