Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 11:48 AM, Sylvain Hubert wrote: > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for > the help!. > > Btw, do you know whether there is any difference between \lastpagenumber > and \lastuserpagenumber mentioned both by Wolfgang and by the excursi

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
t;mailto:oi...@gmx.es <mailto:oi...@gmx.es>>> wrote: > >     Hi Sylvain, > >        \setupfootertexts[\pagenumber/\lastpagenumber] >        \starttext >        \dorecurse{25}{\null\page} >        \stoptext > > &

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
> > >\setupfootertexts[\pagenumber/\lastpagenumber] > >\starttext > >\dorecurse{25}{\null\page} > > \stoptext > > > > > > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for > > the help!. > > >

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 11:48: On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez <mailto:oi...@gmx.es>> wrote: Hi Sylvain,   \setupfootertexts[\pagenumber/\lastpagenumber]   \starttext   \dorecurse{25}{\null\page}   \stoptext Indeed, \setupf

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez wrote: > Hi Sylvain, > > \setupfootertexts[\pagenumber/\lastpagenumber] > \starttext > \dorecurse{25}{\null\page} > \stoptext > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for the help!. Btw

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
Many thanks for the help! On Sun, 8 Nov 2020 at 10:20, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 02:58: > > Dear List, > > > > Does anyone know how to set the footer to be "page i/n" where i=cu

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 2:58 AM, Sylvain Hubert wrote: > Dear List, > > Does anyone know how to set the footer to be "page i/n" where i=current > page number, n=total number of page? I've tried > >     \setuppagenumbering[location=footer, command=\groupedcommand{pag

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 02:58: Dear List, Does anyone know how to set the footer to be "page i/n" where i=current page number, n=total number of page? I've tried     \setuppagenumbering[location=footer, command=\groupedcommand{page }{/\lastcounte

[NTG-context] "page i/n" in footer

2020-11-07 Thread Sylvain Hubert
Dear List, Does anyone know how to set the footer to be "page i/n" where i=current page number, n=total number of page? I've tried \setuppagenumbering[location=footer, command=\groupedcommand{page }{/\lastcounter[userpage]}] but \lastcounter[userpage] results in empty strin

Re: [NTG-context] force index entries without page number

2020-11-07 Thread Henning Hraban Ramm
> Am 04.09.2020 um 11:59 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 03.09.2020 um 10:17: >> Hi, >> I’d like to have an (person) index entry like >> Ramm, Hraban passim >> i.e. without actual page number. >> How can I forc

Re: [NTG-context] Asymmetrical Column layout leads to an extra blank page (Solved!)

2020-10-30 Thread Ramkumar KB
Hello, I managed to resolve the issue - which turns out bcos I had 2 back2back columnset definitions. So instead, I combined them into 1 and the result was ok. *Before (leads to blank page or page with symmetrical columns):* \definecolumnset[2col][n=2, distance=3.5mm, page=no] \setupcolumnset

[NTG-context] Asymmetrical Column layout leads to an extra blank page

2020-10-29 Thread Ramkumar KB
faced with these 2 (sub-optimal) choices - 1. Extra Blank page with Asymmetric Columns in the next page (with the \subject{} uncommented) 2. No Blank page with Symmetric Columns (with the \subject{} commented) 3. page=yes / no - does not work (same outcome as above) I am not sure the role

[NTG-context] Export, page break markers

2020-10-14 Thread Denis Maier
Hi, as I'm almost done with my PDFs for the first volume of our journal, I'm thinking about also publishing HTMLs. We have XSLTs almost ready for this, but I was thinking if I could use ConTeXt also for this. A very nice feature would be being able to add marking of page breaks

[NTG-context] Keep postponed footnotes on page where called

2020-10-07 Thread Denis Maier
Am 02.10.2020 um 13:00 schrieb Denis Maier: Am 30.09.2020 um 19:03 schrieb Pablo Rodriguez: On 9/30/20 5:52 PM, Denis Maier wrote: Hi, postponing footnotes when using tables causes the footnote often to appear on the next page, which may not always be wanted. Is there a way to keep

