[html5] r3173 - [] (0) Make the BibTeX 'author' and 'editor' fields take individual values. (bug [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jun 1 18:40:34 PDT 2009


Author: ianh
Date: 2009-06-01 18:40:33 -0700 (Mon, 01 Jun 2009)
New Revision: 3173

Modified:
   index
   source
Log:
[] (0) Make the BibTeX 'author' and 'editor' fields take individual values. (bug 6937)

Modified: index
===================================================================
--- index	2009-06-02 00:43:52 UTC (rev 3172)
+++ index	2009-06-02 01:40:33 UTC (rev 3173)
@@ -43387,21 +43387,20 @@
 
    <dd>
 
-    <p>Gives the name of the authors of the work cited by the
+    <p>Gives the name of one of the authors of the work cited by the
     bibliographic entry.</p>
 
     <p>The <a href=#concept-property-value title=concept-property-value>value</a> must be
     text.</p>
 
-    <!-- which should be a list of names, separated by "and", with the
-    weird BibTeX names form:
+    <!-- which should be in the weird BibTeX names form:
       First last-prefix Last
       last-prefix Last, First
       last-prefix Last, last-suffix, First
       http://artis.inrialpes.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#names
     ...and with "others" as the last name if there's more than listed. -->
 
-    <p>A single property with the name <code title=md-bibtex-author><a href=#md-bibtex-author>author</a></code> may be present within each
+    <p>Any number of properties with the name <code title=md-bibtex-author><a href=#md-bibtex-author>author</a></code> may be present within each
     <a href=#concept-item title=concept-item>item</a> with the type <code title=md-bibtex><a href=#md-bibtex>bibtex</a></code>. When such an <a href=#concept-item title=concept-item>item</a> has an <code title=md-bibtex-entrytype><a href=#md-bibtex-entrytype>entrytype</a></code> property whose value
     is one of <code title=md-bibtex-entrytype-article><a href=#md-bibtex-entrytype-article>article</a></code>, <code title=md-bibtex-entrytype-incollection><a href=#md-bibtex-entrytype-incollection>incollection</a></code>,
     <code title=md-bibtex-entrytype-inproceedings><a href=#md-bibtex-entrytype-inproceedings>inproceedings</a></code>,
@@ -43483,7 +43482,7 @@
 
    <dd>
 
-    <p>Gives the name of the editors of the work cited by the
+    <p>Gives the name of one of the editors of the work cited by the
     bibliographic entry.</p>
 
     <p>The <a href=#concept-property-value title=concept-property-value>value</a> must be
@@ -43491,7 +43490,7 @@
 
     <!-- see note at "author" -->
 
-    <p>A single property with the name <code title=md-bibtex-editor><a href=#md-bibtex-editor>editor</a></code> may be present within each
+    <p>Any number of properties with the name <code title=md-bibtex-editor><a href=#md-bibtex-editor>editor</a></code> may be present within each
     <a href=#concept-item title=concept-item>item</a> with the type <code title=md-bibtex><a href=#md-bibtex>bibtex</a></code>. When such an <a href=#concept-item title=concept-item>item</a> has an <code title=md-bibtex-entrytype><a href=#md-bibtex-entrytype>entrytype</a></code> property whose value
     is one of <code title=md-bibtex-entrytype-book><a href=#md-bibtex-entrytype-book>book</a></code> or
     <code title=md-bibtex-entrytype-inbook><a href=#md-bibtex-entrytype-inbook>inbook</a></code> and has no
@@ -45096,14 +45095,36 @@
 
    <li>
 
+    <p>Run the following substeps, first with <var title="">name</var> set to the string "<code title=md-bibtex-author><a href=#md-bibtex-author>author</a></code>", and then with <var title="">name</var> set to the string "<code title=md-bibtex-editor><a href=#md-bibtex-editor>editor</a></code>":</p>
+
+    <ol><li><p>If there is no property with the name given by <var title="">name</var> whose <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a> is
+     <var title="">node</var> and whose <a href=#concept-property-value title=concept-property-value>value</a> is not an <a href=#concept-item title=concept-item>item</a>, skip these substeps for this
+     value of <var title="">name</var>.</li>
+
+     <li><p>Let <var title="">value</var> be the result of
+     concatentating the <a href=#concept-property-value title=concept-property-value>values</a> of all the
+     properties with the name given by <var title="">name</var> whose
+     <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
+     item</a> is <var title="">node</var>, excluding any whose
+     values are themselves <a href=#concept-item title=concept-item>items</a>,
+     separating each value with the five-character string "<code title=""> and </code>" (that is, U+0020 SPACE, U+0061
+     LATIN SMALL LETTER A, U+006E LATIN SMALL LETTER N, U+0064 LATIN
+     SMALL LETTER D, U+0020 SPACE).</li>
+
+     <li><p><a href=#output-the-bibtex-name-value-pair>Output the BibTeX name-value pair</a> given by
+     <var title="">name</var> and <var title="">value</var>.</li>
+
+    </ol></li>
+
+   <li>
+
     <p>For each element <var title="">element</var> that has one or
     more <a href=#property-names>property names</a> and whose <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a> is
     <var title="">node</var>: for each name <var title="">name</var>
     in <var title="">element</var>'s <a href=#property-names>property names</a>, run
     the appropriate set of substeps from the following list:</p>
 
-    <ol><li><p>If <var title="">name</var> is equal to the string "<code title=md-about><a href=#md-about>about</a></code>", "<code title=md-bibtex-entrytype><a href=#md-bibtex-entrytype>entrytype</a></code>", or "<code title=md-bibtex-bibtex-id><a href=#md-bibtex-bibtex-id>bibtex-id</a></code>", skip this
-     name.</li>
+    <ol><li><p>If <var title="">name</var> is equal to the string "<code title=md-about><a href=#md-about>about</a></code>", "<code title=md-bibtex-entrytype><a href=#md-bibtex-entrytype>entrytype</a></code>", "<code title=md-bibtex-bibtex-id><a href=#md-bibtex-bibtex-id>bibtex-id</a></code>", "<code title=md-bibtex-author><a href=#md-bibtex-author>author</a></code>", or "<code title=md-bibtex-editor><a href=#md-bibtex-editor>editor</a></code>", skip this name.</li>
 
      <li><p>If <var title="">name</var> contains either a U+003A COLON
      character (:) or a U+002E FULL STOP character (.), skip this
@@ -45113,35 +45134,41 @@
      of the property is itself an <a href=#concept-item title=concept-item>item</a>, then skip this
      property.</li>
 
-     <li><p>Append two U+0020 SPACE characters to <var title="">output</var>.</li>
+     <li><p>Let <var title="">value</var> be the <a href=#concept-property-value title=concept-property-value>value</a> of the
+     property.</li>
 
-     <li><p>Append <var title="">name</var> to <var title="">output</var>.</li>
+     <li><p><a href=#output-the-bibtex-name-value-pair>Output the BibTeX name-value pair</a> given by
+     <var title="">name</var> and <var title="">value</var>.</li>
 
-     <li><p>Append a U+0020 SPACE character, a U+003D EQUALS SIGN
-     character (=), and another U+0020 SPACE character to <var title="">output</var>.</li>
+    </ol></li>
 
-     <li><p>Let <var title="">value</var> be the <a href=#concept-property-value title=concept-property-value>value</a> of the
-     property.</li>
+   <li><p>Append a U+007D RIGHT CURLY BRACKET character (}) to <var title="">output</var>.</li>
 
-     <li><p>Replace all occurrences of the U+0022 QUOTATION MARK
-     character (") in <var title="">value</var> with the
-     three-character sequence "<code title="">{"}</code>" (U+007B LEFT
-     CURLY BRACKET, U+0022 QUOTATION MARK, U+007D RIGHT CURLY
-     BRACKET).</li>
+  </ol><p>When the user agent is to <dfn id=output-the-bibtex-name-value-pair>output the BibTeX name-value
+  pair</dfn> given by <var title="">name</var> and <var title="">value</var>, it must run the following steps:</p>
 
