Hans,

the attachment contains a patch to be able to set /PageMode to
attachments or optional contents.

Values are attach and oc. These were the simplest names that came to my
mind.

I realized these are extremely useful, since vast majority of people
(including IT guys) don’t seem to know how to extract attachments from
PDF documents.

Could you apply it to ConTeXt?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
--- lpdf-mis.lua	2017-05-27 17:54:03.026544314 +0200
+++ mkiv/lpdf-mis.lua	2017-05-27 17:58:24.316991988 +0200
@@ -54,7 +54,9 @@
 local v_stop               = variables.stop
 local v_none               = variables.none
 local v_max                = variables.max
+local v_attach             = variables.attach
 local v_bookmark           = variables.bookmark
+local v_oc                 = variables.oc
 local v_fit                = variables.fit
 local v_doublesided        = variables.doublesided
 local v_singlesided        = variables.singlesided
@@ -267,9 +269,15 @@
     [v_max] = {
         mode = "FullScreen",
     },
+    [v_attach] = {
+        mode = "UseAttachments",
+    },
     [v_bookmark] = {
         mode = "UseOutlines",
     },
+    [v_oc] = {
+        mode = "UseOC",
+    },
     [v_fit] = {
         mode = "UseNone",
         fit  = true,
@@ -326,9 +334,15 @@
     [v_max] = {
         mode = "FullScreen",
     },
+    [v_attach] = {
+        mode = "UseAttachments",
+    },
     [v_bookmark] = {
         mode = "UseOutlines",
     },
+    [v_oc] = {
+        mode = "UseOC",
+    },
     [v_fit] = {
         fit  = true,
     },
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to