[NTG-context] Re: unwanted blank page

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 09:57, madiazm.eo...@gmail.com wrote: > Thanks a lot Pablo for your comments, I think my bad English did not > let me be clear. Sorry (also for my delay in answering), but it was totally my fault (I totally missed your point).. Pablo

[NTG-context] Re: unwanted blank page

2023-11-22 Thread madiazm . eoicc
Thanks a lot Pablo for your comments, I think my bad Englisch did not let me be clear. I just wanted to show my trick not to get the first page numbered, hiding the number with [location=] and then changing the number format to the wished option. I was not asking a question. Of course, since

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
On 11/19/23 23:34, madiazm.eo...@gmail.com wrote: > sorry if i dont get your problem right understood, but i'm completely > new to context. Hi Miguel, I’m afraid it isn’t entirely clear whether you intend to ask something or not. > I use a hack not to get the number not printed in the title

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
sorry if i dont get your problem right understood, but i'm completely new to context. I use a hack not to get the number not printed in the title page (though I define sectionblocks for keeping different numbering systems for the table of contents and the document) I use

[NTG-context] Re: unwanted blank page

2023-11-19 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 19.11.2023 um 11:56: I should have a first page without pagenumber and pagenumbers on the subsequent ones. However the MWE here introduces an unwanted blank page from the call to \setuppagenumbering[state=start]. And the \setuppagenumbering has

[NTG-context] unwanted blank page

