Re: [NTG-context] \setupcaption stopper does not work in mkiv

2009-06-16 Thread Hans Hagen

jm wrote:

hans,

thank you so much!  was finally able to solve my problem using your 
solution. :-)  just one thing though, how do i produce Figure 1.1 or 
Figure 1-1?  Thanks so much for bearing with me.  I still have a lot 
to learn a lot about ConTeXt. :-)


there are separator sets (different separators between numbers) as well 
as seperator (try prefixseparator)



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupcaption stopper does not work in mkiv

2009-06-15 Thread jm

hans,

thank you so much!  was finally able to solve my problem using your  
solution. :-)  just one thing though, how do i produce Figure 1.1 or  
Figure 1-1?  Thanks so much for bearing with me.  I still have a lot  
to learn a lot about ConTeXt. :-)


Cheers! :-)

joel mendoza
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupcaption stopper does not work in mkiv

2009-06-14 Thread Hans Hagen

jm wrote:

hi, all!

i have been trying to produce Figure 1. in the figure caption of my 
document using mkiv and i just couldn't.  i've searched through the 
ntg-context archives and the net for solutions but none seems to work.  
however, when i try the solutions posted (e.g. 
\setupcaption[figure][stopper={.}]) using XeConTeXt or MKII, i get the 
result i need.  can anybody tell me how to go about this in mkiv?


also, how do you go about producing a Table 1.1 or a Table 1-1 in 
the captions?  couldn't find the answer in the manuals or in the web.  
any help would be greatly appreciated.



in mkiv it's \setupcaption[figure][numberstopper=.])

(we have numbers, prefixes and more and all have gotten similar keys)

it's good to know that all control over such numbers has changes a bit 
but is more flexible now (conversion, prefixing, separators, etc)


you can control such thingies with processors

\defineprocessor[demo][color=red,style=\bfd]

\setupcaption[figure][numberstopper=demo-.,numberconversion=Characters]

\starttext

\chapter{first}
\section{first}
\placefigure{}{}
\placefigure{}{}

\stoptext

(but somehow there is a bleed to the page number rendering that i need 
to resolve)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \setupcaption stopper does not work in mkiv

2009-06-11 Thread jm

hi, all!

i have been trying to produce Figure 1. in the figure caption of my  
document using mkiv and i just couldn't.  i've searched through the  
ntg-context archives and the net for solutions but none seems to  
work.  however, when i try the solutions posted (e.g.  
\setupcaption[figure][stopper={.}]) using XeConTeXt or MKII, i get the  
result i need.  can anybody tell me how to go about this in mkiv?


also, how do you go about producing a Table 1.1 or a Table 1-1 in  
the captions?  couldn't find the answer in the manuals or in the web.   
any help would be greatly appreciated.


Thanks all! :-)

joel mendoza
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___