encyclopediaArticle /dictionaryEntry
I'm trying to write a personal style which differentiates encyclopaedia/dictionary entries from other types (article or book chapter). Actually the difference is rather minor: I just want something like:
Author, V°« DictionaryEntry », in NameOfTheDictionary, date, page.
My problem is to encode this V°. How can I add it for my dictionary and encyclopaedia entries but *only* for them?
I can't use type since there's no mapping for encyclopediaArticle and dictionaryEntry (which automatically fall under the chapter type). [+ I know that it's not a good idea to write style on a type-basis]
I can't test the variable (e.g. container-title if we assume that a dictionary is always called dictionary - assumption which anyway might be erroneous).
Any idea?
Thanks!
Author, V°« DictionaryEntry », in NameOfTheDictionary, date, page.
My problem is to encode this V°. How can I add it for my dictionary and encyclopaedia entries but *only* for them?
I can't use type since there's no mapping for encyclopediaArticle and dictionaryEntry (which automatically fall under the chapter type). [+ I know that it's not a good idea to write style on a type-basis]
I can't test the variable (e.g. container-title if we assume that a dictionary is always called dictionary - assumption which anyway might be erroneous).
Any idea?
Thanks!
I've read in many topics that csl 1.0 will provide solutions to numbers of problems like this one. Will the dictionary and encyclopaedia entries be mapped? Will fallbacks be removed?
I know it can be annoying for developers to answer always the same question but when will csl 1.0 be implemented? (6 months, 1 year, more?)
Thanks
I'm not sure what csl 1.0 will bring in this particular respect, though - we can try to attract Frank Bennett's attention, maybe he'll hear us ;-) (he does have that devilish tendency to appear when you use his name, so let's see...).
Unfortunately there aren't any variables that are per se unique to dictionaries - in the thread you linked to, the person didn't have authors for those entries, which made things easy. Otherwise, though, the fields for encyclopedia entry and chapter are identical.
BTW, I'm trying to understand the precise role of csl and zotero and I'm wondering whether the future system (hierarchical relationships between items) depends upon csl and zotero or only on zotero?
I'm a new user of zotero (2months) and, as many, find it is a divine present (!). But it's rather difficult to find informations about its future: you've to search in the forums and the trac to understand who (I mean people not institution) is doing what (csl, bruce d'arcus, frank bennett?; zotero: dan stillman, sean? I would have added you (adamsmith) but I know you're 'just' a very regular contributor).
I've actually so many questions that I don't even dare ask them: I don't want to annoy and flood.
As suggested in another topic, some forum discussions are sleeping until someone wakes them up years later... without new answer (e.g.: http://forums.zotero.org/discussion/391/2/hierarchical-item-relationships/#Item_70).
(My English may not help my understanding, however)
(there is one: http://www.zotero.org/support/development_roadmap )
is pretty useless, unfortunately.
There is a zotero dev google group, but it's not very active.
CSL development happens somewhere else - I believe there is a separate listserv (xbiblio?) as well as the site were Frank is developing the new csl processor:
http://bitbucket.org/fbennett/citeproc-js/wiki/Home
You have most of the core dev team, there is also Simon (Kornblith), who mainly deals with word processor integration.
There is no reason why you shouldn't ask questions, there are plenty of posts of people asking questions they could have answered with 1mins of searching the forums and they're not getting flamed of the forum either. I think it would generally be a good idea if we could find a way to gather some of that information - you're not the only one who sometimes doesn't know what's going on.
Thanks...
<macro name="edition-note">
<choose>
<if type="book chapter entry-encyclopedia" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="edition">
<choose>
<if type="book chapter entry-encyclopedia" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition" text-case="capitalize-first" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators-note">
<choose>
<if type="article-journal">
<text variable="volume" prefix=" "/>
<text variable="issue" prefix=":"/>
</if>
<else-if type="legal_case">
<text variable="volume" prefix=", "/>
<text variable="container-title" prefix=" "/>
<text variable="page" prefix=" "/>
<text variable="locator" prefix=", "/>
</else-if>
<else-if type="entry-encyclopedia">
<text macro="edition-note"/>
</else-if>
<else-if type="book chapter" match="any">
<choose>
<if variable="locator" match="any">
</if>
<else>
<group prefix=", " delimiter=", ">
<group>
<text term="volume" form="short" suffix=". "/>
<number variable="volume" form="numeric"/>
</group>
<choose>
<if variable="locator" match="none">
<group>
<number variable="number-of-volumes" form="numeric"/>
<text term="volume" form="short" prefix=" " suffix="." plural="true"/>
</group>
</if>
</choose>
<text macro="edition-note"/>
</group>
</else>
</choose>
</else-if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal">
<text variable="volume" prefix=" "/>
<text variable="issue" prefix=":"/>
</if>
<else-if type="legal_case">
<text variable="volume" prefix=", "/>
<text variable="container-title" prefix=" "/>
<text variable="page" prefix=" "/>
</else-if>
<else-if type="entry-encyclopedia">
<text macro="edition-note"/>
</else-if>
<else-if type="book chapter" match="any">
<group prefix=". " delimiter=". ">
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=". "/>
<number variable="volume" form="numeric"/>
</group>
<group>
<number variable="number-of-volumes" form="numeric"/>
<text term="volume" form="short" prefix=" " suffix="." plural="true"/>
</group>
<text macro="edition"/>
</group>
</else-if>
</choose>
</macro>
No doubt it is the code that isn't displayed that is the source of the problem (see the style wheaton-phd-bith.csl at Any help would be much appreciated.
Best I know Frank keeps this up to date:
http://gsl-nagoya-u.net/http/pub/csl-fields/index.html
and it still had EncyclopediaArticle mapping to chapter.
edit: uhm - I see above that is supposed to have changed - but the fact that this doesn't work for you would seem to indicate that it hasn't.