View Single Post
  #6   Report Post  
Posted to microsoft.public.word.docmanagement
p0 p0 is offline
external usenet poster
 
Posts: 254
Default citation in brackets instead of parenthesis


On 20 jan, 19:43, Jimmy wrote:
Yves,

Thanks for your help. I've downloaded the file in the folder where the
styles are. However, I cannot see from Word 2007. Should I substitute the APA
existing code for your code? Should I keep the name APA? Can I add a new
style like APA2 with your code so I don't loose the original APA style? How
should I go about?


The style is listed in Word 2007 as "APA - Square Brackets - One
Author". Note that after copying the style into the directory where
the other styles are, you need to restart Word to see the style listed
in Word. Word only loads the stylenames once during start up. This
will not influence the original APA style. If you wish to create a
derived style from for example APA, I suggest you first create a copy,
and then change the way the style of the copy is described in Word
2007 as described in http://www.codeplex.com/bibliography...x?title=FAQ#Q8

Interestingly, By the time I got your response, I had already pursuaded my
advisor for letting me use parenthesis instead of square brackets. But I
still need et al. By the way, et al. is always in italics. Could you please
upload two files with these changes. I mean, the first one: () and et.al. in
(italic) and Second [] and et.al.(in italic).


To change the open bracket, look for a piece in the code looking like
this:

!--xsl:call-template name="templ_prop_OpenBracket"/--
xsl:text[/xsl:text

Just change the [ into ( if you want round brackets. Similar for close
brackets look for:

!--xsl:call-template name="templ_prop_CloseBracket"/--
xsl:text]/xsl:text

and change accordingly.

Using italics inside an in-text citation is currently not possible to
the best of my knowledge. This is because the citation inherits the
paragraph (or character) style of the paragraph it belongs to.

(As a personal remark: using meaningless italics throughout a
paragraph actually has a negative influence on its readability. People
quickly scanning through a text tend to focus on differently formatted
parts. I doubt anyone would want to focus on 'et al'.)

Thanks a lot!!!!!



"p0" wrote:
I uploaded something along the lines what you want to
http://www.codeplex.com/bibliography...eases.aspx?Rel...
..


Regarding your last question, right click on the citation and pick
"Edit Citation" from the menu. In the dialog, you can suppress the
author in the citation among things. You might want to suppress the
title as well if you do the author.


Yves
--
http://bibliography.codeplex.com


On 20 jan, 14:21, Jimmy wrote:
p0,


I've read some of questions and answers and it looks like changing the
citation format is a common problem. I will try to see what I can do with the
code.


I'm using APA as a style.


Another question:


Sometimes I use the author(s) as subject when starting a sentence, in this
case I would like just the year in brackets. Is this possible?


Thanks


Thanks


"p0" wrote:
On 19 jan, 21:35, Jimmy wrote:
1. How can I change the parenthesis for brackets when inserting a citation?


2. When I have more than one author in a reference, I would like to get the
first author's last name along with et al. (to indicate there is more than 1
author), instead of getting all the names of the authors?


Which style are you talking about?


To make changes to the style, you will have to dig into the xslt code
of a style. According to most people a rather complex thing. All
styles can be located in the Word 2007 folder\Bibliography\Style
folder.


A small tutorial, which should help you with your first question if
you have at least some basic xslt knowledge, can be found at
http://www.codeplex.com/bibliography...aspx?title=FAQ


Your second question is a bit harder to solve but still manageable if
you can tell me the style you are using.


Yves
--
http://bibliography.codeplex.com