APA Reference Character Spacing Issues

D

DMarotz

As I have worked with the APA reference manager, I have found that (in the
bibliography/reference) an extra space is added after the title of a journal
and another between the volume and issue. For example: Education
Administration_, 35_(5)
This does not follow the approved guidelines of the APA Publication Manual
(5th ed). How can this be changed without having to manually edit each
citation?
 
P

p0

As I have worked with the APA reference manager, I have found that (in the
bibliography/reference) an extra space is added after the title of a journal
and another between the volume and issue.  For example: Education
Administration_, 35_(5)
This does not follow the approved guidelines of the APA Publication Manual
(5th ed). How can this be changed without having to manually edit each
citation?

You can try editing the stylesheet for APA. The file to alter is <Word
2007 directory>\bibliography\style\APA.xsl. I suggest you create a
derived style with a different name as explained at
http://www.codeplex.com/bibliography/Wiki/View.aspx?title=FAQ&referringTitle=Home#Q8
rather than changing APA.xsl directly.

Around line 8498 you find a piece of code looking like this:

<xsl:template name="templateJVIP">
<xsl:call-template name="templateG">
<xsl:with-param name="first" select="b:JournalName"/>
<xsl:with-param name="second" select="b:Volume"/>
<xsl:with-param name="third" select="b:Issue"/>
<xsl:with-param name="fourth" select="b:pages"/>
</xsl:call-template>
</xsl:template>

This is the template for formatting the part you want to change. As it
relies on templateG (which is also used by other functions), you will
have to substitute its content by a modified version of the content/
functionality of templateG. I made an attempt at it, but you will have
to verify if it is what you are looking for:

<xsl:template name="templateJVIP">

<xsl:variable name="tempFirst">
<xsl:call-template name="handleSpaces">
<xsl:with-param name="field" select="b:JournalName"/>
</xsl:call-template>
</xsl:variable>

<xsl:variable name="tempSecond">
<xsl:call-template name="handleSpaces">
<xsl:with-param name="field" select="b:Volume"/>
</xsl:call-template>
</xsl:variable>

<xsl:variable name="tempThird">
<xsl:call-template name="handleSpaces">
<xsl:with-param name="field" select="b:Issue"/>
</xsl:call-template>
</xsl:variable>

<xsl:variable name="tempFourth">
<xsl:call-template name="handleSpaces">
<xsl:with-param name="field" select="b:pages"/>
</xsl:call-template>
</xsl:variable>

<xsl:variable name="temp">
<xsl:call-template name = "ApplyItalicTitleNS">
<xsl:with-param name = "data">
<xsl:if test="string-length($tempFirst)>0">
<xsl:value-of select="$tempFirst"/>
</xsl:if>
<xsl:if test="string-length($tempFirst)>0 and string-
length($tempSecond)>0">
<xsl:call-template name="templ_prop_ListSeparator"/>
</xsl:if>
<xsl:if test="string-length($tempSecond)>0">
<xsl:value-of select="$tempSecond"/>
</xsl:if>
</xsl:with-param>
</xsl:call-template>

<xsl:if test="string-length($tempThird)>0">
<xsl:call-template name="templ_prop_APA_GeneralOpen"/>
<xsl:value-of select="$tempThird"/>
<xsl:call-template name="templ_prop_APA_GeneralClose"/>
</xsl:if>

<xsl:if test="string-length($tempFourth)>0">
<xsl:if test="(string-length($tempFirst)>0 or string-
length($tempSecond)>0) or string-length($tempThird)>0">
<xsl:call-template name="templ_prop_ListSeparator"/>
</xsl:if>

<xsl:value-of select="$tempFourth"/>
</xsl:if>

</xsl:variable>

<xsl:apply-templates select="msxsl:node-set($temp)"
mode="outputHtml"/>

<xsl:variable name="lastChar">
<xsl:value-of select="substring($temp, string-length($temp))"/>
</xsl:variable>

<xsl:variable name="prop_EndChars">
<xsl:call-template name="templ_prop_EndChars"/>
</xsl:variable>

<xsl:choose>
<xsl:when test="string-length($temp) = 0">
</xsl:when>
<xsl:when test="contains($prop_EndChars, $lastChar)">
</xsl:when>
<xsl:eek:therwise>
<xsl:call-template name="templ_prop_Dot"/>
</xsl:eek:therwise>
</xsl:choose>
</xsl:template>

HTH

Yves
 
D

DMarotz

Wow! Thanks for the info!

That was considerably more complex than I am able to handle. I found the
file, but I couldn't find the code you mentioned. Even if I could find it, I
wouldn't have a clue how to update it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top