summaryrefslogtreecommitdiff
path: root/tex/context/base/attr-lay.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-06-22 11:20:14 +0300
committerMarius <mariausol@gmail.com>2012-06-22 11:20:14 +0300
commit8ef16ba63f58cf5b2704dd6e4be892d0d6cf96ee (patch)
tree7aee74f2256fd223ac90cd9028edc98645b64f96 /tex/context/base/attr-lay.mkiv
parent63fbc0df119d3ab18634ccc65eb9a6fa47b57ac0 (diff)
downloadcontext-8ef16ba63f58cf5b2704dd6e4be892d0d6cf96ee.tar.gz
beta 2012.06.22 10:09
Diffstat (limited to 'tex/context/base/attr-lay.mkiv')
-rw-r--r--tex/context/base/attr-lay.mkiv11
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/attr-lay.mkiv b/tex/context/base/attr-lay.mkiv
index 2542ca5af..9c9c3318e 100644
--- a/tex/context/base/attr-lay.mkiv
+++ b/tex/context/base/attr-lay.mkiv
@@ -13,6 +13,13 @@
\writestatus{loading}{ConTeXt Attribute Macros / Viewerlayers}
+%D Currently there is a limitation in mixed inline usage. This has to do with the fact
+%D that we have a stacked model but cannot determine where to revert to (as we can
+%D have AABBCCAA ranges). Maybe I'll solve that one day. It only affects nested inline
+%D layers and these make not much sense anyway. We'd have to store the complete nesting
+%D stack in the attribute in order to be able to cross pages and that demands a new
+%D mechanism.
+
\unprotect
\registerctxluafile{attr-lay}{1.001}
@@ -91,4 +98,8 @@
\let\setlayoutcomponentattribute \attr_layoutcomponent_set
\let\resetlayoutcomponentattribute\attr_layoutcomponent_reset}
+\appendtoks
+ \ctxcommand{cleanuplayers()}%
+\to \everyshipout
+
\protect \endinput