ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ownnumber in \starttitle etc
@ 2016-11-20 14:51 Jan U. Hasecke
  2016-11-20 15:09 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Jan U. Hasecke @ 2016-11-20 14:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

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


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
___________________________________________________________________________________

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

* Re: ownnumber in \starttitle etc
  2016-11-20 14:51 ownnumber in \starttitle etc Jan U. Hasecke
@ 2016-11-20 15:09 ` Hans Hagen
  2016-11-20 15:16   ` Jan U. Hasecke
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2016-11-20 15:09 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* Re: ownnumber in \starttitle etc
  2016-11-20 15:09 ` Hans Hagen
@ 2016-11-20 15:16   ` Jan U. Hasecke
  2016-11-20 15:27     ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Jan U. Hasecke @ 2016-11-20 15:16 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* Re: ownnumber in \starttitle etc
  2016-11-20 15:16   ` Jan U. Hasecke
@ 2016-11-20 15:27     ` Wolfgang Schuster
  2016-11-20 16:07       ` Jan U. Hasecke
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2016-11-20 15:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 381 bytes --]

> Jan U. Hasecke <mailto:juh+ntg-context@mailbox.org>
> 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

[-- Attachment #1.2: Type: text/html, Size: 1410 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: ownnumber in \starttitle etc
  2016-11-20 15:27     ` Wolfgang Schuster
@ 2016-11-20 16:07       ` Jan U. Hasecke
  2016-11-20 16:14         ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Jan U. Hasecke @ 2016-11-20 16:07 UTC (permalink / raw)
  To: ntg-context

Am 20.11.2016 um 16:27 schrieb Wolfgang Schuster:
>> Jan U. Hasecke <mailto:juh+ntg-context@mailbox.org>
>> 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
___________________________________________________________________________________

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

* Re: ownnumber in \starttitle etc
  2016-11-20 16:07       ` Jan U. Hasecke
@ 2016-11-20 16:14         ` Wolfgang Schuster
  2016-11-20 16:59           ` Jan U. Hasecke
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2016-11-20 16:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 372 bytes --]

> Jan U. Hasecke <mailto:juh+ntg-context@mailbox.org>
> 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

[-- Attachment #1.2: Type: text/html, Size: 1406 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: ownnumber in \starttitle etc
  2016-11-20 16:14         ` Wolfgang Schuster
@ 2016-11-20 16:59           ` Jan U. Hasecke
  0 siblings, 0 replies; 7+ messages in thread
From: Jan U. Hasecke @ 2016-11-20 16:59 UTC (permalink / raw)
  To: ntg-context

Am 20.11.2016 um 17:14 schrieb Wolfgang Schuster:
>> Jan U. Hasecke <mailto:juh+ntg-context@mailbox.org>
>> 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
___________________________________________________________________________________

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

end of thread, other threads:[~2016-11-20 16:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-20 14:51 ownnumber in \starttitle etc Jan U. Hasecke
2016-11-20 15:09 ` Hans Hagen
2016-11-20 15:16   ` Jan U. Hasecke
2016-11-20 15:27     ` Wolfgang Schuster
2016-11-20 16:07       ` Jan U. Hasecke
2016-11-20 16:14         ` Wolfgang Schuster
2016-11-20 16:59           ` Jan U. Hasecke

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