Need help with coding
Hi,
I am trying to modify the CMoS style to work with the requirements from my school. My school does not encourage the use of ibid so I have tried to remove it from the style. The other thing I want to do is to show the full title when I cite a source for the first time. After trying out different modifications I am very close, but there is a problem when I try to cite legal cases and bills. The problem is that I get an extra comma between the title and the year.
Example:
XXX, , 2007.
I have tried to work it out but without any luck. So if anyone can give me some pointers that would be great. Here is the copy of the code that i have modified.
<choose>
<if position="ibid-with-locator">
<group delimiter=", ">
<text macro="title-short"/>
<text macro="point-locators-subsequent"/>
</group>
</if>
<else-if position="ibid">
<text macro="title-short"/>
</else-if>
<else>
<group delimiter=", ">
<text macro="contributors"/>
<text macro="title"/>
<text macro="issue"/>
<text macro="point-locators-subsequent"/>
</group>
</else>
</choose>
I am trying to modify the CMoS style to work with the requirements from my school. My school does not encourage the use of ibid so I have tried to remove it from the style. The other thing I want to do is to show the full title when I cite a source for the first time. After trying out different modifications I am very close, but there is a problem when I try to cite legal cases and bills. The problem is that I get an extra comma between the title and the year.
Example:
XXX, , 2007.
I have tried to work it out but without any luck. So if anyone can give me some pointers that would be great. Here is the copy of the code that i have modified.
<choose>
<if position="ibid-with-locator">
<group delimiter=", ">
<text macro="title-short"/>
<text macro="point-locators-subsequent"/>
</group>
</if>
<else-if position="ibid">
<text macro="title-short"/>
</else-if>
<else>
<group delimiter=", ">
<text macro="contributors"/>
<text macro="title"/>
<text macro="issue"/>
<text macro="point-locators-subsequent"/>
</group>
</else>
</choose>
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
https://gist.github.com/1844826
Troubleshooting edits to CMoS is a lot of work, if possible I'd try to avoid that.
Have a look at the full note style for a template.
The only thing now that confuses me is then I have a book with two authors it shows up like this:
"Rosén, Karl, og Dag Henden Torsteinsen, Eiendomsmegling - Rettslige spørsmål. 2. utg. Oslo, 2008, s. 375"
On the first author his name is displayed as "last name, first name" but on the second its "first name last name" with no comma between.
Shouldn't it be displayed as:
"Karl Rosén og Dag Henden Torsteinsen, Eiendomsmegling - Rettslige spørsmål. 2. utg. Oslo, 2008, s. 375"
or
"Rosén, Karl og Torsteinsen, Dag Henden, Eiendomsmegling - Rettslige spørsmål. 2. utg. Oslo, 2008, s. 375"
I also don't know why there is a comma after the first authors last name before the "og" (Norwegian for and)
Is there a programming explanation for this, or is this just how the style is?
So why does it show "Lastname, Firstname and firstname lastname" in the footnotes then?
I have used the CMoS style from the repository so it should be correct CMoS.