View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Yves Dhondt Yves Dhondt is offline
external usenet poster
 
Posts: 767
Default Turnoff parantheses in APA citation

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:textAPA/xsl:text
/xsl:when

and change it to

xsl:when test="b:StyleName"
xsl:textAPA 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
--
BibWord : Microsoft Word Citation and Bibliography styles
http://bibword.codeplex.com

"Jonny99" wrote in message
...
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?