[docutils:feature-requests] #107 use .MR for references to man-pages

"G. Branden Robinson via Docutils-develop" <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/feature-requests/107/ce7e5cda1b29de947e85ab96c3cc1b2fb332fcbf.feature-requests@docutils.p.sourceforge.net>
Just a quick note.  You will not need to generate the arguments to the `MR` macro with a leading `\%` escape sequence.  The _groff_man_style_ man page has them here for complicated reasons; the short version is that the _tbl_, _eqn_, and _refer_ programs can be installed with a prefix determined by the builder of _groff_ at compilation time, because _groff_  supports being installed simultaneously with another (usually AT&T or AT&T-descended)  _troff_.   The prefix can be expanded in contexts where hyphenation is _not_ disabled, so a hyphenation control escape sequence is always prepended, even if the prefix is empty.  This is harmless.  I just wanted to point it out so that you don't think you've have to generate these escape sequences in the output you produce.


---

**[feature-requests:#107] use .MR for references to man-pages**

**Status:** open
**Group:** Default
**Labels:** manpage writer 
**Created:** Sun May 12, 2024 03:43 PM UTC by engelbert gruber
**Last Updated:** Sun May 12, 2024 03:44 PM UTC
**Owner:** engelbert gruber


the manpage of groff_man_style 

> See also
>        tbl(1), eqn(1), and refer(1) are preprocessors used with man pages.  man(1)  de‐
>        scribes  the man page librarian on your system.

is written using the .MR macro

~~~
  .SH "See also"
  .
  .MR \%tbl 1 ,
  .MR \%eqn 1 ,
  and
  .MR \%refer 1
  are preprocessors used with man pages.
  .
  .MR man 1
  describes the man page librarian on your system.
~~~

But then the rST input would loo like

~~~
See also
--------

tbl(1), eqn(1), and refer(1) are preprocessors used with man pages.  
man(1)  describes  the man page librarian on your system.
~~~

meaning we need to find the already formatted manpage references , which could be anywhere
in the text (except code . in code man(1) would be calling function man)


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.