Re: [Groff] Formatting algorithm

2014-04-23 Thread Werner LEMBERG
> BTW--does anyone know how KP/TeX handles paragraphs with "spread" > (.brp) lines? You simply insert \penalty -1 to force a line break at this very place (while still retaining justification). On the other hand, the equivalent to `.br' (and the end of a paragraph) is to insert an infin

Re: [Groff] Creating an index with mom

2014-04-23 Thread Peter Schaffter
Denis -- On Thu, Apr 24, 2014, Denis M. Wilson wrote: > 7. I posted previously in this group. See > http://lists.gnu.org/archive/html/groff/2012-09/msg00070.html When I checked the archive for this, the index.tmac and markup.ist are both .bin files. What gives? -- Peter Schaffter http://ww

Re: [Groff] Formatting algorithm

2014-04-23 Thread Ralph Corderoy
Hi Ted, > I think I have to disagree here. For example, in the middle of a > paragraph I may wish to put some text centred on lines by itself, and > this may be in the middle of a sentence -- perhaps a parenthetical > quotation. Or, in technical writing, a displayed equation in the > middle of a s

Re: [Groff] Formatting algorithm

2014-04-23 Thread Peter Schaffter
On Wed, Apr 23, 2014, Ted Harding wrote: > I think some confusion is possibly arising here. See in-line below. > > > Doesn't a paragraph logically conclude at any request which introduces a > > break? Or invocation of any macro which itself invokes such a request? > > (In addition to an empty inp

Re: [Groff] Creating an index with mom

2014-04-23 Thread Denis M. Wilson
Writing index stuff was quite a lot of work, but worth the effort as I've used it quite frequently. Here's my remarks. 1. I used makeindex, which comes with the TeXLive package. 2. It uses a style file, and there are examples in the man page. 3. My macros use .write so troff cannot be used in s

Re: [Groff] Formatting algorithm

2014-04-23 Thread Peter Schaffter
Keith -- On Wed, Apr 23, 2014, Keith Marshall wrote: > > Signalling the end of collected paragraphs can't be done exclusively > > within macros because, unlike SGMLs, paragraph macros in groff > > generally aren't closed. > > Doesn't a paragraph logically conclude at any request which introduces

Re: [Groff] Formatting algorithm

2014-04-23 Thread Ted Harding
I think some confusion is possibly arising here. See in-line below. On 23-Apr-2014 20:45:10 Keith Marshall wrote: > On 22/04/14 20:40, Peter Schaffter wrote: >> On Tue, Apr 22, 2014, Ulrich Lauther wrote: >>> Well of course not. A paragraph ends, e.g. when an empty line is >>> seen. Probably the

Re: [Groff] Creating an index with mom

2014-04-23 Thread Keith Marshall
On 22/04/14 18:31, Peter Schaffter wrote: > I have an aversion to LISP so xindy is out (someone once remarked > that LISP stands for Lost In Superfluous Parentheses), and I'm not > well-versed about makeindex. However, I'm thinking that if Denis > has got indexing working with makeindex, perhaps t

Re: [Groff] Formatting algorithm

2014-04-23 Thread Keith Marshall
On 22/04/14 20:40, Peter Schaffter wrote: > On Tue, Apr 22, 2014, Ulrich Lauther wrote: >> Well of course not. A paragraph ends, e.g. when an empty line is >> seen. Probably there are a whole lot of other conditions. My >> understanding is that formatting takes place after macros have >> been ex