Re: [NTG-context] moving the first line of a page to the previous page

2018-10-09 Thread Hans Hagen
to the next page anyway. Even looking at hyphenations, i can't find an explanation fot that behaviour. you can mess with penalties but at somepoint tex has to decide ... an option is to use \adaptlayout and make the page a line higher, another is \starttext \showframe \dorecurse{22}{line #1\blank

Re: [NTG-context] notes in the margin

2018-01-23 Thread Henning Hraban Ramm
texttext12 text 12 text texttext __Some remarks 2) If there is a possibility to influence the page breaking algorithm for notes, I’d like to know about that. Stacking works nicely most of the time, but I have a few pages where the notes don’t fit. The only option I know of is \adaptlayout to move

Re: [NTG-context] avoiding two lines on last page

2017-10-20 Thread Alan Bowen
urage ConTeXt to put these two lines on the preceding page. > > > > I do not have a mwe, so any tips about strategies and commands to > consider will be much appreciated. > > Did you try \adaptlayout? > http://wiki.contextgarden.net/Command/adaptlayout >

Re: [NTG-context] avoiding two lines on last page

2017-10-18 Thread Henning Hraban Ramm
preceding page. > > I do not have a mwe, so any tips about strategies and commands to consider > will be much appreciated. Did you try \adaptlayout? http://wiki.contextgarden.net/Command/adaptlayout Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden

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

2014-07-18 Thread Hans Hagen
guess this is also the way in which typesetters in the past dealt with this problem). you can play with this (rather old) feature: \adaptlayout[height=5mm] \adaptlayout[lines=2] \adaptlayout[123][height=5mm] \adaptlayout[5,9,42][lines=2] Hans

Re: [NTG-context] Bug with adaptlayout

