From: Max Chernoff via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Max Chernoff <mseven@telus.net>
Subject: Re: PDF viewer
Date: Fri, 23 Sep 2022 04:18:56 -0600 [thread overview]
Message-ID: <fab78a2ab657923f2b045d10dd05e552556e010d.camel@telus.net> (raw)
In-Reply-To: <efa22392-2349-b11c-0007-9d39708ea342@fiee.net>
Hi Hraban,
> Unfortunately, Firefox doesn’t register itself as a PDF viewer (at least
> on MacOS), that means I can’t use it easily to open a PDF from the
> command line (e.g. in scripts).
That's odd. You can set it as the default PDF viewer on Windows and
Linux at least.
> >> for forms:
> >> - fill in
> > Yes.
>
> Just checked again with current Firefox: It doesn’t work with all of my
> test files.
I tested it with the eforms manual:
http://mirrors.ctan.org/macros/latex/contrib/acrotex/doc/eformman.pdf
and it seems to work fine for me. I've also used it to fill out a few
government forms in the past and it's worked too. Unfortunately, I think
that there are like 12 incompatible ways of making a form in PDF, so
support probably heavily depends on how the document was made.
> >> - print documents with/without form contents
> > Yes.
>
> I couldn’t find an option to print without form contents. (But usually
> you would want filled forms, so “with” is ok.)
Well if you refresh the page, you can delete everything that you've
filled in :)
> >> - custom checkmarks/radiobuttons should work & display correctly
> >
> > Usually it works, sometimes it doesn't.
> >
> >> - JS for calculations
> >
> > Usually it works, sometimes it doesn't.
>
> Need to check further...
I checked with the eforms manual linked above. Check marks and radio
buttons seem to work, but calculations don't.
> >> for annotations (correction workflow; generally just nice to have):
> >> - similar to Adobe/Foxit Reader
> >
> > Reading annotations works, but you can't modify anything.
>
> Ok. There’s still no PDF viewer on Linux that can handle annotations
> well. (But even Acrobat Reader on MacOS frequently crashes on them; I’m
> using Foxit Reader for annotations, but the one for Linux is too old.)
Microsoft Edge has decent PDF annotation support. I've never tested it
on Linux, but a Linux version does exist. Okular also lets you add some
annotations.
> > I've been using pdf.js almost exclusively for the past few years either
> > via Firefox or VS Code, and I've never really had any problems. The only
> > real issue that I've had is that it gets fairly slow with documents over
> > a few thousand pages long. Otherwise, it seems pretty fast and stable,
> > and it supports nearly every feature that I tend to need.
>
> Well, documents with thousands of pages are probably unreliable/slow in
> most viewers.
I've got a 1.1GB document with 16000 pages, and Okular handles it just
as fast as a 10 page document. Firefox at least manages to not crash
when opening the document, which is better than most viewers.
Okular is actually a pretty nice viewer in general. It's really fast,
and it also seems to support most of these features. The tricky thing
with it though is that I think that it would be much harder to modify
compared to pdf.js.
-- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2022-09-23 10:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 18:07 Henning Hraban Ramm via ntg-context
2022-09-23 0:47 ` Max Chernoff via ntg-context
2022-09-23 2:30 ` Alan Braslau via ntg-context
2022-09-23 7:59 ` Henning Hraban Ramm via ntg-context
2022-09-23 10:18 ` Max Chernoff via ntg-context [this message]
2022-09-23 15:56 ` Pablo Rodriguez via ntg-context
2022-09-23 15:34 ` Bruce Horrocks via ntg-context
2022-09-25 15:24 ` juh via ntg-context
2022-09-25 16:41 ` Pablo Rodriguez via ntg-context
2022-09-23 9:52 ` luigi scarso via ntg-context
2022-09-23 15:23 ` Pablo Rodriguez via ntg-context
2022-09-26 14:44 ` Willi Egger via ntg-context
2022-09-26 17:15 ` Pablo Rodriguez via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fab78a2ab657923f2b045d10dd05e552556e010d.camel@telus.net \
--to=ntg-context@ntg.nl \
--cc=mseven@telus.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).