Help needed with citation style
I'm back again.
My .CSL style is located here:
https://gist.github.com/Damianeire/36169e0fcc14f2a7a3a0
I am getting the url when I cite a book (the URL is usually google books, where I drew down the citation info, I can delete it if need be, but sometimes it's handy).
For example:
Bourdieu, Pierre: The logic of practice, (Stanford University Press, 1990) [accessed 4 November 2014].
I found I could remove the url easily enough, but only by killing the url for web blogs etc too. I found the 'if url exists then print it' command, and tried to insert a 'but not if it's a book' but it only had 'if type is' and not a 'if type is not'. But I can just delete the url's from book entries if need be.
I have a second question (please let me know if I should do this on a new post)
My Ibid.'s are working fine now except that if the page number changes, it doesn't show up on the ibid. Could someone tell me how to go about that please?
Many thanks,
Damian
My .CSL style is located here:
https://gist.github.com/Damianeire/36169e0fcc14f2a7a3a0
I am getting the url when I cite a book (the URL is usually google books, where I drew down the citation info, I can delete it if need be, but sometimes it's handy).
For example:
Bourdieu, Pierre: The logic of practice, (Stanford University Press, 1990) [accessed 4 November 2014].
I found I could remove the url easily enough, but only by killing the url for web blogs etc too. I found the 'if url exists then print it' command, and tried to insert a 'but not if it's a book' but it only had 'if type is' and not a 'if type is not'. But I can just delete the url's from book entries if need be.
I have a second question (please let me know if I should do this on a new post)
My Ibid.'s are working fine now except that if the page number changes, it doesn't show up on the ibid. Could someone tell me how to go about that please?
Many thanks,
Damian
I made an error in my first post and have since fixed it, so the correct .csl file should be in the github, and the questions both still stand.
Many thanks,
Damian
<choose>
Can you give a specific example what you meant?<if type="book" match="none">
<choose>
<if variable="url">
...
Nesting the conditions like this:
0 access-note (macro)
1 Conditional
2If NOT (book)
3 Group
4 Conditional
5 If graphic OR report
5 Else-If NOT (article-journa...
3 Conditional
3 If URL
3 URL (variable)
3 Group
EDIT: I can't seem to make these indent, whether I format as text or html. I'm inserting a number in front for the level of nesting. Hope that's clear.
Resulting in losing the URL for blog posts as well.
I've tried it a number of ways, including trying to set up a new group that has the if NOT book clause, and then everything else after it in a Else-if.
I could do a screen shot of that section if that helped. I'm working on it in the inline citations, I'm thinking maybe I should be changing the macros if I want the same affect in the bibliography. I'm sorry I'm a bit rubbish at this, could you give me one or two more tips, I have tried 10 different ways at this point.
In regards Ibid. I'm coming from Scannable cites in Scrivener so I have something like this
Bourdieu says this. 1 But later on he says this. 2
1. { | Bourdieu, 1990 |100 | |zu:38089:83S33587}
2. { | Bourdieu, 1990 |200 | |zu:38089:83S33587}
After running it through the odf scanner and importing into libreoffice I get this:
Bourdieu, Pierre: The logic of practice, (Stanford University Press, 1990), 100
Ibid.
Whereas what I need is this:
Bourdieu, Pierre: The logic of practice, (Stanford University Press, 1990), 100
Ibid., 200
Thanks again.
Damian
<macro name="access-note">
...
<choose>
<if type="book" match="none">
<choose>
<if variable="URL">
<text variable="URL" prefix=" <" suffix=">"/>
<group prefix=" [" suffix="]">
<text term="accessed"/>
<date variable="accessed">
<date-part name="day" prefix=" "/>
<date-part name="month" prefix=" "/>
<date-part name="year" prefix=" "/>
</date>
</group>
</if>
</choose>
</if>
</choose>
</macro>
For 2: Replace "point-locators-subsequent" with "point-locators"
I've got to export it over to libreoffice etc to test the ibid, but that looks like it will do the trick. Many many thanks once again.