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

2020-06-16 Thread Aditya Mahajan
this issue: how could I prevent the pagebreak before \comment and the addition of a pagebreak above? If that were possible, I could add a \blank[-2*line] that would place the comment right. Try \removeunwantedwhitespace or \blank[samepage

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

2020-06-16 Thread Pablo Rodriguez
page. To avoid this issue: how could I prevent the pagebreak before \comment and the addition of a pagebreak above? If that were possible, I could add a \blank[-2*line] that would place the comment right. Many thanks for y

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread jbf
. Perhaps my closest was: \setuphead[chapter][pagebreak=chapterverso], but it couldn't quite cut it! Julian On 6/5/20 1:57 pm, Wolfgang Schuster wrote: jbf schrieb am 06.05.2020 um 01:31: Hi list, I have a document set up in a standard way (\setuppagenumbering[alternative=doublesided]) to ensure

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread Rik Kabel
On 5/6/2020 00:54, jbf wrote: So simple, Wolfgang. Thanks. I had got close amid all the varieties I was trying out to achieve the same result. Perhaps my closest was: \setuphead[chapter][pagebreak=chapterverso], but it couldn't quite cut it! Julian On 6/5/20 1:57 pm, Wolfgang Schuster

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-05 Thread jbf
So simple, Wolfgang. Thanks. I had got close amid all the varieties I was trying out to achieve the same result. Perhaps my closest was: \setuphead[chapter][pagebreak=chapterverso], but it couldn't quite cut it! Julian On 6/5/20 1:57 pm, Wolfgang Schuster wrote: jbf schrieb am 06.05.2020 um

Re: [NTG-context] supp-ran.lua makes code unable to work in ConTeXt

2020-05-01 Thread Hans Hagen
{Laberinto ]]..count..[[}]]) mz.make_maze_tex(i, i, [[\dimexpr\textwidth/]]..(2*i+1)..[[\relax]]) tex.print([[\pagebreak]]) end %\end{luacode*} \stopluacode %\end{document} \stoptext Whereas it works very fast in LuaLaTeX it crashes on ConTeXt and outputs the following: btw, fast is relative ... no pro

[NTG-context] supp-ran.lua makes code unable to work in ConTeXt

2020-04-30 Thread Jairo A. del Rio
ss{article} %\usepackage{luacode} %\begin{document} \starttext %\begin{luacode*} \startluacode mz = dofile("maze.lua") local count = 0 for i=10,109 do count = count + 1 tex.print([[\subject{Laberinto ]]..count..[[}]]) mz.make_maze_tex(i, i, [[\dimexpr\textwidth/]]..(2*i+1)..[[\relax]]) te

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
gt; Hi all, >>> >>> I have a document which typesets correctly in mkiv giving a PDF file with 7 >>> pages, but the same document typeset with lmtx gives two pages with a >>> strange pagebreak on the second page. Up to now, unfortunately, I could not >>

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Wolfgang Schuster
Hans Hagen schrieb am 04.09.2019 um 17:58: On 9/4/2019 2:24 PM, Otared Kavian wrote: Hi all, I have a document which typesets correctly in mkiv giving a PDF file with 7 pages, but the same document typeset with lmtx gives two pages with a strange pagebreak on the second page. Up to now

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Hans Hagen
On 9/4/2019 2:24 PM, Otared Kavian wrote: Hi all, I have a document which typesets correctly in mkiv giving a PDF file with 7 pages, but the same document typeset with lmtx gives two pages with a strange pagebreak on the second page. Up to now, unfortunately, I could not create a minimal

[NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
Hi all, I have a document which typesets correctly in mkiv giving a PDF file with 7 pages, but the same document typeset with lmtx gives two pages with a strange pagebreak on the second page. Up to now, unfortunately, I could not create a minimal example to show this behaviour, so I put

[NTG-context] Overflowing text if placetable is set to split

2018-11-23 Thread Huseyin Özoguz
Hi all, I encountered weird behavior if \placetable[here, split] is set. The text after the table sometimes doesn't cause a pagebreak and flows into the footer and overlaps the footertext instead. See attached MWE. Is there a way to avoid this behavior? Manually entering a page break

[NTG-context] Overflowing text if placetable is set to split

2018-11-17 Thread mailinglist.context
Hi all, I encountered weird behavior if \placetable[here, split] is set. The text after the table sometimes doesn't cause a pagebreak and flows into the footer and overlaps the footertext instead. See attached MWE. Is there a way to avoid this behavior? Manually entering a page break

Re: [NTG-context] line break after \item, but not \stopitem

2018-10-09 Thread Hans Hagen
On 10/9/2018 9:21 AM, Damien Thiriet wrote: Hi list, I am designing a presentation for my pupils (some lng exercices to learn LibreOfficeDraw by doing). To be sure that they don't misview any question, I decided to force a pagebreak after each first level item. A question on TSE gave me

[NTG-context] line break after \item, but not \stopitem

2018-10-09 Thread Damien Thiriet
Hi list, I am designing a presentation for my pupils (some lng exercices to learn LibreOfficeDraw by doing). To be sure that they don't misview any question, I decided to force a pagebreak after each first level item. A question on TSE gave me the proper key to \setupitemize, but I am facing

Re: [NTG-context] Broken Index Behavior?

2018-03-02 Thread luigi scarso
ld be immensely > helpful. I have already spent way too much time figuring this out. > > %Minimal example: > % ConTeXt ver: 2017.05.15 21:48 MKII fmt: 2017.8.17 int: english/english > \enableregime[utf] > \starttext > \index{Aardvark}Aardvark > \index{Baboon}Baboon >

[NTG-context] Broken Index Behavior?

2018-03-01 Thread Brian Wedde
. %Minimal example: % ConTeXt  ver: 2017.05.15 21:48 MKII  fmt: 2017.8.17  int: english/english \enableregime[utf] \starttext \index{Aardvark}Aardvark \index{Baboon}Baboon \index{Camel}Camel \pagebreak \index{Baboon}Baboon \placeindex[compress=yes] \stoptext Outputs Index like this: A Aardvark 1 B Baboon

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-06 Thread Robert Blackstone
On 6 Sep 2016, at 09:06 , Robert Blackstone <blackstone.rob...@gmail.com> > To: ntg-context@ntg.nl > > On 5 Sep 2016, at 11:06 , Hans Hagen <pra...@wxs.nl> wrote >> >> On 9/5/2016 9:06 AM, Robert Blackstone wrote: >>> >>> I need a pageb

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Robert Blackstone
On 5 Sep 2016, at 11:06 , Hans Hagen <pra...@wxs.nl> wrote > > On 9/5/2016 9:06 AM, Robert Blackstone wrote: >> >> I need a pagebreak in the ToC to avoid a widow. >> So far I used the method given in sept 2010 in >> https://mailman.ntg.nl/pipermail/ntg-co

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Hans Hagen
On 9/5/2016 9:06 AM, Robert Blackstone wrote: Dear all (but maybe in particular Dear Hans), I need a pagebreak in the ToC to avoid a widow. So far I used the method given in sept 2010 in https://mailman.ntg.nl/pipermail/ntg-context/2010/052739.html, and still on http://wiki.contextgarden.net

[NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Robert Blackstone
Dear all (but maybe in particular Dear Hans), I need a pagebreak in the ToC to avoid a widow. So far I used the method given in sept 2010 in https://mailman.ntg.nl/pipermail/ntg-context/2010/052739.html, and still on http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break

Re: [NTG-context] Go to odd page, use an empty page eventually?

2016-07-20 Thread Procházka Lukáš Ing .
tate=emty] on the following page - footer: sets \setupfooter[state=empty] on the following page - odd: forces another pagebreak if the current page is even and resets the header/footer states Wolfgang -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@

Re: [NTG-context] Go to odd page, use an empty page eventually?

2016-07-20 Thread Wolfgang Schuster
Page 3\page Page 4\page[yes,header,footer,odd] Page 5 \stoptext The keywords have the following effect: - yes: force a page break - header: sets \setupheader[state=emty] on the following page - footer: sets \setupfooter[state=empty] on the following page - odd: forces another pag

Re: [NTG-context] placetable with location=split produces error

2016-06-18 Thread Wolfgang Schuster
stpage[10] \startplacetable[location=split] \bTABLE \bTR \bTD \input tufte \eTD \eTR \eTABLE \stopplacetable \stoptext On the other hand the following MWE produces the error, and of course here, a testpage will not help: \starttext \dorecurse{11}{\input ward} \pagebreak[disable] \placetable

[NTG-context] placetable with location=split produces error

2016-06-16 Thread Christoph Reller
tting. The following MWE produces no error: \starttext \dorecurse{9}{\input ward} \testpage[10] \startplacetable[location=split] \bTABLE \bTR \bTD \input tufte \eTD \eTR \eTABLE \stopplacetable \stoptext On the other hand the following MWE produces the error, and of course her

Re: [NTG-context] \page[header]

2016-05-22 Thread Meer, Hans van der
>> Both pages keep their header. >> >> \starttext >> \input knuth >> \page >> \page[header] >> \input knuth >> \stoptext >> Both pages keep their header. >> >> Should I conclude that the state change occurs if and onlyif when in the &

Re: [NTG-context] \page[header]

2016-05-22 Thread Wolfgang Schuster
rttext \input knuth \page[header] \page \input knuth \stoptext Both pages keep their header. \starttext \input knuth \page \page[header] \input knuth \stoptext Both pages keep their header. Should I conclude that the state change occurs if and onlyif when in the same macrocall a real pagebreak is r

Re: [NTG-context] \page[header]

2016-05-22 Thread Meer, Hans van der
t two without the last with header. That I understand. \starttext \input knuth \page[header] \page \input knuth \stoptext Both pages keep their header. \starttext \input knuth \page \page[header] \input knuth \stoptext Both pages keep their header. Should I conclude that the state change occurs i

Re: [NTG-context] \setupsectionblock and \setupbackgrounds page-break problem

2016-02-29 Thread Robin.Kirkham
block. … and use \setlayer. Thanks Wolfgang, I think I’m piecing together how layers, backgrounds and the pagebreak mechanism fit together. Regards, Robin ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Finalizing my book

2015-09-10 Thread Hans Hagen
s of poems against pagebreak in the middle of stanza? Or there are some usefult tips/modules when typeseting poetry in Context? \starttext \interlinepenalty\maxdimen \dorecurse{10}{\input tufte \par} \stop

Re: [NTG-context] Finalizing my book

2015-09-06 Thread Wolfgang Schuster
set the font. 3) is there some trick to protect stanzas of poems against pagebreak in the middle of stanza? Or there are some usefult tips/modules when typeseting poetry in Context? You can use the lines environment with the packed option. begin example \definetypeface [antykwa] [rm] [serif] [a

Re: [NTG-context] Finalizing my book

2015-09-06 Thread Pablo Rodriguez
you define section and subsection heads in lines 24-25 and 59-60. Main typeface is defined in lines 19 and 57. Are these redefinitions intended or is it a bug? (Even if they were intended, I’d remove them for the sake of clarity.) > 3) is there some trick to protect stanzas of poems agains

