Re: [NTG-context] White digit in a black square

2009-08-23 Thread Vyatcheslav Yatskovsky
Thank you! The following works fine for me: \defineframed [WhiteOnBlack] [background=color, backgroundcolor=black, foregroundcolor=white] \setuppagenumbering[command=\WhiteOnBlack,location={footer,margin}] Concerning table of contents label, I will play with it latter. Regards, V

Re: [NTG-context] An interesting default for recurselevel in xetex

2009-08-23 Thread Hans Hagen
Aditya Mahajan wrote: I do not think that any change is needed (One shouldn't use \recurselevel outside a recursion macro anyways). I was just surprised to find that recurselevel was defaulting to such a weird value in xetex. also in luatex but that will probably change once we have more dire

Re: [NTG-context] White digit in a black square

2009-08-23 Thread Hans Hagen
Aditya Mahajan wrote: On Mon, 24 Aug 2009, Derek CORDEIRO wrote: I'm no expert, but this seems to work: \setupcolors [state=start, system=rgb] \def\bw#1{\framed[background=color,backgroundcolor=black]{\color[white]{#1}}} Slightly more ConTeXtish \defineframed [WhiteOnBlack] [backgrou

Re: [NTG-context] White digit in a black square

2009-08-23 Thread Hans Hagen
Derek CORDEIRO wrote: I'm no expert, but this seems to work: \setupcolors [state=start, system=rgb] \def\bw#1{\framed[background=color,backgroundcolor=black]{\color[white]{#1}}} \setuppagenumbering[command=\bw,location={header,margin}] \starttext \input tufte \stoptext or \def\bw#1% {\fram

[NTG-context] setuppagenumbering with location=none

2009-08-23 Thread Vyatcheslav Yatskovsky
Hi, Strange, but \setuppagenumbering[location=none] moves page numbers to the bottom of the page. I guess this is invalid command altoghether, but nevertheless, it does something unexpected :) Vyatcheslav ___ If y

Re: [NTG-context] White digit in a black square

2009-08-23 Thread Aditya Mahajan
On Mon, 24 Aug 2009, Derek CORDEIRO wrote: I'm no expert, but this seems to work: \setupcolors [state=start, system=rgb] \def\bw#1{\framed[background=color,backgroundcolor=black]{\color[white]{#1}}} Slightly more ConTeXtish \defineframed [WhiteOnBlack] [background=color,backgroundcolor=

Re: [NTG-context] An interesting default for recurselevel in xetex

2009-08-23 Thread Aditya Mahajan
On Sun, 23 Aug 2009, Hans Hagen wrote: Aditya Mahajan wrote: Hi, Guess what happens when you run this with xetex \starttext\recurselevel\stoptext This is a side effect of the definition of \dofastrecurse. After using \dofastrecurse, the default value of recurselevel is \number\fastrecursec

Re: [NTG-context] White digit in a black square

2009-08-23 Thread Derek CORDEIRO
I'm no expert, but this seems to work: \setupcolors [state=start, system=rgb] \def\bw#1{\framed[background=color,backgroundcolor=black]{\color[white]{#1}}} \setuppagenumbering[command=\bw,location={header,margin}] \starttext \input tufte \stoptext On Mon, Aug 24, 2009 at 12:32 AM, Vyatcheslav

Re: [NTG-context] cut marks

2009-08-23 Thread Bowen Alan C.
Thanks, Luigi. I needed to adjust my \setuppapersize input. Alan On Aug 23, 2009, at 14;06,16 , luigi scarso wrote: On Sun, Aug 23, 2009 at 4:19 PM, Bowen Alan C. wrote: \setuplayout[location=middle,marking=on] \starttext Hello world! \stoptext generates the page but without cut marks in th

[NTG-context] White digit in a black square

2009-08-23 Thread Vyatcheslav Yatskovsky
Hello, How to make page number as white digit in a black square? (And place it on the right of the page) Regards, Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wik

Re: [NTG-context] Contents label before contents

2009-08-23 Thread Wolfgang Schuster
Am 23.08.2009 um 20:42 schrieb Derek CORDEIRO: Why not use the first option and use \completecontent instead of \placecontent? It will give you the Contents heading you want. So try: The \complete... commands use \title for the header while he wants \section as first level heading, he sho

Re: [NTG-context] Contents label before contents

