Spaces between "and" expressions
Hi!
Working on a .csl file i have the following problem:
when having selected
and="text"
in a macro, it should show up "/" instead of "and" oder "&". I have done this by setting the following terms:
<terms>
<locale xml:lang="en">
<term name="and">/</term>
</locale>
</terms>
Now, when citing, i see
"Author1 / Author2"
but i want it
"Author1/Author2"
so i want to get rid of the spaces before and after the "/".
Can someone help me with this issue?
- peter -
Working on a .csl file i have the following problem:
when having selected
and="text"
in a macro, it should show up "/" instead of "and" oder "&". I have done this by setting the following terms:
<terms>
<locale xml:lang="en">
<term name="and">/</term>
</locale>
</terms>
Now, when citing, i see
"Author1 / Author2"
but i want it
"Author1/Author2"
so i want to get rid of the spaces before and after the "/".
Can someone help me with this issue?
- peter -
b) Just curious, what should your style look like for three authors? If it should be "Author1/Author2/Author3", you'd be better off setting the delimiter instead of using the and-term.
thanks for your reply!
a) i have the citation style of a german university (lueneburg) in print.
i am now trying to create a suitable zotero style.
Right now i'm working with chicago-author-date (http://www.zotero.org/styles/chicago-author-date) because the two styles seem to be quite similar.
i changed only very few things, but uploaded anyway:
http://gist.github.com/159660
b) if there are more than two authors zotero should use the "et al." way of citing.
so i changed "et-al-min" value in "citation" section. that works.
c) i gave up on the "and" terms. i deleted the "and="text" " part in line 116
(macro: contributers short). now citation looks
"Author1 Author2"
and i dont see which delimiter to change to have it looking
"Author1/Author2"
changing the delimiter ", " in line 116 has no effect.
d) by the way: is there a way to change the symbol used when
having set "and="symbol""? default symbol is "&".
(http://www.zotero.org/support/dev/csl_syntax_summary#authors)
thanks a lot,
- peter-
d) I don't think so. "&" doesn't seem to be in the locales-file, so you probably can't define it as a custom term. But you can of course use 'and="text"' and change the "and"-term to some symbol.
It works!!!
...
I have another question:
The bibliography looks like:
lastname_author1, firstname_author1 and firstname_author2 lastname_author2
Baggins, Frodo and Peregrin Took
.........
So for the first author the last name comes first but for all other authors the first name comes first.
The desired behaviour is that the last name always precedes:
lastname_author1, firstname_author1 and lastname_author2, firstname_author2
Baggins, Frodo and Took, Peregrin
.........
i have no clue at which line i could tweak to solve this..
thanks,
-peter-
I haven't looked at the style, but somewhere in there (maybe in several places) you should find an attribute saying
name-as-sort-order="first"
Change the offending items to:
name-as-sort-order="all"
thanks for your answer! it works!
i didnt guess that from the description
"name-as-sort-order - first sorts by the first author, all doesn't."
( http://www.zotero.org/support/dev/csl_syntax_summary#authors )
maybe one could add this point to the syntax summary page....
thx,
- peter -
"name-as-sort-order - determines the order of last name and first name(initials). No entry has all authors as first name-last name, "first" displays only the first author as last name - first name, "all" displays all authors as "last name - first name"."
Is that right? Someone has a better idea for phrasing? I know this sounds awkward...
even if one would not understand it completly, one would get a clue what the "name-as-sort-order" -option does.
- peter -