[NTG-context] location=outer causes bad page break in LMTX

2021-11-30 Thread Marco Patzer via ntg-context
Hi! In the following example “Lorem ipsum” sits on an otherwise empty page in LMTX. Output is as expected with MkIV. Has the interface changed or may it be a bug in LMTX? \starttext \null\godown [15.5cm] \samplefile{knuth} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Wolfgang Schuster via ntg-context
\stoptext In the first case, the title remains on the same page as the fake text. In the second case, a new page is forced after the title. Why does this occur? \startbodymatter starts a sectionblock (the “bodypart” block, to be exact) and by default these blocks all switch to a ‘right’ page

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Taco Hoekwater via ntg-context
t > \title{test} > \startbodymatter > \fakewords{1000}{1200} > \stopbodymatter > > \stoptext > > > In the first case, the title remains on the same page as the fake text. In > the second case, a new page is forced after the title. Why does this occur? \startbodymatter

[NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread A A via ntg-context
* environment: *\setuppagenumbering[location=right]\usemodule[visual]\usebtxdataset[bibliography.bib]\starttext\title{test}* *\startbodymatter\fakewords{1000}{1200}\stopbodymatter* *\stoptext* In the first case, the title remains on the same page as the fake text. In the second case, a new

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
Hi Gerben, See below... > On 24 Oct 2021, at 17:04, Gerben Wierda via ntg-context > wrote: > > On 24 Oct 2021, at 16:38, Wolfgang Schuster > wrote: >> >> Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: >>> My double-sided layout

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
Gerben Wierda schrieb am 25.10.2021 um 08:41: I have a problem with getting the page number on the ‘first’ page of a chapter (in my setup, it is actually the second page as there is a LHS page before it with a quote. The bare minimum example: When you switch to the chapter-environment get

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
I have a problem with getting the page number on the ‘first’ page of a chapter (in my setup, it is actually the second page as there is a LHS page before it with a quote. The bare minimum example: \setuplayout[location=doublesided] \setuppagenumbering[alternative=doublesided] \setuphead

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
On 24 Oct 2021, at 16:38, Wolfgang Schuster wrote: > > Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: >> My double-sided layout starts each chapter on a right page with a quote on >> the opposing left page. I’d like to move the page number of that right page

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
I attempted this: \page[right] \setupheadertexts[] \setupfootertexts[pagenumber] \setupfooter[text][after={\setupfootertexts[]\setupheadertexts[pagenumber]}] but that does not work. This definitely moves the page numbers to the footer. Gerben Wierda (LinkedIn <ht

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation. How can I do this? Example: \setuplayout[location

Re: [NTG-context] Default page layout

2021-09-11 Thread kauśika cittūr via ntg-context
On Friday, September 10, 2021 2:09:29 PM IST Hans Hagen wrote: > On 9/10/2021 7:26 AM, kauśika cittūr via ntg-context wrote: > > Dear List, > > > > I am using LMTX 2021.08.30 19:56. > > > > I have the following example – > > \starttext > > \showlayout > > > > \input knuth > > \stoptext > > > >

Re: [NTG-context] Default page layout

2021-09-10 Thread Hans Hagen via ntg-context
On 9/10/2021 7:26 AM, kauśika cittūr via ntg-context wrote: Dear List, I am using LMTX 2021.08.30 19:56. I have the following example – \starttext \showlayout \input knuth \stoptext which yields an output (attached here) with a "asymmetric" layout. Am I doing something wrong? Or have I

Re: [NTG-context] Default page layout

2021-09-09 Thread kauśika cittūr via ntg-context
On Friday, September 10, 2021 10:56:09 AM IST kauśika cittūr wrote: > Dear List, > > I am using LMTX 2021.08.30 19:56. > > I have the following example – > \starttext > \showlayout > > \input knuth > \stoptext > > which yields an output (attached here) with a "asymmetric" layout. > > Am I

[NTG-context] Default page layout

2021-09-09 Thread kauśika cittūr via ntg-context
Dear List, I am using LMTX 2021.08.30 19:56. I have the following example – \starttext \showlayout \input knuth \stoptext which yields an output (attached here) with a "asymmetric" layout. Am I doing something wrong? Or have I missed something? Please advise. Thanks, kauśika test-doc.pdf

Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Henning Hraban Ramm via ntg-context
> Am 01.09.2021 um 18:52 schrieb Hans Hagen via ntg-context > : > > On 9/1/2021 6:01 PM, Henning Hraban Ramm via ntg-context wrote: >> Hi again, >> if a "typing" environment with line numbering goes over a page break, the >> line numbers start at 1 aga

Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 01.09.2021 um 18:01: Hi again, if a "typing" environment with line numbering goes over a page break, the line numbers start at 1 again on the new page. It doesn’t happen with \start/stoplinenumbering. MWE: \setuptyping[ numb

Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 6:01 PM, Henning Hraban Ramm via ntg-context wrote: Hi again, if a "typing" environment with line numbering goes over a page break, the line numbers start at 1 again on the new page. It doesn’t happen with \start/stoplinenumbering. MWE: \setuptyping[ numb

[NTG-context] line numbering restarts every page

2021-09-01 Thread Henning Hraban Ramm via ntg-context
Hi again, if a "typing" environment with line numbering goes over a page break, the line numbers start at 1 again on the new page. It doesn’t happen with \start/stoplinenumbering. MWE: \setuptyping[ numbering=file, ] \setuppaper[A5] \setupbodyfont[18pt] \starttext \startbuffer

Re: [NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 24.08.2021 um 19:32: Hi, I want to insert a logo at the bottom of the page on the right on the first page, on the left on the second, on the right on the third ... With the key repeat=yes, the logo is always at the bottom right \useMPlibrary[dum

[NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Fabrice Couvreur via ntg-context
Hi, I want to insert a logo at the bottom of the page on the right on the first page, on the left on the second, on the right on the third ... With the key repeat=yes, the logo is always at the bottom right Thanks Fabrice \useMPlibrary[dum] \definelayer [MyLogo] [x=0mm, y=0mm, width

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 12:18: Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin project \startproject[terminale-environment] \environment[terminale-style]  ... \stopproject end

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin product \startproduct[terminale-manual] \project[terminale-environment] \startdocument \startfrontmatter ... \stopfrontmatter \startbodymatter

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-15 Thread Joey McCollum via ntg-context
s. For my > > purposes, the section break symbol should never occur at the top of a > page > > or column, and it is more desirable to have a page or column end with the > > section break symbol than to have a single orphaned line follow the > symbol > > at the en

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 15.08.2021 um 18:33: On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: A small note : this method works if I compile the project but if I compile only one chapter, the header no longer appears. Hi Fabrice, I have never used projects and

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
Hi Pablo, The second solution works as I want it to Thanks Fabrice Le dim. 15 août 2021 à 18:33, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: > > A small note : this method works if I compile the project but if I >

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Pablo Rodriguez via ntg-context
On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: > A small note : this method works if I compile the project but if I > compile only one chapter, the header no longer appears. Hi Fabrice, I have never used projects and chapters (or whatever the right name is). I’m not sure I get what

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
context < > ntg-context@ntg.nl> a écrit : > >> On 8/15/21 12:49 PM, Fabrice Couvreur via ntg-context wrote: >> > Hello, >> > Wolfgang created a >> > heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html >> > for the chapters of m

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
ail/ntg-context/2021/102870.html > > for the chapters of my book. > > How can I prevent this header from appearing on the page with the table > > of contents ? > > Hi Fabrice, > > a simple way would be: > > \startsectionblockenvironment[bodypart]

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Pablo Rodriguez via ntg-context
On 8/15/21 12:49 PM, Fabrice Couvreur via ntg-context wrote: > Hello, > Wolfgang created a > heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html > for the chapters of my book. > How can I prevent this header from appearing on the page with the table > of cont

[NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
Hello, Wolfgang created a heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html for the chapters of my book. How can I prevent this header from appearing on the page with the table of contents ? Thanks Fabrice

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Aditya Mahajan via ntg-context
(in the example > below, "X") should be set in the middle of these two lines. For my > purposes, the section break symbol should never occur at the top of a page > or column, and it is more desirable to have a page or column end with the > section break symbol than to have a s

[NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Joey McCollum via ntg-context
es. For my purposes, the section break symbol should never occur at the top of a page or column, and it is more desirable to have a page or column end with the section break symbol than to have a single orphaned line follow the symbol at the end of the page or column. Based on these constraints, I thought

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Joey McCollum via ntg-context
Beautiful! This makes things even more succinct. I notice that if I try to prevent paragraph indentation after a MyPart heading with the "indentnext=no" argument, it doesn't work. Is this because of the \page[blankpagebreak] command in the "after" argument? (In any cas

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Wolfgang Schuster via ntg-context
ToC, but its number should never be printed in the ToC or in the text. * It should always start on an odd page. * Its text should be in a larger size than the text of the body, set in all caps, and set with extra letterspacing. * Most importantly, the title of the heading should appear

Re: [NTG-context] New error "page order problem in tree at page"

2021-08-07 Thread Hans Hagen via ntg-context
On 8/6/2021 5:26 AM, Rik Kabel wrote: On 8/5/2021 18:04, Hans Hagen wrote: On 8/4/2021 9:26 PM, Rik Kabel via ntg-context wrote: With today's LMTX release I see the warning:     backend > tags > beware: page order problem in tree at page 1 This appears to be recently intr

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Joey McCollum via ntg-context
ts number should never be > > printed in the ToC or in the text. > > number=no. > > > * It should always start on an odd page. > > This is the default for \setuphead[part] (only noticeable in doublesided > documents). > > > * Its text should be in a larger

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Pablo Rodriguez via ntg-context
> I'd like this heading to have the following features: > > * Its title should appear in the ToC, but its number should never be > printed in the ToC or in the text. number=no. > * It should always start on an odd page. This is the default for \setuphead[part] (only noticeable in

[NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Joey McCollum via ntg-context
e ToC or in the text. - It should always start on an odd page. - Its text should be in a larger size than the text of the body, set in all caps, and set with extra letterspacing. - Most importantly, the title of the heading should appear on its own page without a header or footer. The text of t

Re: [NTG-context] New error "page order problem in tree at page"

2021-08-05 Thread Rik Kabel via ntg-context
On 8/5/2021 18:04, Hans Hagen wrote: On 8/4/2021 9:26 PM, Rik Kabel via ntg-context wrote: With today's LMTX release I see the warning:     backend > tags > beware: page order problem in tree at page 1 This appears to be recently introduced to the code. Should it be a c

Re: [NTG-context] New error "page order problem in tree at page"

2021-08-05 Thread Hans Hagen via ntg-context
On 8/4/2021 9:26 PM, Rik Kabel via ntg-context wrote: With today's LMTX release I see the warning: backend > tags > beware: page order problem in tree at page 1 This appears to be recently introduced to the code. Should it be a concern? If so, where should I look to

[NTG-context] New error "page order problem in tree at page"

2021-08-04 Thread Rik Kabel via ntg-context
With today's LMTX release I see the warning: backend > tags > beware: page order problem in tree at page 1 This appears to be recently introduced to the code. Should it be a concern? If so, where should I look to remedy it?

Re: [NTG-context] double-sided page number placement

2021-07-12 Thread Hans Hagen
On 7/12/2021 7:20 AM, Pablo Rodriguez wrote: On 7/11/21 5:07 PM, Charles Doherty wrote: [...] the left page of the double spread places the page number on the left margin of the page and in the right page it is placed on the right margin. This is what I would like to get in LMTX as well. Am I

Re: [NTG-context] double-sided page number placement

2021-07-12 Thread Charles Doherty
inmargin work in LMTX and MKIV So everything is working for me now. Thank you for taking the time, Charlie > On 12 Jul 2021, at 06:20, Pablo Rodriguez wrote: > > On 7/11/21 5:07 PM, Charles Doherty wrote: >> [...] >> the left page of the double spread places the page numb

Re: [NTG-context] double-sided page number placement

2021-07-11 Thread Pablo Rodriguez
On 7/11/21 5:07 PM, Charles Doherty wrote: > [...] > the left page of the double spread places the page number on the left > margin of the page and in the right page it is placed on the right > margin. This is what I would like to get in LMTX as well. Am I doing > something wrong he

[NTG-context] double-sided page number placement

2021-07-11 Thread Charles Doherty
Dear Hans, The following file: \setuplayout[location=doublesided] \setuppagenumbering[location=inmargin,alternative=doublesided] \starttext \dorecurse{20}{\input knuth } \stoptext using: > ConTeXt ver: 2021.04.21 11:39 LMTX fmt: 2021.7.11 int: english/english the left page of the dou

Re: [NTG-context] Natural tables | 2 tables in a page seem to interfere with each other?

2021-06-16 Thread Ramkumar KB
, Jun 16, 2021 at 11:41 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Ramkumar KB schrieb am 16.06.2021 um 17:33: > > Hi, > > I have 2 "natural tables" in one page and it appears that I have to > (manually) reset the columns in the second table,

Re: [NTG-context] Natural tables | 2 tables in a page seem to interfere with each other?

2021-06-16 Thread Wolfgang Schuster
Ramkumar KB schrieb am 16.06.2021 um 17:33: Hi, I have 2 "natural tables" in one page and it appears that I have to (manually) reset the columns in the second table, for those columns that I had set specific width. See the example below - Maybe I am missing a trick or two - or t

[NTG-context] Natural tables | 2 tables in a page seem to interfere with each other?

2021-06-16 Thread Ramkumar KB
Hi, I have 2 "natural tables" in one page and it appears that I have to (manually) reset the columns in the second table, for those columns that I had set specific width. See the example below - Maybe I am missing a trick or two - or this indeed is the desired behavior? Thank you

Re: [NTG-context] new page before xtable with repeated headers

2021-05-31 Thread Hans Hagen
On 5/31/2021 12:36 PM, Werner Hennrich wrote: Hello Hans, loading from cont-loc now works, thank you! Am 31.05.21 um 11:33 schrieb Hans Hagen: you can wrap such a patch in: \ifcsname\??xtableflushsplit\v!repeat\endcsname \else \fi to make sure that it's not overloading something built in

Re: [NTG-context] new page before xtable with repeated headers

2021-05-31 Thread Werner Hennrich
sorry, not true: Am 31.05.21 um 12:36 schrieb Werner Hennrich: but the patch isn't loaded any more. my \writestatus\m!system{beware: LOCAL PATCH LOADED FOR xtable} from inside the \else to \fi is indeed still in my console. case re safe update closed - thanks, Werner

Re: [NTG-context] new page before xtable with repeated headers

2021-05-31 Thread Werner Hennrich
Hello Hans, loading from cont-loc now works, thank you! Am 31.05.21 um 11:33 schrieb Hans Hagen: you can wrap such a patch in: \ifcsname\??xtableflushsplit\v!repeat\endcsname \else \fi to make sure that it's not overloading something built in if I do this, I get: suggestion  > use

Re: [NTG-context] new page before xtable with repeated headers

2021-05-31 Thread Hans Hagen
    \exitloop   \else     \page   \fi}} \protect cont-new will be overwritten so when you put a patch in there you need to check a next upload if that patch is permanent you can also put patched in a cont-loc file (make sure that you run mtxrun --generate after making one

Re: [NTG-context] new page before xtable with repeated headers

2021-05-31 Thread Werner Hennrich
\??xtableflushsplit\v!repeat\endcsname   {\doloop {\clf_x_table_flush     method {\v!split}%     height \ifdim\pagegoal=\maxdimen\textheight\else\dimexpr\pagegoal-\pagetotal\relax\fi   \relax   \ifcase\c_tabl_x_state     \exitloop   \else     \page   \fi

Re: [NTG-context] Adjusting parameters for a single page

2021-05-11 Thread denis.maier
Von: ntg-context Im Auftrag von luigi scarso Gesendet: Dienstag, 11. Mai 2021 10:41 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Adjusting parameters for a single page On Tue, May 11, 2021 at 10:29 AM mailto:denis.ma...@ub.unibe.ch>> wrote: -Ursprüngliche Nac

Re: [NTG-context] Adjusting parameters for a single page

2021-05-11 Thread luigi scarso
On Tue, May 11, 2021 at 10:29 AM wrote: > -Ursprüngliche Nachricht- > > Von: Hans Hagen > > Gesendet: Dienstag, 11. Mai 2021 00:13 > > An: mailing list for ConTeXt users ; Maier, Denis > > Christian (UB) > > Betreff: Re: [NTG-context] Adjusting paramete

Re: [NTG-context] Adjusting parameters for a single page

2021-05-11 Thread denis.maier
-Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Dienstag, 11. Mai 2021 00:13 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) > Betreff: Re: [NTG-context] Adjusting parameters for a single page > > On 5/10/2021 5:15 PM, denis.ma...@ub.u

Re: [NTG-context] Adjusting parameters for a single page

2021-05-11 Thread denis.maier
Thanks, Hans, really interesting stuff. > so, basically, you have a lot of control, all together some 36 parameters > (pablo probably loves the somewhat secret on the fly adjustspacing step, > stretch and shrink tweakability) Any hints where I can find these 36 parameters? Thanks for your help,

Re: [NTG-context] Adjusting parameters for a single page

2021-05-10 Thread Hans Hagen
mechanism for page-layout changes? For example your penalty settings allow widows and orphans, but on one particular page you want to change the penalties. Or, you use \setupalign[height], but on one page you want to use \setupalign[bottom] instead. Is there a way to do this ? it works per

[NTG-context] Adjusting parameters for a single page

2021-05-10 Thread denis.maier
Hi everyone, I know it is possible to make local changes by enclosing text in \start \stop pairs to make local changes. Then, there are also commands that only affect the next/current paragraph, such as \looseness. But is there a similar mechanism for page-layout changes? For example your

[NTG-context] conditionally add \vfill before section if at end of page

2021-05-04 Thread denis.maier
as this is on the middle of the page \section{Section} \input knuth\par \stoptext == However, I don't want the stretching if the next page starts with a section heading. Is there any way to add a \vfill on a page immediately before a section heading? \doifatpageborder \doifatpagestart

Re: [NTG-context] new page before xtable with repeated headers

2021-04-26 Thread Werner Hennrich
Am 25.04.21 um 10:52 schrieb Wolfgang Schuster: Yes, some slack is needed to avoid the table being pushed to the next space because not enough space is available. I recommend also to ensure a minimum amount of space (e.g. 5 lines) is available to avoid tables with just a few rows. Wolfgang I

Re: [NTG-context] new page before xtable with repeated headers

2021-04-24 Thread Werner Hennrich
Thank you Hans, this works well in my unchanged MWE - I'll do some more rigorous testing on monday and let you know. Thanks a lot and hava a nice weekend! Werner Am 23.04.21 um 21:28 schrieb Hans Hagen: Always tricky this (on my agenda is to look into the engines page builder ...) You can

Re: [NTG-context] new page before xtable with repeated headers

2021-04-23 Thread Hans Hagen
On 4/23/2021 11:33 AM, Werner Hennrich wrote: Hello everyone, I'm having an xtable spanning several pages and need to have its headers repeated. For this I've set "split=repeat", but unfortunately this causes the table to start with a new new page leaving the rest of the prece

[NTG-context] new page before xtable with repeated headers

2021-04-23 Thread Werner Hennrich
Hello everyone, I'm having an xtable spanning several pages and need to have its headers repeated. For this I've set "split=repeat", but unfortunately this causes the table to start with a new new page leaving the rest of the preceding page empty. Having "split=yes" mak

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
Hi, in addition to my previous mails about \setupalign[height], a further question related to page building : I'm trying to understand how ConTeXt builds pages, and how this can be influenced. Regarding the example below, the aim is to have pages that always end at the same place. Now, how

Re: [NTG-context] \externalfigure for only one page of a multiple page pdf

2021-04-18 Thread a . rosenstock
Thank you, Hraban!   A.     Gesendet: Donnerstag, 15. April 2021 um 19:01 Uhr Von: "Henning Hraban Ramm" An: "mailing list for ConTeXt users" Betreff: Re: [NTG-context] \externalfigure for only one page of a multiple page pdf > Am 15.04.2021 um 18:55 schrieb a.rosens

Re: [NTG-context] \externalfigure for only one page of a multiple page pdf

2021-04-15 Thread Henning Hraban Ramm
> Am 15.04.2021 um 18:55 schrieb a.rosenst...@web.de: > > Hi all, > > how is it possible to include only one page of a multiple page pdf in my > document? I found nothing in the manuals ... Dou you mean via \externalfigure? It has a documented "page" parameter: ht

[NTG-context] \externalfigure for only one page of a multiple page pdf

2021-04-15 Thread a . rosenstock
Hi all,   how is it possible to include only one page of a multiple page pdf in my document? I found nothing in the manuals ...   Thank you in advance,   Alexander     ___ If your question is of interest

Re: [NTG-context] working on page refs with MP

2021-03-19 Thread Werner Hennrich
yes I had realized this already but I still don't know how to get those page numbers down into MP - they keep being strings with macro code instead is there a way the I can get \setupMPvariables[hdrPgs] in \setupheadertexts[\setups{page:header}] to be fully evaluated and stored as the page

Re: [NTG-context] working on page refs with MP

2021-03-18 Thread Hans Hagen
On 3/18/2021 6:14 PM, Werner Hennrich wrote: metafun > log > metafun > log > error: Improper subscript has been replaced by zero metapost    > log > <*> ... numeric numFirst; numFirst := \ref [page] watch closely to the previous log line ... you're mi

[NTG-context] working on page refs with MP

2021-03-18 Thread Werner Hennrich
Hello everyone, I'm having page references and want to calc / draw 'Page x of y' for some subsections in MP. How can I pass 'em down so I end up with numbers to do calculations with? \setuplayout[header=15mm] \def\myHeader[#1]#2{ \ignorespaces \getdummyparameters[ref=,next=,#1

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-18 Thread denis.maier
for ConTeXt users ; Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Add items to list with arbitrary page number On 3/17/2021 6:19 PM, denis.ma...@ub.unibe.ch wrote: > Hi, > > I need to add an item to a list with an arbitrary page number. (The > reason is that I have a multivolume book

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-17 Thread Hans Hagen
On 3/17/2021 6:19 PM, denis.ma...@ub.unibe.ch wrote: Hi, I need to add an item to a list with an arbitrary page number. (The reason is that I have a multivolume book, and I want to add information about the other books to the TOC) I know about this: \writetolist[section]{}{It's a test

[NTG-context] Add items to list with arbitrary page number

2021-03-17 Thread denis.maier
Hi, I need to add an item to a list with an arbitrary page number. (The reason is that I have a multivolume book, and I want to add information about the other books to the TOC) I know about this: \writetolist[section]{}{It's a test} But how can you add an arbitrary page number ? Best, Denis

[NTG-context] RE : Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Joseph
Hi Wolfang,Sorry for the noise, I should have been a bit more careful on this one. Thanks a lot for the tip.Joseph De : Wolfgang SchusterEnvoyé le :samedi 13 février 2021 12:41À : mailing list for ConTeXt usersCc : JosephObjet :Re: [NTG-context] Font issue with page header with latest LMTX beta

Re: [NTG-context] Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Wolfgang Schuster
Joseph schrieb am 13.02.2021 um 12:35: Dear list It seems that \setupheader[style=\BigFont] Where \BigFont is defined with \definefont Does not have effect with latest LMTX. Page headers have same font as page body text (in my case it’s same font but larger in headers). Hi Joseph

[NTG-context] Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Joseph
Dear list It seems that  \setupheader[style=\BigFont] Where \BigFont is defined with \definefont Does not have effect with latest LMTX. Page headers have same font as page body text (in my case it’s same font but larger in headers). Will try to work out a MWE if needed.Thanks Best regards Joseph

Re: [NTG-context] prevent error page

2021-01-01 Thread Johann Birnick
saying "error". This makes my pdf viewer crash! > > I can't work like this. > > > > So how to prevent this "error" page and just let context remain the pdf > > untouched if there is an error? > Actually the remaining file is not untouched when there is an error &

Re: [NTG-context] prevent error page

2021-01-01 Thread Hans Hagen
. But now with LMTX, the pdf will be overwritten with a pdf just saying "error". This makes my pdf viewer crash! I can't work like this. So how to prevent this "error" page and just let context remain the pdf untouched if there is an error? Actually the remaining file i

Re: [NTG-context] prevent error page

2020-12-31 Thread Aditya Mahajan
f file just remainded untouched, nice. But now with LMTX, the pdf will > be > overwritten with a pdf just saying "error". This makes my pdf viewer crash! > I can't work like this. > > So how to prevent this "error" page and just let context remain the pdf > untouched

[NTG-context] prevent error page

2020-12-31 Thread Johann Birnick
with a pdf just saying "error". This makes my pdf viewer crash! I can't work like this. So how to prevent this "error" page and just let context remain the pdf untouched if there is an error?

Re: [NTG-context] Unnecessary page break, leaving lines empty

2020-12-11 Thread Wolfgang Schuster
Huseyin Özoguz schrieb am 11.12.2020 um 11:56: Hello, I have an unnecessary pagebreak in the following min-example: the last four lines of the first page are left empty, without obvious reason: \setupinterlinespace[line=3.0ex] \setupbodyfont[10pt] \showgrid \setuplayout  [location=middle

[NTG-context] Unnecessary page break, leaving lines empty

2020-12-11 Thread Huseyin Özoguz
Hello, I have an unnecessary pagebreak in the following min-example: the last four lines of the first page are left empty, without obvious reason: \setupinterlinespace[line=3.0ex] \setupbodyfont[10pt] \showgrid \setuplayout  [location=middle,   topspace=17mm,   header=0mm,   footer=12mm

Re: [NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Damien Thiriet
> \setuppagenumbering[alternative=doublesided] That solved the problem, thanks. Damien Thiriet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Damien Thiriet
Hi, \setuphead[subject] [page={yes,right}] \starttext \startsubject[title=test 1] \input ward \stopsubject \startsubject[title=test 2] \input ward \stopsubject \stoptext makes the job on ConTeXt online, but doesn't with my lmtx version. Did the syntax change in lmtx? Best regards

[NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Damien Thiriet
Hi, The following MWE does not give the output I expect, that is subject starting on page 1 and 3. What did I miss? \setuphead[subject] [page=right] \starttext \startsubject[title=test 1] \input ward \stopsubject \startsubject[title=test 2] \input ward \stopsubject \stoptext Damien Thiriet

Re: [NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 3:20 PM, Damien Thiriet wrote: > Hi, > > \setuphead[subject] [page={yes,right}] > [...] > makes the job on ConTeXt online, but doesn't with my lmtx version. Hi Damien, https://live.contextgarden.net/cgi-bin/result.cgi?id=EXmDKW gives the expected output: no double

Re: [NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 3:07 PM, Damien Thiriet wrote: > Hi, > > The following MWE does not give the output I expect, > that is subject starting on page 1 and 3. > What did I miss? Hi Damien, by default, ConTeXt generates single-sided documents. If double-sided documents are needed, pro

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Aditya Mahajan
On Tue, 10 Nov 2020, Sylvain Hubert wrote: > Indeed. Thanks for the information! > > For the record, this is how the problem is finally solved: > > \setuphead[section][after={\blank[sampage]}] > \begingroup\setupindenting[no]\dontleavehmode\startxtable … > \stopxtable\endgroup Unless

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 19:23, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 10.11.2020 um 19:11: > > > Weirdly enough, "\hskip 0pt" solves the problem. > > > > \setuphead[section][after={\blank[samepage]\hskip 0pt}] > > \starttext > >

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 19:11: Weirdly enough, "\hskip 0pt" solves the problem.     \setuphead[section][after={\blank[samepage]\hskip 0pt}]     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec]     \startxtable What happens when you \hskip

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 18:25, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 10.11.2020 um 18:06: > > > Thanks for the suggestion, but as illustrated by the second example, > > copied here, where the section title i

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 18:06: Thanks for the suggestion, but as illustrated by the second example, copied here, where the section title is at the top of the page:     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec][before={\blank[preference

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
the section title appears at the very end of > >> the first page. > >> [...] > >> Does anyone know where to adjust the penalty in this case, so that the > >> section title can be repositioned to the next page? > > Hi Sylvain, > > > >\s

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 17:37, Pablo Rodriguez wrote: > On 11/10/20 5:23 PM, Sylvain Hubert wrote: > > My mistake, but the problem survives the fix: > > > > \setuphead[section][after={\blank[samepage,big]}] > > \starttext > > \showframe > > \dorecurse{50}{a } > >

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 10.11.2020 um 15:59: On 11/10/20 9:55 AM, Sylvain Hubert wrote: Dear List, In the following example, the section title appears at the very end of the first page. [...] Does anyone know where to adjust the penalty in this case, so that the section title can

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 5:23 PM, Sylvain Hubert wrote: > My mistake, but the problem survives the fix: > >     \setuphead[section][after={\blank[samepage,big]}] >     \starttext >     \showframe >     \dorecurse{50}{a } >     \startsection[title=spec] >     \startxtable Hi Sylvain, no fix is required when

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
t;> > >> > In the following example, the section title appears at the very end of >> > the first page. >> > [...] >> > Does anyone know where to adjust the penalty in this case, so that the >> > section title can be repositioned to the next page? >

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 16:00, Pablo Rodriguez wrote: > On 11/10/20 9:55 AM, Sylvain Hubert wrote: > > Dear List, > > > > In the following example, the section title appears at the very end of > > the first page. > > [...] > > Does anyone know where

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