CSL: getting conference name to show up properly in bibliography
Struggling with a style for Language (specs). Example bibliography entry:
Prince, Ellen. 1991. Relative clauses, resumptive pronouns, and kind-sentences. Paper presented at the annual meeting of the Linguistic Society of America, Chicago.
I would do this with an if clause, but the thing is, there seems to be no mapping for type="event" currently.
I was playing with the following bit of CSL:
but I couldn't find a way to invoke it only if type="event". If this sounds confused to you, I am indeed confused.
Prince, Ellen. 1991. Relative clauses, resumptive pronouns, and kind-sentences. Paper presented at the annual meeting of the Linguistic Society of America, Chicago.
I would do this with an if clause, but the thing is, there seems to be no mapping for type="event" currently.
I was playing with the following bit of CSL:
<macro name="event">
<group delimiter=", ">
<text term="Paper presented at" suffix=" "/>
<text variable="event"/>
<text variable="publisher-place"/>
</group>
</macro>
but I couldn't find a way to invoke it only if type="event". If this sounds confused to you, I am indeed confused.
Second, this looks to me like Zotero needs to add the appropriate mappings (ASAP), and so you're not doing anything wrong.
In the Zotero implementation of CSL it seems there is no solution to this currently.
Zotero.CSL.Item._optionalTypeMap = {
2165 journalArticle:"article-journal",
2166 magazineArticle:"article-magazine",
2167 newspaperArticle:"article-newspaper",
2168 thesis:"thesis",
2169 conferencePaper:"paper-conference",
2170 letter:"personal_communication",
2171 manuscript:"manuscript",
2172 interview:"interview",
2173 film:"motion_picture",
2174 artwork:"graphic",
2175 webpage:"webpage",
2176 report:"report",
2177 bill:"bill",
2178 case:"legal_case",
2179 hearing:"bill", // ??
2180 patent:"patent",
2181 statute:"bill", // ??
2182 email:"personal_communication",
2183 map:"map",
2184 blogPost:"webpage",
2185 instantMessage:"personal_communication",
2186 forumPost:"webpage",
2187 audioRecording:"song", // ??
2188 presentation:"speech",
2189 videoRecording:"motion_picture",
2190 tvBroadcast:"broadcast",
2191 radioBroadcast:"broadcast",
2192 podcast:"song", // ??
2193 computerProgram:"book" // ??
2194 };
2195
2196 // TODO: check with Elena/APA/MLA on this
2197 Zotero.CSL.Item._fallbackTypeMap = {
2198 book:"book",
2199 bookSection:"chapter",
2200 journalArticle:"article",
2201 magazineArticle:"article",
2202 newspaperArticle:"article",
2203 thesis:"article",
2204 encyclopediaArticle:"chapter",
2205 dictionaryEntry:"chapter",
2206 conferencePaper:"chapter",
2207 letter:"article",
2208 manuscript:"article",
2209 interview:"article",
2210 film:"book",
2211 artwork:"book",
2212 webpage:"article",
2213 report:"book",
2214 bill:"book",
2215 case:"book",
2216 hearing:"book",
2217 patent:"article",
2218 statute:"book",
2219 email:"article",
2220 map:"article",
2221 blogPost:"article",
2222 instantMessage:"article",
2223 forumPost:"article",
2224 audioRecording:"book",
2225 presentation:"article",
2226 videoRecording:"book",
2227 tvBroadcast:"article",
2228 radioBroadcast:"article",
2229 podcast:"article",
2230 computerProgram:"book"
2231 };
Alas, that's more difficult to do with the current Zotero model.
If it shows up correctly will still depend on the style, though.
Vancouver doesn't deal with presentations.
my recollection is that Vancouver doesn't want unpublished sources cited
but I don't know what their take on posters are
if you find a relevant requirement, I'll add it as time permits.