ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Default setups
@ 2017-10-20 13:05 N. Raghavendra
  2017-10-23 19:59 ` Pablo Rodriguez
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: N. Raghavendra @ 2017-10-20 13:05 UTC (permalink / raw)
  To: ntg-context

Is there a command which prints to the log file the default values of
the keys in the setups that are used in a document?

For example, when I define a new document division with

\definehead [mysection] [section] [style=...]

it helps to know the default value of the `style' key for `section'
headings.

Thanks and regards,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
___________________________________________________________________________________
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: Default setups
  2017-10-20 13:05 Default setups N. Raghavendra
@ 2017-10-23 19:59 ` Pablo Rodriguez
  2017-10-24 13:13   ` N. Raghavendra
  2017-10-23 20:25 ` luigi scarso
  2017-10-23 21:10 ` Wolfgang Schuster
  2 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2017-10-23 19:59 UTC (permalink / raw)
  To: ntg-context

On 10/20/2017 03:05 PM, N. Raghavendra wrote:
> Is there a command which prints to the log file the default values of
> the keys in the setups that are used in a document?
> 
> For example, when I define a new document division with
> 
> \definehead [mysection] [section] [style=...]
> 
> it helps to know the default value of the `style' key for `section'
> headings.

Hi Raghu,

after replying to your longer questioning about ConTeXt, I’m replying to
your query.

I refrained myself to reply before, because my reply would be negative.

I don’t know whether there is a command that gives defaults style
settings for headings.

Defaults for sections are defined in strc-def.mkiv (included in
/path-to-context-suite/tex/texmf-context/tex/context/base/mkiv/) and is
\tfa.

Just in case it helps,

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://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: Default setups
  2017-10-20 13:05 Default setups N. Raghavendra
  2017-10-23 19:59 ` Pablo Rodriguez
@ 2017-10-23 20:25 ` luigi scarso
  2017-10-24 13:14   ` N. Raghavendra
  2017-10-23 21:10 ` Wolfgang Schuster
  2 siblings, 1 reply; 7+ messages in thread
From: luigi scarso @ 2017-10-23 20:25 UTC (permalink / raw)
  To: N. Raghavendra, mailing list for ConTeXt users

On Fri, Oct 20, 2017 at 3:05 PM, N. Raghavendra <nyraghu27132@gmail.com> wrote:
> Is there a command which prints to the log file the default values of
> the keys in the setups that are used in a document?
>
> For example, when I define a new document division with
>
> \definehead [mysection] [section] [style=...]
>
> it helps to know the default value of the `style' key for `section'
> headings.

not all the default values are there , but still useful is
tex/texmf-context/tex/context/interface/mkiv/i-context.pdf


tex/texmf-context/tex/context/interface/mkiv/i-readme.pdf

-- 
luigi
___________________________________________________________________________________
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: Default setups
  2017-10-20 13:05 Default setups N. Raghavendra
  2017-10-23 19:59 ` Pablo Rodriguez
  2017-10-23 20:25 ` luigi scarso
@ 2017-10-23 21:10 ` Wolfgang Schuster
  2017-10-24 13:12   ` N. Raghavendra
  2 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2017-10-23 21:10 UTC (permalink / raw)
  To: N. Raghavendra, mailing list for ConTeXt users


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



> N. Raghavendra <mailto:nyraghu27132@gmail.com>
> 20. Oktober 2017 um 15:05
> Is there a command which prints to the log file the default values of
> the keys in the setups that are used in a document?
>
> For example, when I define a new document division with
>
> \definehead [mysection] [section] [style=...]
>
> it helps to know the default value of the `style' key for `section'
> headings.
\usemodule[setups-basics]

\loadsetups[context-en.xml]

\starttext

\showrootvalues[head]

\showinstancevalues[head][chapter]

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1581 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: Default setups
  2017-10-23 21:10 ` Wolfgang Schuster
@ 2017-10-24 13:12   ` N. Raghavendra
  0 siblings, 0 replies; 7+ messages in thread
From: N. Raghavendra @ 2017-10-24 13:12 UTC (permalink / raw)
  To: ntg-context

At 2017-10-23T23:10:52+02:00, Wolfgang Schuster wrote:

> \usemodule[setups-basics]
>
> \loadsetups[context-en.xml]
>
> \starttext
>
> \showrootvalues[head]
>
> \showinstancevalues[head][chapter]
>
> \stoptext

Many thanks.  That works perfectly.

Regards,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
___________________________________________________________________________________
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: Default setups
  2017-10-23 19:59 ` Pablo Rodriguez
@ 2017-10-24 13:13   ` N. Raghavendra
  0 siblings, 0 replies; 7+ messages in thread
From: N. Raghavendra @ 2017-10-24 13:13 UTC (permalink / raw)
  To: ntg-context

At 2017-10-23T21:59:29+02:00, Pablo Rodriguez wrote:

> Defaults for sections are defined in strc-def.mkiv (included in
> /path-to-context-suite/tex/texmf-context/tex/context/base/mkiv/) and is
> \tfa.

Thank you, I will look at that file.

Regards,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
___________________________________________________________________________________
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: Default setups
  2017-10-23 20:25 ` luigi scarso
@ 2017-10-24 13:14   ` N. Raghavendra
  0 siblings, 0 replies; 7+ messages in thread
From: N. Raghavendra @ 2017-10-24 13:14 UTC (permalink / raw)
  To: ntg-context

At 2017-10-23T22:25:39+02:00, luigi scarso wrote:

> not all the default values are there , but still useful is
> tex/texmf-context/tex/context/interface/mkiv/i-context.pdf
>
>
> tex/texmf-context/tex/context/interface/mkiv/i-readme.pdf

Thank you, I will look at those files.

Regards,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
___________________________________________________________________________________
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:[~2017-10-24 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-20 13:05 Default setups N. Raghavendra
2017-10-23 19:59 ` Pablo Rodriguez
2017-10-24 13:13   ` N. Raghavendra
2017-10-23 20:25 ` luigi scarso
2017-10-24 13:14   ` N. Raghavendra
2017-10-23 21:10 ` Wolfgang Schuster
2017-10-24 13:12   ` N. Raghavendra

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