Embedded PDF in Firefox

Matthew Saltzman mjs at clemson.edu
Sat Aug 27 21:22:08 UTC 2011


I have mozplugger-1.14.2-1.fc15.x86_64 installed (so I can run 32-bit
Flash with 64-bit Firefox).  Mozplugger also is supposed to support
embedding PDF displays in a Firefox tab with evince or Adobe Reader, but
in my browser, following a link to a PDF results in a window with blank
content.

I've tried with a personal .mozplugger/mozpluggerrc containing:

        application/pdf: pdf: PDF file
        application/x-pdf: pdf: PDF file
        text/pdf: pdf: PDF file
        text/x-pdf: pdf: PDF file
        application/x-postscript: ps: PostScript file
        application/postscript: ps: PostScript file
            repeat noisy swallow(evince) fill: evince "$file"

I've also tried without that, using the default /etc/mozplugger, which
contains:

        ### Acrobat Reader 
        define(ACROREAD, [repeat swallow(acroread) fill : acroread -openInNewWindow /a "
        $fragment" "$file"])
        ...
        application/pdf:pdf:PDF file
        application/x-pdf:pdf:PDF file
        text/pdf:pdf:PDF file
        text/x-pdf:pdf:PDF file
        ACROREAD()
        repeat noisy swallow(kpdf) fill: kpdf "$file"
        repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
        repeat noisy swallow(okular) fill: okular "$file"
                repeat noisy swallow(epdfview) fill: epdfview "$file"
        GV()
        repeat noisy fill exits: evince "$file"

This has been going on for at least a few versions of Firefox and maybe
other relevant packages as well.  I currently have Adobe Reader
installed, but I get the same result if I uninstall it.

Any idea what I've got wrong?  If I can't get embedded display working,
how do I fall back to opening a separate window?

TIA.
        
-- 
Matthew Saltzman
Clemson University Mathematical Sciences
mjs AT clemson DOT edu



More information about the users mailing list