I am trying to get emacs to open dvi2tty in console and tkdvi in X. The syntax I saw was:
(setq tex-dvi-view-command (if (eq window-system 'x) "tkdvi" "dvi2tty * ")) but this does not seem to work. How do I modify this so that different viewer will be used depening on whether I am using a console on Xwindows? Lance