* Bug in page-sel.mkvi
@ 2012-08-23 20:44 Sietse Brouwer
2012-08-24 8:02 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Sietse Brouwer @ 2012-08-23 20:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Hans,
There's a typo in page-sel.mkvi that makes \copypages not work.
Cheers,
Sietse
\def\page_selectors_copy[#filename][#settings][#figuresettings]%
{\bgroup
\getfiguredimensions[#filename]%
\global\c_page_selectors_n\noffigurepages\relax
\setupcurrentwithpages[\c!marking=\v!off,\c!offset=\zeropoint,#settings]%
\scratchoffset\directwithpagesparameter\c!offset\relax
\dorecurse\c_page_selectors_n
{\vbox to \textheight
{\hsize\textwidth
\centeredbox
{\doifelse{\directwithpagesparameter\c!marking}\v!on\cuthbox\hbox
% only place where cuthbox is used
{\ifdim\scratchoffset>\zeropoint\relax
\advance\vsize -2\scratchoffset
\advance\hsize -2\scratchoffset
\externalfigure[#filename][\c!page=\recurselevel,#figuresettings,\c!scale=,\c!factor=\v!max,\c!offset=\v!overlay]%
\else
-
\externalfigurefilename][\c!page=\recurselevel,#figuresettings,\c!offset=\v!overlay]%
+
\externalfigure[#filename][\c!page=\recurselevel,#figuresettings,\c!offset=\v!overlay]%
\fi}}}
\page}
\egroup}
___________________________________________________________________________________
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] 2+ messages in thread
* Re: Bug in page-sel.mkvi
2012-08-23 20:44 Bug in page-sel.mkvi Sietse Brouwer
@ 2012-08-24 8:02 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2012-08-24 8:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 23-8-2012 22:44, Sietse Brouwer wrote:
> There's a typo in page-sel.mkvi that makes \copypages not work.
I'll fix it, thanks for noticing
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] 2+ messages in thread
end of thread, other threads:[~2012-08-24 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-23 20:44 Bug in page-sel.mkvi Sietse Brouwer
2012-08-24 8:02 ` 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).