fixed bug: table of contents doesn't always refer to all content files. now use spine info for that
added swp to gitignore
fixed internal links