2023-11-19 Thread Hans van der Meer via ntg-context
I should have a first page without pagenumber and pagenumbers on the subsequent ones.However the MWE here introduces an unwanted blank page from the call to \setuppagenumbering[state=start].And the \setuppagenumbering has to come after the \page, of course.Should I program otherwise? yours

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
Alan Braslau schrieb am 06.07.2023 um 17:14: On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote: Add "doublesided=no" to your makeup settings. Wolfgang Thank you. I have doublesided=no in the makeup, but this makeup is not used by \startpagefigure. The problem is with \startpagefigure

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote: Add "doublesided=no" to your makeup settings. Wolfgang Thank you. I have doublesided=no in the makeup, but this makeup is not used by \startpagefigure. The problem is with \startpagefigure that is outside of makeup, that is it is

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
Alan Braslau via ntg-context schrieb am 06.07.2023 um 11:58: On 06/07/23 06/07/23, 10:14, Henning Hraban Ramm wrote: Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" pag

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
] back \stopmakeup \startfrontmatter ... \stopfrontmatter ... \stopdocument inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. Not including the two \startpagefigure lines eliminates the blank page

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 11:58 schrieb Alan Braslau: Maybe it’s also a problem of \startdocument – I always get a first empty page and don’t understand why. One gets an empty first page if there is *any* text content anywhere in the setups or environment files before the \startdocument. My problem

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 10:14, Henning Hraban Ramm wrote: Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. I don’t know if it he

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. I don’t know if it helps, but did you set \setupsectionblock[frontpart][page=no

[NTG-context] Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
... \stopdocument inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. Not including the two \startpagefigure lines eliminates the blank page following the back side title page (and the other one between

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Wolfgang Schuster via ntg-context
), inserting a "blank" even page if necessary. How can I get this blank even page to be truely blank, that is with no headers nor footers? I tried several thinks and must be missing something really simple and obvious. \setuphead [...] [page={yes,header,footer,right}] Wolfgang

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Alan Braslau via ntg-context
On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote: Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Wolfgang Schuster via ntg-context
Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be tr

[NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Alan Braslau via ntg-context
Hello, \setuphead [part,chapter,title] [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be truely blank, that is with no headers nor footers? I tried several think

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-29 Thread cryo shock via ntg-context
le understanding some basic blank page behavior. I hope > > that somebody of you can point me in the right direction. > > > > My primary goal is to create application documents consisting of various > > .tex components and with external PDF pages inserted as well. The second &

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-25 Thread Hans Hagen via ntg-context
On 7/24/2022 11:35 PM, cryo shock via ntg-context wrote: Hey there, I am having trouble understanding some basic blank page behavior. I hope that somebody of you can point me in the right direction. My primary goal is to create application documents consisting of various .tex components

[NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-24 Thread cryo shock via ntg-context
Hey there, I am having trouble understanding some basic blank page behavior. I hope that somebody of you can point me in the right direction. My primary goal is to create application documents consisting of various .tex components and with external PDF pages inserted as well. The second part

Re: [NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 17.01.2022 um 17:11: I created a book that strangely renders with an entirely blank page. There are tons and tons of macros, in dozens of files defined before the document starts, but the document itself starts quite simply with a title page set inside

[NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Joel via ntg-context
I created a book that strangely renders with an entirely blank page. There are tons and tons of macros, in dozens of files defined before the document starts, but the document itself starts quite simply with a title page set inside \startfrontmatter. How can I identify what types of preamble

[NTG-context] Blank lines discarded when \typing

2021-12-03 Thread Thangalin via ntg-context
Note the presence of double-spaced blank lines in the following document and in the attached source file: \setuptyping[numbering=line] \starttext \startbuffer[javacode] try { final var num = stack.pop(); if( num != null ) { stack.push( blah ); } return true; } \stopbuffer \type

[NTG-context] Blank line after \item: MkIV vs LMTX and how to properly get rid of it

2021-09-30 Thread Vladimir Lomov via ntg-context
Hello. Consider the following small example: 8< -- \starttext \startitemize[n] \item \input tufte \item \placefigure[right,none]{}{\externalfigure[cow]}% \input tufte \item \blank[overlay]% \placefigure[right,n

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

2021-08-15 Thread Joey McCollum via ntg-context
d of the page or column. Based on these constraints, I thought > > that using the "samepage" and "preference" options for the first and > second > > line breaks would work nicely: > > > > ``` > > \define\SectionBreak{% > > \blank[halfline, sam

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

2021-08-14 Thread Aditya Mahajan via ntg-context
ingle orphaned line follow the symbol > at the end of the page or column. Based on these constraints, I thought > that using the "samepage" and "preference" options for the first and second > line breaks would work nicely: > > ``` > \define\SectionBreak{% >

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

2021-08-14 Thread Joey McCollum via ntg-context
that using the "samepage" and "preference" options for the first and second line breaks would work nicely: ``` \define\SectionBreak{% \blank[halfline, samepage]% non-breaking to ensure that no column begins with the section break symbol \startalignment[middle]%

Re: [NTG-context] Suppressing headers and footers on blank pages before pagebreak at the end of a chapter.

2021-04-07 Thread Wolfgang Schuster
. If the chapter before ends on a right page, too, there should be a blank left/even page. But in my case there is the pagenumber in the footer – which looks more horrible than an orphan line. A. Which setting in which setup or definition gives a command like: suppress/skip/hide the header, footer

[NTG-context] Suppressing headers and footers on blank pages before pagebreak at the end of a chapter.

2021-04-07 Thread rha17
, there should be a blank left/even page. But in my case there is the pagenumber in the footer – which looks more horrible than an orphan line. A. Which setting in which setup or definition gives a command like: suppress/skip/hide the header, footer and margin of last page of a chapter, if the text area

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-17 Thread Jeong Dal
Dear Hans, It is very interesting example. Thank you for a new method. Best regards, Dalyoung > > \def\determinednoflines#1% > {\localcontrolled{\determinenoflines{#1}}\noflines} > > \startbuffer >\input tufte > \stopbuffer > > \fillinrules[n=\determinednoflines{\getbuffer}, >

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-17 Thread Hans Hagen
{\doifmode{hideSolution}{\starteffect[hidden]}} \def\StopHide{\doifmode{hideSolution}{\stopeffect\blank[\the\noflines*line + \the\noflines*halfline]}} \enablemode[hideSolution] \starttext The first line. \hrule \StartHide \samplefile{knuth} \determinenoflines{\samplefile{knuth}} \StopHide \hrule

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-16 Thread Jeong Dal
]}} \def\StopHide{\doifmode{hideSolution}{\stopeffect\blank[\the\noflines*line + \the\noflines*halfline]}} \enablemode[hideSolution] \starttext The first line. \hrule \StartHide \samplefile{knuth} \determinenoflines{\samplefile{knuth}} \StopHide \hrule The second line. \hrule \StartHide

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-14 Thread Jeong Dal
add more blank spaces else show full text and no more space. endif The full text for the students another for the lecture. Is there a way not using \framedtext? Thank you again. Best regards, Dalyoung __

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-13 Thread Hans Hagen
On 3/12/2021 10:08 PM, Jeong Dal wrote: Hi, Sometimes, I need to hide the solution of a problem. So I use \doifmode{} and \starteffect[hidden] as in the following sample file. Since I want to set more blank space if it is hidden, I add \blank[5cm] when it is in the \enablemode[hideSolution

[NTG-context] add more blank space when using \starteffect[hidden]

2021-03-12 Thread Jeong Dal
Hi, Sometimes, I need to hide the solution of a problem. So I use \doifmode{} and \starteffect[hidden] as in the following sample file. Since I want to set more blank space if it is hidden, I add \blank[5cm] when it is in the \enablemode[hideSolution]. It works well except the figures and bars

[NTG-context] blank pages bug [pagecolumns]

2021-01-01 Thread Johann Birnick
Hi there, I noticed a bug when using pagecolumns. If there is a title on the right column, a blank page gets added at the end of the document. For example \starttext \startpagecolumns[n=2] \title{lorem} \title{ipsum

Re: [NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread Sylvain Hubert
On Thu, 5 Nov 2020 at 14:21, mf wrote: > \blank[.25\paperheight,force] > > A blank at the top of a page is ignored, because usually you use a blank > as a separator, that is useless at the top of a page, because the page > break is enough to separate two texts. > > Somet

Re: [NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread Sylvain Hubert
Hi Thomas, Thanks for sharing the trick, it did help me! Sylvain On Thu, 5 Nov 2020 at 13:55, Tomas Hala wrote: > Hi Sylvain, > > on my computer (TL2020) I am not able to compile \blank with any command > defining the dimension (2\paperheight, 0.25\paperheight, .25\paperhei

Re: [NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread mf
Il 05/11/20 13:26, Sylvain Hubert ha scritto: Dear List, I'm trying to put the document title at around .25\paperheight by inserting a \blank:     \setuplayout[topspace=0cm, header=0cm, height=\paperheight]     \starttext \blank[.25\paperheight] foo \stoptext \blank[.25\paperheight

Re: [NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread Tomas Hala
Hi Sylvain, on my computer (TL2020) I am not able to compile \blank with any command defining the dimension (2\paperheight, 0.25\paperheight, .25\paperheight). I do not know why... But if I use another dimension, eg. 5*big or 20cc, it works with \dontleavehmode: \starttext \dontleavehmode

[NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread Sylvain Hubert
Dear List, I'm trying to put the document title at around .25\paperheight by inserting a \blank: \setuplayout[topspace=0cm, header=0cm, height=\paperheight] \starttext \blank[.25\paperheight] foo \stoptext But the "foo" still appears at the very top. Does anyone know why

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

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

2020-06-18 Thread James Withers
\setuphead[chapter][before={\blank[4*big]}] \starttext \startchapter[title={No space above this chapter}] chapter text etc \stopchapter \setuphead[chapter][before={\blank[4*big,force]}] \startchapter[title={Chapter with spacing but out of line with grid}] chapter text etc \stopchapter \setuphead

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] Blank page added after pagecolumns

2020-05-16 Thread Joey McCollum
ot;) suggests that they should be related the parameters > > "page=yes" and "page=no" (hence, no page, which is what I think "nop" > > abbreviates), but the choice of which implementation to use is > > determined not by the page parameter, but by the n pa

Re: [NTG-context] Blank page added after pagecolumns

2020-05-16 Thread Wolfgang Schuster
incorrectly? Is there some reason why a layout with more than one column would need special instructions to add a blank page after stopping the environment? Why do you think "yes" and "nop" are related to the page-key? In any event, I was able to solve the problem by patching

Re: [NTG-context] Blank page added after pagecolumns

2020-05-15 Thread Joey McCollum
nce, no page, which is what I think "nop" abbreviates), but the choice of which implementation to use is determined not by the page parameter, but by the n parameter. Is this an error in the code, or am I just understanding this incorrectly? Is there some reason why a layout with more than one c

Re: [NTG-context] Blank page added after pagecolumns

2020-05-14 Thread Joey McCollum
calls does the trick in this case, but now, if the last page ends with its text in a column before the last one, then the last page is not typeset at all, and a blank page takes its place. On Sun, May 10, 2020 at 8:34 PM Thangalin wrote: > Bump. > > See also: https://tex.stackexchange.com

Re: [NTG-context] Blank page added after pagecolumns

2020-05-10 Thread Thangalin
Bump. See also: https://tex.stackexchange.com/q/542993/2148 On Mon, May 4, 2020 at 11:46 AM Joey McCollum wrote: > > After continuing to look into this a bit, I noticed that a similar issue > involving the insertion of a blank page after a columnset environment has > be

Re: [NTG-context] Blank page added after pagecolumns

2020-05-04 Thread Joey McCollum
After continuing to look into this a bit, I noticed that a similar issue involving the insertion of a blank page after a columnset environment has been discussed on the mailing list in the thread "Blank page inserted when text reaches column's end" (dated 08 Dec 2019). In that thread,

Re: [NTG-context] Blank page added after pagecolumns

2020-05-02 Thread Joey McCollum
I recently found the pagecolumns manual ( http://www.pragma-ade.com/general/manuals/pagecolumns.pdf), and in several of the examples (including those for side floats and footnotes), the addition of a blank page after the end of the pagecolumns environment also seems to occur. So when the manual

[NTG-context] Blank page added after pagecolumns

2020-04-28 Thread Joey McCollum
I am typesetting a document using pagecolumns to ensure that my footnotes are set ragged-bottom in columns. I have observed some unexpected behavior whenever the last column on a page is left incomplete: a blank page is added at the end of the document. A minimal working example follows

Re: [NTG-context] blank[\lineheight] works with LMTX, fails with MkIV

2019-12-21 Thread Wolfgang Schuster
mf schrieb am 21.12.2019 um 11:07: Il 20/12/19 20:04, Rik Kabel ha scritto: MkIV fails with tex error > tex error on line 3 in file c://Users/micro/Desktop/fail.tex: ! Missing \endcsname inserted given the following mwe: \starttext a \blank[\lineheight]

Re: [NTG-context] blank[\lineheight] works with LMTX, fails with MkIV

2019-12-21 Thread mf
Il 20/12/19 20:04, Rik Kabel ha scritto: MkIV fails with tex error > tex error on line 3 in file c://Users/micro/Desktop/fail.tex: ! Missing \endcsname inserted given the following mwe: \starttext a \blank[\lineheight] z \stoptext Not criti

[NTG-context] blank[\lineheight] works with LMTX, fails with MkIV

2019-12-20 Thread Rik Kabel
MkIV fails with tex error > tex error on line 3 in file c://Users/micro/Desktop/fail.tex: ! Missing \endcsname inserted given the following mwe: \starttext a \blank[\lineheight] z \stoptext Not critical as there are lots of ways to do this, but it seems stra

Re: [NTG-context] Blank page inserted when text reaches column's end

2019-12-10 Thread Wolfgang Schuster
Thangalin schrieb am 11.12.2019 um 02:51: Commenting out the \page_grd_command_flush_page macro seems to have reversed the effect. Any pages having columnar text that does not extend to the last line are now suppressed. How would I go about adding a conditional that checks to see whether the

Re: [NTG-context] Blank page inserted when text reaches column's end

2019-12-10 Thread Thangalin
Commenting out the \page_grd_command_flush_page macro seems to have reversed the effect. Any pages having columnar text that does not extend to the last line are now suppressed. How would I go about adding a conditional that checks to see whether the column is filled before deciding if a page

Re: [NTG-context] Blank page inserted when text reaches column's end

2019-12-09 Thread Thangalin
Thank you both. Neither approach removes the blank page with either version 2019.06.11 or 2019.12.06 on Linux. Is there a specific version of ConTeXt required? The code to generate the document resembles: \setuppagenumbering[alternative=doublesided,page=no] \installpagebreakhandler{last

Re: [NTG-context] Blank page inserted when text reaches column's end

2019-12-09 Thread Wolfgang Schuster
Denis Maier schrieb am 09.12.2019 um 09:41: Am 09.12.2019 um 00:44 schrieb Thangalin: When text reaches the end of a column, it appears to trigger inserting a blank page. In the following code, \dorecurse{3} causes a blank page to appear but \dorecurse{2} does not. The only difference

Re: [NTG-context] Blank page inserted when text reaches column's end

2019-12-09 Thread Denis Maier
Am 09.12.2019 um 00:44 schrieb Thangalin: When text reaches the end of a column, it appears to trigger inserting a blank page. In the following code, \dorecurse{3} causes a blank page to appear but \dorecurse{2} does not. The only difference is that when set to 3, the additional text is written

[NTG-context] Blank page inserted when text reaches column's end

2019-12-08 Thread Thangalin
When text reaches the end of a column, it appears to trigger inserting a blank page. In the following code, \dorecurse{3} causes a blank page to appear but \dorecurse{2} does not. The only difference is that when set to 3, the additional text is written on the last line of the last column

Re: [NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Wolfgang Schuster
Thangalin schrieb am 06.12.2019 um 17:17: Hi there, How do I suppress the blank page in the following document while maintaining the asymmetrical multicolumn layout? The problem centres around "page=yes," whereby removing it eliminates the blank page, but then wreaks havoc on th

[NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Thangalin
Hi there, How do I suppress the blank page in the following document while maintaining the asymmetrical multicolumn layout? The problem centres around "page=yes," whereby removing it eliminates the blank page, but then wreaks havoc on the document layout. \definepapersize[BookPaperS

Re: [NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Kerry Sainsbury
; > \setuppagenumbering [alternative=doublesided] generates a blank page > between chapters. > > > > Am I doing something wrong, or is this just a bug? > > What Wolfgang said, and you probably want > > \setuphead[chapter][page=yes] % or "no", but not

Re: [NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Henning Hraban Ramm
> Am 2019-10-30 um 19:58 schrieb Kerry Sainsbury : > > Hi there, > > I am a newbie, and have seem to have discovered that > \setuppagenumbering [alternative=doublesided] generates a blank page between > chapters. > > Am I doing something wrong, or is this just

Re: [NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Wolfgang Schuster
Kerry Sainsbury schrieb am 30.10.2019 um 19:58: Hi there, I am a newbie, and have /seem/ to have discovered that \setuppagenumbering [alternative=doublesided] generates a blank page between chapters. \setupheadertexts[chapter] \setuppagenumbering [alternative=doublesided,location={header

[NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Kerry Sainsbury
Hi there, I am a newbie, and have *seem* to have discovered that \setuppagenumbering [alternative=doublesided] generates a blank page between chapters. \setupheadertexts[chapter] \setuppagenumbering [alternative=doublesided,location={header,inmargin}] \starttext \startchapter[title={October

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-17 Thread Taco Hoekwater
Hi, > On 17 Jan 2019, at 12:27, Jan U. Hasecke wrote: > > Am 14.01.19 um 19:25 schrieb Wolfgang Schuster: > >> >>> I'll try to wikify this later this week. > > I wikified it here: > https://wiki.contextgarden.net/Command/setuphead > > Is there a way to suppress the context output? > The

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-17 Thread Jan U. Hasecke
Am 14.01.19 um 19:25 schrieb Wolfgang Schuster: > >> I'll try to wikify this later this week. I wikified it here: https://wiki.contextgarden.net/Command/setuphead Is there a way to suppress the context output? The output does not show the effect. juh

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-14 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 14.01.19 um 08:39: Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: Here is a example which shows how you can change the background color of a empty page before the chapter title. \setuppagenumbering   [alternative=doublesided] \startsetups [chapter:before]  

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Jan U. Hasecke
Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: > Here is a example which shows how you can change the background color > of a empty page before the chapter title. > > \setuppagenumbering >   [alternative=doublesided] > > \startsetups [chapter:before] >   \doifoddpageelse >     {} >    

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 12.01.19 um 22:08: Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Rik Kabel
On 1/12/2019 16:08, Jan U. Hasecke wrote: Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: > On Sat, 12 Jan 2019, Jan U. Hasecke wrote: > >> Hi all, >> >> in my document \startchapter and \starttitle starts a new chapter on the >> right (odd) page. So sometimes, there is a blank even page just be

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Aditya Mahajan
On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate this blank even page. There are several things I would

[NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers

[NTG-context] Spurious breaks in export when blank line ends paragraph

2018-08-21 Thread Rik Kabel
List, My understanding of start/stop macros such as \startparagraph...\stopparagraph has been that blank lines are allowed between the block of text and the macros, as \startparagraph This is the text of the paragraph \stopparagraph However, in xml exports the blank line before

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-16 Thread Rik
On 8/16/2018 10:55, Aditya Mahajan wrote: On Wed, 15 Aug 2018, Rik Kabel wrote: I suspect that the issue in the larger project has to do with quoting for the RE ("^\\relax") since compilation fails with:   %% \stopAttribution ...getcontent("Attribution"),"^\\   %%

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-16 Thread Aditya Mahajan
On Wed, 15 Aug 2018, Rik Kabel wrote: On 8/15/2018 03:07, Hans Hagen wrote: On 8/15/2018 5:31 AM, Aditya Mahajan wrote: On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua,

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-15 Thread Rik Kabel
On 8/15/2018 03:07, Hans Hagen wrote: On 8/15/2018 5:31 AM, Aditya Mahajan wrote: On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua, buffers.getcontent('name') gives the

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-15 Thread Hans Hagen
On 8/15/2018 5:31 AM, Aditya Mahajan wrote: On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua, buffers.getcontent('name') gives the contents of the buffer labelled 'name'.

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-14 Thread Aditya Mahajan
On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua, buffers.getcontent('name') gives the contents of the buffer labelled 'name'. You can post-process this in whatever way you

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-14 Thread Rik Kabel
]   \startparagraph     \BeforePar{\dontleavehmode\llap{? }}\GotoPar     \inlinebuffer[TestBuffer]   \stopparagraph   \stopnarrower   \egroup \stoptexdefinition \starttexdefinition stopBufTest   \startnarrower[left,right]   \startparagraph     \dontleavehmode\llap{? }%     \blank

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
{\dontleavehmode\llap{? }}\GotoPar     \inlinebuffer[TestBuffer]   \stopparagraph   \stopnarrower   \egroup \stoptexdefinition \starttexdefinition stopBufTest   \startnarrower[left,right]   \startparagraph     \dontleavehmode\llap{? }%     \blank[overlay]     \inlinebuffer[TestBuffer

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Wolfgang Schuster
[TestBuffer] \stopparagraph \stopnarrower \egroup \stoptexdefinition \starttexdefinition stopBufTest \startnarrower[left,right] \startparagraph \dontleavehmode\llap{? }% \blank[overlay] \inlinebuffer[TestBuffer] \stopparagraph \stopnarrower \egroup

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
  \egroup \stoptexdefinition \starttext \startBufTest   Buffer without blank lines. \stopBufTest \startBufTest   Buffer with blank lines. \stopBufTest \startBufTest[key=value]   Buffer with \type{[key=value]}. \stopBufTest \stoptext -- Rik

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 10:28, Rik Kabel wrote: That works for the over-simplified case here, but fails in practice. For a \startnarrower[left] paragraph, the mark is still in the main margin, not the 'margin' of the narrowed paragraph. Also, the placement of the text in the margin is wrong and not

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Wolfgang Schuster
for storing the quotations. I realize I am combining presentation elements, like label, tolerance, and precis, and content elements, like language, and some that may be either, like align and font, in the attributes, but will deal with that later.) I prefer to leave blank lines around blocks of text

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
elements, like label, tolerance, and precis, and content elements, like language, and some that may be either, like align and font, in the attributes, but will deal with that later.) I prefer to leave blank lines around blocks of text and around macro commands, so: \startparagraph

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 10:28, Rik Kabel wrote: On 8/13/2018 03:01, Hans Hagen wrote: On 8/13/2018 5:18 AM, Rik Kabel wrote:   \startparagraph % \dontleavehmode\llap{\Mark}\inlinebuffer[TestBuffer] % \ (first: \First, arg: \Arg)     \margintext{\Mark}     \setupparagraphintro[first][(first:

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Wolfgang Schuster
Rik Kabel schrieb am 13.08.18 um 16:28: Hans, That works for the over-simplified case here, but fails in practice. For a \startnarrower[left] paragraph, the mark is still in the main margin, not the 'margin' of the narrowed paragraph. Also, the placement of the text in the margin is wrong

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 03:01, Hans Hagen wrote: On 8/13/2018 5:18 AM, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %%   commands that grab a buffer can be used in the same way as, for %%   example, \startparagraph...\stopparagraph, which allow blank %%   lines

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Hans Hagen
On 8/13/2018 5:46 AM, Henri Menke wrote: % Ignore first \par \def\par{\let\par\normalpar} Sort of dangerous ... redefining such core commands or primitives can have side effects as one never knows what explicit \par's are issued. Hans

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Hans Hagen
On 8/13/2018 5:18 AM, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %%   commands that grab a buffer can be used in the same way as, for %%   example, \startparagraph...\stopparagraph, which allow blank %%   lines around the content? %% %% The problem

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Henri Menke
On 13/08/18 15:18, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %%   commands that grab a buffer can be used in the same way as, for %%   example, \startparagraph...\stopparagraph, which allow blank %%   lines around the content? %% %% The problem appears

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Aditya Mahajan
On Sun, 12 Aug 2018, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %% commands that grab a buffer can be used in the same way as, for %% example, \startparagraph...\stopparagraph, which allow blank %% lines around the content? %% %% The problem

[NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Rik Kabel
%% How can one remove blank lines at the start of a buffer so that %% commands that grab a buffer can be used in the same way as, for %% example, \startparagraph...\stopparagraph, which allow blank %% lines around the content? %% %% The problem appears when an optional argument is allowed

  1   2   3   4   >