Chicago Manual of Style (author-date) without DOI/URL

Hi there,

I suppose somebody must have done it before: Chicago Manual of Style without DOI and without the URL of the reference.

If you know where can I find such style, that would be great!
Thanks,
Arie
  • pretty sure you'll have to do this yourself, I'm not aware of any version out there. I understand DOI, but do you really want to get rid of URLs? The current CMoS styles should already use those pretty sparingly
    But if you really want to, all you need to do is to delete

    <choose>
    <if type="legal_case" match="none">
    <choose>
    <if variable="DOI">
    <text variable="DOI" prefix="doi:"/>
    </if>
    <else>
    <text variable="URL"/>
    </else>
    </choose>
    </if>
    </choose>

    following these general instructions:
    http://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
  • Thanks, adamsmith.
    I'll try that.
    A.
  • Hello,
    I tried to remove only the part with the URL between if and else
    </if>
    <else>
    <text variable="URL"/>
    </else>
    in order to remove unnecessary URL but to keep DOI
    But I encounter an error when I "refresh" my document:
    exec is undefined

    Did someone succeeded in the solution proposed by AdamSmith?
    Thanks,
    Alain
  • edited April 2, 2014
    you'd need to remove
    <else>
    <text variable="URL"/>
    </else>

    if you remove the </if> you break the style.
  • Sure, what a mistake !!
  • Hi there,

    I have tried to only remove doi and keep the URL with Chicago Manual style. However, I did not succeed yet. I would be very grateful for some help!
    Thank you very much
  • Can you provide your CSL code on gist.github.com?
  • Hi thank you for your advice.

    I'm wondering how I could remove the DOIs while keeping the URLs, do you have any ideas?

    Thank you very much
  • edited October 10, 2018
    <choose>
    <if variable="DOI">
    <text variable="DOI" prefix="doi:"/>
    </if>
    <else>
    <text variable="URL"/>
    </else>
    </choose>
    </if>
    </choose>


    (or whatever is now the equivalent -- may not have stayed exactly the same.
    to just

    <text variable="URL"/>
  • Thank you. I've tried and it doesn't work. CSL validator said

    Line 1232: required character (found “e”) (expected “i”)







  • edited October 10, 2018





  • Sorry, I'm brand new to this, and I can't manage to copy paste the code as it appears
  • edited October 10, 2018
    You need to wrap code into <code> </code>

    But it looks like you haven't removed the entire loop.
  • I'm sorry I don't understand what that means.
  • When you type code on the forums, type <code> before the code and </code> after the code.
  • edited October 10, 2018
    If you want to past code, put <code> in front of it and </code> after it.
  • Ok, thank you very much.

    This is what I have:


    <choose>
    <if type="legal_case" match="none">
    <text variable="URL"/>
    </group>


    The CSL validator says :
    Line 1230: required character (found “g”) (expected “i”)


    ="URL"/>
    </group>
    </macr


  • <choose>
    <if type="legal_case" match="none">
    <text variable="URL"/>
    </if>
    </choose>
    </group>

    try this
  • Thank you very much, I tried and it works in the footnote. Would you, by any chance, know how to remove it from the bibliography as well?
  • the code will look very similar.
  • Thanks again, it works
  • I too am looking for a CSL that strips out the DOI and URL (except from webpages) in the bibliography. In Paperpile there is a little button to click in the preferences that does this automatically, so I'm a little confused how to do it in Zotero. Perhaps someone already has a modified CSL file they could share?
Sign In or Register to comment.