Re: [Groff] figurate text in groff and TeX

2015-10-10 Thread Ralph Corderoy
Hi Doug, > But my actual question about figurate text was how in Tex (as distinct > from the Knuth line-breaking paper) would one specify the shape of a > non-rectangular paragraph, in which line length varies as some > function of vertical position. I could be going over old ground here, and my

Re: [Groff] figurate text in groff and TeX

2015-10-10 Thread Doug McIlroy
> Is there a shaping method which provides optimal spacing whilst using traps? In priniciple, yes, but I haven't heard a better way of doing it than the multiprocess dynamic program that I once outlined on this mailing list; everyone guesses this would be too costly to run. This is a real challe

Re: [Groff] figurate text in groff and TeX

2015-10-07 Thread Boss Hog
Is there a shaping method which provides optimal spacing whilst using traps?

Re: [Groff] figurate text in groff and TeX

2015-09-25 Thread carsten . kunze
Hello Doug, > Examples of figurate text appear in Knuth's paper on > the placement of line breaks. How would the changing indent > and length parameters be expressed in TeX? this is in general described in the TeXbook on page 101 for the \parshape command. There one can set \parshape=n i1 l1 i2

[Groff] figurate text in groff and TeX

2015-09-25 Thread Doug McIlroy
Suppose one wants to control the shape of filled text so it fits in a figure, for example a triangle or disc. In groff one would set a trap to change indent and/or line length on every line. The traps could be set all at once in advance, or more elegantly by a self-resetting trap macro. Examples