Add documentation in both latex and interactive html