On Wednesday 19 Adar II 5765 10:39 pm, Bruce D'Arcus wrote:
> On Mar 30, 2005, at 1:05 AM, David Wilson wrote:
> > I imagine some other style guides have different rules ?
>
> That's not question :-)
>
> The question is how to design configuration of sorting.
>
My idea had been that the Document Style Package would contain the following -
* The Style full name, and version number.
* The user selectable style option definitions.
* Name of macro to set up document formating options (margins, headings etc.).
* Rules defining the automated treatment repeating footnote references with
‘Ibid’ or ‘op cite’ (etc.)
* The bibliographic table sorting library name.
* The name of the xslt codesheets to produce -
In-text citations.
Footnote initial citations.
Footnote subsequent citations.
Endnote initial citations.
Endnote subsequent citations.
Bibliographic table entries.
I included 'The bibliographic table sorting library name' so that special
sorting routines could be specified where required.
I am assuming that in the design of the xslt codesheets you could specify a
include option to select the sorting modules.
I understand that different language may need different sorting routines.
-------------------------
I have been searching for opensource name sorting code without much success,
one simple example is Text::BibTeX::BibSort.
From its description -
"Generates a sort key for a single bibliographic entry. Assumes this entry
conforms to the Bib database structure. The nature of this sort key is
controlled by the sortby option, which can be either "name" or "year". (The
namestyle also has a role, in determining how author/editor names are
formatted for inclusion in the sort key.)
For by-name sorting (which is how BibTeX's standard styles work), the sort key
consists of one of the author, editor, organization, or key fields (depending
on the entry type and which fields are actually present), followed by the
year and the title. All fields are drastically simplified to produce the sort
key: non-English letters are mercilessly anglicized, non-alphabetic
characters are stripped, and everything is forced to lowercase. "
------------------------------------
Another Bitex reference -
"BibTeX recognises a bewildering array of name prefixes (mostly those deriving
from European language names); it ignores the prefixes when sorting the
bibliography - you want "Ludwig van Beethoven" sorted under "Beethoven", not
under "van". (Lamport made a witty deliberate mistake with Beethoven's name,
in the first edition of his LaTeX manual.)
However, a recurring issue is the desire to quote Lord Rayleigh's publications
("Lord" isn't an acceptable prefix), or names from languages that weren't
considered when BibTeX was designed such as "al-Wakil" (transcribed from the
Arabic). What's needed is a separate "sort key", but BibTeX only allows such
a thing in citations of items that have no author or editor.
The solution is to embed the sort key in the author's name, but to prevent it
from being typeset. Patashnik recommends a command \noopsort
(no-output-sortkey), which is defined and used as follows:
@PREAMBLE{ \providecommand{\noopsort}[1]{} }
...
@ARTICLE{Rayleigh1,
AUTHOR = "\noopsort{Rayleigh}{Lord Rayleigh}",
...
"
If we followed this approach we would allow the user to add a sort key into
the bibliographic record which would be used instead of an automatically
generated one.
We could do this by showing the automatically generated key in an advanced
options panel, the used could them modify it to force the sorting they want.
-----------------------------------
I have found some advise on how to sort an XHTML document containing personal
names with an XSLT script at
http://staff.oclc.org/~houghtoa/repository/articles/XsltPersonalNameSortingConundrum.htm
david
> Bruce
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
-------------------
David N. Wilson
Co-Project Lead for the Bibliographic
OpenOffice Project
http://bibliographic.openoffice.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]