* Re: cap in \setupheader
[not found] <Pine.BSF.4.30.0011231341280.98168-100000@warp9.physik.fu-b erlin.de>
@ 2000-11-23 14:03 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-11-23 14:03 UTC (permalink / raw)
Cc: ntg-context
At 01:43 PM 11/23/00 +0100, Tobias Burnus wrote:
>Hi,
>
>we produce some odd results with
> \setupheader[text][style=cap]
> \setupheadertexts[bar][chapter]
>
>The word "bar" is in capital letters, the chaptertitles are not.
>(using style=\sc both are in small captials).
>
>This can be seen in rather old ConTeXts and in a rather new beta.
The style switching key accepts a font switch as well as a command, and cap
is a command that upcases it sargument. Since upcasing is kind of tricky,
cap only works when applied to expanded text. To illustrate this:
\uppercase{abc}
\uppercase{abc \getvalue{SomeCommand}}
\uppercase{abcd\"efg}
This is why a real cap is better, so "sc" in stead of cap, although you
then loose some features like font adaption.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* cap in \setupheader
@ 2000-11-23 12:43 Tobias Burnus
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Burnus @ 2000-11-23 12:43 UTC (permalink / raw)
Hi,
we produce some odd results with
\setupheader[text][style=cap]
\setupheadertexts[bar][chapter]
The word "bar" is in capital letters, the chaptertitles are not.
(using style=\sc both are in small captials).
This can be seen in rather old ConTeXts and in a rather new beta.
Tobias
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-23 14:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Pine.BSF.4.30.0011231341280.98168-100000@warp9.physik.fu-b erlin.de>
2000-11-23 14:03 ` cap in \setupheader Hans Hagen
2000-11-23 12:43 Tobias Burnus
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).