Word 2008 - Custom Bibliography Formats (ISO 690, IEEE) using XSLTemplates

M

mjbirdge

Hi,

I am looking to use an ISO 690 (or IEEE) Reference format; however, I
was disappointed to find that Word 2008 only supports Chicago, APA,
MLA, or Turabian. After some reading, I have determined that Word
2007 for Windows uses XSL Templates to create custom bibliographies,
and I am assuming that Microsoft would not remove this functionality
in Word 2008 for macs.

I was able to find an XSL file for the IEEE Reference format for Word
2007 after searching in google.

My question is as follows:
1) Now that I have this XSL File, where do I place it such that Word
2008 can recognize and use this new citation style.

2) Does anyone have any suggestions on where I can find an accurate
ISO 690 Reference format XSL and how I can make this work with Word
2008.

Thanks in advance for your help.

Cheers,

Mike
 
D

Daiya Mitchell

Hi Mike,

Well. Maaaaaaybeeeeeee. Read carefully--these links explain where I get
my information, but you might want to evaluate them for yourself.

As far as I know, MacWord and WinWord use the same XML/XSL functionality
for the Citation Manager. In this thread here, the computer science
student joonhwan reports he was able to add a style to MacWord without
problems. I can tell you what I think he did, and it seems simple
enough, but it involves futzing with the innards of the application,
which is generally a good way to make a misstep and screw everything up.
http://www.officeformac.com/ProductForums/Word/719

DO THIS AT YOUR OWN RISK. I HAVE NOT TESTED IT, AND BACK UP FIRST. I do
NOT have the knowledge to help you fix anything that breaks. If it
works, though, confirming would help others.

Quit Word. Actually, I'd quit all of Office, just for kicks.

Go to Applications/Microsoft Office 2008/. Select the Word app,
right-click it (or control-click) and select Show Package Contents.
Navigate to Contents/Resources/Style/. You'll see a bunch of XSL files
in the Style folder. Theoretically--I HAVE NOT TESTED THIS--you ought to
be able to drop your XSL style in there, close all the folders, restart
Word, and see it as an option. Let me know what happens.

I can tell you that WinWord has a tutorial on this, sort of, in which
they help people make a custom XSL style and then add it to WinWord in
basically the same way.
http://blogs.msdn.com/microsoft_office_word/archive/2007/12/14/bibliography-citations-1011.aspx
That's what joonhwan followed, but he's the only Mac-specific
confirmation that doing this works, far as I know.

That tutorial also leads me to believe that you might be able to snag an
XSL file from a WinWord user (tutorial shows the location and that
WinWord has ISO 690) and just copy it into MacWord. I'm only guessing
that the XSL files are the same format, but it would make sense. Again,
confirming that works would help others.

Re the caveats--a Package is a unix way of bundling files--most apps on
the Mac are Packages. You can Show Package Contents for a lot of stuff,
and people open them up all the time, but in general, when developers
use Packages, it's because messing around with the files inside them can
screw things up bigtime. Do NOT delete anything in the Package Contents,
do NOT move anything, and do NOT touch anything else but adding that XSL
file. DO THIS AT YOUR OWN RISK. I think you will be fine, but I'm not
willing to take responsibility if anything goes wrong. I would test this
myself, but I don't have any XSL styles to use, and I'd prefer to have
just cloned my entire machine to enable emergency rollback before
testing it.

Thanks for asking the question, I learned a lot from it,
Daiya
 
D

Daniel Sullivan

Daiya

I have found a modified ISO 690 xsl file and put it in the package contents under the styles directory, but when starting Word the new style doesn't appear. Do you have any thoughts on this?
 
D

Daniel Sullivan

I've managed to get it to work now.

The file is located here <http://www.chrisellsworth.com/files/folders/code_examples/entry224.aspx>

You need to open it with text edit and make two changes for it to be recognised by Word.
1. On the first line: &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
change this to: &lt;?xml version="1.0" encoding="utf-8"?&gt;
2. Line 13: &lt;xsl:eek:utput method="html" encoding="us-ascii"/&gt;
Change this to: &lt;xsl:eek:utput method="html" encoding="UTF-8"/&gt;

Word will now recognise the style. The style has been edited to use square brackets rather than round.
 
D

Daiya Mitchell

