[Docstring-checkins] CVS: dps/test/test_transforms test_footnotes.py,1.1,1.2
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2002-01-29 02:17:55
|
Update of /cvsroot/docstring/dps/test/test_transforms In directory usw-pr-cvs1:/tmp/cvs-serv1461/dps/test/test_transforms Modified Files: test_footnotes.py Log Message: updated Index: test_footnotes.py =================================================================== RCS file: /cvsroot/docstring/dps/test/test_transforms/test_footnotes.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test_footnotes.py 2002/01/28 02:20:33 1.1 --- test_footnotes.py 2002/01/29 02:17:52 1.2 *************** *** 70,74 **** <document> <paragraph> ! autonumber: <footnote_reference auto="1" refname="1"> 1 --- 70,74 ---- <document> <paragraph> ! autonumber: \n\ <footnote_reference auto="1" refname="1"> 1 *************** *** 165,175 **** <paragraph> Here are some internal cross-references to the implicit targets ! generated by the footnotes: <reference refname="first"> first ! , <reference refname="second"> second ! , <reference refname="third"> third --- 165,175 ---- <paragraph> Here are some internal cross-references to the implicit targets ! generated by the footnotes: \n\ <reference refname="first"> first ! , \n\ <reference refname="second"> second ! , \n\ <reference refname="third"> third *************** *** 197,201 **** <footnote_reference auto="1" refname="four"> 4 ! should be 4, <footnote_reference auto="1" refname="1"> 1 --- 197,201 ---- <footnote_reference auto="1" refname="four"> 4 ! should be 4, \n\ <footnote_reference auto="1" refname="1"> 1 *************** *** 203,212 **** <footnote_reference auto="1" refname="3"> 3 ! should be 3, <footnote_reference auto="1"> is one too many, <footnote_reference auto="1" refname="two"> 2 ! should be 2, and <footnote_reference auto="1" refname="six"> doesn't exist. --- 203,212 ---- <footnote_reference auto="1" refname="3"> 3 ! should be 3, \n\ <footnote_reference auto="1"> is one too many, <footnote_reference auto="1" refname="two"> 2 ! should be 2, and \n\ <footnote_reference auto="1" refname="six"> doesn't exist. *************** *** 278,288 **** autonumber-labeled """], - ]) - ''' ["""\ """, """\ """], ! ''' if __name__ == '__main__': --- 278,318 ---- autonumber-labeled """], ["""\ + A labeled autonumbered footnote referece: [#footnote]_. + + An unlabeled autonumbered footnote referece: [#]_. + + .. [#] Unlabeled autonumbered footnote. + .. [#footnote] Labeled autonumbered footnote. + Note that the footnotes are not in the same + order as the references. """, """\ + <document> + <paragraph> + A labeled autonumbered footnote referece: \n\ + <footnote_reference auto="1" refname="footnote"> + 2 + . + <paragraph> + An unlabeled autonumbered footnote referece: \n\ + <footnote_reference auto="1" refname="1"> + 1 + . + <footnote auto="1" name="1"> + <label> + 1 + <paragraph> + Unlabeled autonumbered footnote. + <footnote auto="1" name="footnote"> + <label> + 2 + <paragraph> + Labeled autonumbered footnote. + Note that the footnotes are not in the same + order as the references. """], ! ]) ! if __name__ == '__main__': |