2013-09-14 Thread Aditya Mahajan
On Fri, 13 Sep 2013, Hans Hagen wrote: On 9/13/2013 4:40 AM, Aditya Mahajan wrote: Hi, There is a subtle bug with \adaptlayout. \adaptlayout[1][height=max] does not work, e.g., \showframe \adaptlayout[1][height=max] \starttext \dorecurse{10}{\input knuth \par} \stoptext but \adaptlayout[2

Re: [NTG-context] Bug with adaptlayout

2013-09-13 Thread Hans Hagen
On 9/13/2013 4:40 AM, Aditya Mahajan wrote: Hi, There is a subtle bug with \adaptlayout. \adaptlayout[1][height=max] does not work, e.g., \showframe \adaptlayout[1][height=max] \starttext \dorecurse{10}{\input knuth \par} \stoptext but \adaptlayout[2][..] etc work. The reason

[NTG-context] Bug with adaptlayout

2013-09-12 Thread Aditya Mahajan
Hi, There is a subtle bug with \adaptlayout. \adaptlayout[1][height=max] does not work, e.g., \showframe \adaptlayout[1][height=max] \starttext \dorecurse{10}{\input knuth \par} \stoptext but \adaptlayout[2][..] etc work. The reason is the following. Typically, we use \adaptlayout

Re: [NTG-context] Problem with \writebetweenlist

2012-02-25 Thread Jaroslav Hajtmar
or ungrouped '=' after 'IIkap' in line 61 (71:) ! Extra \endgroup. system tex error on line 61 in file dphk.tex: Extra ... 51 \setuppapersize[dpportrait][A4] 52 \setuppagenumbering[state=start,location=footer] 53 54 %\setuppagenumbering[alternative=doublesided] 55 %\adaptlayout[31][height=+1cm] 56 57

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Aditya Mahajan
. \setuplayout[page], or if you want to do this for only one page, \adaptlayout[page] Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Gerben Wierda
this for only one page, \adaptlayout[page] 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/listinfo/ntg

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Philipp Gesang
in that space. \setuplayout[page], or if you want to do this for only one page, \adaptlayout[page] Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Gerben Wierda
in that space. \setuplayout[page], or if you want to do this for only one page, \adaptlayout[page] Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Questions related to margin/dynamic layout

2011-08-29 Thread Wolfgang Schuster
. it's not possible to manually give the page number according to the content because usually document context/formatting change all the time. how to do that? You can fix a float to a certain position with \placeFLOAT[force]{…}{…}. TO shorten/enlarge a page you can put \adaptlayout in your

Re: [NTG-context] Questions related to margin/dynamic layout

2011-08-29 Thread Yue Wang
document context/formatting change all the time. how to do that? You can fix a float to a certain position with \placeFLOAT[force]{…}{…}. TO shorten/enlarge a page you can put \adaptlayout in your document and context change the layout of the page where the command is seen. Wolfgang

Re: [NTG-context] Enlarge the text height for a row on a single page

2011-08-03 Thread Markus Finke
\adaptlayout[lines=1] Thank you!! ___ 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/listinfo/ntg-context webpage

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-28 Thread Wolfgang Schuster
Am 28.06.2011 um 07:35 schrieb Aditya Mahajan: @Hans: Does it make sense to modify \adaptlayout so that it will also accept pre-defined layout. So that we could use: \page \adaptpapersize[diagram] \adaptlayout[fullpage] Current, \adaptlayout only accepts key-values. \page

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-28 Thread Aditya Mahajan
On Tue, 28 Jun 2011, Wolfgang Schuster wrote: Am 28.06.2011 um 07:35 schrieb Aditya Mahajan: @Hans: Does it make sense to modify \adaptlayout so that it will also accept pre-defined layout. So that we could use: \page \adaptpapersize[diagram] \adaptlayout[fullpage] Current

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-27 Thread Aditya Mahajan
which is landscaped, as intended. But the image sits only occupying the top left quarter of the page. I've tried changing factor from max to broad and fit, and to no avail. \stoptext @Hans: Does it make sense to modify \adaptlayout so that it will also accept pre-defined layout. So that we could

[NTG-context] \adaptlayout obsolete?

2010-09-25 Thread Steffen Wolfrum
Hi, the command \adaptlayout doesn't work in MkIV. Is there a topical alternative? Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] \adaptlayout obsolete?

2010-09-25 Thread Steffen Wolfrum
Am 25.09.2010 um 21:07 schrieb Steffen Wolfrum: Hi, the command \adaptlayout doesn't work in MkIV. No, everything is fine with \adaptlayout. It was my mistake, sorry: accidentally the layout had a footer=0pt ... (thus the command couldn't adapt the layout, natch) It won't happen again

Re: [NTG-context] page-break

2010-04-23 Thread Jörg Hagmann
with S. 33 Zwergammer... contains more than one line. An additional information: \adaptlayout[43][lines=+1] (or height=+ something] gives an error (on any page in the document): -snip verfull \hbox (40.14098pt too wide) in paragraph at lines 345--345

Re: [NTG-context] page-break

2010-04-23 Thread Taco Hoekwater
as the paragraph starting with S. 33 Zwergammer... contains more than one line. An additional information: \adaptlayout[43][lines=+1] (or height=+ something] gives an error (on any page in the document): Works for me, but that is probably because of missing test file (you seem to be inside \obeylines

Re: [NTG-context] page-break

2010-04-23 Thread Jörg Hagmann
to try? The page breaks as soon as the paragraph starting with S. 33 Zwergammer... contains more than one line. An additional information: \adaptlayout[43][lines=+1] (or height=+ something] gives an error (on any page in the document): Works for me, but that is probably because of missing

Re: [NTG-context] page-break

2010-04-23 Thread Hans Hagen
as soon as the paragraph starting with S. 33 Zwergammer... contains more than one line. An additional information: \adaptlayout[43][lines=+1] (or height=+ something] gives an error (on any page in the document): change \rawdoifinsetelse into \rawdoifinset \def\adaptpagedimensionsindeed

[NTG-context] \version and \adaptlayout

2008-10-09 Thread Wolfgang Schuster
Hi, the following example creates a error message. \version[temporary] \showframe \starttext \adaptlayout[lines=1] \input knuth \stoptext Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] \version and \adaptlayout

