Re: [NTG-context] Wrong markings

2013-07-08 Thread Hans Hagen

On 7/9/2013 12:30 AM, Marco Patzer wrote:

On 2013–07–08 Hans Hagen wrote:


I expect the markings on the left and right to be the same and show
A–C on the first page and D–E on the second one. Looks like a bug to
me.


use top and bottom


This works. Thanks.


-- previous : last before sync
-- next : first after sync

-- top  : first in sync
-- bottom   : last in sync

-- first: first not top in sync
-- last : last not bottom in sync


That is exactly what's in the wiki (Command/getmarking). To my
defence: The manual (chapter 12.4) is outdated, it lists:

   previous - the last of the previous page
   first- the first of the actual page
   last - the last of the actual page
   both - first — last
   all  - previous — first — last

I have no idea what “first not top in sync” means, in contrast to
“first of the actual page”, which is quite clear but wrong on a
current MkIV.


old tex terminology ... in mkiv i don't use the build-in-tex marks at 
all (too much juggling needed to get things right)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Wrong markings

2013-07-08 Thread Marco Patzer
On 2013–07–08 Hans Hagen wrote:

> >I expect the markings on the left and right to be the same and show
> >A–C on the first page and D–E on the second one. Looks like a bug to
> >me.
> 
> use top and bottom

This works. Thanks.

> -- previous : last before sync
> -- next : first after sync
> 
> -- top  : first in sync
> -- bottom   : last in sync
> 
> -- first: first not top in sync
> -- last : last not bottom in sync

That is exactly what's in the wiki (Command/getmarking). To my
defence: The manual (chapter 12.4) is outdated, it lists:

  previous - the last of the previous page
  first- the first of the actual page
  last - the last of the actual page
  both - first — last
  all  - previous — first — last

I have no idea what “first not top in sync” means, in contrast to
“first of the actual page”, which is quite clear but wrong on a
current MkIV.

Marco


signature.asc
Description: Digital signature
___
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
___

Re: [NTG-context] Wrong markings

2013-07-08 Thread Hans Hagen

On 7/7/2013 8:52 PM, Marco Patzer wrote:

\setupheadertexts
   [{\getmarking[section][both]}]
   [{\getmarking[section][first]\space\emdash\space
\getmarking[section][last]}]

\starttext
   \def\aa#1{\section{#1}\input knuth}
   \processcommacommand [A, B, C, D, E] \aa
\stoptext

I expect the markings on the left and right to be the same and show
A–C on the first page and D–E on the second one. Looks like a bug to
me.


use top and bottom

-- previous : last before sync
-- next : first after sync

-- top  : first in sync
-- bottom   : last in sync

-- first: first not top in sync
-- last : last not bottom in sync

--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Wrong markings

2013-07-07 Thread Marco Patzer
Hi,

in the following example the markings are wrong.

\setupheadertexts
  [{\getmarking[section][both]}]
  [{\getmarking[section][first]\space\emdash\space
   \getmarking[section][last]}]

\starttext
  \def\aa#1{\section{#1}\input knuth}
  \processcommacommand [A, B, C, D, E] \aa
\stoptext

I expect the markings on the left and right to be the same and show
A–C on the first page and D–E on the second one. Looks like a bug to
me.

current version: 2013.06.10 22:51

Marco


signature.asc
Description: Digital signature
___
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
___