* Wrong markings
@ 2013-07-07 18:52 Marco Patzer
2013-07-08 21:56 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Marco Patzer @ 2013-07-07 18:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 501 bytes --]
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
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 4+ messages in thread
* Re: Wrong markings
2013-07-07 18:52 Wrong markings Marco Patzer
@ 2013-07-08 21:56 ` Hans Hagen
2013-07-08 22:30 ` Marco Patzer
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2013-07-08 21:56 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wrong markings
2013-07-08 21:56 ` Hans Hagen
@ 2013-07-08 22:30 ` Marco Patzer
2013-07-08 23:08 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Marco Patzer @ 2013-07-08 22:30 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 957 bytes --]
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
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 4+ messages in thread
* Re: Wrong markings
2013-07-08 22:30 ` Marco Patzer
@ 2013-07-08 23:08 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2013-07-08 23:08 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-08 23:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-07 18:52 Wrong markings Marco Patzer
2013-07-08 21:56 ` Hans Hagen
2013-07-08 22:30 ` Marco Patzer
2013-07-08 23:08 ` Hans Hagen
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).