Re: [NTG-context] help with forced page break in TOC

2020-10-05 Thread jbf
Thanks Willi, that is the solution. So I then took a look at \showinjector on the wiki (and \setinjector) and found pretty much what you explained. Pity there isn't a link from the other page to this that I might have found when I first went looking... Is it the case

Re: [NTG-context] help with forced page break in TOC

2020-10-05 Thread Willi Egger
] [“the number of the injector where the break must take place][\page] I hope that this is solving your issue. Kind regards Willi > On 5 Oct 2020, at 04:53, jbf wrote: > > I am unable to adapt the example given in > https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break to my

[NTG-context] help with forced page break in TOC

2020-10-04 Thread jbf
to first define the break, which I have done: \definelistextra[page][before=\page] It then tells me to call this in where I \placecontent (in my case I am using my own defined  \placecombined list[content]). The example given in the wiki is: \placecontent[extras={6=page}] But I have

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
Taco, I found a solution. Instead of trying to adjust what I have in the preamble, I simply went to where I begin the Foreword and included [marking={Foreword}]: \startforeword[marking={Foreword}][author={Author's name}]. And of course, to prevent the first page of Foreword from having

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
, on which my foreword definition is based, by default does not give a header on the first page. It is subsequent recto pages that are the problem. So, for example, the Foreword (which starts on a recto page) has three pages. The first, correctly, has no header. The second carries the book title header

Re: [NTG-context] page counter problem

2020-09-30 Thread Alan Bowen
Thank you, Taco, for the fix *and* the helpful explanation. The file now works (and I can now put this project to bed!) Alan On Wed, Sep 30, 2020 at 7:38 AM Taco Hoekwater wrote: > Hi Alan, > > > On 30 Sep 2020, at 12:50, Alan Bowen wrote: > > > > he page c

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Alan Bowen
Taco Hoekwater wrote: > >> >> >> > On 30 Sep 2020, at 11:46, jbf wrote: >> > >> > For some reason that I cannot work out, the recto page header is not >> appearing in frontmatter sections like Foreword. It is important to note >> that for this item I

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Alan Bowen
Thank you, Taco, for the fix *and* the helpful explanation. The file now works (and I can now put this project to bed!) Alan On Wed, Sep 30, 2020 at 7:44 AM Taco Hoekwater wrote: > > > > On 30 Sep 2020, at 11:46, jbf wrote: > > > > For some reason that I cannot

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Taco Hoekwater
> On 30 Sep 2020, at 11:46, jbf wrote: > > For some reason that I cannot work out, the recto page header is not > appearing in frontmatter sections like Foreword. It is important to note that > for this item I am using: > > \definehead > [foreword] [chapter

Re: [NTG-context] page counter problem

2020-09-30 Thread Taco Hoekwater
Hi Alan, > On 30 Sep 2020, at 12:50, Alan Bowen wrote: > > he page counter does not increase in the first iteration an PDf inclusion but > seems to work properly after that. Have attached a sample file (69K) that > will serve to show the problem—at least

[NTG-context] page counter problem

2020-09-30 Thread Alan Bowen
he page counter does not increase in the first iteration an PDf inclusion but seems to work properly after that. Have attached a sample file (69K) that will serve to show the problem—at least, on my machine. \starttext \setupexternalfigures[location=default] \setuplayer[preset=middlebottom

[NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
For some reason that I cannot work out, the recto page header is not appearing in frontmatter sections like Foreword. It is important to note that for this item I am using: \definehead   [foreword] [chapter]... \setuphead   [foreword]   [frontpartlabel=foreword,    conversion=empty

[NTG-context] Index range with page number suffix

2020-09-24 Thread Duncan Hothersall
(Using mkiv.) I have an index in which some entries need suffixes on the page numbers, for which I have used processors. For index ranges, I need the page number suffix only to appear on the end page number, not the start page number. The below MWE produces an index entry: sausage 1i-2i What

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
Hi, This sounds quite complicated, really. I am not at all sure how this page rotation should work but I assume you plan a pdf-only document then? Otherwise, I would expect rotating the figure instead of the whole page. Also, rotating the paper does not rotate the layout, at least

[NTG-context] Full page image and caption in another page?

2020-09-22 Thread José de Mattos Neto
Hi, it's my first message on this list. I've searched in ConTeXt manuals, TeX.SX and here, but couldn't find a way to achieve these 4 requirements altogether: 1. Place a figure as full-page figure 2. Change orientation accordingly (if it's a landscape PDF, for instance) 3. Make

[NTG-context] Wrong page number when placefigure spans full page in columnset

2020-09-09 Thread Charles Vejnar
Hi, When I place a figure within a columnset and that figure takes a full page then the page number in the header is incorrect. Page number is the same as the previous page but on the next page it's correct. Please see example below and attached showing page 2 twice with pages numbered 1, 2

Re: [NTG-context] force index entries without page number

2020-09-04 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 03.09.2020 um 10:17: Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) You can use this when the entry

Re: [NTG-context] force index entries without page number

2020-09-04 Thread mf
Il 04/09/20 11:01, Henning Hraban Ramm ha scritto: Am 03.09.2020 um 13:32 schrieb mf : Use check=yes But I need check=no, because my author has several entries like Miller, Carolyne, born Princess of Sayn-Wittgenstein 123–125 Sayn-Wittgenstein, Carolyne of see Miller, Carolyne i.e.

Re: [NTG-context] force index entries without page number

2020-09-04 Thread Henning Hraban Ramm
> Am 03.09.2020 um 13:32 schrieb mf : > > Use check=yes But I need check=no, because my author has several entries like Miller, Carolyne, born Princess of Sayn-Wittgenstein 123–125 Sayn-Wittgenstein, Carolyne of see Miller, Carolyne i.e. the reference target often has a different

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
;Ramm, Hraban}{} No, this results in "Ramm, Hraban passim see passim" Only with check=yes, otherwise it works right. And \index{passim->Ramm, Hraban} results in "Ramm, Hraban passim 1" No, see attachment page 2. I.e. I’m still looking for an index entry without "

Re: [NTG-context] force index entries without page number

2020-09-03 Thread Henning Hraban Ramm
, Hraban passim see passim" And \index{passim->Ramm, Hraban} results in "Ramm, Hraban passim 1" I.e. I’m still looking for an index entry without "see" or page number. > \placeindex[check=no] This is essential for references to not (exactly

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
Useful references I consulted to find a solution: https://www.mail-archive.com/ntg-context@ntg.nl/msg88118.html https://wiki.contextgarden.net/Registers#Processors Massi ___ If your question is of interest to others

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
This should be exactly what you asked for: \defineprocessor[passim][right=\quad{\it passim}] \starttext \samplefile{ward}\index{Ward, Peter} \samplefile{sapolsky}\index{Sapolsky, Robert} \seeindex{passim->Ramm, Hraban}{} \seeindex{Hraban}{Ramm, Hraban} \page \placeindex[check=yes] \p

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
Il 03/09/20 10:17, Henning Hraban Ramm ha scritto: Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) \starttext \samplefile{ward}\index

[NTG-context] force index entries without page number

2020-09-03 Thread Henning Hraban Ramm
Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) Hraban

[NTG-context] keeping content chunks on same page

2020-08-24 Thread Mike Cooper
). In my searching for solutions, I thought I'd found something helpful with \startframed but I can't figure any way to combine the framed and enumeration... Anyway, here's some code. It doesn't demonstrate the page-break problem but gives an idea of the different possible sizes of question/answer

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
On 2020-08-13, Pablo Rodriguez wrote: > On 8/13/20 6:06 PM, Nicola wrote: >> [...] >> Thanks. That works with my MWE, but in my document I actually have >> a chapter, and chapters start on the right page, even if I add page=no >> to \setuppagenumbering: >> [..

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Wolfgang Schuster
Nicola schrieb am 13.08.2020 um 18:06: Thanks. That works with my MWE, but in my document I actually have a chapter, and chapters start on the right page, even if I add page=no to \setuppagenumbering: Can you start a new thread when you have a new question. When other people have the same

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 6:06 PM, Nicola wrote: > [...] > Thanks. That works with my MWE, but in my document I actually have > a chapter, and chapters start on the right page, even if I add page=no > to \setuppagenumbering: > [...] > I have no idea how to allow chapters to start at ar

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
On 2020-08-13, Pablo Rodriguez wrote: > On 8/13/20 5:17 PM, Nicola wrote: >> Hi, >> I still have an issue with blank pages... >> >>>> 2. Vertically center the ToC (wrt to the text area). >>> >>> Use a makeup for the TOC (if and only if it take

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 5:17 PM, Nicola wrote: > Hi, > I still have an issue with blank pages... > >>> 2. Vertically center the ToC (wrt to the text area). >> >> Use a makeup for the TOC (if and only if it takes a single page). > > Yes, the ToC takes a single page. The m

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
Hi, I still have an issue with blank pages... >> 2. Vertically center the ToC (wrt to the text area). > > Use a makeup for the TOC (if and only if it takes a single page). Yes, the ToC takes a single page. The makeup seems to insert a blank page afterwards. MWE: \setupp

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-12 Thread Nicola
On 2020-08-12, Wolfgang Schuster wrote: > Nicola schrieb am 11.08.2020 um 22:21: >> On 2020-08-11, Pablo Rodriguez wrote: >>> On 8/11/20 9:24 PM, Nicola wrote: Thank Pablo, Wolfgang, I have learned more by reading your replies than by myself in the rest of the afternoon. >>> >>>

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
Nicola schrieb am 11.08.2020 um 22:21: On 2020-08-11, Pablo Rodriguez wrote: On 8/11/20 9:24 PM, Nicola wrote: Thank Pablo, Wolfgang, I have learned more by reading your replies than by myself in the rest of the afternoon. Hi Nicola, if you found replies useful, please update the wiki

[NTG-context] header text on final page of section

2020-08-11 Thread jbf
for chapters in the main body of text, but for some reason that I am unaware of, in the case of the 'Introduction', I get a header text ('Introduction' is the text) where I should */except for the last page of the introduction/* (There are seven pages in the intro, so it is the 7th, therefore odd

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
\startmakeup[toc] >> \placecontent >> \stopmakeup >> %\setuppagenumber[number=1] >> \startchapter[title={A}]\stopchapter >> \startchapter[title={B}]\stopchapter >> \stopfrontmatter >> \stoptext >> &

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 9:24 PM, Nicola wrote: >> Thank Pablo, Wolfgang, >> I have learned more by reading your replies than by myself in the rest >> of the afternoon. > > Hi Nicola, > > if you found replies useful, please update the wiki (this may help others). > >>

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Pablo Rodriguez
> %\setuppagenumber[number=1] > \startchapter[title={A}]\stopchapter > \startchapter[title={B}]\stopchapter > \stopfrontmatter > \stoptext > > The first entry in the ToC has page number 0. I can fix it by > uncommenting the commented

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 8:34 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.08.2020 um 14:53: >> On 8/11/20 1:32 PM, Nicola wrote: >> [...] >>> 3. Suppress page numbers and headers in all blank pages. >> >> Break pages with \page[yes, blank]. > > Not the

[NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
={A}]\stopchapter \startchapter[title={B}]\stopchapter \stopfrontmatter \stoptext The first entry in the ToC has page number 0. I can fix it by uncommenting the commented line or by removing the makeup. Is this expected behaviour? If so, why? Nicola

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 9:24 PM, Nicola wrote: > Thank Pablo, Wolfgang, > I have learned more by reading your replies than by myself in the rest > of the afternoon. Hi Nicola, if you found replies useful, please update the wiki (this may help others). > Just one more thing: > [...] > I'd prefer all the

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
Thank Pablo, Wolfgang, I have learned more by reading your replies than by myself in the rest of the afternoon. Just one more thing: >>> 1. Increase the space between Roman numbers and titles in the ToC. >> >> distance with dimension is the key in \setuplist. > > Correct but it's also important

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
environment fits here better. \definemakeup [copyright] [page=yes, pagestate=start, doublesided=no, align=flushright, bottom=] \startmakeup[copyright] Copyright © 2020 Author \stopmakeup 1. Increase the space between Roman numbers and titles in the ToC. distance with dimension

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
between Roman numbers and titles in the ToC. distance with dimension is the key in \setuplist. > 2. Vertically center the ToC (wrt to the text area). Use a makeup for the TOC (if and only if it takes a single page). > 3. Suppress page numbers and headers in all blank pages. Break pages

[NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
struggling with some basic tasks (see the document below): 0. Push text to the bottom of the text area (see copyright). 1. Increase the space between Roman numbers and titles in the ToC. 2. Vertically center the ToC (wrt to the text area). 3. Suppress page numbers and headers in all blank pages. 4

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Willi Egger
>>> >>> Good evening! >>> >>> I have a bookproject in which sections are ended with a small graphical >>> element. Now as usual this graphic might be moved to a new page which is of >>> course unwanted. >>> >>> A

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 30.07.2020 um 09:05: On 29 Jul 2020, at 23:08, Willi Egger wrote: Good evening! I have a bookproject in which sections are ended with a small graphical element. Now as usual this graphic might be moved to a new page which is of course unwanted. At this moment I

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Taco Hoekwater
> On 29 Jul 2020, at 23:08, Willi Egger wrote: > > Good evening! > > I have a bookproject in which sections are ended with a small graphical > element. Now as usual this graphic might be moved to a new page which is of > course unwanted. > > At this momen

[NTG-context] About testing rest of space on a page

2020-07-29 Thread Willi Egger
Good evening! I have a bookproject in which sections are ended with a small graphical element. Now as usual this graphic might be moved to a new page which is of course unwanted. At this moment I have: \startsetups endsection \vfil \placefigure[middle,none][]{}{\externalfigure[ornament2

[NTG-context] question on page transitions

2020-07-25 Thread Pablo Rodriguez
Dear list, I have a question about page transitions (lines 297-304 from scrn-pag.mkvi): \def\scrn_transitions_set_indeed {\begingroup \edef\currentinteractionscreendelay{\interactionscreenparameter\c!delay}% \clf_setpagetransition n {\scrn_transitions_list}% delay \ifx

Re: [NTG-context] \blank space at the top of a page

2020-06-18 Thread James Withers
> I have been trying to find a solution to how to insert blank lines > > before a chapter heading at the start of a page. In the following > > example the \blank[4*big] is ignored. The solution I've found is to > > add an empty box using \mbox{} before the \blank comma

Re: [NTG-context] \blank space at the top of a page

2020-06-18 Thread Wolfgang Schuster
James Withers schrieb am 18.06.2020 um 17:35: Hello list I have been trying to find a solution to how to insert blank lines before a chapter heading at the start of a page. In the following example the \blank[4*big] is ignored. The solution I've found is to add an empty box using \mbox{} before

[NTG-context] \blank space at the top of a page

2020-06-18 Thread James Withers
Hello list I have been trying to find a solution to how to insert blank lines before a chapter heading at the start of a page. In the following example the \blank[4*big] is ignored. The solution I've found is to add an empty box using \mbox{} before the \blank command. Is this the right way

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

2020-06-16 Thread Aditya Mahajan
lines at the top show the number of the previous page, this happens because TeX collects more than necessary which means in your example above the layer is placed when TeX was still on the first page. Many thanks for your reply, Wolfgang. I’m afraid that TeX is too tricky for me in that case (or I

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

2020-06-16 Thread Pablo Rodriguez
the top show the number of the previous page, this happens > because TeX collects more than necessary which means in your example > above the layer is placed when TeX was still on the first page. Many thanks for your reply, Wolfgang. I’m afraid that TeX is too tricky for me i

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

2020-06-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.06.2020 um 16:31: 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

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

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

2020-06-15 Thread Rudolf Bahr
On Mon, Jun 15, 2020 at 02:52:49PM +0200, Pablo Rodriguez wrote: > Dear list, > > I have the following number with wrong annotation placement and wrong > page number, which would be both on the second page: > > \setupinteraction[state=start] > \definelayer[pgnumber]

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

2020-06-15 Thread Pablo Rodriguez
On 6/15/20 4:09 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 15.06.2020 um 14:52: >> Dear list, >> >> I have the following number with wrong annotation placement and wrong >> page number, which would be both on the second page: >> [...]

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

2020-06-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.06.2020 um 14:52: Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber

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

2020-06-15 Thread Pablo Rodriguez
Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber] \starttext \placelist[section][alternative=d

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
Thanks kindly, Wolfgang. On Mon, 15 Jun 2020 at 00:49, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Jack Steyn schrieb am 14.06.2020 um 16:46: > > Hi, > > > > I'm not sure why the following MWE produces a document where page 2 > > has the page

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Wolfgang Schuster
Jack Steyn schrieb am 14.06.2020 um 16:46: Hi, I'm not sure why the following MWE produces a document where page 2 has the page number i instead of ii. It seems to have something to do with the use of makeup. I was using it to create a vertically centered title page. Is there a better way

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
Hi, I'm not sure why the following MWE produces a document where page 2 has the page number i instead of ii. It seems to have something to do with the use of makeup. I was using it to create a vertically centered title page. Is there a better way of doing this which will give the correct page

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Wolfgang Schuster
Alan Bowen schrieb am 10.06.2020 um 17:04: Thanks, Taco! That works in my mwe. I added way=bytext in my env file and the output is just what I need. Why don't you use sub pages? \starttext %\setupsubpagenumber[start=5]\resetsubpagenumber \setcounter[subpage][5] \startTEXpage

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
that resets the counter to one at the start > of the next page (it is useful for footnotes that are numbered > per-page, but not for actual page counters). > > > \definecounter[volpage][type=page] > \starttext > \setcounter[volpage][5] > \dorecurse{3}{\startTEXpage[off

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
Hi Alan, Sorry, I should have actually tried your MWE. You do *not* want way=bypage here, as that resets the counter to one at the start of the next page (it is useful for footnotes that are numbered per-page, but not for actual page counters). \definecounter[volpage][type=page] \starttext

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
Hi, Taco— Thanks for the suggestion. I have tried it with \incrementcounter before and after the TEXpage. Sadly, neither worked. This mwe is an attempt to capture the failure of the following in processing a product with numerous components: \definecounter[volpage][type=page, way=bypage

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
Hi, Incrementing the counter outside of the TEXpage should work. Best wishes, Taco > On 9 Jun 2020, at 23:34, Alan Bowen wrote: > > My efforts to set up a new page counter in the footertexts of a book are not > proving successful. The following code shows the nature of

[NTG-context] problem with counters (page)

2020-06-09 Thread Alan Bowen
My efforts to set up a new page counter in the footertexts of a book are not proving successful. The following code shows the nature of the problem. \definecounter[volpage][type=page, way=bypage] \starttext \setcounter[volpage][5] \dorecurse{3}{\startTEXpage[offset=2pc] \input ward \blank[medium

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Henning Hraban Ramm
> Am 29.05.2020 um 22:18 schrieb Aditya Mahajan : > > On Fri, 29 May 2020, Henning Hraban Ramm wrote: > >> In a similar setup I wanted to start every chapter with image and short vita >> the author and came up with the following (of course not without help from >> our wizards): >> >> >>

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Aditya Mahajan
On Fri, 29 May 2020, Henning Hraban Ramm wrote: In a similar setup I wanted to start every chapter with image and short vita the author and came up with the following (of course not without help from our wizards): \doifelse{\structureuservariable{image}}{}{% if image empty }{% ... }

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Henning Hraban Ramm
{% {\tf\ss\structureuservariable{vita}} }% }% \page[right] \vbox{% \doifnot{\structureuservariable{subtitle}}{}{% if subtitle {\definedfont[SerifItalic*eka at 30pt]\structureuservariable{subtitle}} }% }% }% \blank[3*big] \directsetup{normalheader

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Jan U. Hasecke
suppose you wanted to use the image defined as part of > `\startchapter` as the background image of the _current_ page, then you > could access the value of the \structureuservariable. For example, > > \startchapter[title=whatever][image=filename] > > \structureuservariable{image}

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Aditya Mahajan
ave to worry about it. See https://wiki.contextgarden.net/System_Macros/Key_Value_Assignments#Multi-pass_data for more details. Now, suppose you wanted to use the image defined as part of `\startchapter` as the background image of the _current_ page, then you could access the value of the \struct

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Jan U. Hasecke
Hi Wolfgang, thank you very much. Amazing! Am 29.05.20 um 15:35 schrieb Wolfgang Schuster: > \definedataset [chapter] > > \startsetups [chapter:before] > >   \page[yes] > >   \doglobal\increment\ChapterCounter > >   \doifoddpageelse >     {} >     {\doifsom

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 29.05.2020 um 15:10: Am 29.05.20 um 12:45 schrieb Wolfgang Schuster: juh schrieb am 29.05.2020 um 10:29: Dear all, with your help I can colorize the empty even page right before a chapter starts on the odd page. The mwe below shows it. Now I would like to redefine

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Jan U. Hasecke
Am 29.05.20 um 12:45 schrieb Wolfgang Schuster: > juh schrieb am 29.05.2020 um 10:29: >> Dear all, >> >> with your help I can colorize the empty even page right before a >> chapter starts >> on the odd page. The mwe below shows it. >> >> Now I would l

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Wolfgang Schuster
juh schrieb am 29.05.2020 um 10:29: Dear all, with your help I can colorize the empty even page right before a chapter starts on the odd page. The mwe below shows it. Now I would like to redefine the contents of the left page on the fly in the text so that I could place images on this page

[NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread juh
Dear all, with your help I can colorize the empty even page right before a chapter starts on the odd page. The mwe below shows it. Now I would like to redefine the contents of the left page on the fly in the text so that I could place images on this page. I thought that I could get a simple

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-25 Thread Taco Hoekwater
Hi, I like the new page layout. It is a big improvement structurally, and great work! Best wishes, Taco > On 24 May 2020, at 10:53, Henning Hraban Ramm wrote: > > > >> Am 24.05.2020 um 04:06 schrieb Aditya Mahajan : >> >> I am okay with changing th

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-24 Thread Henning Hraban Ramm
> Am 24.05.2020 um 04:06 schrieb Aditya Mahajan : > > I am okay with changing the main page as well. But since this is the main > page, let's wait for the other mods to chime in as well. Am I a mod? Just a frequent contributor, I guess... I like the new main page, it looks v

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-23 Thread Aditya Mahajan
On Sat, 23 May 2020, Garulfo wrote: 1/ Concerning the Manuals Page    - As proposed, "obsolete banners" are added to thumbnails  of the oldest manuals. Looks good. A few minor comments: I haven't tested it, but the natural tables in context examples (in Sec 3.6) should

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-23 Thread Garulfo
1/ Concerning the Manuals Page    - As proposed, "obsolete banners" are added to thumbnails  of the oldest manuals. Looks good. A few minor comments: I haven't tested it, but the natural tables in context examples (in Sec 3.6) should still work with latest versions. The &quo

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-22 Thread Aditya Mahajan
On Fri, 22 May 2020, Garulfo wrote: Hi all, thanks for your encouraging feedbacks. 1/ Concerning the Manuals Page - As proposed, "obsolete banners" are added to thumbnails of the oldest manuals. Looks good. A few minor comments: I haven't tested it, but the natu

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-22 Thread Hans Hagen
On 5/22/2020 11:42 PM, Garulfo wrote: Hi all, thanks for your encouraging feedbacks. 1/ Concerning the Manuals Page    - As proposed, "obsolete banners" are added to thumbnails  of the oldest manuals.    - About providing zips of manuals per topics: maybe we could just

<    1   2   3   4   5   6   7   8   9   10   >