diff options
Diffstat (limited to 'tex/context/base/prop-lay.mkiv')
-rw-r--r-- | tex/context/base/prop-lay.mkiv | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tex/context/base/prop-lay.mkiv b/tex/context/base/prop-lay.mkiv index a34a71632..67e103ffb 100644 --- a/tex/context/base/prop-lay.mkiv +++ b/tex/context/base/prop-lay.mkiv @@ -96,14 +96,14 @@ %D \stoptext \def\doinitializelayoutcomponent#1#2% - {\ctxlua{backends.codeinjections.defineviewerlayer{ + {\ctxlua{backends.codeinjections.defineviewerlayer{% this will move to the lua end i.e be merged with register tag = "#1:#2", title = "#1 #2", visible = "\v!start", kind = 0, % 1 == frozen printable = "\v!yes" }}% - \edef\layoutcomponentboxattribute{attr \viewerlayerattribute \ctxlua{tex.write(viewerlayers.register('#1:#2'))} }% + \edef\layoutcomponentboxattribute{attr \viewerlayerattribute \ctxlua{tex.write(viewerlayers.register('#1:#2',true))}\relax}% \expandafter\glet\csname\??ly>#1:#2\endcsname\layoutcomponentboxattribute} \def\dosetlayoutcomponentattribute#1#2% make this faster @@ -115,8 +115,6 @@ \def\doresetlayoutcomponentattribute {\let\layoutcomponentboxattribute\empty} -\let\startlayoutcomponent \gobbletwoarguments % obsolete -\let\stoplayoutcomponent \relax % obsolete \let\setlayoutcomponentattribute \gobbletwoarguments \let\resetlayoutcomponentattribute\relax \let\layoutcomponentboxattribute \empty |