Re: [NTG-context] placefigure feature request ?

2006-04-14 Thread Hans Hagen
Sanjoy Mahajan wrote: [code for text key] \setupfloats[numbering=text] I included the code for numbering=text, to make the tex file below. Sadly, the figures are numbered 3-1-2 (i.e. as if numbering=nocheck were given). I also tried the context live and got the same order. Am I

Re: [NTG-context] placefigure feature request ?

2006-04-13 Thread Hans Hagen
Sanjoy Mahajan wrote: this 'choose between locations' feature is kind of present but only with 'here' as fallback but it's trivial to make that configurable: I've been experimenting a bit with the code, and it is much appreciated. I added \unprotect..\protect and it compiled fine. The

Re: [NTG-context] placefigure feature request ?

2006-04-13 Thread Sanjoy Mahajan
[code for text key] \setupfloats[numbering=text] I included the code for numbering=text, to make the tex file below. Sadly, the figures are numbered 3-1-2 (i.e. as if numbering=nocheck were given). I also tried the context live and got the same order. Am I doing something silly? -Sanjoy

Re: [NTG-context] placefigure feature request ?

2006-04-12 Thread Sanjoy Mahajan
this 'choose between locations' feature is kind of present but only with 'here' as fallback but it's trivial to make that configurable: I've been experimenting a bit with the code, and it is much appreciated. I added \unprotect..\protect and it compiled fine. The figure numbering is the order

Re: [NTG-context] placefigure feature request ?

2006-04-06 Thread Taco Hoekwater
Sanjoy Mahajan wrote: $ texexec 3.tex $ dvips 3 $ ps2pdf 3.ps = 3.pdf is in color This is 'wrong'. Normally, your output should be b/w unless you have \setupcolors[state=start] in your document somewhere, but ConTeXt does not know how to convert your images to greyscale in the dvips

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Taco Hoekwater
Hans Hagen wrote: So 'numbering=yes' will number according to position on the page? no To avoid confusion: When 'page' refers to the typeset result, then Hans' answer actually means 'yes'. Or it should, at least. I remember files where I had to run texexec twice though. I am not sure if that

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Sanjoy Mahajan
Taco Hoekwater [EMAIL PROTECTED] wrote: Hans Hagen wrote: So 'numbering=yes' will number according to position on the page? no To avoid confusion: When 'page' refers to the typeset result, then Hans' answer actually means 'yes'. Or it should, at least. I remember files where I had to

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Sanjoy Mahajan
Hans Hagen [EMAIL PROTECTED] wrote: Sanjoy Mahajan wrote: Here \figuremacro figures out (sorry) that narrow figures go in the margin and wide figures go at the top of the page. But the page will look funny: The narrow figure will be numbered, say, Figure 10, and the wide figure will be

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Hans Hagen
Sanjoy Mahajan wrote: Taco's msg about no meaning yes made me wonder: what's the special case or problem you were thinking of? probably that the automatic renumbering sometimes interferes with non trivial sequential flushing Perhaps Holland in the winter can offer the dark, rainy day (just

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Hans Hagen
Sanjoy Mahajan wrote: Meanwhile I've been experimenting in baby steps, and numbering=yes does what I want, as does specifying nothing about numbering. But numbering=nocheck doesn't stop it, so I'm confused by what the nocheck option does (doesn't cause me problems since the default is what I

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Sanjoy Mahajan
From:Hans Hagen [EMAIL PROTECTED] \useMPlibrary[dum] \setupfloats[numbering=nocheck] \starttext \input tufte \placefigure[rightmargin]{first} {\externalfigure[dummy]} \par \input knuth \placefigure[top]{second}{\externalfigure[dummy]} \par \stoptext does commenting the no

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Hans Hagen
Sanjoy Mahajan wrote: context : ver: 2005.01.31 cont-en : ver: 2005.01.31 fmt: 2006.3.28 mes: english Maybe this context installation is too old for nocheck. On the other hand, it should complain then? i remember a bug (actually the mechanism is rather

Re: [NTG-context] placefigure feature request ?

2006-04-04 Thread Hans Hagen
Renaud AUBIN wrote: Hi all, It seems this is for you, Hans: It would be nice if placefigure can be able to detect if the best place is the top or the bottom of the page accordingly to its call, i.e.: if placefigure call is near to the top - figure will go to the top else figure will go

Re: [NTG-context] placefigure feature request ?

2006-04-04 Thread Sanjoy Mahajan
It would be nice if placefigure can be able to detect if the best place is the top or the bottom of the page accordingly to its call, A related point, which I didn't fiugre out how for my own TeX figure-placement macros, is correct sequential numbering when some figures are at the top of the

Re: [NTG-context] placefigure feature request ?

2006-04-04 Thread Hans Hagen
Sanjoy Mahajan wrote: It would be nice if placefigure can be able to detect if the best place is the top or the bottom of the page accordingly to its call, A related point, which I didn't fiugre out how for my own TeX figure-placement macros, is correct sequential numbering when some

Re: [NTG-context] placefigure feature request ?

2006-04-04 Thread Hans Hagen
Sanjoy Mahajan wrote: It would be nice if placefigure can be able to detect if the best place is the top or the bottom of the page accordingly to its call, A related point, which I didn't fiugre out how for my own TeX figure-placement macros, is correct sequential numbering when some

Re: [NTG-context] placefigure feature request ?

2006-04-04 Thread Sanjoy Mahajan
Hans Hagen wrote: maybe \setupfloats[numbering=nocheck] does what you want I think I want the opposite. The documentation for \setupfloats at http://texshow.contextgarden.net/ says New option: numbering yes nocheck (default yes) nocheck causes no renumbering so it preserves