2009-08-23 Thread Derek CORDEIRO
On Mon, Aug 24, 2009 at 12:04 AM, Vyatcheslav Yatskovsky < yatskov...@gmail.com> wrote: > Hello > > I want to place contents in the beginning of the document with "Contents" > label above it. If I do like > > \placecontent > > \section{Sec1} > > \section{Sec2} > ... > > it's ok, but > > \section{C

Re: [NTG-context] Contents label before contents

2009-08-23 Thread Vyatcheslav Yatskovsky
Hello I want to place contents in the beginning of the document with "Contents" label above it. If I do like \placecontent \section{Sec1} \section{Sec2} ... it's ok, but \section{Contents} \placecontent \section{Sec1} \section{Sec2} ... does not work (no content table is placed at all)

Re: [NTG-context] [OT] 25 years of powerpoint

2009-08-23 Thread luigi scarso
On Sun, Aug 23, 2009 at 11:10 AM, Diego Depaoli wrote: > Two interesting articles about presentations. > http://www.career-service.uni-wuerzburg.de/fileadmin/9914/Materialien/Death-by-Powerpoint.pdf > http://news.bbc.co.uk/2/hi/uk_news/magazine/8207849.stm http://www.edwardtufte.com/tufte/pow

Re: [NTG-context] cut marks

2009-08-23 Thread luigi scarso
On Sun, Aug 23, 2009 at 4:19 PM, Bowen Alan C. wrote: > \setuplayout[location=middle,marking=on] > \starttext > Hello world! > \stoptext > > generates the page but without cut marks in the latest Context (MKII). \setuppapersize[A4][A3] \setuplayout[location=middle,marking=on] \starttext Hello world

Re: [NTG-context] referenced titles + special characters

2009-08-23 Thread Mojca Miklavec
On Sun, Aug 23, 2009 at 17:35, Črt Gorup wrote: > Hi > > I am having some problems with referenced titles and our special characters. > > In my document I have the following definition -> > \mysection[pri:seed]{Priloga C: Tabela ovrednotenih MeSH označb}. Title is > generally (in the table of conte

[NTG-context] referenced titles + special characters

2009-08-23 Thread Črt Gorup
Hi I am having some problems with referenced titles and our special characters. In my document I have the following definition -> \mysection[pri:seed] {Priloga C: Tabela ovrednotenih MeSH označb}. Title is generally (in the table of contents and in the document) rendered fine, but when I

[NTG-context] cut marks

2009-08-23 Thread Bowen Alan C.
\setuplayout[location=middle,marking=on] \starttext Hello world! \stoptext generates the page but without cut marks in the latest Context (MKII). Alan ___ If your question is of interest to others as well, please add

[NTG-context] weird footnotes

2009-08-23 Thread Mojca Miklavec
Hello Hans, this works a bit weird in MKII (it works OK with TeX Live 2008 though): \useURL[a][a] \useURL[b][b] \footnote{\from[a]} \footnote{\from[b]} Mojca ___ If your question is of interest to others as well, ple

Re: [NTG-context] [OT] 25 years of powerpoint

2009-08-23 Thread Jean Magnan de Bornier
Le 23 août à 11:10:09 Diego Depaoli écrit notamment: | Two interesting articles about presentations. | http://www.career-service.uni-wuerzburg.de/fileadmin/9914/Materialien/Death-by-Powerpoint.pdf | http://news.bbc.co.uk/2/hi/uk_news/magazine/8207849.stm > | Cheers Yes, very good! The beam

Re: [NTG-context] An interesting default for recurselevel in xetex

2009-08-23 Thread Hans Hagen
Aditya Mahajan wrote: Hi, Guess what happens when you run this with xetex \starttext\recurselevel\stoptext This is a side effect of the definition of \dofastrecurse. After using \dofastrecurse, the default value of recurselevel is \number\fastrecursecounter rather than 0. I don't think that

[NTG-context] [OT] 25 years of powerpoint

2009-08-23 Thread Diego Depaoli
Two interesting articles about presentations. http://www.career-service.uni-wuerzburg.de/fileadmin/9914/Materialien/Death-by-Powerpoint.pdf http://news.bbc.co.uk/2/hi/uk_news/magazine/8207849.stm Cheers -- Diego Depaoli _

[NTG-context] An interesting default for recurselevel in xetex

2009-08-23 Thread Aditya Mahajan
Hi, Guess what happens when you run this with xetex \starttext\recurselevel\stoptext This is a side effect of the definition of \dofastrecurse. After using \dofastrecurse, the default value of recurselevel is \number\fastrecursecounter rather than 0. I don't think that this will have any sid