Your default prompt probably looks something stupid like the following:
Users-iMac-2:~ clarkelliott$In the worst case we want to avoid it looking completely moronic like this:
Users-iMac-2:~/Library/Containers/com.microsoft.Word/Data/Library/Application Support/Microsoft/Office/ clarkelliott$So, let's fix it. If you already have a .bash_profile file in your home directory you have to add the one line below to it using your text editor. Otherwise, using your text editor, in your home directory, create a file called .bash_profile and add the following line to it, then save the file:
export PS1="> "Then, exit your Terminal Window, start up a new Terminal Window and your prompt should look like this:
>Alternatively you can use $ in place of > to be consistent with bash style:
$At this point, you will no longer see where you are in your directory tree as part of the prompt. But when you want to check where you are (as opposed to seeing this information repeated ad nauseum as part of the prompt) you type the print working directory command:
> pwd ~clarkelliottUsing the instructions listed elsewhere, make sure that you have created a Sources.xml file with at least one entry in it. To find where it is in your directory tree, we use the find command in one of two ways:
> cd > find . -name Sources.xml > find . -name *.xmlwhich will probably return a location like the following, but you may have to adapt:
~/Library/Containers/com.microsoft.Word/Data/Library/Application Support/Microsoft/Office/Sources.xmlIf you don't see it, you probably have not yet created it.
You are going to have to return to this directory from time to time as you manipulate your sources. But you don't want to have to type that long string in over and over again. So, lets fix that by creating a symbolic link shortcut:
> cd > ln -s mybib '~/Library/Containers/com.microsoft.Word/Data/Library/Application Support/Microsoft/Office'Now we can easily change to that directory and perform tasks such as making a backup of our Sources.xml file (and the mybib symbolic link will also show up in finder):
> cd > pwd ~clarkelliott > cd mybib > pwd > ~clarkelliott/mybib > ls Sources.xml > cp Sources.xml Backup1-Sources.xml > ls Sources.xml Backup1-Sources.xml >If you ever want to get rid of the handy symbolic link (or if you make a mistake setting it up) use:
> unlink mybibNote: In Finder on the Mac, your Library folder may be hidden from you. To see the hidden files, open the Finder and press:
Command + Shift + . [<--That is, end with a full stop/period](When you no longer want to see the hidden folders just press Command + Shift + . again.)
At this point, you should be able to navigate to the directory where Word will be looking for the file named Sources.xml. If you have created a symbolic link to the directory (e.g., mybib) you may well be able to do this in Finder. After creating your permanent bibliography in .xml format (e.g., using the JabRef technique), you will need to replace the dummy Sources.xml file with your new one. Always be careful to make backup copies of your .xml files so that you don't risk permanently deleting all of your previous bibliographic work!