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

Re: Reading pdf files



On Sat 15 Jun 2019 at 07:51:22 (-0000), Curt wrote:
> On 2019-06-15, Erik Christiansen <dvalin@internode.on.net> wrote:
> > On 14.06.19 10:51, Celejar wrote:
> >> On Fri, 14 Jun 2019 18:50:22 +1000 Erik Christiansen <dvalin@internode.on.net> wrote:
> >> > I only use mupdf for problem pdf files, but it's very nifty to have on
> >> > hand.

Yes—it's amongst those that can render Chase credit card statements.

> >> I actually love mupdf, and I use it as my main pdf reader. It's just so
> >> lightweight and easy to use for basic pdf reading.
> >
> > On trying it again, it does look very promising. Is there a way to set
> > the background colour? With xpdf I use "-papercolor wheat3" to avoid
> > eyestrain from the white background.
> 
> curty@einstein:~$ mupdf
> usage: mupdf [options] file.pdf [page]
>         -p -    password
>         -r -    resolution
>         -A -    set anti-aliasing quality in bits (0=off, 8=best)
>         -C -    RRGGBB (tint color in hexadecimal syntax)
>         -W -    page width for EPUB layout
>         -H -    page height for EPUB layout
>         -S -    font size for EPUB layout
>         -U -    user style sheet for EPUB layout
> 
> So I guess, 'mupdf -C FFEFD5 foo.pdf' (which gives papaya, not wheat--can't find
> wheat--but at least it's a foodstuff). Works here.
> 
> I use mupdf from time to time, but as it doesn't refresh automagically like
> Evince when I run 'pdflatex' on an open pdf file whose tex source I've
> modified, I prefer the latter.

Funnily enough, not refreshing automatically is one feature I
appreciate in viewers.

But what eliminates it for me as a general viewer is the lack of key-
binding configuration file. Quoting Archwiki,
  "Navigation within a document works with standard keyboard shortcuts
   and mouse interaction. For example, B and Space scroll up and down."
they don't look like standard bindings to me. Or is there some
external DE configuration that's handling all this for DE-users?

One place mupdf scores is viewing very very tall PNGs and JPGs.¹
However, it's let down by the fact that scrolling must be done using
the mouse: the keyboard shortcuts move the image much too far.
It appears to segment (virtually) the image into still very tall
"pages" which are larger than the area being displayed. So I prefer
to use xzgv for this task.

¹ eg Firefox screenshots.

Cheers,
David.


Reply to: