* Lua & inmargin & inframed @ 2013-01-04 15:22 Procházka Lukáš Ing. - Pontex s. r. o. 2013-01-04 15:48 ` Wolfgang Schuster 0 siblings, 1 reply; 4+ messages in thread From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2013-01-04 15:22 UTC (permalink / raw) To: ConTeXt [-- Attachment #1: Type: text/plain, Size: 545 bytes --] 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 [-- Attachment #2: t.mkiv --] [-- Type: application/octet-stream, Size: 159 bytes --] \starttext \inmargin{\inframed{A}} \input knuth \blank \directlua{context.inmargin(context.delayed.inframed("B")); context("Test.")} \stoptext [-- Attachment #3: t.pdf --] [-- Type: application/pdf, Size: 10885 bytes --] [-- Attachment #4: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Lua & inmargin & inframed 2013-01-04 15:22 Lua & inmargin & inframed Procházka Lukáš Ing. - Pontex s. r. o. @ 2013-01-04 15:48 ` Wolfgang Schuster 2013-01-04 15:51 ` Procházka Lukáš Ing. - Pontex s. r. o. 0 siblings, 1 reply; 4+ messages in thread From: Wolfgang Schuster @ 2013-01-04 15:48 UTC (permalink / raw) To: mailing list for ConTeXt users Am 04.01.2013 um 16:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>: > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Lua & inmargin & inframed 2013-01-04 15:48 ` Wolfgang Schuster @ 2013-01-04 15:51 ` Procházka Lukáš Ing. - Pontex s. r. o. 2013-01-04 16:01 ` Wolfgang Schuster 0 siblings, 1 reply; 4+ messages in thread From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2013-01-04 15:51 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster <wolfgang.schuster@gmail.com> 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...) 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Lua & inmargin & inframed 2013-01-04 15:51 ` Procházka Lukáš Ing. - Pontex s. r. o. @ 2013-01-04 16:01 ` Wolfgang Schuster 0 siblings, 0 replies; 4+ messages in thread From: Wolfgang Schuster @ 2013-01-04 16:01 UTC (permalink / raw) To: mailing list for ConTeXt users Am 04.01.2013 um 16:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>: > On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster <wolfgang.schuster@gmail.com> 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-04 16:01 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-01-04 15:22 Lua & inmargin & inframed Procházka Lukáš Ing. - Pontex s. r. o. 2013-01-04 15:48 ` Wolfgang Schuster 2013-01-04 15:51 ` Procházka Lukáš Ing. - Pontex s. r. o. 2013-01-04 16:01 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).