SF.net SVN: docutils:[10100 ] trunk

grubert--- via Docutils-checkins <[email protected]> Tue, 22 Apr 2025 12:34:01 +0000
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 10100
          http://sourceforge.net/p/docutils/code/10100
Author:   grubert
Date:     2025-04-22 12:34:00 +0000 (Tue, 22 Apr 2025)
Log Message:
-----------
manpage-writer: text-references - insert breakpoints and hyphenation-off.

Modified Paths:
--------------
    trunk/docutils/HISTORY.rst
    trunk/docutils/docutils/writers/manpage.py
    trunk/docutils/test/functional/expected/standalone_rst_manpage.man
    trunk/docutils/test/test_writers/test_manpage.py
    trunk/sandbox/manpage-writer/expected/characters.man
    trunk/sandbox/manpage-writer/expected/man-de.1.latin1
    trunk/sandbox/manpage-writer/expected/man-de.1.man
    trunk/sandbox/manpage-writer/expected/man-de.1.utf8
    trunk/sandbox/manpage-writer/expected/ref-2025.man
    trunk/sandbox/manpage-writer/expected/references.latin1
    trunk/sandbox/manpage-writer/expected/references.man
    trunk/sandbox/manpage-writer/expected/references.ps
    trunk/sandbox/manpage-writer/expected/refs.man
    trunk/sandbox/manpage-writer/expected/test.man
    trunk/sandbox/manpage-writer/expected-mandoc/characters.man
    trunk/sandbox/manpage-writer/expected-mandoc/man-de.1.man
    trunk/sandbox/manpage-writer/expected-mandoc/references.man
    trunk/sandbox/manpage-writer/expected-mandoc/references.ps
    trunk/sandbox/manpage-writer/expected-mandoc/test.man

Modified: trunk/docutils/HISTORY.rst
===================================================================
--- trunk/docutils/HISTORY.rst	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/docutils/HISTORY.rst	2025-04-22 12:34:00 UTC (rev 10100)
@@ -221,6 +221,7 @@
   - Use .MT/.ME macros for mailto.uris.
   - macro-references: output refuri always.
   - macro-references: reduce space around refs.
+  - text-references: insert breakpoints and hyphenation-off.
   - text-references: no line end after refuri, no additional spaces.
   - text-references: Skip references only if content is equal, or only differs
     by "mailto:".

Modified: trunk/docutils/docutils/writers/manpage.py
===================================================================
--- trunk/docutils/docutils/writers/manpage.py	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/docutils/docutils/writers/manpage.py	2025-04-22 12:34:00 UTC (rev 10100)
@@ -1103,13 +1103,14 @@
             if (node['refuri'] == node.astext()
                 or node['refuri'] == "mailto:"+node.astext()):
                 # without mailto:
-                self.body.append("<%s>" % node.astext())
+                self.body.append(r"\%%<%s>"
+                                 % insert_URI_breakpoints(node.astext()))
                 raise nodes.SkipNode
         # elif 'refid' in node:
 
     def _depart_reference_no_macro(self, node) -> None:
         if 'refuri' in node:
-            self.body.append(" <%s>" % node['refuri'])
+            self.body.append(r" \%%<%s>" % insert_URI_breakpoints(node['refuri']))
         # elif 'refid' in node:
 
     def _visit_reference_with_macro(self, node) -> None:

Modified: trunk/docutils/test/functional/expected/standalone_rst_manpage.man
===================================================================
--- trunk/docutils/test/functional/expected/standalone_rst_manpage.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/docutils/test/functional/expected/standalone_rst_manpage.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -81,8 +81,8 @@
 None yet.
 .SH SEE ALSO
 .sp
-docutils <https://docutils.sourceforge.io>
-linux man page howto <http://tldp.org/HOWTO/Man-Page/>
+docutils \%<https://\:docutils\:.sourceforge\:.io>
+linux man page howto \%<http://\:tldp\:.org/\:HOWTO/\:Man-Page/>
 .sp
 and \fBman man\fP also \fBman 7 man\fP
 .SH BUGS

