bug-groff
[Top][All Lists]
Advanced

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

Re: [bug #61276] .Ql macro in troff-mode does not put text in single quo


From: Stephen Gregoratto
Subject: Re: [bug #61276] .Ql macro in troff-mode does not put text in single quotes
Date: Tue, 26 Oct 2021 09:51:02 +1100

Ping for attention, as I was the one who submitted the patch. Are there
any objections?

On 2021-10-04 07:27, anonymous wrote:
> URL:
>   <https://savannah.gnu.org/bugs/?61276>
> 
>                  Summary: .Ql macro in troff-mode does not put text in single
> quotes
>                  Project: GNU troff
>             Submitted by: None
>             Submitted on: Mon 04 Oct 2021 11:27:28 AM UTC
>                 Category: Macro - mdoc
>                 Severity: 3 - Normal
>               Item Group: Incorrect behaviour
>                   Status: None
>                  Privacy: Public
>              Assigned to: None
>              Open/Closed: Open
>          Discussion Lock: Any
>          Planned Release: None
> 
>     _______________________________________________________
> 
> Details:
> 
> A simple test case:
> 
> .Dd May 1, 2021
> .Dt FOO 1
> .Os
> .Sh DESCRIPTION
> .Ql f ,
> .Ql fo ,
> .Ql foo ,
> .Ql foo bar
> 
> mandoc (1.14.5/6) renders it as:
> 
>  ‘f’, ‘fo’, ‘foo’, ‘foo bar’
> 
> groff-devel/1.22.4 nroff also renders it as:
> 
>  ‘f’, ‘fo’, ‘foo’, ‘foo bar’
> 
> but groff-ditroff/PDF renders it like:
> 
>   ‘f’, ‘fo’, foo, foo bar
> 
> I've attached a patch that simply deletes this code-path in mdoc/doc-ditroff,
> and the resultant output is as expected. I'm unsure if this is due to some
> limitation in groff, but as someone who uses switches between mandoc (for
> linting) and groff (for pretty pdfs), it can get slightly annoying (but only
> slightly ;)).
> 
> 
> 
>     _______________________________________________________
> 
> File Attachments:
> 
> 
> -------------------------------------------------------
> Date: Mon 04 Oct 2021 11:27:28 AM UTC  Name: groff.patch  Size: 2KiB   By:
> None
> 
> <http://savannah.gnu.org/bugs/download.php?file_id=52019>
> 
>     _______________________________________________________
> 
> Reply to this item at:
> 
>   <https://savannah.gnu.org/bugs/?61276>
> 
> _______________________________________________
>   Message sent via Savannah
>   https://savannah.gnu.org/
> 
> 

-- 
Stephen Gregoratto



reply via email to

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