[NTG-context] Finalizing my book

2015-09-05 Thread Mikoláš Štrajt
tykwa-torunska] [default] [encoding=ec]", but it complaint for misssing typescript. Is there some working way to install it? (Using minimals) 3) is there some trick to protect stanzas of poems against pagebreak in the middle of stanza? Or there are some usefult tips/modules when typeseting poetry

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
(١٨٧٢—١٩٢٣)} مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً بالعالم. ولد عام ١٩٣٤. \footnote{تعليقة لطيفة.} \pagebreak } \stoptext == Best wishes, Talal On 3 Aug 2015, at 17:29, tala...@fastmail.fm wrote: Just to note: all numbers in the body text are having their digits placed

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
عام ١٩٣٤. \footnote{تعليقة لطيفة.} \pagebreak } \stoptext == Best wishes, Talal On 3 Aug 2015, at 17:29, tala...@fastmail.fm wrote: Just to note: all numbers in the body text are having their digits placed individually right-to-left. Notice, in the attached PDF, how the ١٤ is displayed

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
لعالم. ولد عام١٩٣٤.\footnote{تعليقة لطيفة.}\pagebreak}\stoptext= num-ar.pdf Description: Adobe PDF document On 2 Aug 2015, at 18:15, Idris Samawi Hamid ادريس سماوي حامد idris.ha...@colostate.edu wrote:Dear Talal,Salaam. See below:On Sun, 02 Aug 2015 07:31:37 -0600, tala...@fastma

Re: [NTG-context] reverse page order and reverse page numbering in one part of a book

