Re: wordview

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

 



[quoted lines by Janina Sajka on April 11, 2003, at 18:11]

>Now, if I could figure out how to get PDF to work the same way! <grin>

Do it like this:

    application/pdf; pdftotext %s - | more; test=test -z "${DISPLAY}"
    application/pdf; xpdf %s

The first line does it the text way if $DISPLAY isn't set, i.e. if you're not
using X. The second line is used if the test on the first line fails, i.e. if 
you are using X.

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave@xxxxxxxxx | Canada  K2A 1H7   | if you're concerned about Hell.
http://familyradio.com/                   | http://mielke.cc/bible/



_______________________________________________

Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]