Hook Latex Preview Pane Mode into LaTeX Mode (reverted from commit 65a93e8f744e6e2f463a41bb1c08c26c74f88417)