Glad you sorted it, because I didn't have a clue. Thanks much for this
valuable information--and people please note that if you are seeing &lt;
and &gt; in the XML editing instructions, those should actually be angle
brackets. The encoding in some portals to this site is messed up.

And thanks for confirming that dropping in a new XSL is safe.
 
L

Lele

Please help me with this. I followed your instructions and I get the citation
style right, but I can't build the bibliography at the end. It only sees the
4 built-in..
Do you get it right? if yes could you please post yout XSL file?

thanks a lot, please reply soon

Lele
 
N

neurodude

Please help me with this. I followed your instructions and I get the citation
style right, but I can't build the bibliography at the end. It only sees the
4 built-in..
Do you get it right? if yes could you please post yout XSL file?

thanks a lot, please reply soon

Lele

Lele,

I get the same thing, but have a quick and dirty workaround.

Put in all your citations and create a bibliography in any old
format. Then go back to the citations tab on the toolbox, where you
should see the 'ISO 690...' in the pull down menu. If you select it
here, it will change the format of the individual citations, but it
will also change the format in the bibliography you just created.
Oddly, it moved my #1 citation to the end...but a quick cut/paste
fixed that.

Hope that helps,

Dan
 
G

gurkan

Hi,
I tried the above and it worked. I even changed the .xls file to update the
order of the title and author.
However, now the order is messed up.
here is an example.

[1][2][3]

Bibliography
[2] Alberts, Bruce, et al. .....
[3] Alon, Noga, ......
[1] Agrawal, R. a......


Does anyone know what might be the reason?

thanks
 
D

Daiya Mitchell

Not a clue, sorry. Dan who explained what to do seemed to run into the
same problem.
 
C

Clive Huggan

Hello Gurkan,

You've landed in a discussion group for users of Mac versions of Word (not
your fault: it's a charming foible of MS's "discussions" web interface,
which I see you used). Mac versions differ variously from PC versions. It's
likely that more people in a PC group have experienced your specific
problem. Here's where all the groups are listed:
http://www.microsoft.com/office/community/en-us/FlyoutOverview.mspx

Cheers,

Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from the Americas and Europe, so my
follow-on responses to those regions can be delayed)
====================================================

Not a clue, sorry. Dan who explained what to do seemed to run into the
same problem.
Hi,
I tried the above and it worked. I even changed the .xls file to update the
order of the title and author.
However, now the order is messed up.
here is an example.

[1][2][3]

Bibliography
[2] Alberts, Bruce, et al. .....
[3] Alon, Noga, ......
[1] Agrawal, R. a......


Does anyone know what might be the reason?

thanks
 
Y

Yves Dhondt

When you add a citation in Word, it adds a b:RefOrder element to the
XML-representation of your citation. That element indicates the reference
order of your citation among all citations in your document and that is the
number that is displayed between the square brackets. Your bibliography
however, sorts the different entries based on the author names rather than
their 'position' in the text.

I have done some research to figure out the XML formats and came to the
conclusion that it is not possible at the moment to use numerical values in
your text based on their order in the final formatted bibliography. Check out
the thread at
http://www.codeplex.com/bibliography/Thread/View.aspx?ThreadId=28347 if you
want to get more info on why it is not possible.

If it were possible to output OOXML rather than html (maybe it is, but all
my attempts so far failed to output valid OOXML) then I can think of some
ways to solve the problem. Unfortunately, it seems that everyone at microsoft
blogging about bibliographies in the past is no longer working on that stuff.
So I have no clue on who to contact about this stuff.

BR,

Yves
 
N

nicohughes

THANKS!!!!! it worked form me, I use Word 2011:Mac



El lunes, 7 de abril de 2008 17:34:16 UTC-4, mjbirdge escribió:
 
R

rcwhiteley

I've managed to get it to work now.

The file is located here <http://www.chrisellsworth.com/files/folders/code_examples/entry224.aspx>

You need to open it with text edit and make two changes for it to be recognised by Word.
1. On the first line: &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
change this to: &lt;?xml version="1.0" encoding="utf-8"?&gt;
2. Line 13: &lt;xsl:eek:utput method="html" encoding="us-ascii"/&gt;
Change this to: &lt;xsl:eek:utput method="html" encoding="UTF-8"/&gt;

Word will now recognise the style. The style has been edited to use square brackets rather than round.

Thank You very much! I have spent ages trying to get ISO 690 for mac and now I have it. Thanks
 

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

Similar Threads


Top