ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* alternative \about for \section?
@ 2014-06-09 20:07 Pablo Rodriguez
  2014-06-09 20:48 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2014-06-09 20:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

\starttext
\startsection[title={Section}, label={different section label},
reference={key:section}]

\about[key:section]
\stopsection
\stoptext

I thought that label would give me an alternative section title in
references.

Is there any way to get it?

BTW, what is the purpose of label?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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: alternative \about for \section?
  2014-06-09 20:07 alternative \about for \section? Pablo Rodriguez
@ 2014-06-09 20:48 ` Wolfgang Schuster
  2014-06-09 20:55   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-06-09 20:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 09.06.2014 um 22:07 schrieb Pablo Rodriguez <oinos@gmx.es>:

> Dear list,
> 
> I have the following sample:
> 
> \starttext
> \startsection[title={Section}, label={different section label},
> reference={key:section}]
> 
> \about[key:section]
> \stopsection
> \stoptext
> 
> I thought that label would give me an alternative section title in
> references.
> 
> Is there any way to get it?
> 
> BTW, what is the purpose of label?

It’s a internal key which holds the name of the prefix for the section number which could be set with the \setuplabeltext command when you want “Chapter 1: Title for the chapter” instead of “1: Title for the 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: alternative \about for \section?
  2014-06-09 20:48 ` Wolfgang Schuster
@ 2014-06-09 20:55   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2014-06-09 20:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 06/09/2014 10:48 PM, Wolfgang Schuster wrote:
>>
>> BTW, what is the purpose of label?
> 
> It’s a internal key which holds the name of the prefix for the
> section number which could be set with the \setuplabeltext command when you want
> “Chapter 1: Title for the chapter” instead of “1: Title for the chapter”.

Many thanks for your reply, Wolfgang,

Everything is clear now.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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:[~2014-06-09 20:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-09 20:07 alternative \about for \section? Pablo Rodriguez
2014-06-09 20:48 ` Wolfgang Schuster
2014-06-09 20:55   ` Pablo Rodriguez

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