From 1f8c922500659ba45fc40d0474b0a827de7748c0 Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason Date: Wed, 10 Nov 2021 18:58:40 +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 --- doc/pic.ms | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/pic.ms b/doc/pic.ms index fa5628e59..3fc473c13 100644 --- a/doc/pic.ms +++ b/doc/pic.ms @@ -2592,6 +2592,14 @@ arrow from Top.D.end to Anchor.ne .CE "2: Hypothetical production flow for dual-mode publishing" .PP .KS +.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 gold rgb #0000ff\"blue +.if !m goldenrod .defcolor goldenrod rgb #ff0000\"red .PS # a three-dimensional block # @@ -2622,6 +2630,14 @@ Here the source code for figure \n[H1]-3: .KS .DS .CW +\&.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 gold rgb #0000ff\e"blue +\&.if !m goldenrod .defcolor goldenrod rgb #ff0000\e"red \&.PS # a three-dimensional block # -- 2.33.0