2008-10-09 Thread Hans Hagen
Wolfgang Schuster wrote: Hi, the following example creates a error message. \version[temporary] \showframe \starttext \adaptlayout[lines=1] \input knuth \stoptext \def\reportpagedimensions {\ifx\poppagedimensions\relax \else \space\the\dimexpr\@@zaheight\relax\space

Re: [NTG-context] using footer space

2008-09-09 Thread Yue Wang
maybe adaptlayout will help. On Wed, Sep 10, 2008 at 5:31 AM, Horacio Suarez [EMAIL PROTECTED] wrote: hello all: Is there a way to have, for instance, a 9mm footer in the first page of a chapter but 0mm in the following pages? thankyou in advance. Horacio Suarez

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-03 Thread Idris Samawi Hamid
an example? 2. Where are those xml files? Npp is pretty simple; just an ordered list: === about adaptlayout adding aftersplitstring and appendix appendtoks [etc.] === Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
: todo \about{text}[reference] \adaptlayout[number][dimensions] \adding[size] # \aftersplitstring # \and \appendix[references]{text} # \appendtoks # \AR \arg{text} \at{text}{text}[reference] \atpage[reference] \background # \bbox # \beforesplitstring # \begstrut \blackrule[settings] \blackrules

Re: [NTG-context] page breaks and itemization

2007-08-30 Thread Henning Hraban Ramm
). At present, the gaps left at the bottom of a page look ugly, especially when there is a footnote with its line above. \adaptlayout doesn't do anything Is there a way to setup this behaviour (without affecting pagebreaking outsitde itemizations)? Normally yoou influence pagebreaking

Re: [NTG-context] More on a page

2007-07-29 Thread Patrick Gundlach
What's the command again to force another line or two on a page? \adaptlayout. See http://texshow.contextgarden.net/cmd/adaptlayout P. ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] quick question

2007-02-21 Thread Aditya Mahajan
On Wed, 21 Feb 2007, David C. Walden wrote: Is there an easy way in ConTeXt to do the equivalent of \enlargethispage{1\baselineskip} in LaTeX? \adaptlayout[lines=+1] Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl

Re: [NTG-context] How to squeeze one more line onto a page

2007-01-12 Thread Aditya Mahajan
On Fri, 12 Jan 2007, David Arnold wrote: How can I squeeze one more line onto a page without rewriting text or resizing graphics. Just a one time I want a couple more lines. \adaptlayout[lines+=2] or \adaptlayout[height=+2cm] Aditya ___ ntg

Re: [NTG-context] How to squeeze one more line onto a page

2007-01-12 Thread David Arnold
Aditya, Tried: \adaptlayout[lines+=2] The image in \infigure[fig:series2](c) clearly contains enough information to complete the graph of the parabola having equation $y=-(x+2)^2+3$ in \infigure[fig:finalparab]. Got an error: ! Missing number, treated as zero. to be read again

Re: [NTG-context] How to squeeze one more line onto a page

2007-01-12 Thread Aditya Mahajan
On Fri, 12 Jan 2007, David Arnold wrote: Aditya, Tried: \adaptlayout[lines+=2] The image in \infigure[fig:series2](c) clearly contains enough information to complete the graph of the parabola having equation $y=-(x+2)^2+3$ in \infigure[fig:finalparab]. Got an error: ! Missing

Re: [NTG-context] How to squeeze one more line onto a page

2007-01-12 Thread Aditya Mahajan
On Sat, 13 Jan 2007, Aditya Mahajan wrote: On Fri, 12 Jan 2007, David Arnold wrote: Aditya, Tried: \adaptlayout[lines+=2] Where should I put this command? hmm... I copy pasted from an old project so this code used to work. But I get the same error right now. Hmm I do

Re: [NTG-context] How to squeeze one more line onto a page

2007-01-12 Thread David Arnold
\adaptlayout[lines=+2] On Jan 12, 2007, at 9:25 PM, Aditya Mahajan wrote: On Sat, 13 Jan 2007, Aditya Mahajan wrote: On Fri, 12 Jan 2007, David Arnold wrote: Aditya, Tried: \adaptlayout[lines+=2] Where should I put this command? hmm... I copy pasted from an old project so this code

