\pagefigure does not increment page number
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello All (probably Hans :-) ), \pagefigure does increment the page number. It doesn't place a page number, I can understand that. But why does it not increment the page number? Is that by design? I'm using the context release of 27 April 2006. Or should I upgrade? - -- Live long and prosper, Berend de Boer (PGP public key: http://www.pobox.com/~berend/berend-public-key.txt) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/ iD8DBQFEcmlLIyuuaiRyjTYRAlT2AKCMz5HY/GP69VZTMrvHTdpA5zxGfACgg+SK g7buT++bxNyaoyoElIUYAPs= =xP8u -----END PGP SIGNATURE-----
On Tue, 23 May 2006, Berend de Boer wrote:
Hello All (probably Hans :-) ),
\pagefigure does increment the page number. It doesn't place a page number, I can understand that. But why does it not increment the page number? Is that by design?
I'm using the context release of 27 April 2006. Or should I upgrade?
I do not know anything about pagefigure. However, looking at its code the following should increment pagenumbers. \unprotect \def\startnumpagefigure {\dodoubleempty\dostartnumpagefigure} \def\dostartnumpagefigure[#1][#2]% {\bgroup \getparameters[\??ex][\c!offset=\v!overlay,#2]% \startTEXpage[\c!offset=\@@exoffset]% \incrementnumber[page] %<---- Added \externalfigure[#1][#2]\ignorespaces} % so we can put some text below the graphic \def\stopnumpagefigure {\stopTEXpage \egroup} \def\numpagefigure {\dodoubleempty\donumpagefigure} \def\donumpagefigure[#1][#2]% {\dostartnumpagefigure[#1][#2]\stopnumpagefigure} \protect \starttext \input knuth \input knuth \input knuth \startnumpagefigure[dummy][offset=1cm] \blank This is a dummy figure \stopnumpagefigure \input knuth \stoptext HTH, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aditya Mahajan
I do not know anything about pagefigure. However, looking at its code the following should increment pagenumbers.
Thanks for the tip, and it works! - -- Live long and prosper, Berend de Boer (PGP public key: http://www.pobox.com/~berend/berend-public-key.txt) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/ iD8DBQFEdlxYIyuuaiRyjTYRAvX2AKDoiSuiL/5g/+lKA8oqVoUNlNfzZACfYDMT vqF5sbi17e3EbBxlgejLqG8= =tDvJ -----END PGP SIGNATURE-----
Berend de Boer schrieb:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello All (probably Hans :-) ),
\pagefigure does increment the page number. It doesn't place a page number, I can understand that. But why does it not increment the page number? Is that by design?
I'm using the context release of 27 April 2006. Or should I upgrade?
- -- Live long and prosper,
Berend de Boer (PGP public key: http://www.pobox.com/~berend/berend-public-key.txt) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/
iD8DBQFEcmlLIyuuaiRyjTYRAlT2AKCMz5HY/GP69VZTMrvHTdpA5zxGfACgg+SK g7buT++bxNyaoyoElIUYAPs= =xP8u -----END PGP SIGNATURE-----
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
\starttext \input knuth \pagefigure[dummy][width=\paperwidth,height=\paperheight] \incrementnumber[page] \input knuth \stoptext Wolfgang
participants (3)
-
Aditya Mahajan
-
Berend de Boer
-
Wolfgang Schuster