-     <li><p>Append a U+0022 QUOTATION MARK character (") to <var title="">output</var>.</li>
+  <ol><li><p>Append two U+0020 SPACE characters to <var title="">output</var>.</li>
 
-     <li><p>Append <var title="">value</var> to <var title="">output</var>.</li>
+   <li><p>Append <var title="">name</var> to <var title="">output</var>.</li>
 
-     <li><p>Append a U+0022 QUOTATION MARK character (") to <var title="">output</var>.</li>
+   <li><p>Append a U+0020 SPACE character, a U+003D EQUALS SIGN
+   character (=), and another U+0020 SPACE character to <var title="">output</var>.</li>
 
-     <li><p>Append a U+002C COMMA character (,) and a U+000A LINE FEED
-     (LF) character to <var title="">output</var>.</li>
+   <li><p>Replace all occurrences of the U+0022 QUOTATION MARK
+   character (") in <var title="">value</var> with the
+   three-character sequence "<code title="">{"}</code>" (U+007B LEFT
+   CURLY BRACKET, U+0022 QUOTATION MARK, U+007D RIGHT CURLY
+   BRACKET).</li>
 
-    </ol></li>
+   <li><p>Append a U+0022 QUOTATION MARK character (") to <var title="">output</var>.</li>
 
-   <li><p>Append aU+007D RIGHT CURLY BRACKET character (}) to <var title="">output</var>.</li>
+   <li><p>Append <var title="">value</var> to <var title="">output</var>.</li>
 
+   <li><p>Append a U+0022 QUOTATION MARK character (") to <var title="">output</var>.</li>
+
+   <li><p>Append a U+002C COMMA character (,) and a U+000A LINE FEED
+   (LF) character to <var title="">output</var>.</li>
+
   </ol><h4 id=atom><span class=secno>5.5.6 </span>Atom</h4>
 
   <p>Given a <code>Document</code> <var title="">source</var>, a user

Modified: source
===================================================================
--- source	2009-06-02 00:43:52 UTC (rev 3172)
+++ source	2009-06-02 01:40:33 UTC (rev 3173)
@@ -49044,21 +49044,20 @@
 
    <dd>
 
-    <p>Gives the name of the authors of the work cited by the
+    <p>Gives the name of one of the authors of the work cited by the
     bibliographic entry.</p>
 
     <p>The <span title="concept-property-value">value</span> must be
     text.</p>
 
-    <!-- which should be a list of names, separated by "and", with the
-    weird BibTeX names form:
+    <!-- which should be in the weird BibTeX names form:
       First last-prefix Last
       last-prefix Last, First
       last-prefix Last, last-suffix, First
       http://artis.inrialpes.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#names
     ...and with "others" as the last name if there's more than listed. -->
 
-    <p>A single property with the name <code
+    <p>Any number of properties with the name <code
     title="md-bibtex-author">author</code> may be present within each
     <span title="concept-item">item</span> with the type <code
     title="md-bibtex">bibtex</code>. When such an <span
@@ -49163,7 +49162,7 @@
 
    <dd>
 
-    <p>Gives the name of the editors of the work cited by the
+    <p>Gives the name of one of the editors of the work cited by the
     bibliographic entry.</p>
 
     <p>The <span title="concept-property-value">value</span> must be
@@ -49171,7 +49170,7 @@
 
     <!-- see note at "author" -->
 
-    <p>A single property with the name <code
+    <p>Any number of properties with the name <code
     title="md-bibtex-editor">editor</code> may be present within each
     <span title="concept-item">item</span> with the type <code
     title="md-bibtex">bibtex</code>. When such an <span
@@ -51322,6 +51321,43 @@
 
    <li>
 
+    <p>Run the following substeps, first with <var
+    title="">name</var> set to the string "<code
+    title="md-bibtex-author">author</code>", and then with <var
+    title="">name</var> set to the string "<code
+    title="md-bibtex-editor">editor</code>":</p>
+
+    <ol>
+
+     <li><p>If there is no property with the name given by <var
+     title="">name</var> whose <span
+     title="concept-item-corresponding">corresponding item</span> is
+     <var title="">node</var> and whose <span
+     title="concept-property-value">value</span> is not an <span
+     title="concept-item">item</span>, skip these substeps for this
+     value of <var title="">name</var>.</p></li>
+
+     <li><p>Let <var title="">value</var> be the result of
+     concatentating the <span
+     title="concept-property-value">values</span> of all the
+     properties with the name given by <var title="">name</var> whose
+     <span title="concept-item-corresponding">corresponding
+     item</span> is <var title="">node</var>, excluding any whose
+     values are themselves <span title="concept-item">items</span>,
+     separating each value with the five-character string "<code
+     title=""> and </code>" (that is, U+0020 SPACE, U+0061
+     LATIN SMALL LETTER A, U+006E LATIN SMALL LETTER N, U+0064 LATIN
+     SMALL LETTER D, U+0020 SPACE).</p></li>
+
+     <li><p><span>Output the BibTeX name-value pair</span> given by
+     <var title="">name</var> and <var title="">value</var>.</p></li>
+
+    </ol>
+
+   </li>
+
+   <li>
+
     <p>For each element <var title="">element</var> that has one or
     more <span>property names</span> and whose <span
     title="concept-item-corresponding">corresponding item</span> is
@@ -51333,9 +51369,10 @@
 
      <li><p>If <var title="">name</var> is equal to the string "<code
      title="md-about">about</code>", "<code
-     title="md-bibtex-entrytype">entrytype</code>", or "<code
-     title="md-bibtex-bibtex-id">bibtex-id</code>", skip this
-     name.</p></li>
+     title="md-bibtex-entrytype">entrytype</code>", "<code
+     title="md-bibtex-bibtex-id">bibtex-id</code>", "<code
+     title="md-bibtex-author">author</code>", or "<code
+     title="md-bibtex-editor">editor</code>", skip this name.</p></li>
 
      <li><p>If <var title="">name</var> contains either a U+003A COLON
      character (:) or a U+002E FULL STOP character (.), skip this
@@ -51346,45 +51383,56 @@
      title="concept-item">item</span>, then skip this
      property.</p></li>
 
-     <li><p>Append two U+0020 SPACE characters to <var
-     title="">output</var>.</p></li>
-
-     <li><p>Append <var title="">name</var> to <var
-     title="">output</var>.</li>
-
-     <li><p>Append a U+0020 SPACE character, a U+003D EQUALS SIGN
-     character (=), and another U+0020 SPACE character to <var
-     title="">output</var>.</p></li>
-
      <li><p>Let <var title="">value</var> be the <span
      title="concept-property-value">value</span> of the
      property.</p></li>
 
-     <li><p>Replace all occurrences of the U+0022 QUOTATION MARK
-     character (") in <var title="">value</var> with the
-     three-character sequence "<code title="">{"}</code>" (U+007B LEFT
-     CURLY BRACKET, U+0022 QUOTATION MARK, U+007D RIGHT CURLY
-     BRACKET).</p></li>
+     <li><p><span>Output the BibTeX name-value pair</span> given by
+     <var title="">name</var> and <var title="">value</var>.</p></li>
 
