Turnoff parantheses in APA citation

J

Jonny99

Work 07 puts parantheses around all APA-style citations even when they begin
a sentence ("Tsui and O'Reilly (1989) conclude...") or are part of a list.
Is there a way to change XSL to stop this?
 
Y

Yves Dhondt

Patience is a virtue. You don't have to ask the same question 3 times, just
wait till someone comes along who can answer it.

<the following is copy/pasted from my original reply>

There is no on/off switch for the brackets. Your choices are to either keep
them, or remove them altogether. If you want to remove them for all
instances, you will have to edit the style by hand.

The short version: http://bibword.codeplex.com/wikipage?title=FAQ
(especially 6 and 8 are useful)

The long version (in case you don't know XSL):

The styles are located in the

<winword.exe>\Bibliography\Style

directory. Assuming a normal 32-bit OS with a default Office 2007
installation, that directory is

C:\Program Files\Microsoft Office\Office12\Bibliography\Style

The style you want to edit is located in APA.XSL. Create a copy of the file
and name it MyAPA.XSL. Open the file with a text editor (notepad, ...) and
look for the following lines:

<xsl:when test="b:OfficeStyleKey">
<xsl:text>APA</xsl:text>
</xsl:when>

and change it to

<xsl:when test="b:StyleName">
<xsl:text>APA without brackets</xsl:text>
</xsl:when>

Now when you start Word, there will be an extra style in the dropdown list,
labeled "APA without brackets".

Next you want to remove the brackets. Look for

<xsl:if
test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
<xsl:call-template name="templ_prop_OpenBracket"/>
</xsl:if>

and remove it. This will remove the opening bracket. Then look for

<xsl:if test="/b:Citation/b:LastAuthor">
<xsl:call-template name="templ_prop_CloseBracket"/>
</xsl:if>

and remove it. This will remove the closing bracket. You should be all set
now.

Yves
 
Joined
Jun 25, 2017
Messages
2
Reaction score
0
Thanks for the tips, Yves. I am using Word 365. I followed your suggestion. it works - except that there is now a leading space at the start of the citation (e.g.: "(space)Doe, 2017" instead of simply "Doe, 2017") Can you please let me know which key I need to edit in order to get rid of that leading space? Thanks so much!
 

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