[NTG-context] Question on headings and text around them
Dear all, In some text I am typesetting I noticed that the text following a section was always starting on same page (which is all fine), but in some cases the text preceding the section heading was also finishing on same page, ie the last paragraph before the section heading was broken in previous page, say N lines on previous page and 2 in the page in which the section starts (I have \widowpenalty1 that’s probably why there are 2 lines in new page), even if there is space in the previous page for the 2 lines (there are even 3 blank lines at the end of the page). Apparently I could solve this “problem”, adding some 0 penalty: \definevspacing[BeforeHeading][penalty:0] \def\BeforeBook{\blank[BeforeHeading, line]} % was \def\BeforeBook{\blank[line]} which seems to avoid breaking page between text before heading and heading itself \setuphead[section][before=\BeforeBook] My question is simply, is that a correct way to fix the problem, or is that just “luck” this fixes the issue ? Thanks a lot, Best regards Joseph Canedo___ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question about the \starteffect[hidden]
Dear Hans, Thank you for the comment. > > \startcolor[white] \stopcolor > It works fine. It is really good feature for me to prepare the class materials. Best regards, Dalyoung ___ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Luatex 0.85.0 announcement
On 21/11/2015 10:03, luigi scarso wrote: > New luatex release, 0.85.0 > > It's really a big change respect to 0.81.0 > (see NEWS for a full report) > and, well, there can be bugs (that of course we will solve). > > > The archives can be downloaded from supelec as usual: > > https://foundry.supelec.fr/projects/luatex/ > > You could also check out the sources via anonymous svn: > > svn co --username anonsvn --password anonsvn \ > https://foundry.supelec.fr/svn/luatex/tags/beta-0.85.0 > > Bugs and feature requests can be added to the issue tracker at > >http://tracker.luatex.org > > When you use context or latex you need an updated format. The latest > version of > context can be fetched from the context garden, latex from ctan. For latex > you can contact David and Joseph as they are dealing with the update. For those wishing to be on the 'burning edge' in LaTeX terms, we have put some *very experimental* support code on GitHub: https://github.com/josephwright/luatex85 David and I are working with the rest of the LaTeX team to make the changes transparent to end users: we hope to have all of this to CTAN and into TeX Live well before any binary changes in the release version, and will co-ordinate the same with MiKTeX. Joseph ___ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Placing an image on a portion of a frame
Hi, I wish beyond the image on the frame at the edge of the text. Thank you. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \definecolor[FondTableaux][c=0.00, m=0.00, y=0.20, k=0.00] \starttext \placerecipe{}{\rotate[rotation=-15]{\externalfigure[vipere.jpg][width=6cm]}} \startframedtext[width=fit,background=color,backgroundcolor=FondTableaux] \input knuth \stopframedtext \stoptext ___ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___