Tables to LaTeX: structure and content extraction from scientific tables