ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* upload ... new feature
@ 2021-12-10 10:46 Hans Hagen via ntg-context
  2021-12-10 11:20 ` Taco Hoekwater via ntg-context
  2021-12-10 17:04 ` Pablo Rodriguez via ntg-context
  0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-12-10 10:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

This time the lmtx upload has a (for some maybe) interesting new 
features: runtime pdf encryption.

context
    --ownerpassword=foo
   [--userpassword=bar]
   [--permissions="see context --help --expert"]

One can also use the document banner line, like:

% ownerpassword="foo" userpassword="" permissions="print,extract,quality"

Now, this is a feature that relies on the viewer to deal properly with 
it as we only support the not depricated method (why bother with the old 
stuff).

acrobat  : it took some effort (and trial and error) to make that one 
happy but it seems to work ok

summatra : the one i use, it works ok in the latest greatest (i use 
3.3.13418)

mutool   : okay but sometimes with a warning (i have a workearound but 
not enabled it because i consider it to be a bug)

qpdf     : happy but check gives a permissions warning (understandable 
as that is a real mess)

firefox  : opens ok in the latest version (pdf.js)

chrome   : can't handle the revision level we use (the rest is 
depricated so i consider it a lack of feature for now)

edge     : idem

okular   : my (windows) version is too old

xpdf     : not up to it yet

foxit    : (i never use it, but tried ... it's code seems to be what is 
used in chrome) doesn't work with this revision

I would be surprised if the native apple viewer works but I can't test that.

Given earlier pdf threads, I wanna check with Michal Vlasák what can be 
improved.

Performance is okay, the luametatex manual takes 1% more runtime and 
that's within the runtime measurement margin that I use. I didn't test 
with external images yet but will do that so don't expection yet. It 
will probably take a few months to reach a stable state anyway. (But ... 
afaiks tikz pdf generation, which is also somewhat alien to context, 
seems to work).

Hopefully I didn't mess up the unrelated code,

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-10 19:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 10:46 upload ... new feature Hans Hagen via ntg-context
2021-12-10 11:20 ` Taco Hoekwater via ntg-context
2021-12-10 17:04 ` Pablo Rodriguez via ntg-context
2021-12-10 17:37   ` Hans Hagen via ntg-context
2021-12-10 19:44     ` Pablo Rodriguez via ntg-context

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).