adapting citation style for videogames
Hi,
I have a need to create bibliography (or, rather, ludography) of videogames, and I've been saving them as type Computer Program, making use of the Version and System fields.
The problem is that the citation style I need to output these in, MLA, ignores these fields. I thought I'd address this by making my own version of the MLA CSL, using some other style as an example, but I couldn't find a single style in the repository that does use Version and System fields. Not even the ALL style debugger.
So I'm plowing ahead on my own, but not having much luck with CSL. The first main question is, how do I get it to pick up on the Computer Program entry type? I tried referencing it as "computerProgram", since that's how it's identified in Zotero chrome, but it didn't seem to work. I could also be referencing it under the wrong structure. Here's the relevant part of what I've tried so far:
<macro name="computer-program">
<group delimiter=". ">
<text variable="version" prefix="v"/>
<text variable="system" prefix="[" suffix="]"/>
</group>
</macro>
And then later, inside of <layout>:
<if type="book">
...
</if>
<else-if type="chapter">
...
</else-if>
<else-if type="computerProgram">
<text macro="computer-program"/>
</else-if>
...
Any suggestions?
Alternatively, is there in fact a style that uses these fields and I missed it?
Thanks in advance.
I have a need to create bibliography (or, rather, ludography) of videogames, and I've been saving them as type Computer Program, making use of the Version and System fields.
The problem is that the citation style I need to output these in, MLA, ignores these fields. I thought I'd address this by making my own version of the MLA CSL, using some other style as an example, but I couldn't find a single style in the repository that does use Version and System fields. Not even the ALL style debugger.
So I'm plowing ahead on my own, but not having much luck with CSL. The first main question is, how do I get it to pick up on the Computer Program entry type? I tried referencing it as "computerProgram", since that's how it's identified in Zotero chrome, but it didn't seem to work. I could also be referencing it under the wrong structure. Here's the relevant part of what I've tried so far:
<macro name="computer-program">
<group delimiter=". ">
<text variable="version" prefix="v"/>
<text variable="system" prefix="[" suffix="]"/>
</group>
</macro>
And then later, inside of <layout>:
<if type="book">
...
</if>
<else-if type="chapter">
...
</else-if>
<else-if type="computerProgram">
<text macro="computer-program"/>
</else-if>
...
Any suggestions?
Alternatively, is there in fact a style that uses these fields and I missed it?
Thanks in advance.
If that doesn't work, there's a missing mapping in Zotero.
I took out my macro and conditional stuff and just put the following in the bibliography layout section:
<layout>
<text macro="author" suffix="poop"/>
<text macro="title" prefix=" " suffix="."/>
<text variable="system" prefix="[" suffix="]"/>
<text variable="version" prefix=" v" suffix="."/>
...
But this produced no effect in the layout for a reference that definitely has data in those fields, indicating (I guess) that there's no mapping of the variables 'system' or 'version'. Right?
If so, what does that mean -- that is, how do I go about making this work?
Zotero can map "version" but there is no "system" in CSL--please request a "system" variable on xbiblio discussion list and we'll go from there. Please provide an example of a videogame reference in MLA.