Hans,

it would be extremely useful to have the singlesided value from the
option key in \setupinteractionscreen that allows single column page.

The attached diff implements this. It allows the page to be displayed in
full with.

Of course, fit (/FitView) will kill the gain of enabling single column
page view to allow full width display.

This minimal sample displays the usage (once the patch is applied):

  \setupinteraction[state=start]
  \setupinteractionscreen[option={singlesided}]
  \starttext
  a
  \stoptext

Could you consider adding it to next release?

Many thanks for your help,

Pablo
--- Desktop/lpdf-mis.lmt	2024-03-08 19:24:01.633129386 +0100
+++ mkxl/lpdf-mis.lmt	2024-03-08 19:25:14.819852416 +0100
@@ -235,6 +235,9 @@
     [v_doublesided] = {
         layout = "TwoColumnRight",
     },
+    [v_singlesided] = {
+        layout = "OneColumn",
+    },
     [v_fixed] = {
         fixed  = true,
     },
@@ -286,7 +289,8 @@
         fit    = true,
     },
     [v_singlesided] = {
-        mode   = "UseNone"
+        mode   = "UseNone",
+        layout = "OneColumn",
     },
     [v_default] = {
         mode   = "UseNone",
_______________________________________________
dev-context mailing list -- dev-context@ntg.nl
To unsubscribe send an email to dev-context-le...@ntg.nl

Reply via email to