[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .emacs setup question



Sorry, I assumed that someone had already set this up and would know what stupid thing I missed without me
having to go into any extra details.  

In the console when I type Ctrl-C Ctrl-C

(Default View)
RET
View Command: dvi2tty -q -w 132 foo

In X

Ctrl-C Ctrl-C
(Default View)
RET
View Command: <empty>


So I have to manually type tkdvi foo

Lance


On Wed, Sep 29, 1999 at 10:03:23AM -0700, Ian Zimmerman wrote:
> 
> Lance> I am trying to get emacs to open dvi2tty in console and tkdvi
> Lance> in X.  The syntax I saw was:
> 
> (setq tex-dvi-view-command
>           (if (eq window-system 'x) "tkdvi" "dvi2tty * "))
> 
> Lance> but this does not seem to work.  How do I modify this so that
> Lance> different viewer will be used depening on whether I am using a
> Lance> console on Xwindows?
> 
> How does it fail?  Generally, reports and questions of the type "this
> does not seem to work" well not be received very well ...
> 
> 
> -- 
> Ian Zimmerman
> Lightbinders, Inc.
> 2325 3rd Street #324, San Francisco, California 94107


Reply to: