SF.net SVN: docutils:[9573 ] trunk/docutils/docs/user/ manpage.txt
grubert--- via Docutils-checkins <[email protected]>
| Newsgroups | gmane.text.docutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 9573
http://sourceforge.net/p/docutils/code/9573
Author: grubert
Date: 2024-03-16 16:22:35 +0000 (Sat, 16 Mar 2024)
Log Message:
-----------
remove roff details
Modified Paths:
--------------
trunk/docutils/docs/user/manpage.txt
Modified: trunk/docutils/docs/user/manpage.txt
===================================================================
--- trunk/docutils/docs/user/manpage.txt 2024-03-16 15:59:22 UTC (rev 9572)
+++ trunk/docutils/docs/user/manpage.txt 2024-03-16 16:22:35 UTC (rev 9573)
@@ -68,6 +68,8 @@
an interface to the on-line reference manuals
---------------------------------------------
+ :Version: 2.3.19
+ :Date: 14 May 2001
:Manual section: 1
:Manual group: Man Pager Utils
@@ -85,20 +87,8 @@
* a date "14 May 2001"
* a version "2.3.19"
+Version and Date will be put in the last line/footer of the generated man page.
-
-One should try to comply with the `troff line break rules`__ after punctuation
-signs in the rST source. Use a new line or two spaces to start a new sentence.
-
-Avoid linebreaks after punctuation signs that do not end a sentence.
-A linebreak can be escaped with a backslash. In rST, escaped whitespace
-is removed, so precede the backslash by a space::
-
- We recommend the works of E. T. A. \
- Hoffman.
-
-__ https://www.gnu.org/software/groff/manual/groff.html#Sentences
-
References
''''''''''
@@ -149,33 +139,22 @@
* new lines in general.
+ One should try to comply with the `troff line break rules`__ after punctuation
+ signs in the rST source. Use a new line or two spaces to start a new sentence.
+
+ Avoid linebreaks after punctuation signs that do not end a sentence.
+ A linebreak can be escaped with a backslash. In rST, escaped whitespace
+ is removed, so precede the backslash by a space::
+
+ We recommend the works of E. T. A. \
+ Hoffman.
+
+ __ https://www.gnu.org/software/groff/manual/groff.html#Sentences
+
Consecutive blank lines are merged by the viewer but not on printouts.
So one has to be cautious. This is most disturbing when printing
postscript.
- .. NOTE::
-
- 1. Roff requests only work when at line start.
- 2. But consecutive blank lines are merged by the viewer but not on
- printouts.
-
- So try the rule start new lines in ``visit_``-functions, but only if
- necessary. E.g. ``field-names`` are already on a new line because of
- docutils structure.
-
-* Indentation, left margin:
-
- - The writer includes two macros ``.INDENT`` and ``.UNINDENT`` that
- keep track of the indentation in roff-code, for line-blocks python
- keeps track of it. WHAT should be the preferred way ?
-
- But standard macros like ``.PP`` might reset it.
-
- - Why do ``.RE`` and ``.RS`` not work?
-
- .. Note::
- Current indent is in register ``.i``.
-
* [LMHT]_ Filenames are always in italics, except in the SYNOPSIS section,
use::
@@ -185,9 +164,6 @@
.B #include <stdio.h>
-* Tables are possible, via the external processor tbl, although one should
- avoid them.
-
TODO - Open issues
''''''''''''''''''
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.