SF.net SVN: docutils:[9698 ] trunk/sandbox/manpage-wri ter/TODO.txt

grubert--- via Docutils-checkins <[email protected]>
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 9698
          http://sourceforge.net/p/docutils/code/9698
Author:   grubert
Date:     2024-05-11 20:08:22 +0000 (Sat, 11 May 2024)
Log Message:
-----------
details to MR and references

Modified Paths:
--------------
    trunk/sandbox/manpage-writer/TODO.txt

Modified: trunk/sandbox/manpage-writer/TODO.txt
===================================================================
--- trunk/sandbox/manpage-writer/TODO.txt	2024-05-10 08:56:49 UTC (rev 9697)
+++ trunk/sandbox/manpage-writer/TODO.txt	2024-05-11 20:08:22 UTC (rev 9698)
@@ -61,6 +61,65 @@
    .\}
    .rr df
 
+see groff_man_style ::
+
+  .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 the rST source would be more like this ::
+
+  See also
+  ========
+
+  tbl(1), eqn(1), and refer(1) are preprocessors used with man pages.
+  man(1) describes the man page ...
+
+so the MR things need to be found with regexp or marked with a role/directive ?
+
+
+groff_man_style on 
+
+   Hyperlink macros
+       Man  page  cross references like ls(1) are best presented with .MR.  Text may be
+       hyperlinked to email addresses with .MT/.ME or other URIs with .UR/.UE.   Hyper‐
+       linked  text  is  supported  on  HTML and terminal output devices; terminals and
+       pager programs must support ECMA-48 OSC  8  escape  sequences  (see  grotty(1)).
+       When  device support is unavailable or disabled with the U register (see section
+       “Options” below), .MT and .UR URIs are rendered between angle brackets after the
+       linked text.
+
+       .MT, .ME, .UR, and .UE are GNU extensions not defined on systems  running  AT&T,
+       Plan 9, or Solaris troff; see an-ext.tmac in section “Files” below.  Plan 9 from
+       User Space's troff implements .MR.
+
+       The arguments to .MR, .MT, and .UR should be prepared for typesetting since they
+       can appear in the output.  Use special character escape sequences to encode Uni‐
+       code  basic  Latin  characters  where  necessary, particularly the hyphen-minus.
+       (See section “Portability” below.)  URIs can be lengthy; rendering them can  re‐
+       sult  in jarring adjustment or variations in line length, or troff warnings when
+       a hyperlink is longer than an output  line.   The  application  of  non-printing
+       break point escape sequences \: after each slash (or series thereof), and before
+       each  dot  (or  series  thereof)  is recommended as a rule of thumb.  The former
+       practice avoids forcing a trailing slash in a URI onto a separate  output  line,
+       and  the  latter  helps the reader to avoid mistakenly interpreting a dot at the
+       end of a line as a period (or multiple dots as an ellipsis).  Thus,
+              .UR http://\:example\:.com/\:fb8afcfbaebc74e\:.cc
+       has several potential break points in the  URI  shown.   Consider  adding  break
+       points  before  or after at signs in email addresses, and question marks, amper‐
+       sands, and number signs in HTTP(S) URIs.  The formatter removes  \:  escape  se‐
+       quences  from  hyperlinks  when supplying device control commands to output dri‐
+       vers.
+
+
+
 Notes
 -----
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



_______________________________________________
Docutils-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-checkins
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.