APA-style 7 with full names

I have uploaded a cls file here
https://gist.github.com/franzau/8521bdabdd9e9b4d959255d6e8ac6bca

A typical quote now looks like this:
Bull, Anna Cento, & Hansen, Hans Lauge. (2016). On agonistic memory. Memory Studies, 9(4), 390–404. https://doi.org/10.1177/1750698015615935

which is almost everything I needed, thanks!

Is there a way to remove the dot before the publication year?
And... can we enforce always publishing the DOI address, even if an article has precise page number? I now this is an option in Zotero's UI, but I'd prefer not to leave the choice.

Thank you in advance for your help!
  • edited February 19, 2020
    Continued from: https://forums.zotero.org/discussion/81467/apa-style-7-with-full-names#latest

    There was no need to open up a whole new thread! Especially since you have the same questions (dot before year etc.)...

    To remove that dot between authors and year you need to put those two macros in a new group.
    Replace lines 1697-1710 with:

    <else>
    <group delimiter=" ">
    <group delimiter=". " suffix=".">
    <group delimiter=" ">
    <text macro="author-bib"/>
    <text macro="date-bib"/>
    </group>
    <text macro="title-and-descriptions"/>
    <text macro="container"/>
    <text macro="event"/>
    <text macro="publisher"/>
    </group>
    <text macro="access"/>
    <text macro="publication-history"/>
    </group>
    </else>


    Re your DOI question:
    Your style already produces a DOI, even if it has a page number.
    Look at the "access" macro which is always called:

    <macro name="access">
    <choose>
    <if variable="DOI" match="any">
    <text variable="DOI" prefix="https://doi.org/"/>;
    </if>
    <else-if variable="URL">
    <group delimiter=" ">
    <choose>
    <if variable="issued status" match="none">
    <group delimiter=" ">
    <text term="retrieved" text-case="capitalize-first"/>
    <date variable="accessed" form="text" suffix=","/>
    <text term="from"/>
    </group>
    </if>
    </choose>
    <text variable="URL"/>
    </group>
    </else-if>
    </choose>
    </macro>


    To translate this: If it has the DOI, print the DOI. Otherwise if it has the URL, print out the URL with accessed date.

    Test output:
    Campbell, John L., & Pedersen, Ove K. (2007). The varieties of capitalism and hybrid success. Comparative Political Studies, 40(3), 307–332. https://doi.org/10.1177/0010414006286542

    There is either something else going on or you want to achieve something else.
  • Thanks a lot, @damnation !
    And I apologize for posting out of the original thread.

    Your CLS has handled beautifully everything I have thrown at it.

    We'll use the style locally for now and hear what colleagues and librarians say.
    But we have now exacly what we needed: full names, links, no publication place.

    Can an "APA 7 with full names" be of any use for others?
    The new file is at
    https://gist.github.com/franzau/e3d342bdb4cdf1680a9163f40e42c0d0

    Thanks!
Sign In or Register to comment.