]
[]
[\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]
[\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]
[]
\setuptext[state=empty]
\starttext
\dorecurse{50}{\samplefile{tufte}\par}
\stoptext
How can I avoid the pagenumber on the first page?
Thank
Am 09.04.2025 um 21:29 schrieb Thomas Meyer:
Hi folks,
if I use this:
\setupheadertexts[]
\setuptexttexts
[margin]
[]
[\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]
[\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]
[]
\setuptext
Hi folks,
if I use this:
\setupheadertexts[]
\setuptexttexts
[margin]
[]
[\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]
[\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]
[]
\starttext
\dorecurse{50}{\samplefile{tufte}\par
Thomas Meyer schrieb am 23.05.2024 um 16:34:
Need Help!
I'm standing in front of the barn door ...
How can I suppress the pagenumber only on the first page?
\starttext
\noheaderandfooterlines
\dorecurse{10}{\samplefile{lorem}}
\stoptext
Wol
Need Help!
I'm standing in front of the barn door ...
How can I suppress the pagenumber only on the first page?
Thanks in advance
Thomas___
If your question is of interest to others as well, please add an ent
ges in roman
numerals, followed by the main text starting from page 1 in arabic
numerals.
So the twelfth page is 'XII', while the twenty-second is '2'.
How do I get 'XII' from 12 and '2' from 22?
\defineconversionset
[frontpart:pagenumber] [] [romannumerals]
\
Il 12/01/24 10:39, Henning Hraban Ramm ha scritto:
Am 12.01.24 um 10:18 schrieb mf:
Hello list,
how do I convert the realpage number to a page number?
Suppose you have a document with a frontmatter of 20 pages in roman
numerals, followed by the main text starting from page 1 in arabic
numera
while the twenty-second is '2'.
How do I get 'XII' from 12 and '2' from 22?
\defineconversionset
[frontpart:pagenumber] [] [romannumerals]
\setuppagenumber
[way=byblock]
% Alternative method for "way=byblock" when you have an appendix where
% the page
Hello list,
how do I convert the realpage number to a page number?
Suppose you have a document with a frontmatter of 20 pages in roman
numerals, followed by the main text starting from page 1 in arabic numerals.
So the twelfth page is 'XII', while the twenty-second is '2'.
How do I get 'XII'
On 12/9/22 05:42, peter.hopcroft--- via ntg-context wrote:
> The pdf from the tex below looks wrong to me, screenshot attached.
> It’s always like this when the page number in the second
> \definelayout is 1 more than the page number in the first. For other
> pairs of numbers, it behaves like I exp
The pdf from the tex below looks wrong to me, screenshot attached. It’s always
like this when the page number in the second \definelayout is 1 more than the
page number in the first. For other pairs of numbers, it behaves like I expect:
the short layout is only on those 2 pages.
I’m using the L
On Wed, 2 Mar 2022 13:15:18 +0100
"Thomas A. Schmitz via ntg-context" wrote:
> try "RealPageNumber" instead of "PageNumber."
That works. Thanks for the quick reply.
Marco
___
I
On 3/2/22 13:05, Marco Patzer via ntg-context wrote:
LMTX 2022.01.21 20:13 produces a rectangle on page 2, an older MkIV
produces a circle on page 2. Is this expected behaviour?
Marco
This has changed some time ago; try "RealPageNumber" instead of
"PageNu
Hi!
Has something changed regarding PageNumber? Take the following
example:
\starttext
foo\page
\startMPcode
if PageNumber==1:
fill unitsquare scaled 1cm;
elseif PageNumber==2:
fill fullcircle scaled 2cm;
fi
\stopMPcode
\stoptext
LMTX 2022.01.21 20:13 produces a
On Tue, 16 Jun 2020, Pablo Rodriguez wrote:
On 6/16/20 4:58 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 16.06.2020 um 16:31:
[...]
I’m afraid that you get the same result, so there may be a bug there.
There is no bug. When you take a look at my pagenumber example you see a
few
On 6/16/20 4:58 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 16.06.2020 um 16:31:
>> [...]
>> I’m afraid that you get the same result, so there may be a bug there.
>
> There is no bug. When you take a look at my pagenumber example you see a
> few lines at th
ction}}
just a line
\setlayerframed[whatever][foregroundstyle=\bf\ss]
{layer on the last page?}
\stoptext
I’m afraid that you get the same result, so there may be a bug there.
There is no bug. When you take a look at my pagenumber example you see a
few lines at the top show the number o
On 6/16/20 4:53 AM, Rudolf Bahr wrote:
> [...]
> Hi Pablo,
>
> I fear I don't understand what issue you mean, therefore I append my output
> here.
Many thanks for your reply, Rudolf.
The issue is that the layer is placed on the first page, where it should
be placed on the second page.
This samp
> \setupbackgrounds[page][background=pgnumber]
> \starttext
> \placelist[section][alternative=d]
> \dorecurse{16}{\section{Section}}
> \pagenumber/\lastpagenumber
> \setlayer[pgnumber]
> {\comment{\pagenumber}}
> \stoptext
>
> Could anyone confirm the iss
>> Could anyone confirm the issue?
>
> \pagenumber is only reliable headers/footer texts or page backgrounds,
> for everything else you need a multi pass mechanism (save the page
> number in the first run and provide it in the second).
Many thanks for your reply, Wolfgang.
I thought this
]
\starttext
\placelist[section][alternative=d]
\dorecurse{16}{\section{Section}}
\pagenumber/\lastpagenumber
\setlayer[pgnumber]
{\comment{\pagenumber}}
\stoptext
Could anyone confirm the issue?
\pagenumber is only reliable headers/footer texts or page backgrounds,
for
]
\dorecurse{16}{\section{Section}}
\pagenumber/\lastpagenumber
\setlayer[pgnumber]
{\comment{\pagenumber}}
\stoptext
Could anyone confirm the issue?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___
If
On 4/29/20 3:32 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 29.04.2020 um 14:00:
>> Dear list,
>>
>> for one of the documents I share with others, I need to add five
>> pagenumber series.
>> [...]
>> My question is: how could I get new
On 4/29/2020 2:00 PM, Pablo Rodriguez wrote:
Dear list,
for one of the documents I share with others, I need to add five
pagenumber series.
I’m already using realpage, userpage and subpage. I have just tried to
use \definecounter, but it doesn’t work.
\setuppapersize[A9
Pablo Rodriguez schrieb am 29.04.2020 um 14:00:
Dear list,
for one of the documents I share with others, I need to add five
pagenumber series.
I’m already using realpage, userpage and subpage. I have just tried to
use \definecounter, but it doesn’t work.
\setuppapersize[A9
Dear list,
for one of the documents I share with others, I need to add five
pagenumber series.
I’m already using realpage, userpage and subpage. I have just tried to
use \definecounter, but it doesn’t work.
\setuppapersize[A9]
\definecounter[ncounter]
[way=bychapter
> Am 2019-09-08 um 16:43 schrieb Wolfgang Schuster
> :
>
> Henning Hraban Ramm schrieb am 07.09.2019 um 23:05:
>> Hi, I got a difficult customer…
>>
>> If the last page of a chapter is less then half full (or has less than n
>> lines), he doesn’t want a page number.
>>
>> Is there a simple so
Henning Hraban Ramm schrieb am 07.09.2019 um 23:05:
Hi, I got a difficult customer…
If the last page of a chapter is less then half full (or has less than n
lines), he doesn’t want a page number.
Is there a simple solution to that request?
Otherwise I delete the page numbers from the PDF...
%
Hi, I got a difficult customer…
If the last page of a chapter is less then half full (or has less than n
lines), he doesn’t want a page number.
Is there a simple solution to that request?
Otherwise I delete the page numbers from the PDF...
Greetlings, Hraban
---
https://www.fiee.net
http://wik
Willi Egger schrieb am 21.04.2019 um 19:28:
Hi all,
"when manipulating in one area you will have to manipulate also in other aeras”
I must confess.
I asked some time ago about manipulating the pagenumber. Wolfgang provide me
the following approach:
\cldcontext{“\letterperce
Hi all,
"when manipulating in one area you will have to manipulate also in other aeras”
I must confess.
I asked some time ago about manipulating the pagenumber. Wolfgang provide me
the following approach:
\cldcontext{“\letterpercent.0f”,(\pagenumber+1)/2}
This works indeed fine. Howeve
Am 20.07.2014 um 21:35 schrieb Meer, H. van der :
> Thanks. Please let us know if this addition of location=none will be taken up
> in a future beta.
Which the new beta you can now write
\setuppagenumbering[location=none]
to hide the pagenumber.
Wo
Would it be a good idea to add to the definition of \noheaderandfooterlines?
For example
\def\noheaderandfooterlines{..}
% Separately kill header and footerlines on the current page.
\def\noheaderlines{\setuplayoutelement[header][state=empty]}
\def\nofooterlines{\setuplayoutelement[footer][state=em
Am 20.07.2014 um 22:02 schrieb Meer, H. van der :
>
>
> On 20 Jul 2014, at 21:51, Wolfgang Schuster
> wrote:
>
>> Am 20.07.2014 um 21:35 schrieb Meer, H. van der :
>>
>>> Thanks. Please let us know if this addition of location=none will be taken
>>> up in a future beta.
>>>
>>> I also rea
On 20 Jul 2014, at 21:51, Wolfgang Schuster
mailto:schuster.wolfg...@gmail.com>> wrote:
Am 20.07.2014 um 21:35 schrieb Meer, H. van der
mailto:h.vanderm...@uva.nl>>:
Thanks. Please let us know if this addition of location=none will be taken up
in a future beta.
I also realised that the effe
Am 20.07.2014 um 21:35 schrieb Meer, H. van der :
> Thanks. Please let us know if this addition of location=none will be taken up
> in a future beta.
>
> I also realised that the effect wanted can be obtained by dividing the single
> \noheaderandfooterlines
> into two additional macros
> \noh
van der Meer
On 20 Jul 2014, at 20:35, Wolfgang Schuster
mailto:schuster.wolfg...@gmail.com>> wrote:
Am 20.07.2014 um 12:03 schrieb Meer, H. van der
mailto:h.vanderm...@uva.nl>>:
My goal is pages without header info at the top and text plus a pagenumber on
the bottom. This can be
Am 20.07.2014 um 12:03 schrieb Meer, H. van der :
> My goal is pages without header info at the top and text plus a pagenumber on
> the bottom. This can be accomplished by:
> \setupheader[state=stop]
> \setupfooter[text][before=\hairline,style=small,location=left,strut=yes]
> \s
My goal is pages without header info at the top and text plus a pagenumber on
the bottom. This can be accomplished by:
\setupheader[state=stop]
\setupfooter[text][before=\hairline,style=small,location=left,strut=yes]
\setupfootertexts[some text][pagenumber]
I want the first page without that
On 4/10/2014 2:31 PM, jahei...@gmx.de wrote:
Try 1:
\starttext
\section{Hello}\index{Hello}
\page
\index{world}world
\page
\completeindex
\stoptext
Result 1:
hello 2 <- must be 1!
world 2
Try 2:
\starttext
\section{Hello}\index{Hello}
some text <- putting some text here
\page
\index{world}wor
Try 1:
\starttext
\section{Hello}\index{Hello}
\page
\index{world}world
\page
\completeindex
\stoptext
Result 1:
hello 2 <- must be 1!
world 2
Try 2:
\starttext
\section{Hello}\index{Hello}
some text <- putting some text here
\page
\index{world}world
\page
\completeindex
\stoptext
Result 2:
\setuppagenumbering[alternative=doublesided]
\starttext
\input knuth
\page[empty] % empty page
\input knuth
\page[yes,right] %move to right page but keep header and footer
\input knuth
\page[yes,header,footer,right] % move to right page and remove header and footer
\input knuth
\stoptext
d make
> problems.
Sectionblock environment are supposed to be used only once in a document.
> All this just for realizing a very simple rule: If the page is empty (no
> text), then it should be "totally empty", that is: No header, no footer, no
> pagenumber. But apart from thi
(no
text), then it should be "totally empty", that is: No header, no footer,
no pagenumber. But apart from this, do nothing – do not change effects
of partnumerings (like \frontmatter does), or anything else.
That is all I need. Is that easy to realize without on/off-commands,
w
\setuppagenumbering
[alternative=doublesided,
location={footer,marginedge},
command=\MyPageNumbercommand]
\def\MyPageNumbercommand#1{\raisebox{2em}{#1}}
Heureka!
\def\MyPageNumbercommand#1{\raisebox{2em}\hbox{#1}}
I want to place the pagenumber higher and something is getting wrong:
\setuppagenumbering
[alternative=doublesided,
location={footer,marginedge},
command=\MyPageNumbercommand]
\def\MyPageNumbercommand#1{\raisebox{2em}{#1}}
I use \usemodule[typearea] and maybe
\setuplayout[footer
2011/1/3 Wolfgang Schuster :
> You stop pagenumbering and wonder why context doesn’t report the current
> pagenumber.
>
> Line 15: \setuppagenumbering[state=stop]
I thought that \setuplayout[pagenumbers] took care of that. I changed
UsePageNumbers to:
\def\UsePageNumbers{
\setupp
rking:
\setupfootertexts[Page \pagenumber \space of \lastpage]
\starttext
\dorecurse{20}{\input tufte }
\stoptext
Jaroslav
Dne 3.1.2011 10:32, Cecil Westerhof napsal(a):
\def\UsePageNumbers{
\setuplayout[pagenumbers]
\setupfootertexts[Page \pagenumber \space of \las
Am 03.01.2011 um 11:53 schrieb Cecil Westerhof:
> Attached are the tex and pdf file.
You stop pagenumbering and wonder why context doesn’t report the current
pagenumber.
Line 15: \setuppagenumbering[state=stop]
Wolfg
2011/1/3 Wolfgang Schuster :
>
> Am 03.01.2011 um 10:32 schrieb Cecil Westerhof:
>
>> I am using the folowing code:
>> \def\UsePageNumbers{
>> \setuplayout[pagenumbers]
>> \setupfootertexts[Page \pagenumber \space of \lastpage]
>> }
>>
>>
Hello Cecil,
Are you calling \UsePageNumbers macro at start?
I don't see any problem ...
For example this short code is working:
\setupfootertexts[Page \pagenumber \space of \lastpage]
\starttext
\dorecurse{20}{\input tufte }
\stoptext
Jaroslav
Dne 3.1.2011 10:32, Cecil Westerhof nap
Am 03.01.2011 um 10:32 schrieb Cecil Westerhof:
> I am using the folowing code:
> \def\UsePageNumbers{
> \setuplayout[pagenumbers]
> \setupfootertexts[Page \pagenumber \space of \lastpage]
> }
>
> The number of pages is displayed correctly, but the pagenumber is
> a
I am using the folowing code:
\def\UsePageNumbers{
\setuplayout[pagenumbers]
\setupfootertexts[Page \pagenumber \space of \lastpage]
}
The number of pages is displayed correctly, but the pagenumber is
always 1. What am I doing wrong?
--
Cecil Westerhof
Am 08.09.2010 um 20:53 schrieb Vnpenguin:
> Hi,
> I would like to manipulate \pagenumber with Lua code, in order to add
> an increment to page number, print out (\pagenumber + INC) instead of
> \pagenumber.
>
> I can't found any example in Wiki yet.
>
> Some line
Hi,
I would like to manipulate \pagenumber with Lua code, in order to add
an increment to page number, print out (\pagenumber + INC) instead of
\pagenumber.
I can't found any example in Wiki yet.
Some lines of simple code will be very appreciated :)
T
Am 29.12.2008 um 19:15 schrieb Hans van der Meer:
On pages starting a chapter the pagenumbering is suppressed.
However I want to tur it on.
The sensible choice on \setuphead[chapter] seems page=yes but that
doesn't change a thing.
I see no other options of this sort.
How do I accomplish page
On pages starting a chapter the pagenumbering is suppressed.
However I want to tur it on.
The sensible choice on \setuphead[chapter] seems page=yes but that
doesn't change a thing.
I see no other options of this sort.
How do I accomplish pagenumbering on chapter pages?
(ConTeXt ver: 2008.10.31
> I received a few solutions that didn't work for me. Thanks to those who wrote
> me. But a little plain TeX trickery did it nicely as follows:
>
> ---
> \setupheadertexts[text]
> [][\CapStretch{INVESTING ON AUTOPILOT}\kern 1e
>4ROBERT S. CABLE
>but what I want is the two components in the middle thus:
>4 ROBERT S. CABLE
>If I insert \hfil etc. the pagenumbering gets replaced with the word
>
>"pagenum
On Sat, 27 Jan 2007, John R. Culleton wrote:
> Here is my code at the moment:
> \def\CapStretchAmount{.08em}
> \def\CapStretch#1
> {\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}}
> \setuppagenumbering[location=]
> \setupheadertexts[text][pagenumber][\C
On 1/27/07, John R. Culleton <[EMAIL PROTECTED]> wrote:
> Here is my code at the moment:
> \def\CapStretchAmount{.08em}
> \def\CapStretch#1
> {\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}}
> \setuppagenumbering[location=]
> \setupheadertexts[text]
Here is my code at the moment:
\def\CapStretchAmount{.08em}
\def\CapStretch#1
{\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}}
\setuppagenumbering[location=]
\setupheadertexts[text][pagenumber][\CapStretch{ROBERT S. CABLE}][pagenumber]
[\CapStretch{INVESTING ON AUTOPILOT
Hi,
ConTeXt seems to have two different interpretations of "inmargin:
\setuppagenumbering [alternative=doublesided,location={header,inmargin}]
isn't the same as
\setupfootnotedefinition[location=inmargin]
How can I place the footnote's number into the margin the same way as
th
63 matches
Mail list logo