Lua & inmargin & inframed
Hello, the inframed "B" in margin created by Lua doesn't appear, although corresponding Ctx code works: ---- \starttext \inmargin{\inframed{A}} \input knuth \blank \directlua{context.inmargin(context.delayed.inframed("B")); context("Test.")} \stoptext ---- What am I doing wrong? TIA. Best regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
Am 04.01.2013 um 16:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
Hello,
the inframed "B" in margin created by Lua doesn't appear, although corresponding Ctx code works:
---- \starttext \inmargin{\inframed{A}} \input knuth
\blank \directlua{context.inmargin(context.delayed.inframed("B")); context("Test.")} \stoptext ----
What am I doing wrong?
\starttext \inmargin{\inframed{A}} \input knuth \blank \ctxlua{context.inmargin(context.nested.inframed("B"))} \input knuth \stoptext Wolfgang
On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster
\starttext
\inmargin{\inframed{A}} \input knuth
\blank
\ctxlua{context.inmargin(context.nested.inframed("B"))} \input knuth
\stoptext
Wolfgang
Great, thanks! Any info about usage of ".nested" or ".nested" vs. "delayed"? (I've never used ".nested" so far, ".delayed" did the work if it was necessary...) Best regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
Am 04.01.2013 um 16:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster
wrote: \starttext
\inmargin{\inframed{A}} \input knuth
\blank
\ctxlua{context.inmargin(context.nested.inframed("B"))} \input knuth
\stoptext
Wolfgang
Great, thanks!
Any info about usage of ".nested" or ".nested" vs. "delayed"?
(I've never used ".nested" so far, ".delayed" did the work if it was necessary…)
No, I played only with a few commands mentioned in the manual. Wolfgang
participants (2)
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster