bugGNU roff - Bugs: bug #63122, Default value for...

 
 

bug #63122: Default value for doc-volume-operating-system string in tmac/mdoc/doc-common

Submitter:  None
Submitted:  Wed 28 Sep 2022 12:40:29 PM UTC
   
 
Category:  Macro package mdoc Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Sep 2022 07:12:25 PM UTC, comment #1: 

Duplicate of bug #63121.

G. Branden Robinson <gbranden>
Group administrator
Wed 28 Sep 2022 12:40:29 PM UTC, original submission:  

I've created a manual page in mdoc format and my surprise comes when I tried to initialize the .Os macro to Petalinux and I got it correctly in the manual page footers, but incorrectly in the manual section headers.  Looking for the macro definition, I found in /usr/share/groff/1.22.4/tmac/mdoc/doc-common that either

.ds doc-default-operating-system BSD

and later

.ds doc-volume-operating-system BSD

My proposal is to define it as

.ds doc-volume-operating-system \\*[doc-operating-system]

so, if I change the operating system in the document .Os macro, it also gets changed in the manual section headers.  This, despite of what /usr/share/groff/site-tmac/mdoc.local has.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-28 gbranden StatusNone Duplicate
        Assigned toNone gbranden
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code