Re: [NTG-context] ownnumber in \starttitle etc

2016-11-20 Thread Jan U. Hasecke
Am 20.11.2016 um 17:14 schrieb Wolfgang Schuster:
>> Jan U. Hasecke 
>> 20. November 2016 um 17:07
>>
>> Thanks.
>>
>> Is there a command similar to \showsetup that shows the current setup?
> \usemodule[setups]
> 
> \starttext
> 
> % show \setuphead values for all instances
> % \showrootvalues[head]
> 
> % show \setuphead values for the title instance
> \showinstancevalues[head][title]
> 
> \stoptext

Thanks Wolfgang,

this helps a lot.

juh

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] ownnumber in \starttitle etc

2016-11-20 Thread Wolfgang Schuster

Jan U. Hasecke 
20. November 2016 um 17:07

Thanks.

Is there a command similar to \showsetup that shows the current setup?

\usemodule[setups]

\starttext

% show \setuphead values for all instances
% \showrootvalues[head]

% show \setuphead values for the title instance
\showinstancevalues[head][title]

\stoptext

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] ownnumber in \starttitle etc

2016-11-20 Thread Jan U. Hasecke
Am 20.11.2016 um 16:27 schrieb Wolfgang Schuster:
>> Jan U. Hasecke 
>> 20. November 2016 um 16:16
>>
>> I see what it does in \startchapter, but it does nothing in \starttitle.
>> I wonder why the option is displayed.
> Title numbers are disabled by default.
> 
> \setuphead[title][incrementnumber=yes]
> 
> \starttext
> 
> \starttitle[ownnumber=?!,title=This is a numbered title]
> \stoptitle
> 
> \stoptext

Thanks.

Is there a command similar to \showsetup that shows the current setup?

juh

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] ownnumber in \starttitle etc

2016-11-20 Thread Wolfgang Schuster

Jan U. Hasecke 
20. November 2016 um 16:16

I see what it does in \startchapter, but it does nothing in \starttitle.
I wonder why the option is displayed.

Title numbers are disabled by default.

\setuphead[title][incrementnumber=yes]

\starttext

\starttitle[ownnumber=?!,title=This is a numbered title]
\stoptitle

\stoptext

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] ownnumber in \starttitle etc

2016-11-20 Thread Jan U. Hasecke
Am 20.11.2016 um 16:09 schrieb Hans Hagen:
> On 11/20/2016 3:51 PM, Jan U. Hasecke wrote:
>> Hi all,
>>
>> \showsetup{\starttitle} shows the option 'ownnumber" with a TEXT-value.
>> I don't know what this option is good for.
> 
> title is just an instance of a sectionhead; why not just try it with
> \startchapter and see what happens

I see what it does in \startchapter, but it does nothing in \starttitle.
I wonder why the option is displayed.

juh

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] ownnumber in \starttitle etc

2016-11-20 Thread Hans Hagen

On 11/20/2016 3:51 PM, Jan U. Hasecke wrote:

Hi all,

\showsetup{\starttitle} shows the option 'ownnumber" with a TEXT-value.
I don't know what this option is good for.


title is just an instance of a sectionhead; why not just try it with 
\startchapter and see what happens


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___