ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \definestructureconversionset
Date: Thu, 16 Feb 2012 21:39:04 +0100	[thread overview]
Message-ID: <0DBC98A5-F42F-4B3A-87BF-6A3B59D86AD1@googlemail.com> (raw)
In-Reply-To: <op.v9rnaetttpjj8f@lpr>


Am 16.02.2012 um 10:57 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

> Hello,
> 
> I cannot find any valid info (reference) about use of the command \definestructureconversionset. I just have some examples.
> 
> Could anyone explain how these commands should work?
> 
> \definestructureconversionset[name-of-conversion-set][par1,par2,...][Par1,Par2,...]
> 
> \definestructureconversionset[name-of-conversion-set][][Par1,Par2,...] % 1St par. set empty
> 
> \definestructureconversionset[name-of-conversion-set][par1,par2,...][] % 2Nd par. set empty
> 
> \definestructureconversionset[name-of-conversion-set][par1,par2,...] % 2Nd argument omitted

\definestrcutureconversionset[..1..][..,..2..,..][..3..]

1. Name of the conversion set
2. List with explicit settings for certain headings
3. Default setting if no explicit conversion is set

The first argument is just the name which is used as argument for sectionconverionset in \setuphead for prefixconverionset in \setupcaption, \setupenumeration etc. The name of the conversion can be prefixed with the name of a sectionblock, e.g. \definestructureconverionset[bodypart:myconversion][A,I,n,R][numbers]

With the second argument you can set a conversion of the counter for the headings, the list starts always with the \part level and continues with \chapter etc. but it’s possible leave entries empty.

With the third argument one can set a default value which is used when no value for a heading is set with the second argument.

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
___________________________________________________________________________________

  reply	other threads:[~2012-02-16 20:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-16  9:57 \definestructureconversionset Procházka Lukáš Ing. - Pontex s. r. o.
2012-02-16 20:39 ` Wolfgang Schuster [this message]
2012-02-22 11:17   ` \definestructureconversionset Procházka Lukáš Ing. - Pontex s. r. o.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0DBC98A5-F42F-4B3A-87BF-6A3B59D86AD1@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).