Re: [docutils:feature-requests] Re: #72 rst2man: Show reference targets

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID <20230816033738.ifr2cxx7mxnlfguj@illithid>
Hi Engelbert,

At 2023-08-14T10:41:58+0200, engelbert gruber wrote:
> On man 7 man (AFAIR) is a list of safe statements .sp asf

Yes.  The man(7) page from the Linux man-pages project does have a list
of "safe" formatter requests.  Long story short, the current Linux
man-pages maintainer would like to withdraw the page and has invited me
to submit (the equivalent of) a merge request to do so.[1]  mandoc
maintainer Ingo Schwarze and I take a pretty different approach to the
problem; we agree that minimal use of formatter requests, and sticking
to the existing sets of package macros (plus a few escape sequences) is
the most reliable route to portable man page rendering.

That "minimal" approach also means that people writing man(7) documents
or tools to generate them have to master much less material.

> which I tried to limit the writer output man 7 groff_man I learned
> only recent

In my opinion that man page became a more helpful resource with the
release of groff 1.22.4 in December 2018, and in groff 1.23.0 (released
5 July) there is a new groff_man_style(7) page that is written for
newcomers, and presumes as little knowledge of typesetting and *roff
programs as possible.  In full disclosure, much of it is my own work.

For those whose systems don't have 1.23.0 installed yet, the
groff_man_style(7) document can be read in PDF; go to page 253.

https://www.gnu.org/software/groff/manual/groff-man-pages.pdf

> Along the line of the discussion we had with the latex writer … target
> the structure or use only the type setting (line drawing)
> 
> Structure it was/is

If I'm understanding you correctly, I agree with the choice.  You want
to convert ReStructured Text into high-level structural markup as much
as the target language allows, and get involved with fiddly details of
typesetting as little as possible.

Regards,
Branden

[1] "I want to kill that page"

https://lore.kernel.org/linux-man/[email protected]/T/#m124e9719a24560c8ed5526e7464d4a4c311008a7
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmTcRHoACgkQ0Z6cfXEm
bc6tLw/5AZ0CksRtcTPfw3eO3bpxKAqewK9p5lyRUDgPZf66HVDdRiwzu6pp3TS9
lVkljUmmX7/mYPIXmmteAl0cSGj19Yc8S4Hkdg10AYnQugjWE2fUhWd+O/Kilypf
1SD14N1fhJQQWx9h6upKNbtL9dewOvtIG3uD3mCQGGTigMNDOO7X1CBP4AxgfG7Z
8bKZYbyebmPMVwcCFERzEJVj1yf12ruYb1y+T0MUDwQVsSt1ExiEluBc++RpBeKr
6wz+DoIJ1lxVuRImmpXQdbCwhbnqrVFYXlvDw59+lU/MmUidMTGqli4/pMPQeRF7
iD2kY3Sno5Bhc2cu+ZakAyOhOew7eIm50tq2wro/Rx+CVrn2+hjdOf/LNIhgRQcK
huypbjk/6DDJxggR0fytQwPinT7UaouHYnhEnDjOVGVfjxoQsA+wZsKKKaTFceWi
N7YWVZIbSPAjs1x8uQXLJrlVxlhXZxeXt1lyVvnBZyknWYA+gCL37U+sab6NvKqT
qm8AZR+/tvpYa0e81Fy7/dRCrwis97pvC5SSeT4C0bIa3qfkx54DssolID+4E0Gq
+KcPnH25I+Mzu3C4UNoAbeabAfVGm5yTJQfVSvVFtMs+XsWGFt1tKjooSmviYLpR
HJntDzwrVSbLN+TRAFuEqj0887GzZe5/+QnaFBDA7EfBfrb4SnM=
=dcBg
-----END PGP SIGNATURE-----
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.