[NTG-context] Lua inmargin inframed

2013-01-04 Thread 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?

TIA.

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t.mkiv
Description: Binary data


t.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] Lua inmargin inframed

2013-01-04 Thread Wolfgang Schuster

Am 04.01.2013 um 16:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@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
___


Re: [NTG-context] Lua inmargin inframed

2013-01-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster 
wolfgang.schus...@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:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@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
___


Re: [NTG-context] Lua inmargin inframed

2013-01-04 Thread Wolfgang Schuster

Am 04.01.2013 um 16:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster 
 wolfgang.schus...@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
___