unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* doc-view.el under windows
@ 2007-12-04 15:34 Corey Foote
  2007-12-04 20:24 ` Tassilo Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Corey Foote @ 2007-12-04 15:34 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 1061 bytes --]


Hello everybody,

I'm having trouble getting doc-view.el to work on GNU Emacs 22.1.50.1 under Windows XP. The problem I'm having when I try to load a PDF, the document is never displayed. The "Welcome to DocView" message is displayed in the DocView buffer and "DocView: using cached files!" is displayed in the minibuffer, but no PDF file ever appears. The first page should be showing up, because I have left doc-view-conversion-refresh-interval set to the default of 3.

Any suggestions?

Thanks!

Sincerely,

Corey Foote


P.S. The relevant portion of my .emacs file is:
(require 'doc-view)
(defvar doc-view-ghostscript-program "gswin32c.exe")

and I have dvipdfm and pdftotext installed. I downloaded xpdf from:

http://ctan.wustl.edu/tex-archive/support/xpdf/xpdf-3.02pl2-win32.zip

and for ghostscript I'm running gs8.54. Hope this helps!
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007

[-- Attachment #1.2: Type: text/html, Size: 1276 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: doc-view.el under windows
  2007-12-04 15:34 doc-view.el under windows Corey Foote
@ 2007-12-04 20:24 ` Tassilo Horn
  2007-12-04 21:32   ` Corey Foote
  0 siblings, 1 reply; 4+ messages in thread
From: Tassilo Horn @ 2007-12-04 20:24 UTC (permalink / raw)
  To: help-gnu-emacs

Corey Foote <coreyfoote@hotmail.com> writes:

Hi Corey,

> I'm having trouble getting doc-view.el to work on GNU Emacs 22.1.50.1
> under Windows XP. The problem I'm having when I try to load a PDF, the
> document is never displayed. The "Welcome to DocView" message is
> displayed in the DocView buffer and "DocView: using cached files!" is
> displayed in the minibuffer, but no PDF file ever appears. The first
> page should be showing up, because I have left
> doc-view-conversion-refresh-interval set to the default of 3.
>
> Any suggestions?

I'm not sure, but please check the value of `doc-view-current-cache-dir'
in the doc-view buffer.  Have a look at this directory.  Does it contain
the png files of the document?

My suspicion is that you tried to open that doc once some time ago,
doc-view created the directory but conversion failed.  Now it thinks
that it can load the png files because the directory exists.

Try `M-x doc-view-clear-cache' or remove the directory manually.

Bye,
Tassilo

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

* RE: doc-view.el under windows
  2007-12-04 20:24 ` Tassilo Horn
@ 2007-12-04 21:32   ` Corey Foote
  2007-12-05 11:38     ` Tassilo Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Corey Foote @ 2007-12-04 21:32 UTC (permalink / raw)
  To: Tassilo Horn, help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 1713 bytes --]


Tassilo,

Thank you! Removing the directory manually solved the problem! :-)


> To: help-gnu-emacs@gnu.org
> From: tassilo@member.fsf.org
> Date: Tue, 4 Dec 2007 21:24:04 +0100
> Subject: Re: doc-view.el under windows
> 
> Corey Foote <coreyfoote@hotmail.com> writes:
> 
> Hi Corey,
> 
> > I'm having trouble getting doc-view.el to work on GNU Emacs 22.1.50.1
> > under Windows XP. The problem I'm having when I try to load a PDF, the
> > document is never displayed. The "Welcome to DocView" message is
> > displayed in the DocView buffer and "DocView: using cached files!" is
> > displayed in the minibuffer, but no PDF file ever appears. The first
> > page should be showing up, because I have left
> > doc-view-conversion-refresh-interval set to the default of 3.
> >
> > Any suggestions?
> 
> I'm not sure, but please check the value of `doc-view-current-cache-dir'
> in the doc-view buffer.  Have a look at this directory.  Does it contain
> the png files of the document?
> 
> My suspicion is that you tried to open that doc once some time ago,
> doc-view created the directory but conversion failed.  Now it thinks
> that it can load the png files because the directory exists.
> 
> Try `M-x doc-view-clear-cache' or remove the directory manually.
> 
> Bye,
> Tassilo
> 
> 
> 
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

_________________________________________________________________
Share life as it happens with the new Windows Live.Download today it's FREE!
http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007

[-- Attachment #1.2: Type: text/html, Size: 2122 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: doc-view.el under windows
  2007-12-04 21:32   ` Corey Foote
@ 2007-12-05 11:38     ` Tassilo Horn
  0 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2007-12-05 11:38 UTC (permalink / raw)
  To: help-gnu-emacs

Corey Foote <coreyfoote@hotmail.com> writes:

Hi Corey,

> Thank you! Removing the directory manually solved the problem! :-)

Heh, I've got a crystal ball deluxe. :-)

Bye,
Tassilo

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

end of thread, other threads:[~2007-12-05 11:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04 15:34 doc-view.el under windows Corey Foote
2007-12-04 20:24 ` Tassilo Horn
2007-12-04 21:32   ` Corey Foote
2007-12-05 11:38     ` Tassilo Horn

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).