bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/tmac/groff_me.man: Some formatting changes in the manual


From: Bjarni Ingi Gislason
Subject: /tmac/groff_me.man: Some formatting changes in the manual
Date: Sat, 16 Nov 2013 21:52:42 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

                           Groff Bug Report

GROFF VERSION:
1.22.2 (current-groff from 17th October 2013)

MACHINE:
laptop (i586)

OS:
GNU/Linux 3.2.46-1-rt67-1; Debian 7.2 (wheezy)

COMPILER:
gcc 4.7.2 (Debian 4.7.2-5)

INPUT FILES:

  .../groff-curent/tmac/groff_me.man

COMMAND LINE:
groff -b -ww -mandoc -t -z

DESCRIPTION OF INCORRECT BEHAVIOUR OR FAULTY INPUT (SOURCE):

groff:tbl:<standard input>:57: excess data entry `center next n lines' discarded


  Changes:

  A full stop, that begins or ends a string, protected with \&

  Removed a tab in a table

  Changed ".tr &." into a comment

  Made text in a table to be only left adjusted

  Removed indent for "nroff" with "short lines"

  Defined last column to be wider than default

  Removed "expand" in a table, as it only increases (or decreases) the
column gutter

SUGGESTED FIX [optional]:

  Patch:

--- groff_me.man        2013-11-15 01:23:04.000000000 +0000
+++ groff_me.man.new    2013-11-16 02:26:10.000000000 +0000
@@ -46,7 +46,7 @@ Many
 .I troff
 requests are unsafe in conjunction with
 this package, however, these requests may be used with
-impunity after the first .pp:
+impunity after the first \&.pp:
 .TS
 l l.
 \&.bp  begin new page
@@ -54,7 +54,7 @@ l l.
 \&.sp n        insert n spacing lines
 \&.ls n        (line spacing) n=1 single, n=2 double space
 \&.na  no alignment of right margin
-\&.ce n                center next n lines
+\&.ce n        center next n lines
 \&.ul n        underline next n lines
 .TE
 .PP
@@ -74,19 +74,28 @@ is acceptable as input.
 .BR groff (1),
 .BR troff (1)
 .br
-\-me Reference Manual, Eric P. Allman
+\-me Reference Manual, Eric P.\& Allman
 .br
 Writing Papers with Groff Using \-me
-.tr &.
+.\" Unnecessary, as ".tr" does not change the output, as all '&' are '\&'
+.\".tr &.
 .SH REQUESTS
 This list is incomplete;
 see
 .I "The \-me Reference Manual"
 for interesting details.
 .PP
+.ad l
+.ie n \{\
+.  if (\n(.lu < 80m) \{\
+.    in 0u
+.  \}
+.  nr llength (\n(.lu-(11n+7n+6n+(3*3n)))
+.\}
+.el .nr llength (\n(.lu-(11n+7n+6n+(3*3n))-3m)
+.
 .TS
-expand;
-l l l l.
+l l l lw(\n[llength]u).
 Request        Initial Causes  Explanation
        Value   Break
 _
@@ -124,7 +133,7 @@ or
 T}
 \&.+c \fIT\fR  \-      yes     T{
 Begin chapter (or appendix, etc., as
-set by .++).
+set by \&.++).
 .I T
 is the chapter title.
 T}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]