updated docs, tex -> markdown