[NTG-context] Override starttyping environment

2004-11-04 Thread Arnold, David
Hans et al, I have in my preamble: \definetyping[matlab] \setuptyping[matlab] [before={\startframedtext[width=\makeupwidth, background=screen, backgroundscreen=0.9]}, after={\stopframedtext}, color=darkred] Later in my document, I tried to center one of these environments:

RE: [NTG-context] \setuplayout --- what do parameters mean?

2004-11-04 Thread jimarin
Hi David, I use the following code...which I borrowed and adapted from someone else (I think it was from Patrick Gundlach's http://levana.de/context/) to explore graphically the meanings of the parameters of \setuplayout. I used it when developing my own style for presentations...I am aware it

[NTG-context] No color even though \setupcolors[state=start]

2004-11-04 Thread David Arnold
All, Can anyone tell me why I am not getting any color (red and yellow)? \startuseMPgraphic{layout 1} pickup pencircle scaled 1mm; fill unitsquare xyscaled (7cm,8cm) withcolor 0.85white; fill unitsquare xyscaled (5cm,5cm) shifted (1cm,1.5cm) withcolor 0.625yellow; fill unitsquare xyscaled

Re: [NTG-context] No color even though \setupcolors[state=start]

2004-11-04 Thread David Arnold
All, Duh! draw, not fill! Sorry. At 09:07 AM 11/4/04 -0800, you wrote: All, Can anyone tell me why I am not getting any color (red and yellow)? \startuseMPgraphic{layout 1} pickup pencircle scaled 1mm; fill unitsquare xyscaled (7cm,8cm) withcolor 0.85white; fill unitsquare xyscaled (5cm,5cm)

Re: [NTG-context] No color even though \setupcolors[state=start]

2004-11-04 Thread Matthias Weber
Put your text between \startproduct ... \stopproduct Matthias On Nov 4, 2004, at 12:07 PM, David Arnold wrote: All, Can anyone tell me why I am not getting any color (red and yellow)? \startuseMPgraphic{layout 1} pickup pencircle scaled 1mm; fill unitsquare xyscaled (7cm,8cm) withcolor 0.85white;

Re: [NTG-context] \typebuffer and tabs / specify code type

2004-11-04 Thread Eckhart Guthöhrlein
On Wed, Nov 03, 2004 at 02:19:19PM +0100, Eckhart Guthöhrlein wrote: On Wed, Nov 03, 2004 at 01:39:45PM +0100, Hans Hagen wrote: Eckhart Guthöhrlein wrote: Hi all, I'm using \typebuffer to typeset some metapost code. How can I tell it to either ignore tabs or treat them like 1,2,3,...

Re: [NTG-context] \setuplayout --- what do parameters mean?

2004-11-04 Thread Henning Hraban Ramm
Am 04.11.2004 um 03:43 schrieb David Arnold: I have a hard time working out what it means. I know I can do \showframe, Try \showlayout Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED]

[NTG-context] \reuseMPgraphic error

2004-11-04 Thread David Arnold
All, This file: \setupoutput[pdf] \startreusableMPgraphic{layout 1} pickup pencircle scaled 1mm; fill unitsquare xyscaled (7cm,8cm) withcolor 0.85white; fill unitsquare xyscaled (5cm,5cm) shifted (1cm,1.5cm) withcolor 0.625yellow; fill unitsquare xyscaled (5cm,1cm) shifted (1cm,0.5cm) withcolor

Re: [NTG-context] \reuseMPgraphic error

2004-11-04 Thread Matthias Weber
On Nov 4, 2004, at 1:07 PM, David Arnold wrote: All, This file: \setupoutput[pdf] \startreusableMPgraphic{layout 1} pickup pencircle scaled 1mm; fill unitsquare xyscaled (7cm,8cm) withcolor 0.85white; fill unitsquare xyscaled (5cm,5cm) shifted (1cm,1.5cm) withcolor 0.625yellow; fill unitsquare

Re: [NTG-context] \reuseMPgraphic error

2004-11-04 Thread David Arnold
Matthias, This was allowed at one time. It is straight out of the Metafun manual. At 02:03 PM 11/4/04 -0500, you wrote: On Nov 4, 2004, at 1:07 PM, David Arnold wrote: All, This file: \setupoutput[pdf] \startreusableMPgraphic{layout 1} pickup pencircle scaled 1mm; fill unitsquare

[NTG-context] Re: \setuplayout --- what do parameters mean?

2004-11-04 Thread Patrick Gundlach
Hi David, [...] I have a hard time working out what it means. I know I can do \showframe, but that doesn't indicate everything I need to see. Does anyone have a macro that shows ALL of these parameters in a visual way, similar to that on page 182 of the Latex User Guide, 2nd ed., Lamport?

[NTG-context] Re: Override starttyping environment

2004-11-04 Thread Patrick Gundlach
Hello David, [before={\startframedtext[width=\makeupwidth, and \startalignment[middle] don't work together. Perhaps you can put your \startmatlab in a framed box with specific width and frame=off. P. -- ConTeXt wiki: http://contextgarden.net