ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* countervalue section
@ 2010-09-12 12:23 Steffen Wolfrum
  2010-09-12 16:28 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Steffen Wolfrum @ 2010-09-12 12:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

how can I change a section's conversion (eg. for use in headertext).

See minimal example below, please.

Steffen

===

\starttext

\chapter{Test}

\headnumber[chapter]% now we have numbers

% And just now we want to show the same as Characters not numbers:
%\convertnumber{\Characters}{\countervalue{@@sesection-2}}% <- gives error
%\Characters{\headnumber[chapter]}% <- gives error

\stoptext
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: countervalue section
  2010-09-12 12:23 countervalue section Steffen Wolfrum
@ 2010-09-12 16:28 ` Wolfgang Schuster
  2010-09-12 17:07   ` Steffen Wolfrum
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2010-09-12 16:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 12.09.2010 um 14:23 schrieb Steffen Wolfrum:

> Hi all,
> 
> how can I change a section's conversion (eg. for use in headertext).

\convertnumber{...}{\namedheadnumber{chapter}}

or

\convertnumber{...}{\placerawheadnumber[chapter]}

Wolfgang

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: countervalue section
  2010-09-12 16:28 ` Wolfgang Schuster
@ 2010-09-12 17:07   ` Steffen Wolfrum
  0 siblings, 0 replies; 3+ messages in thread
From: Steffen Wolfrum @ 2010-09-12 17:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 12.09.2010 um 18:28 schrieb Wolfgang Schuster:

> 
> Am 12.09.2010 um 14:23 schrieb Steffen Wolfrum:
> 
>> Hi all,
>> 
>> how can I change a section's conversion (eg. for use in headertext).
> 
> \convertnumber{...}{\namedheadnumber{chapter}}
> 
> or
> 
> \convertnumber{...}{\placerawheadnumber[chapter]}
> 
> Wolfgang


Wonderful: "\namedheadnumber" ...

Thank you,
Steffen
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2010-09-12 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-12 12:23 countervalue section Steffen Wolfrum
2010-09-12 16:28 ` Wolfgang Schuster
2010-09-12 17:07   ` Steffen Wolfrum

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).