Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Wolfgang Schuster
Am 21.07.2012 um 21:25 schrieb Peter Münster: On Sat, Jul 21 2012, Pablo Rodríguez wrote: Page is red and text is white. \page Page is blue and text is yellow. Quick hack: \definecolor[MyColor][white] \setupbackgrounds[page][background=color, backgroundcolor=MyColor]

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Pablo Rodríguez
On 22/07/12 09:58, Wolfgang Schuster wrote: Am 21.07.2012 um 21:25 schrieb Peter Münster: On Sat, Jul 21 2012, Pablo Rodríguez wrote: Page is red and text is white. [...] You mean something like this? Many thanks for your reply, Wolfgang. I mean something like that, but I have problems

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Wolfgang Schuster
Am 22.07.2012 um 10:29 schrieb Pablo Rodríguez: On 22/07/12 09:58, Wolfgang Schuster wrote: Am 21.07.2012 um 21:25 schrieb Peter Münster: On Sat, Jul 21 2012, Pablo Rodríguez wrote: Page is red and text is white. [...] You mean something like this? Many thanks for your reply,

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Pablo Rodríguez
On 22/07/12 11:07, Wolfgang Schuster wrote: Am 22.07.2012 um 10:29 schrieb Pablo Rodríguez: [...] The xtable itself won't be aligned when I set split=yes and won't be split in pages. The makeup environment creates a page sized box which doesn’t allow material which is split over many

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Wolfgang Schuster
Am 22.07.2012 um 11:23 schrieb Pablo Rodríguez: BTW, how can I make that the first column are aligned to the right? \setupxtable[xcell][1][align=right] doesn't seem to work. Xtables don’t provide the same method as natural tables to set value for individual rows or columns, you have to

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Pablo Rodríguez
On 22/07/12 11:30, Wolfgang Schuster wrote: Am 22.07.2012 um 11:23 schrieb Pablo Rodríguez: [...] \startxcell[align=right] right \stopxcell doesn't change alignment. \startxcell[align=flushright … \stopxcell or \definextable[right][align=flushright] \startxcell[right] … \stopxcell

[NTG-context] two questions for the simplest slides

2012-07-21 Thread Pablo Rodríguez
Hi there, I would like to create the simplest slides ever. I have done in LaTeX before, but I'm not sure how to do it with ConTeXt. All I want is to be able to center both vertically and horizontally whatever each slide contains and to change background and text colors in an easy manner

Re: [NTG-context] two questions for the simplest slides

2012-07-21 Thread Marco
Hi Pablo, for each defined colour there is a command that can be called to switch. \centerbox centres the text vertically. It is not the most elegant solution, but the following does what you asked for. \setuppapersize [S6] [S6] \setuppagenumber [state=stop] \setupbackgrounds [page]

Re: [NTG-context] two questions for the simplest slides

2012-07-21 Thread Peter Münster
On Sat, Jul 21 2012, Pablo Rodríguez wrote: Page is red and text is white. \page Page is blue and text is yellow. Quick hack: \definecolor[MyColor][white] \setupbackgrounds[page][background=color, backgroundcolor=MyColor] \def\Slide#1#2#3{% #1: background, #2: foreground, #3: words

Re: [NTG-context] two questions for the simplest slides

2012-07-21 Thread Pablo Rodríguez
On 21/07/12 21:21, Marco wrote: Hi Pablo, for each defined colour there is a command that can be called to switch. \centerbox centres the text vertically. It is not the most elegant solution, but the following does what you asked for. [...] Thank you, Marco, for your reply. Your color

Re: [NTG-context] two questions for the simplest slides

2012-07-21 Thread Pablo Rodríguez
On 21/07/12 21:25, Peter Münster wrote: On Sat, Jul 21 2012, Pablo Rodríguez wrote: Page is red and text is white. \page Page is blue and text is yellow. Quick hack: \startstandardmakeup \setupalign[middle]% \setupcolors[textcolor=#2]% #3 \stopstandardmakeup Thanks

Re: [NTG-context] two questions for the simplest slides

2012-07-21 Thread Peter Münster
On Sat, Jul 21 2012, Pablo Rodríguez wrote: Page is red and text is white. \page Page is blue and text is yellow. All you need, can be done with \framed: \setuppapersize[S6] \setuplayout[page] \def\Slide#1#2#3{% #1: background, #2: foreground, #3: words \framed[offset=overlay,

Re: [NTG-context] two questions for the simplest slides

2012-07-21 Thread Pablo Rodríguez
On 21/07/12 23:10, Peter Münster wrote: On Sat, Jul 21 2012, Pablo Rodríguez wrote: Page is red and text is white. \page Page is blue and text is yellow. All you need, can be done with \framed: \setuppapersize[S6] \setuplayout[page] \def\Slide#1#2#3{% #1: background, #2: foreground,