bug-groff
[Top][All Lists]
Advanced

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

[bug #51588] [PATCH] src: col_rowspan_colors.roff: variable must be an o


From: Bjarni Ingi Gislason
Subject: [bug #51588] [PATCH] src: col_rowspan_colors.roff: variable must be an odd integer
Date: Wed, 26 Jul 2017 22:46:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?51588>

                 Summary: [PATCH] src: col_rowspan_colors.roff: variable must
be an odd integer
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Thu 27 Jul 2017 02:46:32 AM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:


>From c8144acacaca4746aded9ead8ee36b70d9d5ffbf Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Thu, 27 Jul 2017 02:42:23 +0000
Subject: [PATCH] src: col_rowspan_colors.roff: variable must be an odd
integer

  Also:

  Remove space at end of lines.

  Correct use of ".tm" to include a space at the beginning

  Add a space between a number and an unit.

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
 contrib/hdtbl/examples/col_rowspan_colors.roff | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/contrib/hdtbl/examples/col_rowspan_colors.roff
b/contrib/hdtbl/examples/col_rowspan_colors.roff
index 7f58b918..3c0dae18 100644
--- a/contrib/hdtbl/examples/col_rowspan_colors.roff
+++ b/contrib/hdtbl/examples/col_rowspan_colors.roff
@@ -18,7 +18,7 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
+along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ..
 .
 .if !d sopath \
@@ -38,9 +38,9 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
 .nr # 0
 .color#
 .if \\n[t*cols\\n[t*#]]/2*2=\\n[t*cols\\n[t*#]] \{ .
-.   tmc \\n(.F:\\n(.c: cols was even (\\n[t*cols\\n[t*#]]), 
+.   tmc \\n(.F:\\n(.c: cols was even (\\n[t*cols\\n[t*#]]),
 .   nr t*cols\\n[t*#] +1
-.   tm  increased by one col to \\n[t*cols\\n[t*#]].
+.   tm1 " increased by one col to \\n[t*cols\\n[t*#]].
 .   t*cl \\*[width]
 .   ie "\\*[tal]"r" .nr in\\n[t*#] -\\*[width]\"    recalculate cell widths
etc.
 .   el .if "\\*[tal]"c" .nr in\\n[t*#] -\\*[width]/2
@@ -55,7 +55,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
 .   color#
 .   ds html "".TR height=\\nW" ".TD colspan=\\nI bgc=c\\n#"
 .   color#
-.   as html " ".TD rowspan=\\nI bgc=c\\n#" 
+.   as html " ".TD rowspan=\\nI bgc=c\\n#"
 .   color#
 .   as html " ".TR height=\\nW" ".TD rowspan=\\nI bgc=c\\n#"
 .   color#
@@ -70,14 +70,14 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
 .PN 8 Indented text before table.
 *** *** ***
 .TBL width=90% border=1n csp=1n cpd=1n bgc=wheat tal=c .TR .TD
-.TBL  border= cols=10 width=1c tal=c csp=0 cpd=0 \"cols must be odd
+.TBL  border= cols=11 width=1c tal=c csp=0 cpd=0 \"cols must be odd
 .CPTN val=b Randomly Colored Table Cells with Colspan/\%Rowspan
 .brt
-.ETB .ETB 
+.ETB .ETB
 .PN 15 Text after table.
 .time
 .date
-.\"    466MHz Celeron CPU, 384MB RAM 
+.\"    466 MHz Celeron CPU, 384 MB RAM
 .\"    WindowsXP/cygwin groff18.1:      4s
 .\"    WindowsXP/cygwin groff19.2:      7s
 .\"    Suse Linux 9.3 groff19.2:        1s
-- 
2.13.2






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51588>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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