3
3
# Author: David Goodger
4
4
# Contact: goodger@users.sourceforge.net
5
# Revision: $Revision: 1.20 $
6
# Date: $Date: 2004/03/25 23:01:10 $
5
# Revision: $Revision: 3915 $
6
# Date: $Date: 2005-10-02 03:06:42 +0200 (Sun, 02 Oct 2005) $
7
7
# Copyright: This module has been placed in the public domain.
48
48
<document source="test data">
50
<problematic id="id2" refid="id1">
50
<problematic ids="id2" refid="id1">
52
52
emphasis without closing asterisk
53
<system_message backrefs="id2" id="id1" level="2" line="1" source="test data" type="WARNING">
53
<system_message backrefs="id2" ids="id1" level="2" line="1" source="test data" type="WARNING">
55
55
Inline emphasis start-string without end-string.
85
85
the* *stars\* *inside
88
<problematic id="id2" refid="id1">
88
<problematic ids="id2" refid="id1">
90
90
args' will trigger a warning and may be problematic)
91
<system_message backrefs="id2" id="id1" level="2" line="5" source="test data" type="WARNING">
91
<system_message backrefs="id2" ids="id1" level="2" line="5" source="test data" type="WARNING">
93
93
Inline emphasis start-string without end-string.
139
139
) but not (**) or '(** ' or x**2 or **kwargs or **
142
<problematic id="id2" refid="id1">
142
<problematic ids="id2" refid="id1">
144
144
kwargs' will trigger a warning and may be problematic)
145
<system_message backrefs="id2" id="id1" level="2" line="3" source="test data" type="WARNING">
145
<system_message backrefs="id2" ids="id1" level="2" line="3" source="test data" type="WARNING">
147
147
Inline strong start-string without end-string.
169
169
<document source="test data">
171
<problematic id="id2" refid="id1">
171
<problematic ids="id2" refid="id1">
173
173
strong without closing asterisks
174
<system_message backrefs="id2" id="id1" level="2" line="1" source="test data" type="WARNING">
174
<system_message backrefs="id2" ids="id1" level="2" line="1" source="test data" type="WARNING">
176
176
Inline strong start-string without end-string.
228
228
but not "``" or ``
231
<problematic id="id2" refid="id1">
231
<problematic ids="id2" refid="id1">
233
233
standalone TeX quotes'' will trigger a warning
234
234
and may be problematic)
235
<system_message backrefs="id2" id="id1" level="2" line="3" source="test data" type="WARNING">
235
<system_message backrefs="id2" ids="id1" level="2" line="3" source="test data" type="WARNING">
237
237
Inline literal start-string without end-string.
254
254
<document source="test data">
256
<problematic id="id2" refid="id1">
256
<problematic ids="id2" refid="id1">
258
258
literal without closing backquotes
259
<system_message backrefs="id2" id="id1" level="2" line="1" source="test data" type="WARNING">
259
<system_message backrefs="id2" ids="id1" level="2" line="1" source="test data" type="WARNING">
261
261
Inline literal start-string without end-string.
368
368
Invalid phrase reference:
370
<problematic id="id2" refid="id1">
370
<problematic ids="id2" refid="id1">
371
371
:role:`phrase reference`_
372
<system_message backrefs="id2" id="id1" level="2" line="3" source="test data" type="WARNING">
372
<system_message backrefs="id2" ids="id1" level="2" line="3" source="test data" type="WARNING">
374
374
Mismatch: both interpreted text role prefix and reference suffix.
384
384
Invalid phrase reference:
386
<problematic id="id2" refid="id1">
386
<problematic ids="id2" refid="id1">
387
387
`phrase reference`:role:_
388
<system_message backrefs="id2" id="id1" level="2" line="3" source="test data" type="WARNING">
388
<system_message backrefs="id2" ids="id1" level="2" line="3" source="test data" type="WARNING">
390
390
Mismatch: both interpreted text role suffix and reference suffix.
396
396
<document source="test data">
398
<problematic id="id2" refid="id1">
398
<problematic ids="id2" refid="id1">
401
401
<reference name="reference" refname="reference">
403
403
without closing backquote
404
<system_message backrefs="id2" id="id1" level="2" line="1" source="test data" type="WARNING">
404
<system_message backrefs="id2" ids="id1" level="2" line="1" source="test data" type="WARNING">
406
406
Inline interpreted text or phrase reference start-string without end-string.
412
412
<document source="test data">
414
<problematic id="id2" refid="id1">
414
<problematic ids="id2" refid="id1">
416
416
anonymous phrase \n\
417
417
<reference anonymous="1" name="reference">
419
419
without closing backquote
420
<system_message backrefs="id2" id="id1" level="2" line="1" source="test data" type="WARNING">
420
<system_message backrefs="id2" ids="id1" level="2" line="1" source="test data" type="WARNING">
422
422
Inline interpreted text or phrase reference start-string without end-string.
433
433
<reference name="phrase reference" refuri="http://example.com">
435
<target id="phrase-reference" name="phrase reference" refuri="http://example.com">
435
<target ids="phrase-reference" names="phrase\ reference" refuri="http://example.com">
438
438
`anonymous reference <http://example.com>`__
538
538
<reference name="reference" refuri="reference">
540
<target id="reference" name="reference" refuri="reference">
540
<target ids="reference" names="reference" refuri="reference">
542
542
<reference name="anonymous" refuri="anonymous">
557
557
<document source="test data">
559
<target id="target" name="target">
559
<target ids="target" names="target">
563
<target id="another-target" name="another target">
563
<target ids="another-target" names="another\ target">
565
565
in some text. And \n\
566
<target id="yet-another-target" name="yet another target">
566
<target ids="yet-another-target" names="yet\ another\ target">
569
569
, spanning lines.
571
<target id="here-is-a-target" name="here is a target">
571
<target ids="here-is-a-target" names="here\ is\ a\ target">
573
573
with case and spacial difficulties.
583
583
But this isn't a _target; targets require backquotes.
586
<problematic id="id2" refid="id1">
586
<problematic ids="id2" refid="id1">
588
588
this`_ is just plain confusing.
589
<system_message backrefs="id2" id="id1" level="2" line="3" source="test data" type="WARNING">
589
<system_message backrefs="id2" ids="id1" level="2" line="3" source="test data" type="WARNING">
591
591
Inline target start-string without end-string.
597
597
<document source="test data">
599
<problematic id="id2" refid="id1">
599
<problematic ids="id2" refid="id1">
601
601
inline target without closing backquote
602
<system_message backrefs="id2" id="id1" level="2" line="1" source="test data" type="WARNING">
602
<system_message backrefs="id2" ids="id1" level="2" line="1" source="test data" type="WARNING">
604
604
Inline target start-string without end-string.
658
658
<document source="test data">
660
<citation_reference id="id1" refname="citation">
660
<citation_reference ids="id1" refname="citation">
663
<citation_reference id="id2" refname="cit-ation">
663
<citation_reference ids="id2" refname="cit-ation">
666
<citation_reference id="id3" refname="cit.ation">
666
<citation_reference ids="id3" refname="cit.ation">
669
<citation_reference id="id4" refname="cit1">
669
<citation_reference ids="id4" refname="cit1">
723
723
<document source="test data">
725
<problematic id="id2" refid="id1">
725
<problematic ids="id2" refid="id1">
727
727
substitution reference without closing verbar
728
<system_message backrefs="id2" id="id1" level="2" line="1" source="test data" type="WARNING">
728
<system_message backrefs="id2" ids="id1" level="2" line="1" source="test data" type="WARNING">
730
730
Inline substitution_reference start-string without end-string.
733
first | then || and finally |||
736
736
<document source="test data">
738
first | then || and finally |||
825
Valid URL with escaped markup characters:
825
Valid URLs with escaped markup characters:
827
827
http://example.com/\\*content\\*/whatever
830
<document source="test data">
832
Valid URL with escaped markup characters:
834
<reference refuri="http://example.com/*content*/whatever">
835
http://example.com/*content*/whatever
829
http://example.com/\\*content*/whatever
832
<document source="test data">
834
Valid URLs with escaped markup characters:
836
<reference refuri="http://example.com/*content*/whatever">
837
http://example.com/*content*/whatever
839
<reference refuri="http://example.com/*content*/whatever">
840
http://example.com/*content*/whatever
843
Valid URLs may end with punctuation inside "<>":
845
<http://example.org/ends-with-dot.>
848
<document source="test data">
850
Valid URLs may end with punctuation inside "<>":
853
<reference refuri="http://example.org/ends-with-dot.">
854
http://example.org/ends-with-dot.
858
Valid URLs with interesting endings:
860
http://example.org/ends-with-pluses++
863
<document source="test data">
865
Valid URLs with interesting endings:
867
<reference refuri="http://example.org/ends-with-pluses++">
868
http://example.org/ends-with-pluses++
838
871
None of these are standalone hyperlinks (their "schemes"
844
877
None of these are standalone hyperlinks (their "schemes"
845
878
are not recognized): signal:noise, a:b.
881
Escaped email addresses are not recognized: test\@example.org
884
<document source="test data">
886
Escaped email addresses are not recognized: test@example.org
849
890
totest['miscellaneous'] = [