Gitignore and src update.
Some compile tests with latex etc.