Modified: trunk/docutils/test/test_writers/test_manpage.py
===================================================================
--- trunk/docutils/test/test_writers/test_manpage.py	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/docutils/test/test_writers/test_manpage.py	2025-04-22 12:34:00 UTC (rev 10100)
@@ -321,7 +321,7 @@
 .UNINDENT
 .SH OtHeR SECTION
 .sp
-link to <http://docutils.sourceforge.io>\n\
+link to \\%<http://\\:docutils\\:.sourceforge\\:.io>\n\
 .sp
 With mixed case.
 .sp

Modified: trunk/sandbox/manpage-writer/expected/characters.man
===================================================================
--- trunk/sandbox/manpage-writer/expected/characters.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/characters.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -47,7 +47,7 @@
 .sp
 resulting in.
 .sp
-\fBhgignore\fP(5) <hgignore.5.html>, \fBhgrc\fP(5) <hgrc.5.html>
+\fBhgignore\fP(5) \%<hgignore\:.5\:.html>, \fBhgrc\fP(5) \%<hgrc\:.5\:.html>
 .SH DESCRIPTION
 .sp
 encodings are problematic as alway.

Modified: trunk/sandbox/manpage-writer/expected/man-de.1.latin1
===================================================================
--- trunk/sandbox/manpage-writer/expected/man-de.1.latin1	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/man-de.1.latin1	2025-04-22 12:34:00 UTC (rev 10100)
@@ -505,19 +505,19 @@
        werden diese Seiten als fehlerhaft zurueckgewiesen.
 
 GESCHICHTE
-       1990,    1991    -    Originale   geschrieben   von   John   W.   Eaton
-       (<[email protected]>).
+       1990,  1991  - Originale geschrieben von John W. Eaton (<[email protected]
+       .edu>).
 
        23. Dez. 1992: Fehlerbereinigung  durch Rik Faith  (<[email protected]>)
        unterst\xFCtzt durch Willem Kasdorp (<[email protected]>).
 
-       Zwischen  dem 30. April 1994 und dem 23. Februar 2000 hat Wilf (<G.Wil-
-       [email protected]>) unter Mithilfe von einigen  wenigen  engagierten
-       Menschen dieses Paket entwickelt und weitergef\xFChrt.
+       Zwischen  dem  30.  April  1994  und  dem 23. Februar 2000 hat Wilf (<G
+       [email protected]>)  unter  Mithilfe  von  einigen  wenigen  en-
+       gagierten Menschen dieses Paket entwickelt und weitergef\xFChrt.
 
-       Die  deutsche  \xDCbersetzung wurde von Anke Steuernagel (<a_steuer@infor-
-       matik.uni-kl.de>) und Nils Magnus (<[email protected]>) ange-
-       fertigt.
+       Die   deutsche  \xDCbersetzung  wurde  von  Anke  Steuernagel  (<a_steuer@
+       informatik.uni-kl.de>) und Nils Magnus  (<[email protected]>)
+       angefertigt.
 
        F\xFCr pers\xF6nliche W\xFCrdigungen und Zus\xE4tze siehe Quelltexte.
 

Modified: trunk/sandbox/manpage-writer/expected/man-de.1.man
===================================================================
--- trunk/sandbox/manpage-writer/expected/man-de.1.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/man-de.1.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -635,18 +635,18 @@
 .SH GESCHICHTE
 .sp
 1990, 1991 \- Originale geschrieben von John W. Eaton
-(<[email protected]>).
+(\%<jwe@\:che\:.utexas\:.edu>).
 .sp
-23. Dez. 1992: Fehlerbereinigung  durch Rik Faith (<[email protected]>)
-unterstützt durch Willem Kasdorp (<[email protected]>).
+23. Dez. 1992: Fehlerbereinigung  durch Rik Faith (\%<faith@\:cs\:.unc\:.edu>)
+unterstützt durch Willem Kasdorp (\%<wkasdo@\:nikhefk\:.nikef\:.nl>).
 .sp
 Zwischen dem 30. April 1994 und dem 23. Februar 2000 hat Wilf
-(<[email protected]>) unter Mithilfe von einigen wenigen
+(\%<G\:.Wilford@\:ee\:.surrey\:.ac\:.uk>) unter Mithilfe von einigen wenigen
 engagierten Menschen dieses Paket entwickelt und weitergeführt.
 .sp
 Die deutsche Übersetzung wurde von Anke Steuernagel
