Remove Ibid from a pre-existing style

Dear All,

I modified Chicago Style on my own so that the punctuation is not automatically put in. But I did not modify it for having no ibid. If I want no ibid, I have two choices. I can use the available "chicago style no ibid" and modify again for no punctuation, but if I remember correctly editing out the punctuation was quite difficult. I had to do lots of replaces.

The option would be to take my style and edit out the ibid function. I looked at the Forums, and I found one post where the code to delete was given, but that was from 2010.

Would it be easy to edit out ibid in the newest CSL styles? What would be the code I am editing out?

Thanks for any suggestions,

Dan
  • if by punctuation you just mean the period at the end, that's trivial to do:
    just find
    <layout suffix="." delimiter="; ">
    and change to
    <layout delimiter="; ">
    that might have been harder with an earlier iteration of the style.

    To take out the ibid of a style, find this (might look slightly different in your custom style)
    <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>
    <else-if position="subsequent">


    and change to

    <choose>
    <if position="subsequent">

    and a little further down find
    <text macro="point-locators-subsequent"/>
    </group>
    </else-if>

    and change the </else-if> to </if> i.e.

    <text macro="point-locators-subsequent"/>
    </group>
    </if>
  • Hi Adam,

    Thanks so much for such a quick response.

    OK, I can find that code. Do I delete that whole first block of text and replace with just those two lines, then just delete the "else", so it will look like this:

    <choose>
    <if position="subsequent">

    . . .

    <text macro="point-locators-subsequent"/>
    </group>
    </if>


    Thanks so much,

    d
  • Hi Again,

    I probably should have done this first, here is what I have now:

    <choose>
    <if position="subsequent">

    <group delimiter=", ">
    <text macro="contributors-short"/>
    <group delimiter=" ">
    <group delimiter=", ">
    <text macro="title-short"/>
    <text macro="date-disambiguate"/>
    <text macro="case-locator-subsequent"/>
    </group>
    <text macro="case-issue-subsequent"/>
    </group>
    <text macro="point-locators-subsequent"/>
    </group>
    </if>
    <else>

    I will test it out, but I put this in here for anyone else who may want to do this.,

    d
  • yes, that should work.
  • Hi,

    Is there a way to remove "Ibid" from a style using the Visual CSL Editor?

    Thanks,
    J
  • yes. It's a little heavy on the clicks, but basically you see a structure like

    <if>
    <position> - <ibid with locator>
    <else if>
    <position> - <ibid>
    <else if>
    <position> - <subsequent>
    <else>

    and you want to turn this into
    <if>
    <position> - <subsequent>
    <else>

    a combination of drag&drop and deleting nodes with the - sign at the top left should get you there.
Sign In or Register to comment.