Book formatting

Hello,

sorry for flooding the mailing list currently, but I am trying to get my app
finished and released as fast as possible, and CSL support is one of the
last things that I want to implement before release.

At the moment, I am getting an additional “p. " after the edition in a
"book” reference, even though there is no page information in the data. Is
this a bug in the processor or in the CSL?

Thanks,
C.

Formatted Result

Häberle, P. . (1997). Europäische Rechtskultur: Versuch einer Annäherung in
zwölf Schritten. Suhrkamp-Taschenbuch ; 2662 (1. Aufl., p. ). Frankfurt am
Main: Suhrkamp Taschenbuch Verl.

Input Data

{
“H\u00e4berle1997”: {
“type”: “book”,
“id”: “H\u00e4berle1997”,
“author”: [
{
“family”: “H\u00e4berle”,
“given”: "P. ",
“parse-names”: “true”,
“initials”: "P. "
}
],
“issued”: {
“date-parts”: [
[
“1997”
]
]
},
“title”: “Europ\u00e4ische Rechtskultur: Versuch einer Ann\u00e4herung
in zw\u00f6lf Schritten”,
“publisher-place”: “Frankfurt am Main”,
“publisher”: “Suhrkamp Taschenbuch Verl”,
“edition”: “1. Aufl”,
“collection-title”: “Suhrkamp-Taschenbuch ; 2662”,
“keyword”: [
“Europa”,
“Verfassungsstaat”,
“Aufsatzsammlung”
],
“note”: “Peter H\u00e4berle; Lizenzausg. der Nomos Verl.-Ges.,
Baden-Baden\nNachdruck von 1994”
}
}

CSL Data

<?xml version="1.0" encoding="UTF-8"?> <?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?> American Psychological Association 6th Edition http://www.zotero.org/styles/apa Simon Kornblith @Simon_Kornblith Bruce D'Arcus Curtis M. Humphrey Richard Karnesky karnesky+zotero@gmail.com http://arc.nucapt.northwestern.edu/Richard_Karnesky Sebastian Karcher 2010-01-27T20:08:03+00:00 --

View this message in context: http://xbiblio-devel.2463403.n2.nabble.com/Book-formatting-tp5144896p5144896.html
Sent from the xbiblio-devel mailing list archive at Nabble.com.

What’s the origin of the CSL style you use? It’s not a valid CSL 1.0 style,
which might trip the CSL processor (the include-period attribute, used in
", no
longer exists in 1.0).

Rintze

Hi Rintze,

the styles are from http://www.zotero.org/styles. I thought that this was
the most up-to-date version of the styles, but I was obviously wrong. I
checked the various repositories of Bruce and Frank but could only a five
styles here: http://bitbucket.org/bdarcus/citeproc-test/src/tip/styles/. So
I figure that the Zotero styles are 0.8 and most have not been updated to
1.0?

All in all, I find it a bit of a shame that all your great work still is
somewhat intransparent to the end user - the repositories are extremely
dispersed (I liked it better when there was one central repository which
could have one central readme to guide the curious newcomer). I would
welcome it if
http://citationstyles.org/citation-style-language/csl-processors/ would
provide some guiding information (can be rudimentary) what resources to get
from where and how it all fits together. It doesn’t need to be 1.0 quality,
but just so that people who want to integrate this wonderful and badly
needed set of tools into their apps don’t get lost. I am happy to help, but
still don’t have the general view of things.

Just my 2 cents,

Christian–
View this message in context: http://xbiblio-devel.2463403.n2.nabble.com/Book-formatting-tp5144896p5145332.html
Sent from the xbiblio-devel mailing list archive at Nabble.com.

Hi Rintze,

Rintze Zelle-2 wrote:

What’s the origin of the CSL style you use? It’s not a valid CSL 1.0
style,

yes, that was the problem. Replacing the zotero.org/style- files with the
1.0 ones from Bruce’s repository, it now all works (almost), as can be seen
http://quit.rewi.hu-berlin.de/bibliograph-dev/build/#datasource~lsbaer^folderId~185^modelId~24352^itemView~formattedView^modelType~reference^selectedIds~24352%2C3695%2C2746%2C2745
here .

Thanks,

C.–
View this message in context: http://xbiblio-devel.2463403.n2.nabble.com/Book-formatting-tp5144896p5145418.html
Sent from the xbiblio-devel mailing list archive at Nabble.com.

I suspect there is a logic error in the csl_group->render() function. It is supposed to check for empty variables, but apparently that is not working correctly.

Ron.________________________________________
From: panyasan [@panyasan]
Sent: Sunday, June 06, 2010 3:55 AM
To: xbiblio-devel@lists.sourceforge.net
Subject: [xbiblio-devel] Book formatting

Hello,

sorry for flooding the mailing list currently, but I am trying to get my app
finished and released as fast as possible, and CSL support is one of the
last things that I want to implement before release.

At the moment, I am getting an additional “p. " after the edition in a
"book” reference, even though there is no page information in the data. Is
this a bug in the processor or in the CSL?

Thanks,
C.

Formatted Result

Häberle, P. . (1997). Europäische Rechtskultur: Versuch einer Annäherung in
zwölf Schritten. Suhrkamp-Taschenbuch ; 2662 (1. Aufl., p. ). Frankfurt am
Main: Suhrkamp Taschenbuch Verl.

Input Data

{
“H\u00e4berle1997”: {
“type”: “book”,
“id”: “H\u00e4berle1997”,
“author”: [
{
“family”: “H\u00e4berle”,
“given”: "P. ",
“parse-names”: “true”,
“initials”: "P. "
}
],
“issued”: {
“date-parts”: [
[
“1997”
]
]
},
“title”: “Europ\u00e4ische Rechtskultur: Versuch einer Ann\u00e4herung
in zw\u00f6lf Schritten”,
“publisher-place”: “Frankfurt am Main”,
“publisher”: “Suhrkamp Taschenbuch Verl”,
“edition”: “1. Aufl”,
“collection-title”: “Suhrkamp-Taschenbuch ; 2662”,
“keyword”: [
“Europa”,
“Verfassungsstaat”,
“Aufsatzsammlung”
],
“note”: “Peter H\u00e4berle; Lizenzausg. der Nomos Verl.-Ges.,
Baden-Baden\nNachdruck von 1994”
}
}

CSL Data

<?xml version="1.0" encoding="UTF-8"?> <?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?> American Psychological Association 6th Edition http://www.zotero.org/styles/apa Simon Kornblith @Simon_Kornblith Bruce D'Arcus Curtis M. Humphrey Richard Karnesky karnesky+zotero@gmail.com http://arc.nucapt.northwestern.edu/Richard_Karnesky Sebastian Karcher 2010-01-27T20:08:03+00:00

The general view is we’re trying to get to where all projects that use
CSL are using 1.0, and where citationstyle.org becomes the primary
repository for these styles. But clearly this take a bit of time to
manage the transition.

I think it’s up to individual implementers to figure out how best to
manage the transition. All should probably include a note about how to
get (or create) valid styles. Some might want to include a few example
styles.

Bruce