ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* headertext + cap/uppercased problem
@ 2004-01-15 15:51 Tobias Burnus
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Burnus @ 2004-01-15 15:51 UTC (permalink / raw)


Hello,

(partially this is a resent.)

I have a problem forcing captial letters for the header(texts).
I tried
(a) \kap in \setupheadertexts, but then \getmarking gets not expanded
    (I only get 'CHAPTER :' which looks rather strange)
(b) Using \uppercased in \setupheadertext produces an error

(c) Using \setupheader[style=kap] or style=\uppercased produces errors

Tobias

 * * *

I use
\setupheadertexts
            [][{\it\getmarking[sectionnumber]~~~\getmarking[section]}]
            [{\it Chapter \getmarking[chapternumber]: \getmarking[chapter]}][]

which works well. Adding  \setupheader[style=cap] (or style=\uppercased)
I get the following  error. Any idea why?

Tobias

! Missing } inserted.
<inserted text> 
                }
<to be read again> 
                   \vskip 
\doplacelayouttextline ...\scratchpagebox }\vskip 
                                                  -#2\relax \fi 
\gettextboxes ...eropoint \the \headertextcontent 
                                                  \vskip \hoofdhoogte
\fi \v...

\@@lymethodenormal ...interlineskip \gettextboxes 
                                                  \dostopattributes
\egroup ...

\buildpagebody ...?ly \c!methode \v!normaal }}#1#2
                                                  \ifcase
\pageornamentstate...
...
l.78 \page[right]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* headertext + cap/uppercased problem
@ 2004-01-14  9:44 Tobias Burnus
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Burnus @ 2004-01-14  9:44 UTC (permalink / raw)


Hi,

I use
\setupheadertexts
            [][{\it\getmarking[sectionnumber]~~~\getmarking[section]}]
            [{\it Chapter \getmarking[chapternumber]: \getmarking[chapter]}][]

which works well. Adding  \setupheader[style=cap] (or style=\uppercased)
I get the following  error. Any idea why?

Tobias

! Missing } inserted.
<inserted text> 
                }
<to be read again> 
                   \vskip 
\doplacelayouttextline ...\scratchpagebox }\vskip 
                                                  -#2\relax \fi 
\gettextboxes ...eropoint \the \headertextcontent 
                                                  \vskip \hoofdhoogte
\fi \v...

\@@lymethodenormal ...interlineskip \gettextboxes 
                                                  \dostopattributes
\egroup ...

\buildpagebody ...?ly \c!methode \v!normaal }}#1#2
                                                  \ifcase
\pageornamentstate...
...
l.78 \page[right]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-15 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15 15:51 headertext + cap/uppercased problem Tobias Burnus
  -- strict thread matches above, loose matches on Subject: below --
2004-01-14  9:44 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).