[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61455] [PATCH] doc/pic.ms: Avoid a yellow background for text when
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #61455] [PATCH] doc/pic.ms: Avoid a yellow background for text when the device uses "tty.tmac" |
Date: |
Tue, 9 Nov 2021 20:44:05 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?61455>
Summary: [PATCH] doc/pic.ms: Avoid a yellow background for
text when the device uses "tty.tmac"
Project: GNU troff
Submitted by: bjarniig
Submitted on: Wed 10 Nov 2021 01:44:04 AM UTC
Category: Macro - ms
Severity: 3 - Normal
Item Group: Example rendering
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
>From a99d6bbcc181520ecce46622d3e45aca5b24a36c Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Wed, 10 Nov 2021 01:38:36 +0000
Subject: [PATCH] doc/pic.ms: Avoid a yellow background for text when the
device uses "tty.tmac"
Fix a wrong coloring of background (fill color),
when an undefined color is used.
Seen with "nroff -p -t -ms pic.ms | less -R".
Seach for "Three-dim", and scroll up.
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
doc/pic.ms | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/doc/pic.ms b/doc/pic.ms
index fa5628e59..2613844b5 100644
--- a/doc/pic.ms
+++ b/doc/pic.ms
@@ -2593,6 +2593,14 @@ arrow from Top.D.end to Anchor.ne
.PP
.KS
.PS
+.de END_COMMENT
+..
+.ig END_COMMENT
+ If a used color is undefined, the remainder of the text in the
+document gets a yellow background.
+.END_COMMENT
+.if !m gold .defcolor rgb #0000ff\"blue
+.if !m goldenrod .defcolor rgb #ff0000\"red
# a three-dimensional block
#
# tblock(<width>, <height>, <text>)
--
2.33.0
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61455>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #61455] [PATCH] doc/pic.ms: Avoid a yellow background for text when the device uses "tty.tmac",
Bjarni Ingi Gislason <=