PDF viewing question

2000-06-08 Thread Randall Hopper
I want to autoview PDFs, but also be able to kick off acroread. Autoview works, but I can't figure out how to kick off acroread in mutt. In my .mailcap I have: application/pdf; pdf2txt %s; needsterminal; copiousoutput application/pdf; acroread %s The first should be used for autoview. A

Re: PDF viewing question

2000-06-08 Thread Roland Rosenfeld
On Thu, 08 Jun 2000, Randall Hopper wrote: > I want to autoview PDFs, but also be able to kick off acroread. > Autoview works, but I can't figure out how to kick off acroread in mutt. >application/pdf; pdf2txt %s; needsterminal; copiousoutput >application/pdf; acroread %s > > The first

Re: PDF viewing question

2000-06-08 Thread Byrial Jensen
On Thu, Jun 08, 2000 at 07:49:04 -0400, Randall Hopper wrote: > I want to autoview PDFs, but also be able to kick off acroread. > > Autoview works, but I can't figure out how to kick off acroread in mutt. > > In my .mailcap I have: > >application/pdf; pdf2txt %s; needsterminal; copiousoutpu

Re: PDF viewing question

2000-06-08 Thread Associate Dean
On Thu, Jun 08, 2000 at 02:59:21PM +0200, Roland Rosenfeld wrote: > On Thu, 08 Jun 2000, Randall Hopper wrote: > > > I want to autoview PDFs, but also be able to kick off acroread. > > Autoview works, but I can't figure out how to kick off acroread in mutt. > > >application/pdf; pdf2txt %s;

Re: PDF viewing question

2000-06-09 Thread Randall Hopper
Roland Rosenfeld: Byrial Jensen: |> I want to autoview PDFs, but also be able to kick off acroread. |> |>application/pdf; pdf2txt %s; needsterminal; copiousoutput |>application/pdf; acroread %s | |Try reversing the order of these two lines. Thanks. That did it. Roland Rosenfeld:

Re: PDF viewing question

2000-06-09 Thread Randall Hopper
Associate Dean: n |I do not know about pdf2txt. Could someone please post a source for it |and perhaps add a link to the www.mutt.org pages - I do not think it is |there vut could of course be wrong. pdftotext was written by the same guy that did xpdf. http://www.foolabs.com/xpdf/xpdf.html

Re: PDF viewing question

2000-06-09 Thread Randall Hopper
Byrial Jensen: |> I want to autoview PDFs, but also be able to kick off acroread. |> |>application/pdf; pdf2txt %s; needsterminal; copiousoutput |>application/pdf; acroread %s | |The first usable mailcap entry is always used. Try to reverse the |two lines. Actually, that doesn't w

Re: PDF viewing question

2000-06-09 Thread David T-G
Randall, et al -- ...and then Randall Hopper said... % Byrial Jensen: % | % |The first usable mailcap entry is always used. Try to reverse the % |two lines. % % Actually, that doesn't work. Here's the problem. Mutt takes the first % ~/.mailcap entry it likes, but Netscape takes the last one

Re: PDF viewing question

2000-06-09 Thread Randall Hopper
David T-G: |Oy! | |Well, then, what about | | application/pdf; acroread %s | application/pdf; pdf2txt %s; needsterminal; copiousoutput | application/pdf; acroread %s | |to work for both? mutt will take the first one and never get to the |dupe; Netscape will fall through to the end an

Re: PDF viewing question

2000-06-09 Thread David Ellement
On 000609, at 07:08:31, Randall Hopper wrote: > Byrial Jensen: > |> I want to autoview PDFs, but also be able to kick off acroread. > |> > |>application/pdf; pdf2txt %s; needsterminal; copiousoutput > |>application/pdf; acroread %s > | > |The first usable mailcap entry is always use

Re: PDF viewing question

2000-06-09 Thread Michael Sanders
On Fri, Jun 09, 2000 at 06:49:18AM -0400, Randall Hopper wrote: > Associate Dean: > n |I do not know about pdf2txt. Could someone please post a source for it > |and perhaps add a link to the www.mutt.org pages - I do not think it is > |there vut could of course be wrong. > > pdftotext was writt

Re: PDF viewing question

2000-06-09 Thread Bennett Todd
2000-06-09-06:49:18 Randall Hopper: > pdf2txt is just my simple shell script wrapper for it which > supports getting the text file on standard output. At least in the version of pdftotext shipped with Red Hat 6.2 (0.90), pdftotext(1) claims that if the output file is "-", the output will go to st

Re: PDF viewing question

2000-06-10 Thread Brian Salter-Duke
On Fri, Jun 09, 2000 at 11:48:30AM -0400, Michael Sanders wrote: > On Fri, Jun 09, 2000 at 06:49:18AM -0400, Randall Hopper wrote: > > Associate Dean: Apologies for my From: line getting fouled up with that title. > > n |I do not know about pdf2txt. Could someone please post a source for it > >

Re: PDF viewing question

2000-06-11 Thread Gary Johnson
On Sun, Jun 11, 2000 at 04:17:42PM +0930, Brian Salter-Duke wrote: > On Fri, Jun 09, 2000 at 11:48:30AM -0400, Michael Sanders wrote: > > One problem: There is another program of the same name at > > ftp://ftp.u-aizu.ac.jp/pub/lang/pdf/pdf2txt/ > > I came up with this after a google.com search b

Re: PDF viewing question

2000-06-11 Thread Byrial Jensen
On Thu, Jun 08, 2000 at 14:59:21 +0200, Roland Rosenfeld wrote: > BTW: does it make sense to combine "needsterminal" and "copiousoutput" > in one mailcap entry? As far as I understand they are quite contrary, > because "needsterminal" needs a terminal with user input while > "copiousoutput" pipes

Re: PDF viewing question

2000-06-12 Thread Michael Sanders
On Sun, Jun 11, 2000 at 04:17:42PM +0930, Brian Salter-Duke wrote: > > > One problem: There is another program of the same name at > > ftp://ftp.u-aizu.ac.jp/pub/lang/pdf/pdf2txt/ > > I came up with this after a google.com search but this URL does not seem > to be up. Has anyone had any luck wi