Removing space after title
I am trying to create a custom style, based on Chicago, full note.
I needed to remove the parentheses from the place,publisher,date in citations which I did by replacing:
This almost gets me the desired result except that the title looks like this:
MyTitle , New York, SomePublisher, 2015
MyTitle is in italic of course but I have an extra space after it that I need to get rid of.
Thanks for your assistance
I needed to remove the parentheses from the place,publisher,date in citations which I did by replacing:
<else-if variable="publisher-place event-place publisher" match="any">
<group prefix="(" suffix=")" delimiter=", ">
<text macro="event-note"/>
<group delimiter="; ">
<text macro="originally-published"/>
<group delimiter=", ">
<text macro="reprint-note"/>
<text macro="publisher"/>
</group>
</group>
<text macro="issued"/>
</group>
</else-if>
(starting in line 1091) with:
<else-if variable="publisher-place event-place publisher" match="any">
<group prefix=", " suffix="," delimiter=", ">
<text macro="event-note"/>
<group delimiter="; ">
<text macro="originally-published"/>
<group delimiter=", ">
<text macro="reprint-note"/>
<text macro="publisher"/>
</group>
</group>
<text macro="issued"/>
</group>
</else-if>
This almost gets me the desired result except that the title looks like this:
MyTitle , New York, SomePublisher, 2015
MyTitle is in italic of course but I have an extra space after it that I need to get rid of.
Thanks for your assistance
If you don't need the details of CMoS, might be easier to start with a simpler style.
or using http://editor.citationstyles.org/searchByExample/ should give you some options.
<else>
<group delimiter=", ">
<group delimiter=": ">
<group delimiter=", ">
<group delimiter=" ">
<group delimiter=", ">
<group delimiter=" ">
<group delimiter=", ">
<group delimiter=", ">
<text macro="contributors-note"/>
<text macro="title-note"/>
<text macro="issue-map-graphic"/>
</group>
<text macro="description-note"/>
<text macro="secondary-contributors-note"/>
<text macro="container-title-note"/>
<text macro="container-contributors-note"/>
</group>
<text macro="locators-note-join-with-space"/>
</group>
<text macro="locators-note-join-with-comma"/>
<text macro="collection-title"/>
<text macro="issue-note-join-with-comma"/>
</group>
<text macro="issue-note-join-with-space"/>
</group>
<text macro="locators-newspaper"/>
<text macro="point-locators-join-with-comma"/>
</group>
<text macro="point-locators-join-with-colon"/>
</group>
<text macro="access-note"/>
</group>
</else>
to:
<else>
<group delimiter=", ">
<group delimiter=": ">
<group delimiter=", ">
<group delimiter="">
<group delimiter=", ">
<group delimiter=" ">
<group delimiter=", ">
<group delimiter=", ">
<text macro="contributors-note"/>
<text macro="title-note"/>
<text macro="issue-map-graphic"/>
</group>
<text macro="description-note"/>
<text macro="secondary-contributors-note"/>
<text macro="container-title-note"/>
<text macro="container-contributors-note"/>
</group>
<text macro="locators-note-join-with-space"/>
</group>
<text macro="locators-note-join-with-comma"/>
<text macro="collection-title"/>
<text macro="issue-note-join-with-comma"/>
</group>
<text macro="issue-note-join-with-space"/>
</group>
<text macro="locators-newspaper"/>
<text macro="point-locators-join-with-comma"/>
</group>
<text macro="point-locators-join-with-colon"/>
</group>
<text macro="access-note"/>
</group>
</else>
That is - removing the space in the 4th delimiter. Looks perfect now. Hope it is OK but I appreciate if you tell me that this will create other problems.
Thanks