Re: [NTG-context] beta/problem with layers

2011-02-02 Thread Wolfgang Schuster
Am 02.02.2011 um 16:07 schrieb Aditya Mahajan: >> The bodymatter enviroment isn’t necessary here because it’s always enabled >> when you other sectionblockenvironment is used but it’s useful to have >> something which separates the preamble from the text. > > One could also use \starttext ... \s

Re: [NTG-context] beta/problem with layers

2011-02-02 Thread Hans Hagen
On 2-2-2011 5:46, Aditya Mahajan wrote: On Wed, 2 Feb 2011, Hans Hagen wrote: On 2-2-2011 4:07, Aditya Mahajan wrote: There is no point in not loading the fonts in the begining if one would then have to come up with clever ways to force loading of a font. I hope that there is a more robust so

Re: [NTG-context] beta/problem with layers

2011-02-02 Thread Hans Hagen
On 2-2-2011 5:46, Aditya Mahajan wrote: Perhaps \setlayer (or even \hbox!!) should issue a warning if the fonts have not been loaded yet. hm, that should be doable maybe we can hook that into everyhbox / everyvbox in general, setlayer is not so much preamble as content code .. we could think

Re: [NTG-context] beta/problem with layers

2011-02-02 Thread Aditya Mahajan
On Wed, 2 Feb 2011, Hans Hagen wrote: On 2-2-2011 4:07, Aditya Mahajan wrote: There is no point in not loading the fonts in the begining if one would then have to come up with clever ways to force loading of a font. I hope that there is a more robust solution so that well, it depends ... how

Re: [NTG-context] beta/problem with layers

2011-02-02 Thread Hans Hagen
On 2-2-2011 4:07, Aditya Mahajan wrote: There is no point in not loading the fonts in the begining if one would then have to come up with clever ways to force loading of a font. I hope that there is a more robust solution so that well, it depends ... how many use lm for documents? as Wolfgang

Re: [NTG-context] beta/problem with layers

2011-02-02 Thread Aditya Mahajan
On Wed, 2 Feb 2011, Wolfgang Schuster wrote: Besides moving \setlayer after \starttext you can just load a font before the \setlayer settings, e.g. \setupbodyfont[modern] \definelayer[…] \setlayer[…]{…} \starttext … \stoptext Perhaps a redirection like \setlayer[...]{\setups{layersetup}} migh

Re: [NTG-context] beta/problem with layers

2011-02-02 Thread Wolfgang Schuster
Am 01.02.2011 um 13:33 schrieb Andreas Harder: > Am 01.02.2011 um 12:11 schrieb Wolfgang Schuster: > >> Am 01.02.2011 um 11:43 schrieb Andreas Harder: >> >>> Hi, >>> >>> it seems there go something wrong with layers. >> >> With the last beta context postpones font loading till \starttext. >>

Re: [NTG-context] beta/problem with layers

2011-02-01 Thread Andreas Harder
Am 01.02.2011 um 12:11 schrieb Wolfgang Schuster: > > Am 01.02.2011 um 11:43 schrieb Andreas Harder: > >> Hi, >> >> it seems there go something wrong with layers. > > With the last beta context postpones font loading till \starttext. > > As there is no font loaded the layer content is not vi

Re: [NTG-context] beta/problem with layers

2011-02-01 Thread Wolfgang Schuster
Am 01.02.2011 um 11:43 schrieb Andreas Harder: > Hi, > > it seems there go something wrong with layers. With the last beta context postpones font loading till \starttext. As there is no font loaded the layer content is not visible, move \starttext at the begin of the file and you can see the l

[NTG-context] beta/problem with layers

2011-02-01 Thread Andreas Harder
Hi, it seems there go something wrong with layers. \definelayer[test-layer][width=\paperwidth,height=\paperheight] \setlayer[test-layer][preset=middle]{why is this text not visible?} \setlayerframed [test-layer] % [preset=topright] [width=5cm,height=3cm,background=color,backgroundcolor=red