bug-groff
[Top][All Lists]
Advanced

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

[bug #61276] [mdoc] Ql macro in troff mode sometimes does not put text i


From: G. Branden Robinson
Subject: [bug #61276] [mdoc] Ql macro in troff mode sometimes does not put text in single quotes
Date: Thu, 30 Mar 2023 10:52:50 -0400 (EDT)

Update of bug #61276 (project groff):

                  Status:               Need Info => Wont Fix               
             Assigned to:                    None => gbranden               
             Open/Closed:                    Open => Closed                 
                 Summary: [PATCH] .Ql macro in troff-mode does not put text in
single quotes => [mdoc] Ql macro in troff mode sometimes does not put text in
single quotes

    _______________________________________________________

Follow-up Comment #6:

We never heard back from the submitter and it's been over a year.

_mdoc_ is working as documented, as Deri noted in comment #1, and multiple
alternatives are available if document authors want more control over the
output.

Possibly the issue is that the submitter is a _consumer_ of _mdoc_ pages and
laments the appearance of _troff_ mode output when a document uses `Ql`.

In that event I suggest editing the "mdoc.local" file to replace the `Ql`
macro implementation with an alias to the desired macro's behavior.


$ git di
diff --git a/tmac/mdoc.local b/tmac/mdoc.local
index 94688aba0..6ffcea940 100644
--- a/tmac/mdoc.local
+++ b/tmac/mdoc.local
@@ -7,6 +7,8 @@
 .\" test remaps the font to roman ("R") on nroff (terminal) devices. You
 .\" might prefer to remap it to bold ("B") instead.
 .\" .if n .ftr CW R
+.rm Ql
+.als Ql Sq
 .\"
 .\" Local Variables:
 .\" mode: nroff


One could also write a `Ql` macro from scratch, as an advanced exercise.

N.B., _mandoc_(1) does not support this and might never.

Dropping "[PATCH]" annotation because I'm rejecting the patch.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61276>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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