Problems with full stops under zotero 2.1.6.
Hello,
I have recently installed the new zotero version. Unfortunately, I now get no characters at all instead of the full stops in the code lines below. For example "hg. v." ("ed. by") will always come out as "hg v" ("ed by").
<terms>
<locale xml:lang="de">
<term name="et-al">u.a.</term>
<term name="editor" form="verb-short">hg. v.</term>
<term name="editor" form="short">
<single>(Hg.)</single>
<multiple>(Hgg.)</multiple>
</term>
</locale>
</terms>
I tried to fix it, but I couldn't. So I am grateful for any help!
Sincerely,
Markus
I have recently installed the new zotero version. Unfortunately, I now get no characters at all instead of the full stops in the code lines below. For example "hg. v." ("ed. by") will always come out as "hg v" ("ed by").
<terms>
<locale xml:lang="de">
<term name="et-al">u.a.</term>
<term name="editor" form="verb-short">hg. v.</term>
<term name="editor" form="short">
<single>(Hg.)</single>
<multiple>(Hgg.)</multiple>
</term>
</locale>
</terms>
I tried to fix it, but I couldn't. So I am grateful for any help!
Sincerely,
Markus
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
(Edit: that is, assuming that the style is coded in CSL 1.0)
(Edit-edit: And from your example, I see that you are working in CSL 0.8.1)
Paste a copy of the style to http://gist.github.com/, save it as a public gist, and post the URL from the address bar back here, and we'll take a look. If the style is first converted to CSL 1.0, this will be easy to fix.
In CSL 0.8.1, terms in the locale files were defined without periods. For CSL 1.0, we switched to defining terms with periods (because it's easier to strip periods than it is to add them).
During the upgrade process, any cs:text elements that call terms of form="short" or "verb-short" receive a strip-periods="true" attribute, unless they carried an include-period="true" attribute. This usually works fine, unless, as in your case, you redefined abbreviation terms with periods within the CSL 0.8.1 style.
There are two ways to solve this manually:
1) you can keep your style in CSL 0.8.1, and add include-period="true" attributes to the cs:text elements calling the terms you define with cs:locale at the top of your style (you might have to remove the trailing periods from the abbreviation definitions to avoid double periods)
2) upgrade your style to CSL 1.0, and remove the strip-periods attribute from the cs:text elements calling the redefined terms.
(if you post your style to gist.github.com, as suggested by fbennett above, we can easily help you with this)
https://gist.github.com/962296
As you can see, it is a clumsily modified chicago-fullnote-bibliography style which I have adapted for my German PhD-thesis since I am quite a novice at programming CSL. Before the recent zotero-updates it worked reasonably well. However, I would not know how to upgrade the style to CSL 1.0 or how to add the include-period="true" attribute to the cs:text elements. It would be great, If you could give me an insight into both how to upgrade and how to add the attribute.
Just one more thing: After the update, whenever I was using the media-type "chapter" I had a "by" before the name of the "container-author" (label-form="verb-short") which I do not want and which I did not have before. I fixed it like this in the "terms"-section, but there must be a more elegant solution for sure:
<term name="container-author" form="verb-short"></term>
Sincerely,
Markus
I have managed now to place the include-period="true" expressions and the whole thing works. Would you recommend updating to CSL 1.0 nevertheless?
Many thanx for your help!
Best,
Markus