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
___________________________________________________________________________________

Reply via email to