-(<[email protected]>) und Nils Magnus
-(<[email protected]>) angefertigt.
+(\%<a_steuer@\:informatik\:.uni-kl\:.de>) und Nils Magnus
+(\%<magnus@\:informatik\:.uni-kl\:.de>) angefertigt.
 .sp
 Für persönliche Würdigungen und Zusätze siehe Quelltexte.
 .\" End of generated man page.

Modified: trunk/sandbox/manpage-writer/expected/man-de.1.utf8
===================================================================
--- trunk/sandbox/manpage-writer/expected/man-de.1.utf8	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/man-de.1.utf8	2025-04-22 12:34:00 UTC (rev 10100)
@@ -505,19 +505,19 @@
        werden diese Seiten als fehlerhaft zurueckgewiesen.
 
 GESCHICHTE
-       1990,    1991    -    Originale   geschrieben   von   John   W.   Eaton
-       (<[email protected]>).
+       1990,  1991  - Originale geschrieben von John W. Eaton (<[email protected]
+       .edu>).
 
        23. Dez. 1992: Fehlerbereinigung  durch Rik Faith  (<[email protected]>)
        unterstützt durch Willem Kasdorp (<[email protected]>).
 
-       Zwischen  dem 30. April 1994 und dem 23. Februar 2000 hat Wilf (<G.Wil‐
-       [email protected]>) unter Mithilfe von einigen  wenigen  engagierten
-       Menschen dieses Paket entwickelt und weitergeführt.
+       Zwischen  dem  30.  April  1994  und  dem 23. Februar 2000 hat Wilf (<G
+       [email protected]>)  unter  Mithilfe  von  einigen  wenigen  en‐
+       gagierten Menschen dieses Paket entwickelt und weitergeführt.
 
-       Die  deutsche  Übersetzung wurde von Anke Steuernagel (<a_steuer@infor‐
-       matik.uni-kl.de>) und Nils Magnus (<[email protected]>) ange‐
-       fertigt.
+       Die   deutsche  Übersetzung  wurde  von  Anke  Steuernagel  (<a_steuer@
+       informatik.uni-kl.de>) und Nils Magnus  (<[email protected]>)
+       angefertigt.
 
        Für persönliche Würdigungen und Zusätze siehe Quelltexte.
 

Modified: trunk/sandbox/manpage-writer/expected/ref-2025.man
===================================================================
--- trunk/sandbox/manpage-writer/expected/ref-2025.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/ref-2025.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -33,9 +33,9 @@
  \- 
 .\" from bugs#497
 .
-Aaaaa (<[email protected]>),
-Bbb <https://github.com/cc> (<[email protected]>).
-mm <https://github.com/m>
-nn <https://github.com/nn>
-and OooOoooo <https://github.com/OooOoooo>\&.
+Aaaaa (\%<aaa@\:bb\:.ccc>),
+Bbb \%<https://\:github\:.com/cc> (\%<ddd@\:gmail\:.com>).
+mm \%<https://\:github\:.com/m>
+nn \%<https://\:github\:.com/nn>
+and OooOoooo \%<https://\:github\:.com/\:OooOoooo>\&.
 .\" End of generated man page.

Modified: trunk/sandbox/manpage-writer/expected/references.latin1
===================================================================
--- trunk/sandbox/manpage-writer/expected/references.latin1	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/references.latin1	2025-04-22 12:34:00 UTC (rev 10100)
@@ -34,15 +34,15 @@
        at end of paragraph
 
 tests
-       See    <https://docutils.sourceforge.io/docs/user/rst/quickref.html#ex-
-       plicit-markup> for more
+       See       <https://docutils.sourceforge.io/docs/user/rst/quickref.html#
+       explicit-markup> for more
 
        See the Python home page <https://www.python.org> for info.
 
        External hyperlinks, like Python <https://www.python.org>.
 
-       Want   to   learn    about    my    favorite    programming    language
-       <https://www.python.org>?
+       Want to learn  about  my  favorite  programming  language  <https://www
+       .python.org>?
 
        Clicking on this internal hyperlink will take us to the target below.
 
