more on et al. handling

OK, here’s what I’ve come up with as the simplest general solution:

 <citation>
   <multi-name-replace replace-with="et al.">
<rule when-more-than="6" and-position="first" use-first="1"/>
<rule when-more-than="2" and-less-than="6" and-position="subsequent" 

use-first=“1”/>







That implements the APA algorithm.

A more simple example – say for Chicago – would just be:

 <citation>
   <multi-name-replace replace-with="et al.">
<rule when-more-than="3" use-first="1"/>
   </multi-name-replace>
    ....
 </citation>
 <bibliography author-as-sort-order="all" author-shorten="yes">
   <multi-name-replace replace-with="et al.">
<rule when-more-than="3" use-first="1"/>
   </multi-name-replace>
   ...

For reference, current et al. handling is a single attribute, like this:

<names initialize-with=". " shorten-after="3" and-as=" &amp;"/>

… where the actual rendering (et al.) is hard-coded in the XSLT.

The only thing I don’t like about this new approach – aside from it
being more verbose than needed in most cases – is that the content is
in an attribute.

What do people think? Could this be implemented reasonably in a GUI?

Bruce

How would that work with biblio styles that require ‘et al’ to be in
italics?On May 22, 2005, at 6:00 PM, Bruce D’Arcus wrote:

OK, here’s what I’ve come up with as the simplest general solution:

<citation>
  <multi-name-replace replace-with="et al.">
.... ...

That implements the APA algorithm.

A more simple example – say for Chicago – would just be:

<citation>
  <multi-name-replace replace-with="et al.">
.... ...

For reference, current et al. handling is a single attribute, like
this:

… where the actual rendering (et al.) is hard-coded in the XSLT.

The only thing I don’t like about this new approach – aside from it
being more verbose than needed in most cases – is that the content is
in an attribute.

What do people think? Could this be implemented reasonably in a GUI?

Bruce


This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
Compare, Download & Develop Open Source & Business Software - SourceForge


xbiblio-devel mailing list
xbiblio-devel@lists.sourceforge.net
xbiblio-devel List Signup and Options

–James
+1 315 395 4056
Details: http://freelancepropaganda.com/jameshowison.vcf

Two options:

  1. add more attributes for styling

  2. add a “render” element with those attributes

It’s always safer to go with elements, even if they feel more verbose
(and are).

Bruce

Followup.

I think I figured out how to simplify this a lot. Instead of doing
this:

   <multi-name-replace replace-with="et al.">
<rule when-more-than="6" and-position="first" use-first="1"/>
<rule when-more-than="2" and-less-than="6" and-position="subsequent" 

use-first=“1”/>

… which is somewhat inconsistent, verbose, and difficult to process,
I instead say that styles such as this (APA) distinguish first from
subsequent citation rendering, and so should be configured in ways
consistent with that styling in the note classes.

 <citation>
   <prefix>(</prefix>
   <first>
<ibid min-authors="6" use-first="1" font-style="italic">ibid.</ibid>
<entry delimiter=";">
  <creator>
    <names-short/>
    <suffix> </suffix>
  </creator>
  <year/>
  <point>
    <prefix>: </prefix>
  </point>
</entry>
   </first>
   <subsequent>
<ibid min-authors="3" use-first="1" font-style="italic">ibid.</ibid>
<entry delimiter=";">
  <creator>
    <names-short/>
    <suffix> </suffix>
  </creator>
  <year/>
  <point>
    <prefix>: </prefix>
  </point>
</entry>	
   </subsequent>
   <suffix>)</suffix>
 </citation>

The only thing that kind of sucks with this is it’s more verbose.

A hybrid alternative would be:

 <citation>
   <prefix>(</prefix>
   <ibid font-style="italic">
      <first min-authors="6" use-first="1" 

font-style=“italic”>ibid.
ibid.







:


)

Opinions?

Again, these decisions should be made based on a number of factors,
including how amenable they are to GUIs.

Bruce

Um, am tired; substitute “ibid” in the markup example with “et-al”!

Bruce

So here’s the corrected alternative:

 <citation>
   <et-al>
<first min-authors="6" use-first="1"/>
<subsequent min-authors="3" use-first="1"/>
<renderas font-style="italic">et al.</renderas>
   </et-al>
   <prefix>(</prefix>
   <entry delimiter=";">
<creator>
  <names-short/>
  <suffix> </suffix>
</creator>
<year/>
<point>
  <prefix>: </prefix>
</point>
   </entry>
   <suffix>)</suffix>
 </citation>

For the bibliography in APA, you’d get:

 <bibliography author-as-sort-order="all" author-shorten="yes">
   <et-al>
<all min-authors="6" use-first="6"/>
<renderas font-style="italic">et al.</renderas>
   </et-al>

Note: am not sure APA asks for italicized “et al.” phrases, but just
responding to James’ question about that.

Bruce