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

Re: Reading pdf files



Quoting Curt (2019-06-15 09:51:22)
> 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.
> >> 
> >> 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.

You could make a wrapper that watches the file for changes and sends a 
HUP signal when it changes, like discussed here:

https://unix.stackexchange.com/questions/425907/how-to-make-mupdf-automatically-refresh-a-document

That wrapper could then "smear food" on the background as well :-)


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: