* setuphead[section][style=cap] does not work
@ 2008-11-13 14:39 richard.stephens
2008-11-13 15:23 ` Aditya Mahajan
2008-11-13 15:38 ` Hans Hagen
0 siblings, 2 replies; 3+ messages in thread
From: richard.stephens @ 2008-11-13 14:39 UTC (permalink / raw)
To: ntg-context
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}
Most other options seem to work, e.g. \setuphead[section][style=bold]
But \setuphead[section][style=\cap] has same problem as above.
I would try it in the "ConTeXt online" but that doesn't seem to be working.
Thanks,
Richard
P.S. How do I get a full stop after the section number?
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: setuphead[section][style=cap] does not work
2008-11-13 14:39 setuphead[section][style=cap] does not work richard.stephens
@ 2008-11-13 15:23 ` Aditya Mahajan
2008-11-13 15:38 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2008-11-13 15:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: setuphead[section][style=cap] does not work
2008-11-13 14:39 setuphead[section][style=cap] does not work richard.stephens
2008-11-13 15:23 ` Aditya Mahajan
@ 2008-11-13 15:38 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2008-11-13 15:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
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:
this is doomed to fail in mkii due to the way tex implements uppercase
best use a proper small caps font instead
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-13 15:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-13 14:39 setuphead[section][style=cap] does not work richard.stephens
2008-11-13 15:23 ` Aditya Mahajan
2008-11-13 15:38 ` Hans Hagen
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).