ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* (no subject)
@ 2003-12-01 19:11 Severin Obertuefer
  2003-12-01 19:13 ` setupheadertexts Severin Obertuefer
  0 siblings, 1 reply; 4+ messages in thread
From: Severin Obertuefer @ 2003-12-01 19:11 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 703 bytes --]

hi

I defined e new head like this:

\definehead[class][subject]
\setuphead[class][placehead=no]

in the text I defined a head as

\class{TRANSLATOR\_APPLICATION}

in my header I want to have the follwoing output:
"Exercise 5 - TRANSLATOR_APPLICATION"
i tried \setupheadertexts[Exercise 5 - class] but then the output is:
"Exercise 5 - class]

how can I get what I want?

if I only type \setupheadertexts[class] then the output is
"TRANSLATOR_APPLICATION"

thx for help

severin

-- 
HoHoHo! Seid Ihr auch alle schön brav gewesen?

GMX Weihnachts-Special: Die 1. Adresse für Weihnachts-
männer und -frauen! http://www.gmx.net/de/cgi/specialmail

+++ GMX - die erste Adresse für Mail, Message, More! +++

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

* setupheadertexts
  2003-12-01 19:11 (no subject) Severin Obertuefer
@ 2003-12-01 19:13 ` Severin Obertuefer
  2003-12-01 20:11   ` setupheadertexts Tobias Burnus
  0 siblings, 1 reply; 4+ messages in thread
From: Severin Obertuefer @ 2003-12-01 19:13 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 703 bytes --]

hi

I defined e new head like this:

\definehead[class][subject]
\setuphead[class][placehead=no]

in the text I defined a head as

\class{TRANSLATOR\_APPLICATION}

in my header I want to have the follwoing output:
"Exercise 5 - TRANSLATOR_APPLICATION"
i tried \setupheadertexts[Exercise 5 - class] but then the output is:
"Exercise 5 - class]

how can I get what I want?

if I only type \setupheadertexts[class] then the output is
"TRANSLATOR_APPLICATION"

thx for help

severin

-- 
HoHoHo! Seid Ihr auch alle schön brav gewesen?

GMX Weihnachts-Special: Die 1. Adresse für Weihnachts-
männer und -frauen! http://www.gmx.net/de/cgi/specialmail

+++ GMX - die erste Adresse für Mail, Message, More! +++

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

* Re: setupheadertexts
  2003-12-01 19:13 ` setupheadertexts Severin Obertuefer
@ 2003-12-01 20:11   ` Tobias Burnus
  2003-12-02  4:33     ` setupheadertexts Severin Obertüfer
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Burnus @ 2003-12-01 20:11 UTC (permalink / raw)


Hi,

On Mon, Dec 01, 2003 at 08:13:37PM +0100, Severin Obertuefer wrote:
> in my header I want to have the follwoing output:
> "Exercise 5 - TRANSLATOR_APPLICATION"
You miss the command \getmarking. Try the following:

-----------------------------
\definehead[class][subject]
\setuphead[class][placehead=no]

\setupheadertexts[{Exercise 5 - \getmarking[class]}]

\class{TRANSLATOR\_APPLICATION}
\bye
-----------------------------

Tobias

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

* Re: setupheadertexts
  2003-12-01 20:11   ` setupheadertexts Tobias Burnus
@ 2003-12-02  4:33     ` Severin Obertüfer
  0 siblings, 0 replies; 4+ messages in thread
From: Severin Obertüfer @ 2003-12-02  4:33 UTC (permalink / raw)


thanks a lot

severin
----- Original Message ----- 
From: "Tobias Burnus" <tobias.burnus@physik.fu-berlin.de>
To: <ntg-context@ntg.nl>
Sent: Monday, December 01, 2003 9:11 PM
Subject: Re: [NTG-context] setupheadertexts


> Hi,
> 
> On Mon, Dec 01, 2003 at 08:13:37PM +0100, Severin Obertuefer wrote:
> > in my header I want to have the follwoing output:
> > "Exercise 5 - TRANSLATOR_APPLICATION"
> You miss the command \getmarking. Try the following:
> 
> -----------------------------
> \definehead[class][subject]
> \setuphead[class][placehead=no]
> 
> \setupheadertexts[{Exercise 5 - \getmarking[class]}]
> 
> \class{TRANSLATOR\_APPLICATION}
> \bye
> -----------------------------
> 
> Tobias
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 

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

end of thread, other threads:[~2003-12-02  4:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-01 19:11 (no subject) Severin Obertuefer
2003-12-01 19:13 ` setupheadertexts Severin Obertuefer
2003-12-01 20:11   ` setupheadertexts Tobias Burnus
2003-12-02  4:33     ` setupheadertexts Severin Obertüfer

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).