|
From: <gr...@us...> - 2024-03-24 17:40:06
|
Revision: 9584
http://sourceforge.net/p/docutils/code/9584
Author: grubert
Date: 2024-03-24 17:40:03 +0000 (Sun, 24 Mar 2024)
Log Message:
-----------
change UR/UE macros to use the dot request character
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/docutils/writers/manpage.py
trunk/docutils/test/test_writers/test_manpage.py
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2024-03-24 17:26:00 UTC (rev 9583)
+++ trunk/docutils/HISTORY.txt 2024-03-24 17:40:03 UTC (rev 9584)
@@ -175,7 +175,7 @@
- Skip footer to avoid the link to document source in the manpage.
- Add multiple definition list term support, see feature #60.
- - Use ``'UR`` and ``'UE`` macros for reference markup.
+ - Use ``.UR`` and ``.UE`` macros for reference markup.
- Add preprocessor hinting tbl first line, see bug #477.
- Change tbl-Tables using box option, see bug #475.
- Apply literal block patch #205. Use ``.EE`` and ``.EX`` macros.
Modified: trunk/docutils/docutils/writers/manpage.py
===================================================================
--- trunk/docutils/docutils/writers/manpage.py 2024-03-24 17:26:00 UTC (rev 9583)
+++ trunk/docutils/docutils/writers/manpage.py 2024-03-24 17:40:03 UTC (rev 9584)
@@ -1002,13 +1002,13 @@
def visit_reference(self, node):
"""E.g. link or email address."""
- self.body.append("\n'UR ")
+ self.body.append("\n.UR ")
if 'refuri' in node:
if not node['refuri'].endswith(node.astext()):
self.body.append("%s\n" % node['refuri'])
def depart_reference(self, node):
- self.body.append("\n'UE\n")
+ self.body.append("\n.UE\n")
def visit_revision(self, node):
self.visit_docinfo_item(node, 'revision')
Modified: trunk/docutils/test/test_writers/test_manpage.py
===================================================================
--- trunk/docutils/test/test_writers/test_manpage.py 2024-03-24 17:26:00 UTC (rev 9583)
+++ trunk/docutils/test/test_writers/test_manpage.py 2024-03-24 17:40:03 UTC (rev 9584)
@@ -195,8 +195,8 @@
.SH OTHER SECTION
.sp
link to
-'UR http://docutils.sourceforge.io
-'UE
+.UR http://docutils.sourceforge.io
+.UE
.sp
With mixed case.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|