ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* getmarking does not use mark?
@ 2010-09-27 15:36 Steffen Wolfrum
  2010-09-27 15:50 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2010-09-27 15:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Hi,

did I misunderstood something ... or is this simply a bug?!

In that example below \getmarking uses the value of title ... and not of mark!


(is there an other command to access the value of mark?)

Steffen

-------

\def\KolumneL{\headnumber[chapter]\enskip\getmarking[chapter]}
\def\KolumneR{\headnumber[section]\enskip\getmarking[section]}

\setuppagenumbering [alternative=doublesided,location=]
\setupheader[align=middle]
\setupheadertexts
	[\vtop{\startalignment[center]\KolumneR\stopalignment}] [pagenumber]
	[pagenumber] [\vtop{\startalignment[center]\KolumneL\stopalignment}]

\starttext

\startchapter[]
test
\stopchapter

\startsection[
 title={title},
 bookmark={bookmark},
 mark={mark},
 list={list}]

test\page test \page test

\stopsection

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


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

* Re: getmarking does not use mark?
  2010-09-27 15:36 getmarking does not use mark? Steffen Wolfrum
@ 2010-09-27 15:50 ` Wolfgang Schuster
  2010-09-27 16:16   ` Steffen Wolfrum
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-09-27 15:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 27.09.2010 um 17:36 schrieb Steffen Wolfrum:

> 
> 
> Hi,
> 
> did I misunderstood something ... or is this simply a bug?!
> 
> In that example below \getmarking uses the value of title ... and not of mark!

The name of the key is "marking”.

Wolfgang

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


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

* Re: getmarking does not use mark?
  2010-09-27 15:50 ` Wolfgang Schuster
@ 2010-09-27 16:16   ` Steffen Wolfrum
  2010-09-27 16:21     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2010-09-27 16:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 27.09.2010 um 17:50 schrieb Wolfgang Schuster:

> 
> Am 27.09.2010 um 17:36 schrieb Steffen Wolfrum:
> 
>> 
>> 
>> Hi,
>> 
>> did I misunderstood something ... or is this simply a bug?!
>> 
>> In that example below \getmarking uses the value of title ... and not of mark!
> 
> The name of the key is "marking”.



I don't understand.

In context-excursion it says ...

"After the definition texts can be marked by:
\marking[.1.]{.2.}
.1. name .2. text
and recalled by:
\getmarking[.1.][.2.]"

But in MkIv sections there is already text marked ...

\startsection[
title={title},
bookmark={bookmark},
mark={mark},
list={list}]

At least it looks as if there were some text marked by mark={mark}!

Just, how can it be accessed??

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


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

* Re: getmarking does not use mark?
  2010-09-27 16:16   ` Steffen Wolfrum
@ 2010-09-27 16:21     ` Wolfgang Schuster
  2010-09-27 16:32       ` Steffen Wolfrum
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-09-27 16:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 27.09.2010 um 18:16 schrieb Steffen Wolfrum:

>>> In that example below \getmarking uses the value of title ... and not of mark!
>> 
>> The name of the key is "marking”.
> 
> 
> 
> I don't understand.
> 
> In context-excursion it says ...
> 
> "After the definition texts can be marked by:
> \marking[.1.]{.2.}
> .1. name .2. text
> and recalled by:
> \getmarking[.1.][.2.]"
> 
> But in MkIv sections there is already text marked ...
> 
> \startsection[
> title={title},
> bookmark={bookmark},
> mark={mark},
> list={list}]
> 
> At least it looks as if there were some text marked by mark={mark}!

\startsection[...,marking=mark,...]

...

\stopsection

Wolfgang

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


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

* Re: getmarking does not use mark?
  2010-09-27 16:21     ` Wolfgang Schuster
@ 2010-09-27 16:32       ` Steffen Wolfrum
  0 siblings, 0 replies; 5+ messages in thread
From: Steffen Wolfrum @ 2010-09-27 16:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 27.09.2010 um 18:21 schrieb Wolfgang Schuster:

> 
> Am 27.09.2010 um 18:16 schrieb Steffen Wolfrum:
> 
>>>> In that example below \getmarking uses the value of title ... and not of mark!
>>> 
>>> The name of the key is "marking”.
>> 
>> 
>> 
>> I don't understand.
>> 
>> In context-excursion it says ...
>> 
>> "After the definition texts can be marked by:
>> \marking[.1.]{.2.}
>> .1. name .2. text
>> and recalled by:
>> \getmarking[.1.][.2.]"
>> 
>> But in MkIv sections there is already text marked ...
>> 
>> \startsection[
>> title={title},
>> bookmark={bookmark},
>> mark={mark},
>> list={list}]
>> 
>> At least it looks as if there were some text marked by mark={mark}!
> 
> \startsection[...,marking=mark,...]
> 
> ...
> 
> \stopsection




"Time is fleeting, madness takes its toll."


... and I swear: last year in April it was

\startchapter[label=...,title={...},bookmark={...},mark={...},list={...},reference={...}] 


Thanks Wolfgang!
Steffen


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


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

end of thread, other threads:[~2010-09-27 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-27 15:36 getmarking does not use mark? Steffen Wolfrum
2010-09-27 15:50 ` Wolfgang Schuster
2010-09-27 16:16   ` Steffen Wolfrum
2010-09-27 16:21     ` Wolfgang Schuster
2010-09-27 16:32       ` Steffen Wolfrum

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