ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Elias Oltmanns <eo@nebensachen.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Trouble with customising section heads
Date: Wed, 11 Aug 2010 00:00:49 +0200	[thread overview]
Message-ID: <87aaou6sby.fsf@denkblock.local> (raw)
In-Reply-To: <4C618B04.8090001@googlemail.com> (Wolfgang Schuster's message of "Tue, 10 Aug 2010 19:23:16 +0200")

Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
>  Am 10.08.10 17:02, schrieb Elias Oltmanns:
>> Hi again,
>
>>
>> sorry for bothering you so persistently, but I really did try to hard to
>> find a solution -- and failed:
>> In the attempt to customise my section headings by means of
>> \setuphead[section][...command=]
>>
>> I followed the instructions at
>> http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings
>> . For the purposes of testing, I've installed a current minimals
>> distribution. As it turns out, neither MkII nor MkIV processes the
>> attached example as expected:
>> MkII The table of contents is incomplete, even though the wiki says it
>>       shouldn't be;
>> MkIV \currentheadnumber seems to be 0 all the time.
>>
>> There is a possibility, of course, that something is wrong with my setup
>> of ConTeXt. But I just did another
>> % ./first-setup.sh --context=current
>>
>> Thanks in advance for any hint,
>>
>> Elias
>>
>>
>> %%%%%%%%%%
>> \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum]
>
> \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect
> }{}]

I see. Well, this seems to fix the issue with MkIV at least.

Thanks,

Elias
___________________________________________________________________________________
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:[~2010-08-10 22:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 15:02 Elias Oltmanns
2010-08-10 17:23 ` Wolfgang Schuster
2010-08-10 22:00   ` Elias Oltmanns [this message]
2010-08-15 13:35   ` Elias Oltmanns
2010-08-17  7:29 ` Elias Oltmanns
2010-08-17  9:53   ` Elias Oltmanns
2010-08-17 10:28     ` Cedric Mauclair

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=87aaou6sby.fsf@denkblock.local \
    --to=eo@nebensachen.de \
    --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).