fix rst layout for latex