[NTG-context] String single quote in \tt

2006-09-10 Thread Aditya Mahajan
Hi, I just noticed that in the preprocessing manual, the single quotes are wrong. Look at the output of \starttext \starttyping let a = 'string' ; \stoptyping \mono{ let a = 'string' ;} {\tt let a = 'string' ;} \stoptext The singlequote character is converted into rightquote. This "featur

Re: [NTG-context] Define doifoneelse

2006-09-10 Thread Aditya Mahajan
On Mon, 11 Sep 2006, Aditya Mahajan wrote: > Hi, > > I want to define a macro, \doifoneelse, that checks if the first > argument is 1 or not. It should work for decimals and strings also. > So, > > \doifoneelse{1}{a}{b} gives a > \doifoneelse{1.5}{a}{b} gives b > \doifonelese{string}{a}{b} gives

[NTG-context] Define doifoneelse

2006-09-10 Thread Aditya Mahajan
Hi, I want to define a macro, \doifoneelse, that checks if the first argument is 1 or not. It should work for decimals and strings also. So, \doifoneelse{1}{a}{b} gives a \doifoneelse{1.5}{a}{b} gives b \doifonelese{string}{a}{b} gives b Can someone suggest how to define this? Thanks, Adit

Re: [NTG-context] margintext style

2006-09-10 Thread batela
For changing inmargin style I make \setupinmargin [right] [style=\MarginStyle] Are there a similar solution for \margintext? thanks Em 10/09/2006, às 3:48, batela escreveu: > Dear Sirs > > Is there any way to format margintext notes. I want to justify and > apply this format to my mar

[NTG-context] beta

2006-09-10 Thread Hans Hagen
the problem with the missing resource in reused mp graphic is fixed -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | f

Re: [NTG-context] beta

2006-09-10 Thread Peter Rolf
Hans Hagen wrote: > I uploaded a beta. Brave users met test if their mp graphics still come > out well since i cleaned up some of the mp to pdf code. > Hans, 'don't change a winning team' ;) Testfile is attached. Peter > Hans > \setuplayout[pdftex] \setupcolors[state=start] \startuniqueMPgrap

[NTG-context] beta

2006-09-10 Thread Hans Hagen
I uploaded a beta. Brave users met test if their mp graphics still come out well since i cleaned up some of the mp to pdf code. Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat

[NTG-context] margintext style

2006-09-10 Thread batela
Dear Sirs Is there any way to format margintext notes. I want to justify and apply this format to my margin notes: \def\MarginStyle{% \switchtobodyfont[7pt]\setupinterlinespace[line=9pt]% \setuphz\setupprot\emergencystretch=.5em \setuptolerance[{horizontal,verytolerant}]% } Thanks in

Re: [NTG-context] no indent after figure

2006-09-10 Thread Wolfgang Schuster
On Sat, 09 Sep 2006 11:05:57 +0200 "Wolfgang Werners-Lucchini" <[EMAIL PROTECTED]> wrote: > > The following works on my machine > > > > \setupindenting[yes,medium] > > \setupfloats[indentnext=yes] > > > > \starttext > > > > \input knuth \par > > > > \placefigure > > {} > > {\framed > >

Re: [NTG-context] YABQ (yet another bib question...)

2006-09-10 Thread Taco Hoekwater
Sanjoy Mahajan wrote: > > I need to repeat my experiments, but I think it worked to use simply > \cite in the bibtex entry. Ah, here is one example. It uses > xampl.bib, which comes with old distributions of ConTeXt (e.g. teTeX > 3.0's distribution). Yeah, that's how I expected it to be done.