unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Carbon Emacs and xdvi
@ 2004-09-07 21:56 Nathan Sidoli
  2004-09-09  5:16 ` Arthur Ogus
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Sidoli @ 2004-09-07 21:56 UTC (permalink / raw)


I'm currently using emacs in the X11 server on Panther. I'm
considering switching to Carbon Emacs but I don't like the way the
view command is functioning. I would prefer to simply view my docs in
xdvi (which I currently do). It is set up to compile first to dvi then
to pdf and then to view with Preview.

I tried fiddling with the .emacs.el file. That is with 

;; Preferred view format: dvi, ps, pdf, pdfs
(setq TeX-view-format "dvi")

and

;; DVI previewer
(setq dvi-previewer-program 
      (if darwinp
	  ;; "open -a 'MacDviX'"
	  "setenv DISPLAY localhost:0.0;/sw/bin/xdvi" 
	"xdvi"))

but I wasn't able to make the changes.

Any suggestions would be appreciated.

Nathan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Carbon Emacs and xdvi
  2004-09-07 21:56 Carbon Emacs and xdvi Nathan Sidoli
@ 2004-09-09  5:16 ` Arthur Ogus
  0 siblings, 0 replies; 2+ messages in thread
From: Arthur Ogus @ 2004-09-09  5:16 UTC (permalink / raw)


The following worked for me:

;; DVI previewer
(setq dvi-previewer-program
      (if darwinp
;;	   "open -a 'MacDviX'"
	  "setenv DISPLAY localhost:0.0;xdvi"
	"/usr/local/teTeX/bin/powerpc-apple-darwin-current/xdvi"))



On 2004-09-07 14:56:36 -0700, nathan.sidoli@utoronto.ca (Nathan Sidoli) said:

> I'm currently using emacs in the X11 server on Panther. I'm
> considering switching to Carbon Emacs but I don't like the way the
> view command is functioning. I would prefer to simply view my docs in
> xdvi (which I currently do). It is set up to compile first to dvi then
> to pdf and then to view with Preview.
> 
> I tried fiddling with the .emacs.el file. That is with
> ;; Preferred view format: dvi, ps, pdf, pdfs
> (setq TeX-view-format "dvi")
> 
> and
> 
> ;; DVI previewer
> (setq dvi-previewer-program       (if darwinp
> 	  ;; "open -a 'MacDviX'"
> 	  "setenv DISPLAY localhost:0.0;/sw/bin/xdvi" 	"xdvi"))
> 
> but I wasn't able to make the changes.
> 
> Any suggestions would be appreciated.
> 
> Nathan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-09  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-07 21:56 Carbon Emacs and xdvi Nathan Sidoli
2004-09-09  5:16 ` Arthur Ogus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).