ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lua and brackets
@ 2011-11-03  9:15 Martin Fechner
  2011-11-03 11:01 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Fechner @ 2011-11-03  9:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

I try to call a lua-function, but it seems that it doesn't work if the 
parameter contains squared brackets. Here is a short example:

\starttext
	sometext
	\reference[myref]{}
	is
	\ctxlua{tex.print(\atpage[myref])}
\stoptext

Is there a way to mask the brackets?

Best regards,
Martin
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2011-11-03 14:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-03  9:15 lua and brackets Martin Fechner
2011-11-03 11:01 ` Hans Hagen
2011-11-03 11:42   ` Martin Fechner
2011-11-03 13:17     ` Hans Hagen
2011-11-03 14:10       ` Martin Fechner

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).