2015-07-24 Thread Hans Hagen
have to redo every single darn pagebreak? There are several different issues. Synchronization can be line-by-line, paragraph-by-paragraph, sectionblock-by-sectionblock... or, as is the case with the posting of this thread, part-by-part (i.e. halves). The different products in multiple languages

Re: [NTG-context] bug in blank pagebreak?

2015-07-24 Thread Hans Hagen
redefine the pagebreak with header, footer instead of blank, both missing header and footer are placed in their right places. Isn’t it a bug? Or am I missing something? I leave that to Wolfgang to look at because he suggested the patch. Hans

Re: [NTG-context] reverse page order and reverse page numbering in one part of a book

2015-07-22 Thread Alan BRASLAU
darn pagebreak? There are several different issues. Synchronization can be line-by-line, paragraph-by-paragraph, sectionblock-by-sectionblock... or, as is the case with the posting of this thread, part-by-part (i.e. halves). The different products in multiple languages might only be synchronized

Re: [NTG-context] reverse page order and reverse page numbering in one part of a book

2015-07-22 Thread Thomas A. Schmitz
they are all still handcrafted, i.e. manual page breaks etc. I just shudder to think what would happen if someone has to add three words on page 3 of such a book - they would have to redo every single darn pagebreak? Thomas

[NTG-context] bug in blank pagebreak?

2015-07-19 Thread Pablo Rodriguez
] [page=right:pagebreak, header=empty] \starttext \chapter{First Chapter} \dorecurse{12}{\input zapf\par} \stoptext With beta from 2015.07.16 13:30, footer from page 1 and header from page 2 are gone. But if I redefine the pagebreak with header, footer instead of blank, both

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Otared Kavian
pagebreaks can be seen: https://dl.dropboxusercontent.com/u/4316076/bad-pagebreak.pdf (Please see pages 19 and 32). It seems that this happens, sometimes, but as far as I can say from my experiments the bad pagebreak happens always before a « proclaim » which is defined as follows

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Pablo Rodriguez
an excerpt of the PDF document where the bad pagebreaks can be seen: https://dl.dropboxusercontent.com/u/4316076/bad-pagebreak.pdf (Please see pages 19 and 32). It seems that this happens, sometimes, but as far as I can say from my experiments the bad pagebreak happens always before

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Otared Kavian
On 01 Jun 2015, at 09:28, Pablo Rodriguez oi...@gmx.es wrote: […] Hi Otared, having only three theorems my guess will be probably wrong, but I’ll try it. The theorem that doesn’t cause a wrong pagebreak is preceeded by a single line paragraph. In order to confirm whether

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Hans Hagen
On 1/9/2015 11:42 PM, Thomas A. Schmitz wrote: On 09 Jan 2015, at 14:01, Hans Hagen pra...@wxs.nl wrote: that's how balance=no works: in that case \column will go to a next column but still fill to the bottom columnsets is actually not meant to be used mixed unless in controlled situations

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Thomas A. Schmitz
On 09 Jan 2015, at 15:34, Hans Hagen pra...@wxs.nl wrote: 1 \startcolumns : when balance is yes 2 \startmixedcolumns : when balance is yes 3 \startcolumnset: when balance is yes but balancing is manual guess what ... columnized itemized lists use 1 in mkii and 2 in mkiv Thank

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Hans Hagen
On 1/9/2015 9:29 PM, Thomas A. Schmitz wrote: Hi all, a somewhat belated happy new year to all of you! I’ve come across what seems to be a very old bug (I have found references to it in the mailing list from about 10 years ago): I get an unwanted page break after every column environment.

[NTG-context] pagebreak after columns

2015-01-09 Thread Thomas A. Schmitz
Hi all, a somewhat belated happy new year to all of you! I’ve come across what seems to be a very old bug (I have found references to it in the mailing list from about 10 years ago): I get an unwanted page break after every column environment. Here’s an example with two different ones:

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Thomas A. Schmitz
On 09 Jan 2015, at 14:01, Hans Hagen pra...@wxs.nl wrote: that's how balance=no works: in that case \column will go to a next column but still fill to the bottom columnsets is actually not meant to be used mixed unless in controlled situations (maybe i will redo columnsets in mkiv some

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Wolfgang Schuster
Am 09.01.2015 um 23:42 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de: On 09 Jan 2015, at 14:01, Hans Hagen pra...@wxs.nl wrote: that's how balance=no works: in that case \column will go to a next column but still fill to the bottom columnsets is actually not meant to be used

[NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Ben Moon
Hi, I'm trying to get a thesis in a final shape and encounter a page break (... Über 70 % der pagebreak) in the middle of a paragraph where there still seems to be plenty of space to finish that paragraph. If I add a few lines to the text it works ok. Also \page[no] doesn't work or \vbox

Re: [NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Rik Kabel
On 2014-10-16 16:03, Ben Moon wrote: Hi, I'm trying to get a thesis in a final shape and encounter a page break (... Über 70 % der pagebreak) in the middle of a paragraph where there still seems to be plenty of space to finish that paragraph. If I add a few lines to the text it works ok. Also

Re: [NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Rik
On 2014-10-17 12:18, Rik Kabel wrote: On 2014-10-16 16:03, Ben Moon wrote: Hi, I'm trying to get a thesis in a final shape and encounter a page break (... Über 70 % der pagebreak) in the middle of a paragraph where there still seems to be plenty of space to finish that paragraph. If I add a few

Re: [NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Ben Moon
(... Über 70 % der pagebreak) in the middle of a paragraph where there still seems to be plenty of space to finish that paragraph. If I add a few lines to the text it works ok. Also \page[no] doesn't work or \vbox and \setpenalties\widowpenalties{100}\maxdimen I couldn't get working neither

Re: [NTG-context] question about unwanted locations of pagebreaks

2014-07-18 Thread Hans Hagen
On 7/18/2014 1:27 PM, Rob Heusdens wrote: The very last thing to do when finalizing a multi-page document is checking where the page breaks occur, and make corrections accordingly, if the pagebreak occurs at a location you do not want. Of course, you can take all kind of measures on before hand

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-04 Thread Hans Hagen
needed to use equation numbers, however that is done in plain tex (the context run doesn't show the problem without the \placeformula). I suspect some internal state is getting slightly corrupted and getting progressively worse with the 30,000 repetitions. here it happens after a pagebreak (a few

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Hans Hagen
). I suspect some internal state is getting slightly corrupted and getting progressively worse with the 30,000 repetitions. here it happens after a pagebreak (a few lines overflow are ok) I've been finding many unexplained 0.5pt or so differences, which may be related to the underbrace problem

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Wolfgang Schuster
(the context run doesn't show the problem without the \placeformula). I suspect some internal state is getting slightly corrupted and getting progressively worse with the 30,000 repetitions. here it happens after a pagebreak (a few lines overflow are ok) It does also depend on the width

Re: [NTG-context] Conditional keep-with-next rules

2014-06-28 Thread Jan Tosovsky
epage \startsamepage primary-01 primary-02 secondary-01 secondary-02 % placing soft page-break % http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopagebrk \pagebreak[0] secondary-03 secondary-04 primary-03 \stopsamepage Unfortunately, all this would have to be implemented

[NTG-context] bugs in page breaks with items

2014-06-16 Thread Pablo Rodriguez
Dear Hans, sorry for bothering you with this, but today I found an ugly pagebreak such as the following in a book I’m writting: \showframe\showgrid \setupbodyfont[pagella,15pt] \starttext \chapter{Chapter title} \section{Section title} \dorecurse{10}{\dorecurse{10

Re: [NTG-context] Pagebreak forced after mixedcolumns (new bug?)

2014-06-09 Thread Joshua Krämer
On 2014-06-08, 23:34, Hans Hagen wrote: does balance=yes help? Yes, it helps. Thank you! Kind regards, Joshua ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Pagebreak forced after mixedcolumns (new bug?)

2014-06-08 Thread Joshua Krämer
Dear list, I have updated to the latest beta today, and I can no longer put text after \stopmixedcolumns on the same page. \setuplayout[grid=yes] \starttext \startmixedcolumns Left \column Right Right \stopmixedcolumns Something after the columns \stoptext There should be no pagebreak

Re: [NTG-context] Pagebreak forced after mixedcolumns (new bug?)

2014-06-08 Thread Hans Hagen
\stoptext There should be no pagebreak after \stopmixedcolumns. It works with \start... \stopcolumns, but then the column break (\column) is ignored. It worked before with mixedcolumns, but I don't know when I updated the last time. does balance=yes help

[NTG-context] frames, hrule, vfill and pagebreaks (was: Vertically stretched split table)

2014-04-08 Thread Joshua Krämer
Dear list, at first, I thought the following code (simplified) with frames, hrules and vfills between them would work to typeset my table. However, I have now realized that sometimes a pagebreak occurs before the final (invisible) hrule, and then there's no vfill at the bottom of the page. See

[NTG-context] state=high vs state=empty for headers and footers

2014-02-12 Thread Aditya Mahajan
If one uses \setuplayout[header][text][frame=on] then the frame is drawn on pages with header=empty but not drawn on pages with header=high. By default, the 'empty' pagebreak method (in page-txt.mkvi) sets the header and footer state to empty rather than high. This means that header frames

[NTG-context] Testpage with extras

2014-01-30 Thread H. Özoguz
: If \testpage is active (meaning, there are indeed less than n lines left), then it should not only input an pagebreak, but also some other command. E.g.: somewhat like \testpage[n,{\noindentation}] should add \noindentation before the paragraph, if and only if, there are less than n lines left

Re: [NTG-context] Testpage with extras

2014-01-30 Thread Hans Hagen
, but need it with some extension: If \testpage is active (meaning, there are indeed less than n lines left), then it should not only input an pagebreak, but also some other command. E.g.: somewhat like \testpage[n,{\noindentation}] should add \noindentation before the paragraph, if and only

Re: [NTG-context] Colored text's background, which the more lcd-mkiv?

2014-01-17 Thread Elspeth McGullicuddy
: it starts where you tell it to start, then fill the whole text area, not only where there actually are glyphs, so it keeps going on even if you put a \pagebreak, and stop when you tell it to stop. Instead \startbar[underbar] put color only where there are glyphs, which is not what I'm looking

Re: [NTG-context] About Hyphenation

2013-07-25 Thread Hans Hagen
of the output looks less optimal: don't complain (personally for me it's always the moment that i try to hide the fact that tex is used) automated typesetting fulfilling all constraints is in most cases (read: always) impossible so among the options are: inject an occasional manual pagebreak (once

Re: [NTG-context] float combinations

2013-04-14 Thread Robert Blackstone
that with Combinations. With large figures stacked vertically the lower one still gets cut off (and with it also the caption when it is placed underneath the figure). If somehow a pagebreak could be inserted between the two items, then this solution would probably work. But I have no idea how to achieve

Re: [NTG-context] No header and no page-number on empty pages

2012-11-30 Thread luigi scarso
is not shown on the page, but the page is counted, s.t. the next pages have the correct numbers). Huseyin something like this ? (I'm sure that there are other solutions) \starttext \input tufte\page %% force a pagebreak \vbox to\textheight{}\page[blank,yes] % empty page \vbox to\textheight{}\page

Re: [NTG-context] itemize in two columns and pagebreaks

2012-06-30 Thread Wolfgang Schuster
Am 29.06.2012 um 23:30 schrieb Marcin Borkowski: Hello, I encountered a weird problem with \startitemize[columns] Namely, sometimes ConTeXt (MkIV) puts a pagebreak before the itemization. I tried to distill the problem to a minimal example, until now without success, but I'll post

[NTG-context] itemize in two columns and pagebreaks

2012-06-29 Thread Marcin Borkowski
Hello, I encountered a weird problem with \startitemize[columns] Namely, sometimes ConTeXt (MkIV) puts a pagebreak before the itemization. I tried to distill the problem to a minimal example, until now without success, but I'll post a ME if I'm able to reproduce a problem in a small file

Re: [NTG-context] itemize in two columns and pagebreaks

2012-06-29 Thread Marcin Borkowski
Dnia 2012-06-29, o godz. 23:30:13 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a): Hello, I encountered a weird problem with \startitemize[columns] Namely, sometimes ConTeXt (MkIV) puts a pagebreak before the itemization. I tried to distill the problem to a minimal example, until

Re: [NTG-context] itemize in two columns and pagebreaks

2012-06-29 Thread Otared Kavian
[columns] Namely, sometimes ConTeXt (MkIV) puts a pagebreak before the itemization. I tried to distill the problem to a minimal example, until now without success, but I'll post a ME if I'm able to reproduce a problem in a small file. OK, so I didn't succeed in isolating this problem. I

[NTG-context] heading and a few lines at the end of a page

2012-06-07 Thread Jan Pohanka
Hello, sometimes I get a heading and a single line (or two lines) at the end of the page and it does not look good? Is there any way (TeX or ConTeXt) to force pagebreak before heading in this case? Ideally I'd like to be able to specify the count of lines when this should occur. best

Re: [NTG-context] heading and a few lines at the end of a page

2012-06-07 Thread luigi scarso
On Thu, Jun 7, 2012 at 10:02 AM, Jan Pohanka xhpoha...@gmail.com wrote: Hello, sometimes I get a heading and a single line (or two lines) at the end of the page and it does not look good? Is there any way (TeX or ConTeXt) to force pagebreak before heading in this case? Ideally I'd like

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-06 Thread Xenia
On 01.05.2012 19:35, Aditya Mahajan wrote: On Tue, 1 May 2012, Aditya Mahajan wrote: On Tue, 1 May 2012, Xenia wrote: Use \definetextbackground for the frame, framedtext’s are unbreakable boxes. Thanks, that works, but now the linewrapping does not work correctly (after the frame) The

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-06 Thread Aditya Mahajan
On Sun, 6 May 2012, Xenia wrote: \startsetups linebreak \language\minusone %disable hypenation \raggedright %avoid overflow lines \stopsetups \unprotect \setupsyntaxhighlighting [setups={syntaxhighlighting@setup,linebreak}] \protect I am using your workaround and it works fine

[NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Xenia
Dear context folks, since Aditya recommended I am using the vim module for including MATLAB-files in my TeX-files. But for longer code snippets there is no pagebreak, so that the code is cuttet at the end of the page. What do I have to do? current version: 2012.04.19 23:18 Thanks, Xenia

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Aditya Mahajan
On Tue, 1 May 2012, Xenia wrote: Dear context folks, since Aditya recommended I am using the vim module for including MATLAB-files in my TeX-files. But for longer code snippets there is no pagebreak, so that the code is cuttet at the end of the page. What do I have to do? current version

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Xenia
On 01.05.2012 08:50, Aditya Mahajan wrote: On Tue, 1 May 2012, Xenia wrote: Dear context folks, since Aditya recommended I am using the vim module for including MATLAB-files in my TeX-files. But for longer code snippets there is no pagebreak, so that the code is cuttet at the end

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Wolfgang Schuster
Am 01.05.2012 um 12:24 schrieb Xenia: On 01.05.2012 08:50, Aditya Mahajan wrote: On Tue, 1 May 2012, Xenia wrote: Dear context folks, since Aditya recommended I am using the vim module for including MATLAB-files in my TeX-files. But for longer code snippets there is no pagebreak, so

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Xenia
. But for longer code snippets there is no pagebreak, so that the code is cuttet at the end of the page. What do I have to do? current version: 2012.04.19 23:18 Can you post a minimal example? The attached simple test gives me page breaks. The reason seems so be the frame, that I prefer. I am attaching

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Aditya Mahajan
On Tue, 1 May 2012, Xenia wrote: Use \definetextbackground for the frame, framedtext’s are unbreakable boxes. Thanks, that works, but now the linewrapping does not work correctly (after the frame) The bad linebreaks also happen if you remove the background. I'll look into it (in any case,

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Aditya Mahajan
On Tue, 1 May 2012, Aditya Mahajan wrote: On Tue, 1 May 2012, Xenia wrote: Use \definetextbackground for the frame, framedtext’s are unbreakable boxes. Thanks, that works, but now the linewrapping does not work correctly (after the frame) The bad linebreaks also happen if you remove the

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Hans Hagen
On 1-5-2012 19:35, Aditya Mahajan wrote: \startsetups linebreak \language\minusone %disable hypenation \raggedright %avoid overflow lines \stopsetups \unprotect \setupsyntaxhighlighting [setups={syntaxhighlighting@setup,linebreak}] \protect I'll add these to the main module and release a new

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Wolfgang Schuster
Am 01.05.2012 um 19:35 schrieb Aditya Mahajan: On Tue, 1 May 2012, Aditya Mahajan wrote: On Tue, 1 May 2012, Xenia wrote: Use \definetextbackground for the frame, framedtext’s are unbreakable boxes. Thanks, that works, but now the linewrapping does not work correctly (after the frame)

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Aditya Mahajan
On Tue, 1 May 2012, Hans Hagen wrote: On 1-5-2012 19:35, Aditya Mahajan wrote: \startsetups linebreak \language\minusone %disable hypenation \raggedright %avoid overflow lines \stopsetups \unprotect \setupsyntaxhighlighting [setups={syntaxhighlighting@setup,linebreak}] \protect I'll add

Re: [NTG-context] missing pagebreak using vim-module for typing

2012-05-01 Thread Aditya Mahajan
On Tue, 1 May 2012, Wolfgang Schuster wrote: Am 01.05.2012 um 19:35 schrieb Aditya Mahajan: On Tue, 1 May 2012, Aditya Mahajan wrote: On Tue, 1 May 2012, Xenia wrote: Use \definetextbackground for the frame, framedtext’s are unbreakable boxes. Thanks, that works, but now the linewrapping

[NTG-context] Pagebreak in a list of figures

2012-01-16 Thread Tomas Hala
Hello, I tried (unsuccessfully) to insert a page break on the concrete position in a list of figures. Minimal example: \starttext \dorecurse{30}{\placefigure{Nic}{\externalfigure[any-figure.jpg]}} \completelistoffigures[pageboundaries={5,10,13}] \completelistoffigures[5,10,13] \stoptext I did

Re: [NTG-context] Pagebreak in a list of figures -- version

2012-01-16 Thread Tomas Hala
Hellow, the version of ConTeXt I used is: ver: 2012.01.12 11:03 MKIV fmt: 2012.1.16. Tomas Hala Mon, Jan 16, 2012 ve 06:19:01PM +0100 Tomas Hala napsal(a): # Hello, # # I tried (unsuccessfully) to insert a page break on the concrete position in # a list of figures. # # Minimal example: #

Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Kip Warner
On Tue, 2011-10-04 at 20:54 -0400, Aditya Mahajan wrote: Can you explain what you mean by inline pagebreak? Aditya Hey Aditya. I mean that I would like framed text to be split over multiple pages whenever possible. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred

Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Hans Hagen
On 5-10-2011 23:52, Kip Warner wrote: On Tue, 2011-10-04 at 20:54 -0400, Aditya Mahajan wrote: Can you explain what you mean by inline pagebreak? Aditya Hey Aditya. I mean that I would like framed text to be split over multiple pages whenever possible. http://wiki.contextgarden.net

Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-04 Thread Aditya Mahajan
breaks: Can you explain what you mean by inline pagebreak? Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

[NTG-context] UTF8 / TeXUtils parsing error

2011-07-14 Thread Brian Wedde
Minimal example: \enableregime[utf] \defineregister[Index][Indeces] \starttext \Index{x}x. \pagebreak \placeIndex \stoptext When compiling, TeXUtils has a heart attack: . . . TeXUtil | parsing file filename.tui TeXUtil | fatal error in plugin (processing): invalid multibyte

Re: [NTG-context] UTF8 / TeXUtils parsing error

2011-07-14 Thread luigi scarso
On Fri, Jul 15, 2011 at 2:50 AM, Brian Wedde wbr...@onlineed.com wrote: Minimal example: \enableregime[utf] \defineregister[Index][Indeces] \starttext \Index{x}x. \pagebreak \placeIndex \stoptext When compiling, TeXUtils has a heart attack: . . . TeXUtil | parsing file filename.tui

[NTG-context] columns behaviour

2011-07-08 Thread Hans van der Meer
Is it normal that after \setupcolumns[balance=no] the dividing line is not fully drawn in the case where the column at the left is shorter than the one to the right. And furthermore that balance=no inserts a pagebreak, whereas balance=yes does not? Below a minimal example. Hans van der Meer

Re: [NTG-context] changing number of columns

2011-07-05 Thread Bernd Kosubek
werden ...}}} With the offset you can move the text-box to the position you want it. Willi Hi Willy, Hraban forces the problem in a wrong way. I wish the eliminination of the pagebreak after \stopcolumnset. It is for me not of interest what contents the columns have. I wish the following

Re: [NTG-context] changing number of columns

2011-07-05 Thread Wolfgang Schuster
Am 05.07.2011 um 17:26 schrieb Bernd Kosubek: Hraban forces the problem in a wrong way. I wish the eliminination of the pagebreak after \stopcolumnset. It is for me not of interest what contents the columns have. I wish the following: text text text flow text text text text xx

  1   2   3   >