[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Formatting algorithm
From: |
Peter Schaffter |
Subject: |
Re: [Groff] Formatting algorithm |
Date: |
Wed, 23 Apr 2014 18:00:10 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 a
> break? Or invocation of any macro which itself invokes such a request?
> (In addition to an empty input line, or one with leading white space,
> which implies a break?) All of these exhibit one common feature: the
> introduction of the break.
Quite so. Not sure what I was imagining when I wrote my original
comment. Must be this 'flu I've come down with.
> Of course, in the interests of semantic markup, it may be useful to have
> a macro which would explicitly mark the end of a paragraph, but would
> such a macro not be a semantic element of the particular macro package
> which provides it?
Absolutely. Semantics belong in the realm of macros. But, as you
point out, any request or macro causing a break signals the end of
a paragraph, so there's really no need for an end-of-para macro,
even for semantic clarity. Such a beast would, IMO, introduce
superfluous fussiness into source files.
--
Peter Schaffter
http://www.schaffter.ca
- Re: [Groff] Formatting algorithm, (continued)
- Re: [Groff] Formatting algorithm, Keith Marshall, 2014/04/23
- Re: [Groff] Formatting algorithm, Ted Harding, 2014/04/23
- Re: [Groff] Formatting algorithm, Peter Schaffter, 2014/04/23
- Re: [Groff] Formatting algorithm, Werner LEMBERG, 2014/04/24
- Re: [Groff] Formatting algorithm, Ulrich Lauther, 2014/04/24
- Re: [Groff] Formatting algorithm, Ralph Corderoy, 2014/04/25
- Re: [Groff] Formatting algorithm, Peter Schaffter, 2014/04/25
- Re: [Groff] Formatting algorithm, Steffen Nurpmeso, 2014/04/24
- Re: [Groff] Formatting algorithm, Ralph Corderoy, 2014/04/23
- Re: [Groff] Formatting algorithm, Keith Marshall, 2014/04/24
- Re: [Groff] Formatting algorithm,
Peter Schaffter <=
Re: [Groff] Formatting algorithm, Denis M. Wilson, 2014/04/14
Re: [Groff] Formatting algorithm, Doug McIlroy, 2014/04/25