Re: [NTG-context] Controlling figure placement?

2006-05-24 Thread Ehrt, Michael
\adaptlayout[3,5][command={\setupheader[text][state=empty]\setupfooter[t ext][state=empty]}] But this doesn't exist. Also, changing the layout width is not possible with adaptlayout, which might fix the left-right-positioning... Does anyone know how to do it? Cheers Michael

Re: [NTG-context] Controlling figure placement?

2006-05-24 Thread Ehrt, Michael
for was something like \adaptlayout[3,5][command={\setupheader[text][state=empty]\set upfooter[t ext][state=empty]}] But this doesn't exist. Also, changing the layout width is not possible with adaptlayout, which might fix the left-right-positioning... Does anyone know how to do

Re: [NTG-context] last natural table column longer

2006-01-21 Thread Vit Zyka
. \adaptlayout{page}{height=+...} has limited capability of making page heigher (not overcomes footer) so \setuplayout is more flexible. 2. Forsing column break by \bTR[after=\column]\bTD...\eTD\eTR works but add some spurious space on the top of next column. I was not able to remove it even

Re: [NTG-context] [Fwd: after=\page in natural tables]

2006-01-20 Thread Vit Zyka
{\dosingleempty\dopagebreak} I seee, OK thanks, it works. And I have to admit Taco was right with actual page height influences column splitting. I was wrong with my opinion. I was confused with 1) \adaptlayout[page][height=+3cm] increases the height only by: min(3cm,footer-height) (means UPTO

Re: [NTG-context] last natural table column longer

2006-01-16 Thread Vit Zyka
don't know how that is 'normally' done, but perhaps it gives someone else a hint ? It may be done by \adaptlayout[2][height=+1cm] but it does not solve the problem. Natural tables (IFAIK) are splitted at one moment as a whole to one fix (page) height. If I enlarge the page (where \bTABLE

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-12 Thread Mojca Miklavec
in the current context are offered for autocompletion). An example would be: if someone writes \adaptlayout[ctrl-something only the options height= and lines= would be offered. But at that point I have to answer to myself: dream on! It is probably possible, but too complex at this moment. What

Re: [NTG-context] Re: page on context and XML has moved

2005-04-06 Thread Piotr Kopszak
was lucky as I had problems with words that appeared only once in the text so I did not have to bother, but that was an exceptional situation. The other thing that comes to my mind are all the things that \adaptlayout was invented for. I don't believe you can produce large

[NTG-context] Bad page breaks!

2005-02-11 Thread G.C.H.M. Verhaag
this can be improved? Sometimes even 3 lines could be added without any difficulty to a page by TeX before inserting a page break! I've tried to use \adaptlayout but it doesn't seem to work, no effect! Has it perhaps something to do with the setup I use? Regards, Geert -- Geert C.H.M. Verhaag St

[NTG-context] Please: \adaptlayout[*here*][height=...] needed!

2003-09-26 Thread Steffen Wolfrum
Hi, I really need a way to enlarge some certain pages. Because the pagenumbering is not fixed yet I cannot use \adaptlayout[71,82][...] in the preamble. What's the command to place \adaptlayout (or something similar) right at that position in the text where the page needs to be larger

Re: [NTG-context] Please: \adaptlayout[*here*][height=...] needed!

2003-09-26 Thread Hans Hagen
At 13:19 26/09/2003 +0200, you wrote: Hi, I really need a way to enlarge some certain pages. Because the pagenumbering is not fixed yet I cannot use \adaptlayout[71,82][...] in the preamble. What's the command to place \adaptlayout (or something similar) right at that position in the text where

[NTG-context] How \adaptlayout[*here*][height=+.5cm] ?

2003-09-25 Thread Steffen Wolfrum
Hi, is there a way to achieve \adaptlayout[*thispage*][height=+.5cm]? Maybe a kind of \adaptlayout[\getvalue{\pagenumber}][height=+.5cm] ? (Sorry, I am not so familiar with TeX commands...) Again, thank you for your help, Steffen ___ ntg-context