gbranden pushed a commit to branch master
in repository groff.

commit 478b75ef177a32c87d73171109268e758a0c3986
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 14 10:18:36 2026 -0500

    doc/groff-pdf-features.ms: Indirect color.
    
    ...through string.
---
 doc/groff-pdf-features.ms | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/groff-pdf-features.ms b/doc/groff-pdf-features.ms
index d3f8923a6..1c5d9d92e 100644
--- a/doc/groff-pdf-features.ms
+++ b/doc/groff-pdf-features.ms
@@ -57,10 +57,13 @@
 .  nop \[lq]\\$1\[rq]\\$2
 ..
 .\" Define a macro for code literals; use bold and disable hyphenation.
+.              ds code-color grey33
+.if !m grey33 .ds code-color cyan
+.if !m cyan   .ds code-color default
 .de Lt
 .  ft CB
 .  nh
-.  nop \m[grey33]\s'-1p'\\$1\s'+1p'\m[]\c
+.  nop \m[\\*[code-color]]\s'-1p'\\$1\s'+1p'\m[]\c
 .  hy \\n[HY]
 .  ft
 .  nop \&\\$2

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to