In the hopes that it's okay to reactivate this thread: I've had to create a new style from scratch and it does all I need it to do, except for the ibid thing. I tried following the instructions given above for styles not containing a point-locators-subsequent macro. Unfortunately, no ibid entries are produced, neither with or without a locator present. My code is at https://gist.github.com/sixtyfive/f066a6eaed5285614403e118b63f2cf0. Since Zotero also complains "... is not a valid CSL 1.0.1 style file, and may not work properly with Zotero" I can only assume that something is wrong or incomplete?
@rapha Since this style is for an actual publisher, it would be great to get this into the repository so other users can also benefit from this code. It will need one or two pieces of information though. On the Peter Lang website I see the recommendation to either follow APA(US) or MHRA (GB). What is your style for (which faculty) and what style is it based on?
@damnation in the Peter Lang author submission guidelines you can see:
U.S. Style: For texts in the education discipline, Peter Lang refers to the Publication Manual of the American Psychological Association. For non-education texts, Peter Lang refers to the Chicago Manual of Style. British style: When using British style, especially within the humanities, it is usually appropriate to follow Hart’s Rules or MHRA style.
I think it will be good/necessary to prepare all these styles.
Thanks. I know and that's what I wrote. Hence my questions to clarify my questions from rapha's side. Would be great if you could help me with these two styles.
@adamsmith Hello! Can you please guide me where to add code? For now my style works perfect for me, just want to ask if I can add ibid function <choose> <if position="ibid-with-locator"> <group delimiter=", "> <text term="ibid"/> <text macro="point-locators-subsequent"/> </group> </if> <else-if position="ibid"> <text term="ibid"/> </else-if>
Could you either remove all the commented out code or rename the file to style.xml so github shows syntax highlighting? No way I can read the code with half the lines commented out.
@smirnov_dd First, if you use CSL-M, you should set the version to "1.1mlz1". This will start the processor in CSL-M mode. Otherwise, not all features might be available.
Then, your "ibid." code is in a layout node for locale "en". So, the item locale must be "en".
Strangely, I only get the ibids, when the document locale is "de" or "en-UK". No "ibid" for "en-US".
http://validator.citationstyles.org/?url=https://gist.githubusercontent.com/sixtyfive/f066a6eaed5285614403e118b63f2cf0/raw/41d8da10e2062c92166f4491c93ccf03d3f3ffb2/peter-lang.csl&version=1.0.1
if you simply replace them with hyphens that works.
The ibid. works for me then.
Since this style is for an actual publisher, it would be great to get this into the repository so other users can also benefit from this code.
It will need one or two pieces of information though.
On the Peter Lang website I see the recommendation to either follow APA(US) or MHRA (GB).
What is your style for (which faculty) and what style is it based on?
Would be great if you could help me with these two styles.
Tolkien, Lord of the Rings, 1
Ebd., 2
Ebd., 45
usw.
jetzt sieht es plötzlich so aus..
Tolkien, Lord of the Rings, 1
Tolkien, 2
Tolkien 17
usw.
Kann ich da was machen?
<choose>
<if position="ibid-with-locator">
<group delimiter=", ">
<text term="ibid"/>
<text macro="point-locators-subsequent"/>
</group>
</if>
<else-if position="ibid">
<text term="ibid"/>
</else-if>
https://gist.github.com/smirnov-dd/4e2196ec16c50321b327f129ca7218b1
tried to add in line 447 - nothing changed
https://gist.github.com/smirnov-dd/7daa2cad38b06f10af71b5bf5dd74856
https://validator.citationstyles.org/?url=https://gist.githubusercontent.com/smirnov-dd/7daa2cad38b06f10af71b5bf5dd74856/raw/6167db6abd3d76dc66568a3ee6634c069762d981/gistfile1.xml&version=1.0.1
Looks like you're working with some features of CSL-M, I'm afraid I won't be able to help with that.
First, if you use CSL-M, you should set the version to "1.1mlz1". This will start the processor in CSL-M mode. Otherwise, not all features might be available.
Then, your "ibid." code is in a layout node for locale "en". So, the item locale must be "en".
Strangely, I only get the ibids, when the document locale is "de" or "en-UK". No "ibid" for "en-US".
<style>
element.It should look like this:
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.1mlz1">
Of course, you can adjust the other attributes...