On 2/25/2018 9:12 PM, Pablo Rodriguez wrote:
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).
is ok here (looking in the pdf file)
BTW, "\markpage[foo][+1]" works fine (with the issue I described), but "\markpage[foo][3,4]" doesn’t work at all.
i'll look at it (next week)
Many thanks for your help again, Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------