* [pagenumbers in pdf]
@ 2021-02-13 12:10 Floris van Manen
2021-02-13 12:28 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Floris van Manen @ 2021-02-13 12:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
When I generate a serie of TEXpages, those pages end up with the same
page number in the pdf.
1, 1, 1
\starttext
\def\blz{\begingroup
\startTEXpage
1 2 3
\stopTEXpage
\endgroup}
\blz
\blz
\blz
\stoptext
If I insert a \strut at the start,
I get pagenumbering 1, 2, 3, 1
\starttext
\def\blz{\begingroup
\startTEXpage
1 2 3
\stopTEXpage
\endgroup}
\strut
\blz
\blz
\blz
\stoptext
As in most software, there is a probable reason for that :-)
But how to get the pages numbered 1, 2, 3 without an empty page at the
start?
.F
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [pagenumbers in pdf]
2021-02-13 12:10 [pagenumbers in pdf] Floris van Manen
@ 2021-02-13 12:28 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2021-02-13 12:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Floris van Manen schrieb am 13.02.2021 um 13:10:
> When I generate a serie of TEXpages, those pages end up with the same
> page number in the pdf.
> 1, 1, 1
>
> \starttext
> \def\blz{\begingroup
> \startTEXpage
> 1 2 3
> \stopTEXpage
> \endgroup}
> \blz
> \blz
> \blz
> \stoptext
>
>
> If I insert a \strut at the start,
> I get pagenumbering 1, 2, 3, 1
>
>
> \starttext
> \def\blz{\begingroup
> \startTEXpage
> 1 2 3
> \stopTEXpage
> \endgroup}
> \strut
> \blz
> \blz
> \blz
> \stoptext
>
>
> As in most software, there is a probable reason for that :-)
> But how to get the pages numbered 1, 2, 3 without an empty page at the
> start?
You need pagestate=start:
\starttext
\dorecurse{3}
{\startTEXpage[pagestate=start]
Page #1
\stopTEXpage}
\stoptext
Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-13 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-13 12:10 [pagenumbers in pdf] Floris van Manen
2021-02-13 12:28 ` 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).