SF.net SVN: docutils:[10065 ] trunk/docutils/docutils/ writers/manpage.py

grubert--- via Docutils-checkins <[email protected]> Tue, 01 Apr 2025 10:53:02 +0000
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 10065
          http://sourceforge.net/p/docutils/code/10065
Author:   grubert
Date:     2025-04-01 10:53:02 +0000 (Tue, 01 Apr 2025)
Log Message:
-----------
TODOs for references with macros

Modified Paths:
--------------
    trunk/docutils/docutils/writers/manpage.py

Modified: trunk/docutils/docutils/writers/manpage.py
===================================================================
--- trunk/docutils/docutils/writers/manpage.py	2025-04-01 10:40:26 UTC (rev 10064)
+++ trunk/docutils/docutils/writers/manpage.py	2025-04-01 10:53:02 UTC (rev 10065)
@@ -1116,13 +1116,16 @@
         else:
             self.context.append('')
 
+    # TODO INWORK
     def _depart_reference_with_macro(self, node) -> None:
         macro_end = self.context.pop()
         if macro_end:
             self.ensure_eol()
             self.body.append(macro_end)
-        # TODO problem if the ref is at end of line
-        # we get a blank line following which we dont want.
+        # TODO problems 
+        # * if the ref is at end of line
+        #   we get a blank line following which we dont want.
+        # * if ref is followed by )., there will be a space separating
     # ----
 
     def visit_revision(self, node) -> None:

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