* \pagefigure does not increment page number
@ 2006-05-23 1:45 Berend de Boer
2006-05-24 19:16 ` Aditya Mahajan
2006-05-25 16:25 ` Wolfgang Schuster
0 siblings, 2 replies; 4+ messages in thread
From: Berend de Boer @ 2006-05-23 1:45 UTC (permalink / raw)
-----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-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \pagefigure does not increment page number
2006-05-23 1:45 \pagefigure does not increment page number Berend de Boer
@ 2006-05-24 19:16 ` Aditya Mahajan
2006-05-26 1:39 ` Berend de Boer
2006-05-25 16:25 ` Wolfgang Schuster
1 sibling, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2006-05-24 19:16 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \pagefigure does not increment page number
2006-05-23 1:45 \pagefigure does not increment page number Berend de Boer
2006-05-24 19:16 ` Aditya Mahajan
@ 2006-05-25 16:25 ` Wolfgang Schuster
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2006-05-25 16:25 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-05-26 1:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-23 1:45 \pagefigure does not increment page number Berend de Boer
2006-05-24 19:16 ` Aditya Mahajan
2006-05-26 1:39 ` Berend de Boer
2006-05-25 16:25 ` Wolfgang Schuster
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).