ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: \setupcaption stopper does not work in mkiv
       [not found] <mailman.1297.1244996224.3589.ntg-context@ntg.nl>
@ 2009-06-16  1:52 ` jm
  2009-06-16  6:07   ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: jm @ 2009-06-16  1:52 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \setupcaption stopper does not work in mkiv
  2009-06-16  1:52 ` \setupcaption stopper does not work in mkiv jm
@ 2009-06-16  6:07   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-06-16  6:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \setupcaption stopper does not work in mkiv
  2009-06-11 13:59 jm
@ 2009-06-14 13:26 ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-06-14 13:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* \setupcaption stopper does not work in mkiv
@ 2009-06-11 13:59 jm
  2009-06-14 13:26 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: jm @ 2009-06-11 13:59 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-16  6:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1297.1244996224.3589.ntg-context@ntg.nl>
2009-06-16  1:52 ` \setupcaption stopper does not work in mkiv jm
2009-06-16  6:07   ` Hans Hagen
2009-06-11 13:59 jm
2009-06-14 13:26 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).