[NTG-context] Re: No pagenumber on first page

2025-04-10 Thread Thomas Meyer
]        [] [\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

[NTG-context] Re: No pagenumber on first page

2025-04-09 Thread Wolfgang Schuster
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

[NTG-context] No pagenumber on first page

2025-04-09 Thread Thomas Meyer
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

[NTG-context] Re: Suppress pagenumber

2024-05-23 Thread Wolfgang Schuster
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

[NTG-context] Suppress pagenumber

2024-05-23 Thread Thomas Meyer
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

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-14 Thread mf
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] \

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread mf
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

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread Wolfgang Schuster
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

[NTG-context] conversion from realpage to pagenumber

2024-01-12 Thread 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 numerals. So the twelfth page is 'XII', while the twenty-second is '2'. How do I get 'XII'

Re: [NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-09 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-08 Thread peter.hopcroft--- via ntg-context
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

Re: [NTG-context] PageNumber in MetaFun

2022-03-02 Thread Marco Patzer via ntg-context
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

Re: [NTG-context] PageNumber in MetaFun

2022-03-02 Thread Thomas A. Schmitz via ntg-context
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

[NTG-context] PageNumber in MetaFun

2022-03-02 Thread Marco Patzer via ntg-context
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

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Aditya Mahajan
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

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
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

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Wolfgang Schuster
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

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
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

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Rudolf Bahr
> \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

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
>> 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

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Wolfgang Schuster
] \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

[NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
] \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

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Pablo Rodriguez
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

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Hans Hagen
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

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Wolfgang Schuster
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

[NTG-context] two additional pagenumber series

2020-04-29 Thread Pablo Rodriguez
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

Re: [NTG-context] no pagenumber depending of number of lines?

2019-09-08 Thread Henning Hraban Ramm
> 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

Re: [NTG-context] no pagenumber depending of number of lines?

2019-09-08 Thread 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 solution to that request? Otherwise I delete the page numbers from the PDF... %

[NTG-context] no pagenumber depending of number of lines?

2019-09-07 Thread Henning Hraban Ramm
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

Re: [NTG-context] Manipulating the pagenumber in the TOC

2019-04-21 Thread Wolfgang Schuster
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

[NTG-context] Manipulating the pagenumber in the TOC

2019-04-21 Thread Willi Egger
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

Re: [NTG-context] pagenumber suppression howto?

2014-07-25 Thread Wolfgang Schuster
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

Re: [NTG-context] pagenumber suppression howto?

2014-07-21 Thread Meer, H. van der
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

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
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

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
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

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
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

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
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

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
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

[NTG-context] pagenumber suppression howto?

2014-07-20 Thread 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] \setupfootertexts[some text][pagenumber] I want the first page without that

Re: [NTG-context] Wrong pagenumber in index

2014-04-14 Thread Hans Hagen
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

[NTG-context] Wrong pagenumber in index

2014-04-10 Thread jaheinen
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:

Re: [NTG-context] Empty page without header, footer, pagenumber

2013-10-02 Thread H. Özoguz
\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

Re: [NTG-context] Empty page without header, footer, pagenumber

2013-10-02 Thread Wolfgang Schuster
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

[NTG-context] Empty page without header, footer, pagenumber

2013-10-02 Thread H. Özoguz
(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

Re: [NTG-context] Pagenumber in footer

2011-08-04 Thread Markus Finke
\setuppagenumbering [alternative=doublesided, location={footer,marginedge}, command=\MyPageNumbercommand] \def\MyPageNumbercommand#1{\raisebox{2em}{#1}} Heureka! \def\MyPageNumbercommand#1{\raisebox{2em}\hbox{#1}}

[NTG-context] Pagenumber in footer

2011-08-03 Thread Markus Finke
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

Re: [NTG-context] \pagenumber geeft altijd 1

2011-01-03 Thread Cecil Westerhof
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

Re: [NTG-context] \pagenumber geeft altijd 1

2011-01-03 Thread Jaroslav Hajtmar
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

Re: [NTG-context] \pagenumber geeft altijd 1

2011-01-03 Thread Wolfgang Schuster
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

Re: [NTG-context] \pagenumber geeft altijd 1

2011-01-03 Thread Cecil Westerhof
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] >> } >> >>

Re: [NTG-context] \pagenumber geeft altijd 1

2011-01-03 Thread Jaroslav Hajtmar
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

Re: [NTG-context] \pagenumber geeft altijd 1

2011-01-03 Thread 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] > } > > The number of pages is displayed correctly, but the pagenumber is > a

[NTG-context] \pagenumber geeft altijd 1

2011-01-03 Thread 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 always 1. What am I doing wrong? -- Cecil Westerhof

Re: [NTG-context] Manipulating \pagenumber with Lua code : example need

2010-09-08 Thread Wolfgang Schuster
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

[NTG-context] Manipulating \pagenumber with Lua code : example need

2010-09-08 Thread 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 lines of simple code will be very appreciated :) T

Re: [NTG-context] forcing chapter pagenumber

2008-12-29 Thread Wolfgang Schuster
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

[NTG-context] forcing chapter pagenumber

2008-12-29 Thread 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 pagenumbering on chapter pages? (ConTeXt ver: 2008.10.31

Re: [NTG-context] pagenumber in header line.-SOLVED

2007-01-31 Thread luigi scarso
> 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

Re: [NTG-context] pagenumber in header line.-SOLVED

2007-01-30 Thread John R. Culleton
>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

Re: [NTG-context] pagenumber in header line.

2007-01-29 Thread Aditya Mahajan
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

Re: [NTG-context] pagenumber in header line.

2007-01-29 Thread luigi scarso
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]

[NTG-context] pagenumber in header line.

2007-01-29 Thread John R. Culleton
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

[NTG-context] Pagenumber & Footnotenumber -> inmargin

2003-09-09 Thread Steffen Wolfrum
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