@@ -68,8 +68,8 @@
        Anonymous hyperlink references are specified with two  underscores  in-
        stead of one:
 
-       See    the    web    site   of   my   favorite   programming   language
-       <https://www.python.org>.
+       See  the  web  site  of  my  favorite programming language <https://www
+       .python.org>.
 
        Anonymous targets begin with ".. __:"; no reference name is required or
        allowed:

Modified: trunk/sandbox/manpage-writer/expected/references.man
===================================================================
--- trunk/sandbox/manpage-writer/expected/references.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/references.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -81,14 +81,14 @@
 at end of paragraph
 .SH tests
 .sp
-See <https://docutils.sourceforge.io/docs/user/rst/quickref.html#explicit-markup>
+See \%<https://\:docutils\:.sourceforge\:.io/\:docs/\:user/\:rst/\:quickref\:.html#\:explicit-markup>
 for more
 .sp
-See the Python home page <https://www.python.org> for info.
+See the Python home page \%<https://\:www\:.python\:.org> for info.
 .sp
-External hyperlinks, like Python <https://www.python.org>\&.
+External hyperlinks, like Python \%<https://\:www\:.python\:.org>\&.
 .sp
-Want to learn about my favorite programming language <https://www.python.org>?
+Want to learn about my favorite programming language \%<https://\:www\:.python\:.org>?
 .sp
 Clicking on this internal hyperlink will take us to the target
 below.
@@ -101,19 +101,19 @@
 second item, with hyperlink target.
 .UNINDENT
 .sp
-See the Python <https://www.python.org> home page for info.
+See the Python \%<https://\:www\:.python\:.org> home page for info.
 .sp
-Write to me <mailto:[email protected]> with your questions.
+Write to me \%<mailto:jdoe@\:example\:.com> with your questions.
 .sp
-The one\-liner <https://docutils.sourceforge.io/rst.html> and starts\-on\-this\-line <https://docutils.sourceforge.net/rst.html> or entirely\-below <https://docutils.sourceforge.net/rst.html> point to  <https://docutils.sourceforge.io/rst.html> and in man are ... ?
+The one\-liner \%<https://\:docutils\:.sourceforge\:.io/\:rst\:.html> and starts\-on\-this\-line \%<https://\:docutils\:.sourceforge\:.net/\:rst\:.html> or entirely\-below \%<https://\:docutils\:.sourceforge\:.net/\:rst\:.html> point to  \%<https://\:docutils\:.sourceforge\:.io/\:rst\:.html> and in man are ... ?
 .sp
 Escaped whitespace is preserved as intentional spaces, e.g.:
 .sp
-some reference <../local path with spaces.html> to a local path.
+some reference \%<../\:local path with spaces\:.html> to a local path.
 .sp
 Anonymous hyperlink references are specified with two underscores instead of one:
 .sp
