ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setuphead[section][style=cap] does not work
Date: Thu, 13 Nov 2008 10:23:19 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.00.0811131022260.24013@nqv-yncgbc> (raw)
In-Reply-To: <OF4A488A08.270908BB-ON80257500.004F9164-80257500.00508E8A@converteam.com>

On Thu, 13 Nov 2008, richard.stephens@converteam.com wrote:

>
> Hello,
>
> I want section headings to be in capitals, but when I use:
>  \setuphead[section][style=cap]
> I get an error as follows:
>
> ! Argument of \getvalue has an extra }.
> <inserted text>
>                \par
> <to be read again>
>                   }
> \uppercased ...d \xdef \@@expanded {\uppercase {#1
>                                                  }}}\@@expanded
> \dodosmallcapped ...alize \cap@@uppercase {#1{#2}}
>                                                  \egroup
> \doplaceheadnumbertext ...o #1}\c!style \getvalue
>                                                  {\??ko #1\c!command
> }{\dos...
>
> \dodododoconstructhead ...{\finalsectionnumber }}}
>                                                  \writesection
> {#1}{#3}{#4}...
> l.58 \section{Introduction}

I can comfirm this, in MKII. But I don't know a solution.
>
> P.S. How do I get a full stop after the section number?

\setuplabeltext[section={{},{.}}]

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-11-13 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 14:39 richard.stephens
2008-11-13 15:23 ` Aditya Mahajan [this message]
2008-11-13 15:38 ` Hans Hagen

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=alpine.LNX.2.00.0811131022260.24013@nqv-yncgbc \
    --to=adityam@umich.edu \
    --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).