ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* metafun problem
@ 2010-07-13  9:54 Albrecht Kauffmann
  0 siblings, 0 replies; 4+ messages in thread
From: Albrecht Kauffmann @ 2010-07-13  9:54 UTC (permalink / raw)
  To: ntg-context

Dear ConTeXtuals,

the following MP-inclusion produces fatal error (! TeX capacity
exceeded, sorry [parameter stack size=6000].):

starttext
\startMPcode
label(btex $\underbrace{a}_{b}$ etex,(0,0));
\stopMPcode
\stoptext

I use mkii, but the code should work.
Has anyone an explanation?

With many thanks for any hint
Albrecht
___________________________________________________________________________________
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: Metafun problem
  2009-09-26  5:16 Metafun problem David Arnold
  2009-09-26  6:58 ` luigi scarso
@ 2009-09-26 10:31 ` Peter Rolf
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Rolf @ 2009-09-26 10:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

David Arnold schrieb:
> All,
>
> I've got the context minimals installed and I'm compiling the 
> following (from the new Metafun manual) using MKIV:
>
> \startuniqueMPgraphic{name}
>     path p;
>     p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight;
>     fill p withcolor .625yellow;
>     draw p withcolor .625red;
> \stopuniqueMPgraphic
>
> \starttext
> Hello, World!
>
> \defineoverlay[my graphic][\uniqueMPgraphic{name}]
> \button[background=my graphic,frame=off]{Go Home}[firstpage]
>
> \stoptext
>
> No button shows up. Am I missing something?
>
A \button is an interactive element, so you need to add

\setupinteraction[state=start]

> David
> ___________________________________________________________________________________ 
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________ 
>
>

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Metafun problem
  2009-09-26  5:16 Metafun problem David Arnold
@ 2009-09-26  6:58 ` luigi scarso
  2009-09-26 10:31 ` Peter Rolf
  1 sibling, 0 replies; 4+ messages in thread
From: luigi scarso @ 2009-09-26  6:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1630 bytes --]

On Sat, Sep 26, 2009 at 7:16 AM, David Arnold <dwarnold45@suddenlink.net>wrote:

> All,
>
> I've got the context minimals installed and I'm compiling the following
> (from the new Metafun manual) using MKIV:
>
> \startuniqueMPgraphic{name}
>        path p;
>        p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight;
>        fill p withcolor .625yellow;
>        draw p withcolor .625red;
> \stopuniqueMPgraphic
>
> \starttext
> Hello, World!
>
> \defineoverlay[my graphic][\uniqueMPgraphic{name}]
> \button[background=my graphic,frame=off]{Go Home}[firstpage]
>
> \stoptext
>
> No button shows up. Am I missing something?
>
>
\startuniqueMPgraphic{name}
       path p;
       p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight;
       fill p withcolor .625yellow;
       draw p withcolor .625red;
\stopuniqueMPgraphic
I don't know.
\framed works

\starttext
Hello, World!

\defineoverlay[my graphic][\uniqueMPgraphic{name}]
\button[background={my graphic},frame=off]{Go Home}[firstpage]
\framed[background={my graphic},frame=off]{framed Go Home}
\stoptext
test-arnold.tex (END)




> David
>
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>



-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 2661 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Metafun problem
@ 2009-09-26  5:16 David Arnold
  2009-09-26  6:58 ` luigi scarso
  2009-09-26 10:31 ` Peter Rolf
  0 siblings, 2 replies; 4+ messages in thread
From: David Arnold @ 2009-09-26  5:16 UTC (permalink / raw)
  To: Context Mailing List List

All,

I've got the context minimals installed and I'm compiling the  
following (from the new Metafun manual) using MKIV:

\startuniqueMPgraphic{name}
	path p;
	p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight;
	fill p withcolor .625yellow;
	draw p withcolor .625red;
\stopuniqueMPgraphic

\starttext
Hello, World!

\defineoverlay[my graphic][\uniqueMPgraphic{name}]
\button[background=my graphic,frame=off]{Go Home}[firstpage]

\stoptext

No button shows up. Am I missing something?

David
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-13  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-13  9:54 metafun problem Albrecht Kauffmann
  -- strict thread matches above, loose matches on Subject: below --
2009-09-26  5:16 Metafun problem David Arnold
2009-09-26  6:58 ` luigi scarso
2009-09-26 10:31 ` Peter Rolf

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