manpage writer: avoid double eol before .UR
[docutils.git] / sandbox / manpage-writer / expected-mandoc / references.utf8
blob60e261d5eb526a84d45b6825f0243b76e5d8862c
1 REFERENCE TESTS()                                            REFERENCE TESTS()
3 N\bNA\bAM\bME\bE
4        reference tests -
6 H\bHO\bOW\bW T\bTO\bO M\bMA\bAR\bRK\bKU\bUP\bP
7        link adr in .UR .UE or simply in parantheses
9        • man and mandoc convert UR/UE to <\b< and >\b>.
11        • pandoc transforms
13             See the `Python home page <https://www.python.org>`_ for info.
15          to
17             see See the Python home page (https://www.python.org) for info.
19 T\bTE\bES\bST\bT F\bFO\bOR\bR R\bRE\bEF\bFE\bER\bRE\bEN\bNC\bCE\bES\bS I\bIN\bN M\bMA\bAN\bN P\bPA\bAG\bGE\bES\bS
20        embedded in a paragraph
22        • at line start
24        • in line
26        • at eol
28        at start of paragraph
30        • followed by text
32        • at eol
34        at end of paragraph
36 T\bTE\bES\bST\bTS\bS
37        See
38        <https://docutils.sourceforge.io/docs/user/rst/quickref.html#explicit-markup>
40        for more
42        See the Python home page <https://www.python.org>
43         for info.
45        External hyperlinks, like Python <https://www.python.org> .
47        Want to learn about my favorite programming language
48        <https://www.python.org> ?
50        Clicking on this internal hyperlink will take us to the <target>
52        below.
54        The hyperlink target above points to this paragraph.
56        • bullet list
58        • second item, with hyperlink target.
60        See the Python <https://www.python.org>
61         home page for info.
63        Write to me <mailto:jdoe@example.com>
64         with your questions.
66        The one-liner <https://docutils.sourceforge.io/rst.html>
67         and starts-on-this-line <https://docutils.sourceforge.net/rst.html>
68         or entirely-below <https://docutils.sourceforge.net/rst.html>
69         point to <https://docutils.sourceforge.io/rst.html>
70         and in man are ... ?
72        Escaped whitespace is preserved as intentional spaces, e.g.:
74        some reference <../local>
75         to a local path.
77        Anonymous hyperlink references are specified with two underscores
78        instead of one:
80        See the web site of my favorite programming language
81        <https://www.python.org> .
83        Anonymous targets begin with ".. __:"; no reference name is required or
84        allowed:
86                                                              REFERENCE TESTS()