X-Spam-Check-By: sourceware.org
Date: Mon, 16 Oct 2006 20:35:14 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Toby Allsopp <Toby.Allsopp@navman.com>
cc: cygwin@cygwin.com
Subject: Re: Can't preview postscript files under xdvi
In-Reply-To: <87wt702jfw.fsf@nav-akl-pcn-343.navman.bnt.local>
Message-ID: <Pine.GSO.4.63.0610162034180.22836@access1.cims.nyu.edu>
References: <87wt702jfw.fsf@nav-akl-pcn-343.navman.bnt.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, 17 Oct 2006, Toby Allsopp wrote:

> On 17 Oct 2006 at 05:47 NZDT, Ferran Mazzanti wrote:
>
> > The fact is that I've installed the latest release of cygwin, in an
> > attempt to have a unixlike enviroment under my Windows box. I use
> > LaTeX extensively and so I thought this could be a good
> > solution. However, whenever I include postscript figures in my
> > documents, xdvi refuses to display the, It produces an empty red box
> > in the place where it is supposed to display the figure, but the
> > figure does not appear. I can get the thing done by running dvips
> > and converting the .dvi file into a .ps one, which I can view with
> > gv. However this does not happen in my linux boxes, where I can
> > directly preview .dvi files displaying the postscript figures.
> >
> > Any clue about this? Any simple solution I could try?
>
> I have had a similar problem caused by the fact that xdvi uses the
> first gs it finds on the PATH and if you have the ghostscript and
> ghostscript-x11 packages installed this is the non-X11 one and thus it
> can't render to xdvi's window.
>
> I have the following line in my ~/.Xresources file to fix it:
>
> xdvi.interpreter: gs-x11
>
> You could also pass the -interpreter option to xdvi.

Thanks, this is useful information.  Should xdvi be configured OOTB to
look for gs-x11?  If so, can the xdvi maintainer (if we have one) make a
new release?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

