xsl will use when it needs an "and", at least when you're using an English Language ID. What this does is to set up a local variable that contains the word that the. You should be able to see two different "Chicago" styles in the dropdown, with two different version numbers.Īnd you should see a chunk of code like this: Now, restart Word again and reopen your test document. Personally I also prefer to wrap up the old code inside just in case I need it again. Personally I would also write an XML comment - apart from anything else, it really helps you to find the stuff you changed. Here I don't generally need to close it while testing the changes. Ĭhange the 16 to (say) 18 (I think Microsoft might have moved on since my version already) then save the. Search for b:XmlVersionĪnd you should see code like this (if you are using a significantly different version of Chicago.xsl you may see some difference from what I see). IMO the first thing to change is the XmlVersion so you can see the difference between the original Chicago and your new one. Open the Xhicago.xsl in a suitable editor (I currently use Visual Studio Code here, with suitable plugins for. You should see no changes in the output, but Word may flicker a bit. Now open a test document that already contains some citations and a bibliography, and switch between the two Chicago stylesheets using Word's dropdown. Then, when you restart Word, you should see two identical styles listed in the relevant dropdown. I suggest that you start by saving a copy of Chicago.xsl in the folder that you identified (the one in your user area, not the one under Program Files or Program Files (86). xml and other file types).Īll that said, you could at least try the following as it may help you establish whether it's enough for your current needs. xsl in a suitable editor (I currently use Visual Studio Code here, with suitable plugins for. xsl to anyone else who needs to work on your document.īut for example, I would suggest that you start by saving a copy of Chicago.xsl in the folder that you identified (the one in your user area, not the one under Program Files or Program Files (86). Using a language that is not particularly familiar and providing no internal documentation doesn't help.Īnother unfortunate problem is that you may have to provide your modified. However an implementer does that, it's always going to be difficult to identify the point where changing an XSL template inside the stylesheet is going to have the right impact. This is primarily because these stylesheets try to implement a fairly large set of "small" rules. The main difficulty is identifying the appropriate point for the change - depending on what it is, you might be able to make a single change, or you might have to make a lot of rather similar changes. xsl stylesheets, so the following are just some suggestions. It's difficult to work with the built-in style. Also, both styles put a period after the author(s) in the bibliography. I've tried to compare the APASixthEditionOfficeOnline.xsl and CHICAGO.XSL files to see if I can spot the differences that give me a clue as to what I need to change, given that APA uses the ampersand and Chicago uses "and", but unfortunately my level of XML knowledge, combined with the size of those files, prevented me from spotting the part(s) that need to be changed. The APA style uses the ampersand but, unfortunately, the rest of its formatting is significantly different from Chicago, and overall Chicago is closer to my targeted style. I've edited XML files before but where is the XML file of the Chicago style, for example? [Edit: The path seems to be %APPDATA%\Microsoft\Bibliography)Īnd which parts do I need to change in the Chicago style in order to turn the "and" between authors into an ampersand "
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |