SF.net SVN: docutils:[9985 ] trunk/sandbox/manpage-wri ter
grubert--- via Docutils-checkins <[email protected]>
| Newsgroups | gmane.text.docutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 9985
http://sourceforge.net/p/docutils/code/9985
Author: grubert
Date: 2024-11-18 16:26:33 +0000 (Mon, 18 Nov 2024)
Log Message:
-----------
add expected for reference macros
Modified Paths:
--------------
trunk/sandbox/manpage-writer/runtest
Added Paths:
-----------
trunk/sandbox/manpage-writer/expected/refs-urue.utf8
Added: trunk/sandbox/manpage-writer/expected/refs-urue.utf8
===================================================================
--- trunk/sandbox/manpage-writer/expected/refs-urue.utf8 (rev 0)
+++ trunk/sandbox/manpage-writer/expected/refs-urue.utf8 2024-11-18 16:26:33 UTC (rev 9985)
@@ -0,0 +1,98 @@
+() ()
+
+[1mName[0m
+ - from quickref.html
+
+[1mExplicit Markup[0m
+ [1mFootnotes[0m
+ Footnote references, like [5]. Note that footnotes may get rearranged,
+ e.g., to the bottom of the "page".
+
+ [5] A numerical footnote. Note there's no colon after the [1m][22m.
+
+
+ ----
+
+
+
+ Autonumbered footnotes are possible, like using [1] and [2].
+
+ [1] This is the first one.
+
+ [2] This is the second one.
+
+ They may be assigned 'autonumber labels' - for instance, [4] and
+ [3].
+
+ [3] a.k.a. third
+
+
+ [4] a.k.a. fourth
+
+
+
+ ----
+
+
+
+ Auto-symbol footnotes are also possible, like this: [*] and [†].
+
+ [*] This is the first one.
+
+ [†] This is the second one.
+
+ [1mCitations[0m
+ Citation references, like [CIT2002]. Note that citations may get re‐
+ arranged, e.g., to the bottom of the "page".
+
+ [CIT2002]
+ A citation (as often used in journals).
+
+ Citation labels contain alphanumerics, underlines, hyphens and
+ fullstops. Case is not significant.
+
+ Given a citation like [this], one can also refer to it like this .
+
+ [this]
+ here.
+
+ [1mExternal Hyperlink Targets[0m
+ External hyperlinks, like ]8;;https://www.python.org/\Python]8;;\ .
+
+ embedded External hyperlinks, like ]8;;https://www.python.org/\Python]8;;\ .
+
+ [1mInternal Hyperlink Targets[0m
+ Internal cross-references, like example .
+
+ This is an example cross-reference target.
+
+ [1mIndirect Hyperlink Targets[0m
+ ]8;;https://www.python.org/\Python]8;;\
+ is ]8;;https://www.python.org/\my favourite programming language]8;;\ .
+
+[1mTitles are targets, too[0m
+ Implicit references, like Titles are targets, too .
+
+[1mand[0m
+ See the ]8;;https://www.python.org/\Python]8;;\
+ home page for info.
+
+ ]8;;mailto:mailto:[email protected]\Write to me]8;;\
+ with your questions.
+
+ [1mURIs with known schemes[0m
+ ]8;;tel:+48-816-555-1212\tel:+48-816-555-1212]8;;\
+
+ ]8;;urn:isbn:0-486-27557-4\urn:isbn:0-486-27557-4]8;;\
+
+ ]8;;news:comp.infosystems.www.servers.unix\news:comp.infosystems.www.servers.unix]8;;\
+
+ ]8;;https://[email protected]:123/forum/questions/?tag=networking&order=newest#top\https://[email protected]:123/forum/questions/?tag=network‐
+ ing&order=newest#top]8;;\
+
+
+ [1mStandalone email addresses[0m
+ like ]8;;mailto:[email protected]\[email protected]]8;;\
+
+
+ ()
Modified: trunk/sandbox/manpage-writer/runtest
===================================================================
--- trunk/sandbox/manpage-writer/runtest 2024-11-18 12:55:33 UTC (rev 9984)
+++ trunk/sandbox/manpage-writer/runtest 2024-11-18 16:26:33 UTC (rev 9985)
@@ -97,7 +97,7 @@
done
done
-# reference macros
+echo "--- reference macros"
EXT=-urue.man
for EXP_F in $EXP_DIR/*$EXT ; do
BASE=`basename $EXP_F`
@@ -109,6 +109,16 @@
if [ $? -ne 0 ] ; then
inc_ERROR_CNT
fi
+ for ENC in $ENCS ; do
+ F_BASE=${BASE%.man}
+ if [ -e $EXP_DIR/$F_BASE.$ENC ] ; then
+ man -T$ENC $OUT_DIR/$F_BASE.man > $OUT_DIR/$F_BASE.$ENC
+ diff -s -u $EXP_DIR/$F_BASE.$ENC $OUT_DIR/$F_BASE.$ENC
+ if [ $? -ne 0 ] ; then
+ inc_ERROR_CNT
+ fi
+ fi
+ done
fi
done
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