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

2021-08-07 Thread Joey McCollum via ntg-context
ooter=empty, > align={flushleft,nothyphenated}, > style=MyPartFont, > > textstyle={\setcharacterkerning[mypartkerning]\setcharactercasing[WORD]}, > after={\page[blankpagebreak]}] > > \setupheader

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

2021-08-07 Thread Wolfgang Schuster via ntg-context
D]}, after={\page[blankpagebreak]}] \setupheadertexts [\structureuservariable{booktitle}] [] [] [\structureuservariable{booktitle}] \setupfootertexts [pagenumber] [] [] [pagenumber] \setupblank [line,fixed] \starttext \startMyPart [title={Title for Title Page}] [booktitle={Title for Header}]

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

2021-08-06 Thread Joey McCollum via ntg-context
even right, odd left, odd right %Ensure that whitespace respects the grid layout: \setupblank[line,fixed] \starttext \startMyPart[title={Title for Title Page}][booktitle={Title for Header}] \input knuth\par \input knuth\par \input knuth\par \input knuth\par \input knuth\par \input knuth \s

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
? Best, Denis \setuppapersize[A5][A5] \showframe \setupblank[big,flexible] \setupinterlinespace[stretch=0.03] \setuptolerance[vertical,stretch] \setupalign[height] \setuphead [section,subject] [ before={\blank[2*big,flexible

Re: [NTG-context] How to adjust inter item vertical space

2019-01-16 Thread Otared Kavian
Hi, You can define your own white space and then attribute it to each item, as in the following: \setupwhitespace[big] \startsetups[mywhitespace] \setupwhitespace[small] \setupblank[small] \stopsetups \setupitemize[each][inner=\directsetup{mywhitespace}] \starttext \input knuth

Re: [NTG-context] defining bug not setting up blank spaces

2017-02-14 Thread Hans Hagen
On 2/14/2017 7:17 PM, Pablo Rodriguez wrote: On 02/14/2017 06:41 PM, Hans Hagen wrote: [...] I don’t understand why \setupblank[ab][big] doesn’t work (with a previous \defineblank[ab]). I mean, for most elements \setupelement is possible after \defineelement. What is different

Re: [NTG-context] defining bug not setting up blank spaces

2017-02-14 Thread Pablo Rodriguez
On 02/14/2017 06:41 PM, Hans Hagen wrote: >> [...] >> I don’t understand why \setupblank[ab][big] doesn’t work (with a >> previous \defineblank[ab]). >> >> I mean, for most elements \setupelement is possible after \defineelement. >> >> What is differe

Re: [NTG-context] defining bug not setting up blank spaces

2017-02-14 Thread Hans Hagen
missing something or is there a reason to force the new definition (instead of the setup) of already defined blank spaces? I mean, if this isn’t a bug, I don’t see the gain in this behavior. ? Hans, I don’t understand why \setupblank[ab][big] doesn’t work (with a previous \defineblank[ab]). I mean

Re: [NTG-context] defining bug not setting up blank spaces

2017-02-14 Thread Pablo Rodriguez
\blank[ab] >> b >> \stoptext >> >> Am I missing something or is there a reason to force the new definition >> (instead of the setup) of already defined blank spaces? >> >> I mean, if this isn’t a bug, I don’t see the gain in this behavior. > > ? Ha

Re: [NTG-context] question about \setupitemgroup

2016-12-08 Thread Aditya Mahajan
On Sun, 27 Nov 2016, Pablo Rodriguez wrote: I have the following sample: \setupwhitespace[5em] \startsetups[smallwspa] \setupwhitespace[small] \setupblank[small] \stopsetups \setupitemize[each][indenting=no, setups=smallwspa] The setupitemize command does

Re: [NTG-context] question about \startitemize...\stopitemize (again)

2016-11-29 Thread Pablo Rodriguez
gt;> >> \setupwhitespace[5em] >> \startsetups[smallwspa] >> \setupwhitespace[small] >> \setupblank[small] >> \stopsetups >> \setupitemize[each][indenting=no, setups=smallwspa] > > \setupitemize[each][indenting=no,inner=\directsetup{smallwspa}] Wolfgang

Re: [NTG-context] question about \startitemize...\stopitemize (again)

2016-11-29 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 29. November 2016 um 19:28 Dear list, sorry for asking this question again, but I’m afraid I really need to solve this as soon as possible. I have the following sample: \setupwhitespace[5em] \startsetups[smallwspa] \setupwhitespace[small] \setupblank

[NTG-context] question about \startitemize...\stopitemize (again)

2016-11-29 Thread Pablo Rodriguez
Dear list, sorry for asking this question again, but I’m afraid I really need to solve this as soon as possible. I have the following sample: \setupwhitespace[5em] \startsetups[smallwspa] \setupwhitespace[small] \setupblank[small] \stopsetups \setupitemize[each

[NTG-context] question about \setupitemgroup

2016-11-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupwhitespace[5em] \startsetups[smallwspa] \setupwhitespace[small] \setupblank[small] \stopsetups \setupitemize[each][indenting=no, setups=smallwspa] \starttext \input knuth \startitemize \dorecurse{5

Re: [NTG-context] Unequal width columns

2016-08-09 Thread Kip Warner
Hey Jean-Pierre, That works wonderfully, except that for some reason all of the white space between paragraphs is gone in the second column. I'm not sure why since I have... \setupwhitespace[medium] \setupblank[big] -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail pref

Re: [NTG-context] struggling with section headers

2014-03-10 Thread Henning Hraban Ramm
] \setupindenting[yes, medium, next] \setupblank[big] \setupcolor[state=start] \setuplayout[grid=yes] \setupheads[ align={right,nothyphenated}, tolerance=verytolerant, grid=line ] \definefont[SectionFont][Sans at 11pt] % fits within grid \setuphead[section][ page=no, style={\SectionFont

Re: [NTG-context] struggling with section headers

2014-03-10 Thread Thangalin
=148mm] % ConTeXt seems to have forgotten about a5 and a6?? \setuppapersize[a6][a6] % small paper to get more breaks \setupbodyfont[rm,9pt] \setupinterlinespace[12pt] \setupindenting[yes, medium, next] \setupblank[big] \setupcolor[state=start] \setuplayout[grid=yes] \setupheads[ align={right

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Hans Hagen
\keeplinestogether (ConTeXt) but I'm not sure how to use any/all of these to get this effect. Try: \appendtoks\fixedblankskip\to\everybeforeblankhandling probably \setupblank[line] is better - Hans

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
\appendtoks\fixedblankskip\to\everybeforeblankhandling This seemed to work just fine. probably \setupblank[line] is better This did not seem to work. :-( Troy ___ If your question is of interest to others

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 13:35 schrieb Troy Henderson thend...@gmail.com: \appendtoks\fixedblankskip\to\everybeforeblankhandling This seemed to work just fine. probably \setupblank[line] is better This did not seem to work. :-( Use \setupblank[fixed,line

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
Use \setupblank[fixed,line]. Aditya's solution sees to force content at the bottom of the page to stay on the current page whereas Wolfgang's forces it to the next page. Both have benefits to me, so thanks for both solutions. Troy

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 14:13 schrieb Troy Henderson thend...@gmail.com: Use \setupblank[fixed,line]. Aditya's solution sees to force content at the bottom of the page to stay on the current page whereas Wolfgang's forces it to the next page. Both have benefits to me, so thanks for both

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Wolfgang Schuster wrote: Use \setupblank[fixed,line]. This is indeed the proper way. For some reason, I was simply testing with arguments to \setupwhitespace and, of course, \setupwhitespace[fixed,big] did not have the desired affect. Aditya

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
Thanks Wolfgang for the explanation. \setupblank[fixed,big] works very well too. Now for another question. I have modified SlideWithSteps from http://wiki.contextgarden.net/SlideWithSteps It seemed not to like \eject and I replaced \phantom{ ... } with \setlayer[StepsHiddenLayer]{ ... } where

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Otared Kavian
buffers, layers and some lua code, but even though I have some (obscure…) ideas I am really not good at writing code. Best regards: OK On 6 févr. 2013, at 16:26, Troy Henderson thend...@gmail.com wrote: Thanks Wolfgang for the explanation. \setupblank[fixed,big] works very well too. Now

Re: [NTG-context] space around formula

2012-07-20 Thread luigi scarso
to spaceafter=-1ex. Why is there seemingly always such a large space around the formula? Why not a much tighter boundary? spacebefore and spaceafter are \blank[p_spacebefore] and \blank[p_spaceafter] so if you setup blank http://wiki.contextgarden.net/Command/setupblank than also setup the space around

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
, margin=106pt, leftmargindistance=11pt, rightmargindistance=11pt% ] \setupblank[5.5pt] \setuppagenumbering [location=] \definetyping [widetyping] \setupheader [style=\ss] \setupfooter [style=\ss] \def\AuHead{% %\ifnum\pageno=\MapsPage \hbox{}\else \MapsRunningAuthor%\fi } \def\TiHead

Re: [NTG-context] setupfootnotes failing

2011-09-22 Thread Meer, H. van der
Here is your minimal example. \starttext \setupblank[line] \setupfootnotes[way=bychapter,rule=off,split=verystrict] Hello\crlf \stoptext The error is triggered by \setupblank[normal]. The manual lists as possibilities: normal, standard, line dimension big medium small fixed flexible

Re: [NTG-context] setupfootnotes failing

2011-09-22 Thread Wolfgang Schuster
Am 22.09.2011 um 08:13 schrieb Meer, H. van der: Here is your minimal example. \starttext \setupblank[line] \setupfootnotes[way=bychapter,rule=off,split=verystrict] Hello\crlf \stoptext The error is triggered by \setupblank[normal]. The manual lists as possibilities: normal

Re: [NTG-context] setupfootnotes failing

2011-09-22 Thread Meer, H. van der
22.09.2011 um 08:13 schrieb Meer, H. van der: Here is your minimal example. \starttext \setupblank[line] \setupfootnotes[way=bychapter,rule=off,split=verystrict] Hello\crlf \stoptext The error is triggered by \setupblank[normal]. The manual lists as possibilities: normal, standard, line

Re: [NTG-context] beta

2011-07-15 Thread Andreas Harder
Am 15.07.2011 um 13:33 schrieb Hans Hagen: On 15-7-2011 1:00, Andreas Harder wrote: The problematic part was \setupblank[medium]. Would it be possible to make this setup work also before \start[component | prodoct | text]? Well, in that case you need to initialize the bodyfont

Re: [NTG-context] beta

2011-07-15 Thread Wolfgang Schuster
Am 15.07.2011 um 13:43 schrieb Andreas Harder: If I'm getting you right, this should work? \startbuffer \setupbodyfont[modern] \setupblank[medium] \showframe \stopbuffer \getbuffer % \setupblank[medium] not applied \starttext % \getbuffer % \setupblank[medium] applied

Re: [NTG-context] beta

2011-07-15 Thread Andreas Harder
Am 15.07.2011 um 14:28 schrieb Wolfgang Schuster: Am 15.07.2011 um 13:43 schrieb Andreas Harder: If I'm getting you right, this should work? \startbuffer \setupbodyfont[modern] \setupblank[medium] \showframe \stopbuffer \getbuffer % \setupblank[medium] not applied \starttext

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
!verytolerant,\v!stretch] \setupblank [\v!medium] \setupwhitespace [\v!medium] \setuptyping [\c!blank=\v!medium] \setupheadertexts [\v!margin] [][\hfill\pagenumber\hfill] \setupfootertexts [\v!margin] [][{\hfill\doifnotmode{*\v!frontpart}{\getmarking[\v!chapter\v! number]}\hfill

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
, \c!frame=\v!off, \c!before=, \c!after=] % Number formulae etc. using the chapter number... \setupnumbering [way=bychapter] \setuppagenumbering [\c!location=] \setuptolerance [\v!verytolerant,\v!stretch] \setupblank [\v!medium] \setupwhitespace [\v!medium] \setuptyping

Re: [NTG-context] Difference between texexec and context when using indent

2011-04-18 Thread Cecil Westerhof
knuth \stoptext To control whether the next paragraph is indented or not should better be controlled with by \setupblank and not from \setupindenting. I did not know that it could be done with \setupblank. I was told that I needed to define a \myblank for it. But still I think it would be good

Re: [NTG-context] Difference between texexec and context when using indent

2011-04-18 Thread Wolfgang Schuster
Am 18.04.2011 um 09:24 schrieb Cecil Westerhof: I did not know that it could be done with \setupblank. I was told that I needed to define a \myblank for it. It isn’t possible to control the indentation with \setupblank but for me it would be the right command. The only way currently

Re: [NTG-context] Difference between texexec and context when using indent

2011-04-18 Thread Aditya Mahajan
On Mon, 18 Apr 2011, Wolfgang Schuster wrote: Am 18.04.2011 um 09:24 schrieb Cecil Westerhof: I did not know that it could be done with \setupblank. I was told that I needed to define a \myblank for it. It isn’t possible to control the indentation with \setupblank but for me it would

Re: [NTG-context] Difference between texexec and context when using indent

2011-04-17 Thread Wolfgang Schuster
To control whether the next paragraph is indented or not should better be controlled with by \setupblank and not from \setupindenting. Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] change affecting MPgraphic?

2010-09-24 Thread Marko Schütz Schmuck
=0in, header=0.5in, footer=0.5in, headerdistace=0in, footerdistance=0in ] \setupwhitespace [small] \setupblank [medium] %\startMPenvironment[global] %\definetypeface % [MyFace] [rm] [serif] [palatino] [default] [encoding=ec

[NTG-context] mkiv: \setupblank

2010-07-05 Thread Wolfgang Schuster
Hi Hans, \setupblank does not work with mkiv: \starttext text\blank text \hairline text\blank[2*line] text \page \setupblank[5cm] text\blank text \hairline text\blank[2*line] text \stoptext Wolfgang

[NTG-context] itemize-margin-break joinedup

2010-01-17 Thread Hans van der Meer
behaviour? Below is a minimal example showing the effect. Hans van der Meer \setupblank[small] \setupitemize[n,packed] \starttext \contextversion\ After \type{\startitemize[joinedup]} joinedup ok: \startitemize[joinedup] \item sub a \startitemize \item sub a1 \item sub a2

Re: [NTG-context] Call for papers (pracjourn mkiv)

2009-12-15 Thread Aditya Mahajan
] [section] %D We setup medium indenting, whitespace and blanks. \setupindenting [medium,yes] \setupwhitespace [medium] \setupblank [medium] %D We define logos for \PRACTEX\ and \TPJ. These definitions are copied from %D \filename{pracjourn.cls} and can be accessed by \type|\PracTeX|, %D

Re: [NTG-context] \*interaction* commands

2008-07-30 Thread Alan Stone
] \but [CloseDocument] Close \\ \stopinteractionmenu \setupwhitespace[big] \setupblank[big] %\defineoverlay[NextPage][\overlaybutton{forward}] \def\StartTitlePage% { \setupbackgrounds[text][text][background=] % \setupinteraction[menu=off] \setupinteraction[menu=on] %\setupinteractionbar

[NTG-context] Strange error in using backgrounds with enumerations

2008-07-13 Thread Aditya Mahajan
if it is an error in my setup, or some bug in context. I cannot check it on garden, since live is broken at the moment. Aditya\usemodule [bib] \definealternativestyle [emph] [\em] [] \setupblank [line] \setupwhitespace [small] \setupindenting [medium,yes] \setupinterlinespace

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
# \setlayerframed # \setlocalhsize # \setstrut \settextvariable[name]{text} \setupalign[options] \setuparranging[options] # \setupattachments \setupbackground[options] \setupbackgrounds[position][position][state][settings] \setupblackrules[options] \setupblank[options] \setupblock[names][options

Re: [NTG-context] \blank[big]

2007-11-07 Thread Wolfgang Schuster
. The normal \blank is equal to \blank[big] but you can change this with \setupblank[...] To get bigger values for blank you write for example: \starttext Line 1 \blank Line 2 \blank[2*big] \setupblank[2\baselineskip] Line 3 \blank Line 4 \stoptext The source code is your friend. Wolfgang

Re: [NTG-context] columns/blank=

2007-07-01 Thread Wolfgang Schuster
On Fri, 29 Jun 2007 20:01:11 +0200 Patrick Gundlach [EMAIL PROTECTED] wrote: Hi, what is the rationale behind \setupblank[\@@klblank]% \ifdim\ctxparskip\zeropoint\relax \setupwhitespace[\@@klblank]% \fi in page-mul.tex (columns)? It seems to me

[NTG-context] columns/blank=

2007-06-29 Thread Patrick Gundlach
Hi, what is the rationale behind \setupblank[\@@klblank]% \ifdim\ctxparskip\zeropoint\relax \setupwhitespace[\@@klblank]% \fi in page-mul.tex (columns)? It seems to me that blank=line inside a startcolumn does not work if ctxparskip = 0pt, which is the default. So

Re: [NTG-context] Letters in ConTeXt

2007-02-01 Thread John R. Culleton
p-letter.tex module which does something like setup layout setup fonts setup subject \setuppagenumbering[location={bottom,middle}] \setupwhitespace[big] \setupindenting[medium] \setupblank[big] Yes, that's it! In the letter, I manually write the typesetting commands in the letter

Re: [NTG-context] Letters in ConTeXt

2007-01-31 Thread Aditya Mahajan
setup fonts setup subject \setuppagenumbering[location={bottom,middle}] \setupwhitespace[big] \setupindenting[medium] \setupblank[big] Yes, that's it! In the letter, I manually write the typesetting commands in the letter \starttext \startlines To, Whoever ... \stoplines \blank[3*big

[NTG-context] strange dependency between cbox and whitespace?

2004-02-19 Thread Stefan Wachter
then the whitespaces between the paragraphs appear as expected. Does anyone know a workaround for this 'strange' behaviour of cboxes? Thanks for your attention, --Stefan \setupoutput[pdftex] \setupinteraction[openaction={firstpage,FitHeight},state=start] \setupwhitespace[small] \setupblank[100pt] \def