|
From: <gr...@us...> - 2023-04-16 20:46:41
|
Revision: 9350
http://sourceforge.net/p/docutils/code/9350
Author: grubert
Date: 2023-04-16 20:46:39 +0000 (Sun, 16 Apr 2023)
Log Message:
-----------
Fix message for nonconforming docinfo-Authors.
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/test/test_transforms/test_docinfo.py
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2023-04-14 00:12:15 UTC (rev 9349)
+++ trunk/docutils/HISTORY.txt 2023-04-16 20:46:39 UTC (rev 9350)
@@ -157,6 +157,10 @@
- Fix regex to match multiline message "requires ... recommonmark"
+* test/test_transforms/test_docinfo.py
+
+ - Fix message for nonconforming docinfo-Authors.
+
* tools/
- Moved ``quicktest.py`` to ``tools/dev/``.
Modified: trunk/docutils/test/test_transforms/test_docinfo.py
===================================================================
--- trunk/docutils/test/test_transforms/test_docinfo.py 2023-04-14 00:12:15 UTC (rev 9349)
+++ trunk/docutils/test/test_transforms/test_docinfo.py 2023-04-16 20:46:39 UTC (rev 9350)
@@ -358,7 +358,7 @@
Shaw
<system_message level="2" line="3" source="test data" type="WARNING">
<paragraph>
- Bibliographic field "Authors" incompatible with extraction: it must contain either a single paragraph (with authors separated by one of ";,"), multiple paragraphs (one per author), or a bullet list with one paragraph (one author) per item.
+ Bibliographic field "Authors" incompatible with extraction: it must contain either a single paragraph (with authors separated by one of ";,"), multiple paragraphs (one per author), or a bullet list with one paragraph (one author) per item. Remember that leading initials can cause (mis)recognizing names as enumerated lists.
<field classes="authors">
<field_name>
Authors
@@ -368,7 +368,7 @@
<list_item>
<system_message level="2" line="6" source="test data" type="WARNING">
<paragraph>
- Bibliographic field "Authors" incompatible with extraction: it must contain either a single paragraph (with authors separated by one of ";,"), multiple paragraphs (one per author), or a bullet list with one paragraph (one author) per item.
+ Bibliographic field "Authors" incompatible with extraction: it must contain either a single paragraph (with authors separated by one of ";,"), multiple paragraphs (one per author), or a bullet list with one paragraph (one author) per item. Remember that leading initials can cause (mis)recognizing names as enumerated lists.
<field classes="authors">
<field_name>
Authors
@@ -381,7 +381,7 @@
Two
<system_message level="2" line="10" source="test data" type="WARNING">
<paragraph>
- Bibliographic field "Authors" incompatible with extraction: it must contain either a single paragraph (with authors separated by one of ";,"), multiple paragraphs (one per author), or a bullet list with one paragraph (one author) per item.
+ Bibliographic field "Authors" incompatible with extraction: it must contain either a single paragraph (with authors separated by one of ";,"), multiple paragraphs (one per author), or a bullet list with one paragraph (one author) per item. Remember that leading initials can cause (mis)recognizing names as enumerated lists.
<field classes="authors">
<field_name>
Authors
@@ -394,7 +394,7 @@
Two
<system_message level="2" line="15" source="test data" type="WARNING">
<paragraph>
- Bibliographic field "Authors" incompatible with extraction: it must contain either a single paragraph (with authors separated by one of ";,"), multiple paragraphs (one per author), or a bullet list with one paragraph (one author) per item.
+ Bibliographic field "Authors" incompatible with extraction: it must contain either a single paragraph (with authors separated by one of ";,"), multiple paragraphs (one per author), or a bullet list with one paragraph (one author) per item. Remember that leading initials can cause (mis)recognizing names as enumerated lists.
"""],
["""\
.. RCS keyword extraction.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|