-     <li><p>Append a U+0022 QUOTATION MARK character (") to <var
-     title="">output</var>.</p></li>
+    </ol>
 
-     <li><p>Append <var title="">value</var> to <var
-     title="">output</var>.</p></li>
+   </li>
 
-     <li><p>Append a U+0022 QUOTATION MARK character (") to <var
-     title="">output</var>.</p></li>
+   <li><p>Append a U+007D RIGHT CURLY BRACKET character (}) to <var
+   title="">output</var>.</p></li>
 
-     <li><p>Append a U+002C COMMA character (,) and a U+000A LINE FEED
-     (LF) character to <var title="">output</var>.</p></li>
+  </ol>
 
-    </ol>
+  <p>When the user agent is to <dfn>output the BibTeX name-value
+  pair</dfn> given by <var title="">name</var> and <var
+  title="">value</var>, it must run the following steps:</p>
 
-   </li>
+  <ol>
 
-   <li><p>Append aU+007D RIGHT CURLY BRACKET character (}) to <var
+   <li><p>Append two U+0020 SPACE characters to <var
    title="">output</var>.</p></li>
 
+   <li><p>Append <var title="">name</var> to <var
+   title="">output</var>.</li>
+
+   <li><p>Append a U+0020 SPACE character, a U+003D EQUALS SIGN
+   character (=), and another U+0020 SPACE character to <var
+   title="">output</var>.</p></li>
+
+   <li><p>Replace all occurrences of the U+0022 QUOTATION MARK
+   character (") in <var title="">value</var> with the
+   three-character sequence "<code title="">{"}</code>" (U+007B LEFT
+   CURLY BRACKET, U+0022 QUOTATION MARK, U+007D RIGHT CURLY
+   BRACKET).</p></li>
+
+   <li><p>Append a U+0022 QUOTATION MARK character (") to <var
+   title="">output</var>.</p></li>
+
+   <li><p>Append <var title="">value</var> to <var
+   title="">output</var>.</p></li>
+
+   <li><p>Append a U+0022 QUOTATION MARK character (") to <var
+   title="">output</var>.</p></li>
+
+   <li><p>Append a U+002C COMMA character (,) and a U+000A LINE FEED
+   (LF) character to <var title="">output</var>.</p></li>
+
   </ol>
 
 




More information about the Commit-Watchers mailing list