changeset 98:d894191d7a33

style: Changed the block quote approach. New QS and QE.
author markus schnalke <meillo@marmaro.de>
date Sat, 16 Jun 2012 17:43:11 +0200
parents 29a7454fcded
children 468c2bdc6b1a
files ch03.roff style
diffstat 2 files changed, 38 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/ch03.roff	Sat Jun 16 17:28:11 2012 +0200
+++ b/ch03.roff	Sat Jun 16 17:43:11 2012 +0200
@@ -851,13 +851,14 @@
 The man page
 .Mp mh-tailor(5)
 described the use case as being the following:
-.QP
+.QS
 This is useful if you want the messages you send to always
 appear to come from the name of an MTA alias rather than your
 actual account name.  For instance, many organizations set up
 `First.Last' sendmail aliases for all users.  If this is
 the case, the GECOS field for each user should look like:
 ``First [Middle] Last <First.Last>''
+.QE
 .P
 As mmh sends outgoing mail via the local MTA only,
 the best location to do such global rewrites is there.
@@ -966,8 +967,7 @@
 .[ [
 rose romine real work
 .], p. 12]
-.sp
-.QP
+.QS
 A complaint often heard about systems which undergo substantial development
 by many people over a number of years, is that more and more options are
 introduced which add little to the functionality but greatly increase the
@@ -977,7 +977,7 @@
 Unfortunately MH, having undergone six years of off-and-on development by
 ten or so well-meaning programmers (the present authors included),
 suffers mightily from this.
-.sp
+.QE
 .P
 Being reluctant to adding new switches \(en or `options',
 as Rose and Romine call them \(en is one part of a counter-action,
@@ -1140,12 +1140,12 @@
 .Mp burst (1)
 man page reads:
 .sp \n(PDu
-.QP
+.QS
 If -noinplace is given, each digest is preserved, no table
 of contents is produced, and the messages contained within
 the digest are placed at the end of the folder. Other messages
 are not tampered with in any way.
-.sp \n(PDu
+.QE
 .LP
 The decision to drop the
 .Sw -inplace
@@ -1471,15 +1471,16 @@
 This switch had introduced an awkward behavior, as explained in nmh's
 man page for
 .Mp comp (1):
-.QP
-The \-editor editor switch indicates the editor  to  use  for
-the  initial  edit.  Upon exiting from the editor, comp will
-invoke the whatnow program.  See whatnow(1) for a discussion
-of available options.  The invocation of this program can be
-inhibited by using the \-nowhatnowproc switch.  (In truth  of
-fact,  it  is  the  whatnow program which starts the initial
-edit.  Hence, \-nowhatnowproc  will  prevent  any  edit  from
+.QS
+The \-editor editor switch indicates the editor to use for
+the initial edit. Upon exiting from the editor, comp will
+invoke the whatnow program. See whatnow(1) for a discussion
+of available options. The invocation of this program can be
+inhibited by using the \-nowhatnowproc switch. (In truth of
+fact, it is the whatnow program which starts the initial
+edit. Hence, \-nowhatnowproc will prevent any edit from
 occurring.)
+.QE
 .P
 Effectively, the
 .Sw -nowhatnowproc
@@ -1550,7 +1551,7 @@
 of
 .Pn refile
 was removed because what use was it anyway?
-.QP
+.QS
 Normally when a message is refiled, for each destination
 folder it is assigned the number which is one above the current
 highest message number in that folder. Use of the
@@ -1559,6 +1560,7 @@
 particular folder occurs when using the \-preserve switch,
 then refile will use the next available message number which
 is above the message number you wish to preserve.
+.QE
 .BU
 The removal of the
 .Sw -[no]reverse
--- a/style	Sat Jun 16 17:28:11 2012 +0200
+++ b/style	Sat Jun 16 17:43:11 2012 +0200
@@ -274,21 +274,34 @@
 .IP \(bu
 ..
 
-.	\" QP - Block quote paragraph
-.de QP
+.	\" QS - Block quote start
+.de QS
 .ti \\n(.iu
-.if \\n(QP .nr Qp 1
 .RT
-.sp \\n(PDu
+.sp 2u*\\n(PDu
 .ne 1.1
 .ps -1
 .in +\\n(QIu
 .ll -\\n(QIu
 .ti \\n(.iu
-.if \\n(Qp .ti +\\n(PIu
-.if \\n(TM .ls 1
-.nr QP 1
-.rr Qp
+.\"if \\n(Qp .ti +\\n(PIu
+.\"nr QP 1
+.\"rr Qp
+..
+
+.	\" QP - Block quote paragraph
+.de QP
+.sp \n(PDu
+.ne 1.1
+.ti +\\n(PIu
+..
+
+.	\" QP - Block quote end
+.de QE
+.sp \\n(PDu
+.in -\\n(QIu
+.ll +\\n(QIu
+.ti \\n(.iu
 ..
 
 .	\" DS - Code display