From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1258 Path: main.gmane.org!not-for-mail From: ecashin@coe.uga.edu (Ed L. Cashin) Newsgroups: gmane.comp.tex.context Subject: "A complex index" in _Digital Typography_ Date: 15 Nov 1999 15:17:35 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035392088 31169 80.91.224.250 (23 Oct 2002 16:54:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:54:48 +0000 (UTC) Original-To: NTG-ConTeXt mailing list Xref: main.gmane.org gmane.comp.tex.context:1258 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1258 Hi. In reading Knuth's _Digital Typography_ at lunch today, I came across a section of the "Breaking Paragraphs into Lines" chapter that relates directly to a difficulty in a project I'm doing. In the section "A complex index", pp. 98ff., it describes a way to do line breaking on an index entry such that the "name" part (on the left) is ragged right and the "reference" part (on the right) is ragged left, like this: | | | foo bar baz and even more........... 1100, 2000, 3300 | | | | | | foo bar baz and even more ...... | | 1100, 2000, 3300 | | | | | | foo bar baz and | | even more | | .... 1100, 2000, | | 3300 | | | I was planning on using perl to doctor the input text so that such complex line-breaking decisions were unnecessary, but I'm wondering now whether this might be something that people have already tackled. Is there support in ConTeXt for such complex line breaking strategies? The criteria Knuth (and Plass) describe in the "A complex index" section are pretty involved. -- --Ed Cashin PGP public key: ecashin@coe.uga.edu http://www.coe.uga.edu/~ecashin/pgp/