On 10/22/2013 12:29 PM, Wolfgang Schuster wrote:
> Am 21.10.2013 um 18:28 schrieb Pablo Rodriguez <oi...@gmx.es>:
>> [...]
>> Layer has text inside in the sample above. I’d like to have it as a float.
> 
> You can use positioned layers (mentioned in the metafun manual but currently 
> broken in MkIV)
> but you have to place the layer with a float to reserve the necessary space.
> 
> % engine=pdftex
> 
> \definelayer[avoidasfloat][position=yes]
> 
> \setupbackgrounds[page][background=avoidasfloat]
> 
> \starttext
> 
> \placefigure[right,none]{}{\setlayer[avoidasfloat]{\startMPcode draw 
> unitsquare scaled 4cm ; \stopMPcode}}
> \input knuth
> 
> \stoptext

Many thanks for your reply, Wolfgang.

Is there no way to place that layer exactly 8mm from left page border
and 110mm from top page border?

I really need the layer in that position (otherwise it doesn’t make sense).

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to