On 02/25/2018 01:21 PM, Hans Hagen wrote:
> On 2/25/2018 10:11 AM, Pablo Rodriguez wrote:
>> As for the marked pages feature, it should read for me "(totally
>> unknown)" instead of "(probably unknown)".
>>
>>> % \markpage[foo][1,4,5]
>>
>> From what I read in i-context.pdf, I wonder whether it would be possible
>> to add page ranges with [10:90].
>>
>> I don’t have a way of testing it, since I don’t know how to use
>> \markpage for other purposes.
>
> the only way to test is dummy documents ... and as one never know pages
> in advance marking a specific page actually makes not much sense .. i'll
> add an automatism but as usual with such page break related features you
> need to be explicit in the sense of adding \page (a bit like headers and
> footers)
Many thanks for the implementation in the latest beta, Hans.
I’m afraid I found a bug. Page numbers in /PrintPageRange are actual
page numbers minus one. Here you have a sample:
\setupinteractionscreen
[print={foo}]
\starttext
first \page
\markpage[foo] foo \page
foo \page
oof \page
\markpage[foo] foo \page
foo \page
oof \page
\markpage[foo] foo \page
\startmarkpages[foo]
foo \page
oof \page
\stopmarkpages
\stoptext
The print range for Acrobat is "3,6,9-11" when it should be "2,5,8-10"
(the document only contains 10 pages).
BTW, "\markpage[foo][+1]" works fine (with the issue I described), but
"\markpage[foo][3,4]" doesn’t work at all.
Many thanks for your help again,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________