-See the web site of my favorite programming language <https://www.python.org>\&.
+See the web site of my favorite programming language \%<https://\:www\:.python\:.org>\&.
 .sp
 Anonymous targets begin with \(dq.. __:\(dq; no reference name is required or allowed:
 .\" End of generated man page.

Modified: trunk/sandbox/manpage-writer/expected/references.ps
===================================================================
--- trunk/sandbox/manpage-writer/expected/references.ps	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/references.ps	2025-04-22 12:34:00 UTC (rev 10100)
@@ -1,6 +1,6 @@
 %!PS-Adobe-3.0
 %%Creator: groff version 1.23.0
-%%CreationDate: Fri Mar 21 03:05:47 2025
+%%CreationDate: Tue Apr 22 14:29:30 2025
 %%DocumentNeededResources: font Times-Italic
 %%+ font Times-Roman
 %%+ font Times-Bold
@@ -288,25 +288,25 @@
 (at eol)118 367.2 Q(at end of paragraph)108 391.2 Q F2(tests)72 408 Q F1
 (See <https://docutils.sourcefor)108 420 Q
 (ge.io/docs/user/rst/quickref.html#e)-.18 E(xplicit-markup> for more)
--.15 E(See the Python home page <https://www)108 444 Q(.p)-.65 E
-(ython.or)-.1 E(g> for info.)-.18 E(External h)108 468 Q(yperlinks, lik)
--.05 E 2.5(eP)-.1 G(ython <https://www)-2.5 E(.p)-.65 E(ython.or)-.1 E
-(g>.)-.18 E -.8(Wa)108 492 S(nt to learn about my f).8 E -.2(avo)-.1 G
-(rite programming language <https://www).2 E(.p)-.65 E(ython.or)-.1 E
-(g>?)-.18 E(Clicking on this internal h)108 516 Q(yperlink will tak)-.05
-E 2.5(eu)-.1 G 2.5(st)-2.5 G 2.5(ot)-2.5 G(he tar)-2.5 E(get belo)-.18 E
--.65(w.)-.25 G(The h)108 540 Q(yperlink tar)-.05 E(get abo)-.18 E .3
--.15(ve p)-.15 H(oints to this paragraph.).15 E<83>108 556.8 Q -.2(bu)
-118 556.8 S(llet list).2 E<83>108 573.6 Q(second item, with h)118 573.6
-Q(yperlink tar)-.05 E(get.)-.18 E(See the Python <https://www)108 597.6
-Q(.p)-.65 E(ython.or)-.1 E(g> home page for info.)-.18 E
+-.15 E(See the Python home page <https://www.p)108 444 Q(ython.or)-.1 E
+(g> for info.)-.18 E(External h)108 468 Q(yperlinks, lik)-.05 E 2.5(eP)
+-.1 G(ython <https://www.p)-2.5 E(ython.or)-.1 E(g>.)-.18 E -.8(Wa)108
+492 S(nt to learn about my f).8 E -.2(avo)-.1 G
+(rite programming language <https://www.p).2 E(ython.or)-.1 E(g>?)-.18 E
+(Clicking on this internal h)108 516 Q(yperlink will tak)-.05 E 2.5(eu)
+-.1 G 2.5(st)-2.5 G 2.5(ot)-2.5 G(he tar)-2.5 E(get belo)-.18 E -.65(w.)
+-.25 G(The h)108 540 Q(yperlink tar)-.05 E(get abo)-.18 E .3 -.15(ve p)
+-.15 H(oints to this paragraph.).15 E<83>108 556.8 Q -.2(bu)118 556.8 S
+(llet list).2 E<83>108 573.6 Q(second item, with h)118 573.6 Q
+(yperlink tar)-.05 E(get.)-.18 E(See the Python <https://www.p)108 597.6
+Q(ython.or)-.1 E(g> home page for info.)-.18 E
 (Write to me <mailto:jdoe@e)108 621.6 Q
-(xample.com> with your questions.)-.15 E 2.486
-(The one\255liner <https://docutils.sourcefor)108 645.6 R 2.486(ge.io/r\
-st.html> and starts\255on\255this\255line <https://docutils.source-)-.18
-F(for)108 657.6 Q 2.958(ge.net/rst.html> or entirely\255belo)-.18 F
-5.458(w<)-.25 G(https://docutils.sourcefor)-5.458 E 2.958
-(ge.net/rst.html> point to)-.18 F(<https://docu-)7.959 E(tils.sourcefor)
+(xample.com> with your questions.)-.15 E 8.872
+(The one\255liner <https://docutils.sourcefor)108 645.6 R 8.872
+(ge.io/rst.html> and starts\255on\255this\255line <https://docutils)-.18
+F(.sourcefor)108 657.6 Q 1.986(ge.net/rst.html> or entirely\255belo)-.18
+F 4.487(w<)-.25 G(https://docutils.sourcefor)-4.487 E 1.987
+(ge.net/rst.html> point to)-.18 F(<https://)6.987 E(docutils.sourcefor)
 108 669.6 Q(ge.io/rst.html> and in man are ... ?)-.18 E
 (Escaped whitespace is preserv)108 693.6 Q
 (ed as intentional spaces, e.g.:)-.15 E
@@ -321,9 +321,9 @@
 -.37 E F1(\(\)).27 E(Anon)108 84 Q(ymous h)-.15 E
 (yperlink references are speci\214ed with tw)-.05 E 2.5(ou)-.1 G
 (nderscores instead of one:)-2.5 E(See the web site of my f)108 108 Q
--.2(avo)-.1 G(rite programming language <https://www).2 E(.p)-.65 E
-(ython.or)-.1 E(g>.)-.18 E(Anon)108 132 Q(ymous tar)-.15 E(gets be)-.18
-E(gin with ".. __:"; no reference name is required or allo)-.15 E(wed:)
+-.2(avo)-.1 G(rite programming language <https://www.p).2 E(ython.or)-.1
+E(g>.)-.18 E(Anon)108 132 Q(ymous tar)-.15 E(gets be)-.18 E
+(gin with ".. __:"; no reference name is required or allo)-.15 E(wed:)
 -.25 E(2)535 768 Q 0 Cg EP
 %%Trailer
 end

Modified: trunk/sandbox/manpage-writer/expected/refs.man
===================================================================
--- trunk/sandbox/manpage-writer/expected/refs.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/refs.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -98,9 +98,9 @@
 here.
 .SS External Hyperlink Targets
 .sp
-External hyperlinks, like Python <https://www.python.org/>\&.
+External hyperlinks, like Python \%<https://\:www\:.python\:.org/>\&.
 .sp
-embedded External hyperlinks, like Python <https://www.python.org/>\&.
+embedded External hyperlinks, like Python \%<https://\:www\:.python\:.org/>\&.
 .SS Internal Hyperlink Targets
 .sp
 Internal cross\-references, like example\&.
@@ -108,8 +108,8 @@
 This is an example cross\-reference target.
 .SS Indirect Hyperlink Targets
 .sp
-Python <https://www.python.org/> is my favourite
-programming language <https://www.python.org/>\&.
+Python \%<https://\:www\:.python\:.org/> is my favourite
+programming language \%<https://\:www\:.python\:.org/>\&.
 .SH Titles are targets, too
 .sp
 Implicit references, like Titles are
@@ -116,18 +116,18 @@
 targets, too\&.
 .SH and
 .sp
-See the Python <https://www.python.org/> home page for info.
+See the Python \%<https://\:www\:.python\:.org/> home page for info.
 .sp
-Write to me <mailto:[email protected]> with your questions.
+Write to me \%<mailto:jdoe@\:example\:.com> with your questions.
 .\" deduplicate _Python: https://www.python.org
 .
 .SS URIs with known schemes
 .sp
-<tel:+48-816-555-1212>
-<urn:isbn:0-486-27557-4>
-<news:comp.infosystems.www.servers.unix>
-<https://[email protected]:123/forum/questions/?tag=networking&order=newest#top>
+\%<tel:+48-816-555-1212>
+\%<urn:isbn:0-486-27557-4>
+\%<news:comp\:.infosystems\:.www\:.servers\:.unix>
+\%<https://\:john\:.doe@\:www\:.example\:.com:123/\:forum/\:questions/?\:tag=networking&\:order=newest#\:top>
 .SS Standalone email addresses
 .sp
-like <[email protected]>
+like \%<someone@\:somewhere\:.com>
 .\" End of generated man page.

Modified: trunk/sandbox/manpage-writer/expected/test.man
===================================================================
--- trunk/sandbox/manpage-writer/expected/test.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected/test.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -410,7 +410,7 @@
 This is a file.
 .SH SEE ALSO
 .sp
-docutils <http://docutils.sourceforge.net>
+docutils \%<http://\:docutils\:.sourceforge\:.net>
 .sp
 \fBrst2xml\fP(dummy)
 .sp
@@ -418,7 +418,7 @@
 .INDENT 0.0
 .IP \(bu 2
 xml\-schema\-catalog at
-<http://xml-schema-catalog.origo.ethz.ch/>
+\%<http://\:xml-schema-catalog\:.origo\:.ethz\:.ch/>
 .UNINDENT
 .sp
 And see the stars at the sky!

Modified: trunk/sandbox/manpage-writer/expected-mandoc/characters.man
===================================================================
--- trunk/sandbox/manpage-writer/expected-mandoc/characters.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected-mandoc/characters.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -47,7 +47,7 @@
 .sp
 resulting in.
 .sp
-\fBhgignore\fP(5) <hgignore.5.html>, \fBhgrc\fP(5) <hgrc.5.html>
+\fBhgignore\fP(5) \%<hgignore\:.5\:.html>, \fBhgrc\fP(5) \%<hgrc\:.5\:.html>
 .SH DESCRIPTION
 .sp
 encodings are problematic as alway.

Modified: trunk/sandbox/manpage-writer/expected-mandoc/man-de.1.man
===================================================================
--- trunk/sandbox/manpage-writer/expected-mandoc/man-de.1.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected-mandoc/man-de.1.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -635,18 +635,18 @@
 .SH GESCHICHTE
 .sp
 1990, 1991 \- Originale geschrieben von John W. Eaton
-(<[email protected]>).
+(\%<jwe@\:che\:.utexas\:.edu>).
 .sp
-23. Dez. 1992: Fehlerbereinigung  durch Rik Faith (<[email protected]>)
-unterstützt durch Willem Kasdorp (<[email protected]>).
+23. Dez. 1992: Fehlerbereinigung  durch Rik Faith (\%<faith@\:cs\:.unc\:.edu>)
+unterstützt durch Willem Kasdorp (\%<wkasdo@\:nikhefk\:.nikef\:.nl>).
 .sp
 Zwischen dem 30. April 1994 und dem 23. Februar 2000 hat Wilf
-(<[email protected]>) unter Mithilfe von einigen wenigen
+(\%<G\:.Wilford@\:ee\:.surrey\:.ac\:.uk>) unter Mithilfe von einigen wenigen
 engagierten Menschen dieses Paket entwickelt und weitergeführt.
 .sp
 Die deutsche Übersetzung wurde von Anke Steuernagel
-(<[email protected]>) und Nils Magnus
-(<[email protected]>) angefertigt.
+(\%<a_steuer@\:informatik\:.uni-kl\:.de>) und Nils Magnus
+(\%<magnus@\:informatik\:.uni-kl\:.de>) angefertigt.
 .sp
 Für persönliche Würdigungen und Zusätze siehe Quelltexte.
 .\" End of generated man page.

Modified: trunk/sandbox/manpage-writer/expected-mandoc/references.man
===================================================================
--- trunk/sandbox/manpage-writer/expected-mandoc/references.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected-mandoc/references.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -81,14 +81,14 @@
 at end of paragraph
 .SH tests
 .sp
-See <https://docutils.sourceforge.io/docs/user/rst/quickref.html#explicit-markup>
+See \%<https://\:docutils\:.sourceforge\:.io/\:docs/\:user/\:rst/\:quickref\:.html#\:explicit-markup>
 for more
 .sp
-See the Python home page <https://www.python.org> for info.
+See the Python home page \%<https://\:www\:.python\:.org> for info.
 .sp
-External hyperlinks, like Python <https://www.python.org>\&.
+External hyperlinks, like Python \%<https://\:www\:.python\:.org>\&.
 .sp
-Want to learn about my favorite programming language <https://www.python.org>?
+Want to learn about my favorite programming language \%<https://\:www\:.python\:.org>?
 .sp
 Clicking on this internal hyperlink will take us to the target
 below.
@@ -101,19 +101,19 @@
 second item, with hyperlink target.
 .UNINDENT
 .sp
-See the Python <https://www.python.org> home page for info.
+See the Python \%<https://\:www\:.python\:.org> home page for info.
 .sp
-Write to me <mailto:[email protected]> with your questions.
+Write to me \%<mailto:jdoe@\:example\:.com> with your questions.
 .sp
-The one\-liner <https://docutils.sourceforge.io/rst.html> and starts\-on\-this\-line <https://docutils.sourceforge.net/rst.html> or entirely\-below <https://docutils.sourceforge.net/rst.html> point to  <https://docutils.sourceforge.io/rst.html> and in man are ... ?
+The one\-liner \%<https://\:docutils\:.sourceforge\:.io/\:rst\:.html> and starts\-on\-this\-line \%<https://\:docutils\:.sourceforge\:.net/\:rst\:.html> or entirely\-below \%<https://\:docutils\:.sourceforge\:.net/\:rst\:.html> point to  \%<https://\:docutils\:.sourceforge\:.io/\:rst\:.html> and in man are ... ?
 .sp
 Escaped whitespace is preserved as intentional spaces, e.g.:
 .sp
-some reference <../local path with spaces.html> to a local path.
+some reference \%<../\:local path with spaces\:.html> to a local path.
 .sp
 Anonymous hyperlink references are specified with two underscores instead of one:
 .sp
-See the web site of my favorite programming language <https://www.python.org>\&.
+See the web site of my favorite programming language \%<https://\:www\:.python\:.org>\&.
 .sp
 Anonymous targets begin with \(dq.. __:\(dq; no reference name is required or allowed:
 .\" End of generated man page.

Modified: trunk/sandbox/manpage-writer/expected-mandoc/references.ps
===================================================================
--- trunk/sandbox/manpage-writer/expected-mandoc/references.ps	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected-mandoc/references.ps	2025-04-22 12:34:00 UTC (rev 10100)
@@ -214,20 +214,21 @@
 180.730(<https://docutils.sourceforge.io/rst.html>)c
 364.254(and)c
 382.888(starts-on-this-line)c
-118.415 472.153(<https://docutils.sourceforge.net/rst.html>)s
-306.823(or)c
-318.736(entirely-below)c
-118.415 456.764(<https://docutils.sourceforge.net/rst.html>)s
-306.823(point)c
-332.189(to)c
-346.247(<https://docutils.sourceforge.io/rst.html>)c
-118.415 441.375(and)s
-137.049(in)c
-148.357(man)c
-170.049(are)c
-186.230(...)c
-197.230(?)c
-118.415 410.597(Escaped)s
+463.243(<https://docutils)c
+118.415 472.153(.sourceforge.net/rst.html>)s
+235.213(or)c
+247.126(entirely-below)c
+314.028(<https://docutils.sourceforge.net/rst.html>)c
+502.436(point)c
+527.802(to)c
+118.415 456.764(<https://docutils.sourceforge.io/rst.html>)s
+301.939(and)c
+320.573(in)c
+331.881(man)c
+353.573(are)c
+369.754(...)c
+380.754(?)c
+118.415 425.986(Escaped)s
 157.817(whitespace)c
 209.440(is)c
 219.527(preserved)c
@@ -235,7 +236,7 @@
 276.947(intentional)c
 326.755(spaces,)c
 360.965(e.g.:)c
-118.415 379.819(some)s
+118.415 395.208(some)s
 144.386(reference)c
 188.045(<../local)c
 226.941(path)c
@@ -245,7 +246,7 @@
 342.837(a)c
 350.471(local)c
 374.605(path.)c
-118.415 349.041(Anonymous)s
+118.415 364.430(Anonymous)s
 174.944(hyperlink)c
 219.857(references)c
 267.795(are)c
@@ -256,7 +257,7 @@
 423.280(instead)c
 457.193(of)c
 469.106(one:)c
-118.415 318.263(See)s
+118.415 333.652(See)s
 137.049(the)c
 153.241(web)c
 174.317(site)c
@@ -266,7 +267,7 @@
 258.027(programming)c
 320.661(language)c
 363.121(<https://www.python.org>.)c
-118.415 287.485(Anonymous)s
+118.415 302.874(Anonymous)s
 174.944(targets)c
 207.020(begin)c
 234.212(with)c

Modified: trunk/sandbox/manpage-writer/expected-mandoc/test.man
===================================================================
--- trunk/sandbox/manpage-writer/expected-mandoc/test.man	2025-04-22 10:08:33 UTC (rev 10099)
+++ trunk/sandbox/manpage-writer/expected-mandoc/test.man	2025-04-22 12:34:00 UTC (rev 10100)
@@ -410,7 +410,7 @@
 This is a file.
 .SH SEE ALSO
 .sp
-docutils <http://docutils.sourceforge.net>
+docutils \%<http://\:docutils\:.sourceforge\:.net>
 .sp
 \fBrst2xml\fP(dummy)
 .sp
@@ -418,7 +418,7 @@
 .INDENT 0.0
 .IP \(bu 2
 xml\-schema\-catalog at
-<http://xml-schema-catalog.origo.ethz.ch/>
+\%<http://\:xml-schema-catalog\:.origo\:.ethz\:.ch/>
 .UNINDENT
 .sp
 And see the stars at the sky!

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