[NTG-context] Re: Asking help for better way to make tickets.

2024-01-12 Thread Marco Patzer
[page] \setuppagenumbering [state=stop] \setupmakeup [standard] [align=middle] \setupblank [2*line] \showframe \starttext \dorecurse{12}{%% \startstandardmakeup Text \blank {\tfd\recurselevel} \blank Text \stopstandardmakeup \page} \stoptext That'

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

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

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

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

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

2021-08-06 Thread Joey McCollum via ntg-context
number] %even left, 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\p

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
mehow? 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,fle

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 with

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 not

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
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

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] 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] Fixed Line Height

2013-02-06 Thread Otared Kavian
aybe with using 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 wrote: > Thanks Wolfgang for the explanation. \setupblank[fixed,big] works very well > too. Now

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[StepsH

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 Wolfgang Schuster
Am 06.02.2013 um 14:13 schrieb 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

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 bo

Re: [NTG-context] Fixed Line Height

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

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 quest

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Hans Hagen
playwidowpenalty \widowpenalty \keeplinestogether (ConTeXt) but I'm not sure how to use any/all of these to get this effect. Try: \appendtoks\fixedblankskip\to\everybeforeblankhandling p

Re: [NTG-context] space around formula

2012-07-20 Thread luigi scarso
fter=-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 th

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
pt, header=33pt, 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 \MapsRunnin

Re: [NTG-context] setupfootnotes failing

2011-09-22 Thread Meer, H. van der
gt; 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 b

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]. > >

Re: [NTG-context] setupfootnotes failing

2011-09-21 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. Of

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 >>

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 > % \g

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

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

2011-06-23 Thread Kip Warner
r... \setupnumbering [way=bychapter] \setuppagenumbering [\c!location=] \setuptolerance [\v!verytolerant,\v!stretch] \setupblank [\v!medium] \setupwhitespace [\v!medium] \setuptyping [\c!blank=\v!medium] \setupheadertexts [\v!margin] [][\hfill\pagenumber\hfill] \setupfootertexts [\v!marg

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
, \c!backgroundoffset=.25ex, \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] \setu

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 be

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 Cecil Westerhof
dium,first] > > \input knuth > > \blank > > \input knuth > > \page > > \setupindenting[yes,medium,next] > > \input knuth > > \blank > > \input knuth > > \stoptext > > To control whether the next paragraph is indented or not should > be

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

2011-04-17 Thread Wolfgang Schuster
ium,next] \input knuth \blank \input knuth \stoptext To control whether the next paragraph is indented or not should better be controlled with by \setupblank and not from \setupindenting. Wolfgang ___ If your ques

[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 ___ If

[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
kmarks [section,subsection] [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 ac

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

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

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

2008-07-13 Thread Aditya Mahajan
up, 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[auto,medium] \setu

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\setcollector # \setevalue # \setevariables # \setflag # \setfontstrut # \setgvalue # \setgvariables # \setlayer # \setlayerframed # \setlocalhsize # \setstrut \settextvariable[name]{text} \setupalign[options] \setuparranging[options] # \setupattachments \setupbackground[options] \setupbackgrounds[

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

2007-11-07 Thread Wolfgang Schuster
type{\normalskipamount} equals the current baseline % distance. 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 \bla

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 > >

[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.

Re: [NTG-context] Letters in ConTeXt

2007-02-01 Thread John R. Culleton
f you think about it, a letter is usually something fairly > straight-forward. I have a personal p-letter.tex module which does > something like > > > > > > > > \setuppagenumbering[location={bottom,middle}] > > \setupwhitespace[big] > \setupindenting[medium] >

Re: [NTG-context] Letters in ConTeXt

2007-01-31 Thread Aditya Mahajan
ex module which does something like \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 ... \stopl

Re: [NTG-context] Page breaking problem

2006-06-19 Thread Helin Gai
>> >> \adaptlayout[page_numbers][height,lines] >> \makeupwidth, \makeupheight, \textwidth, \textheight (=height-header- >> footer) >> \stoptyping >> >> \chapter{Logo} >> >> \starttyping >> \definelogo[name][2][3][..=..] >> 2. top he

Re: [NTG-context] Page breaking problem

2006-06-19 Thread Hans Hagen
typing > \setupinterlinespace[..._][..=..] > ..._ reset small_ medium big on off > height, depth, top, bottom: number > line: dimen > > \setupwhitespace[...] > none_, small, medium, big, line, fixed, fix, dimen > \whitespace > \nowhitespace > > \blank[..] > n*sm

[NTG-context] Page breaking problem

2006-06-19 Thread Helin Gai
small_ medium big on off height, depth, top, bottom: number line: dimen \setupwhitespace[...] none_, small, medium, big, line, fixed, fix, dimen \whitespace \nowhitespace \blank[..] n*small n*medium n*big nowhite back white disable force reset line halfline formula fixed flexible \setupblank[

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

2004-02-20 Thread Stefan Wachter
tHeight},state=start] \setupwhitespace[small] \setupblank[100pt] \def\Para#1{\cbox{#1 \dorecurse{10}{this is some paragraph text}}\par} \starttext \Para{1} \blank[big] \Para{2} \blank[medium] \Para{3} \blank[small] \Para{4} \stoptext has to do with the way tex handles vbox/vtop's (tex does not

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

2004-02-19 Thread Hans Hagen
rt] \setupwhitespace[small] \setupblank[100pt] \def\Para#1{\cbox{#1 \dorecurse{10}{this is some paragraph text}}\par} \starttext \Para{1} \blank[big] \Para{2} \blank[medium] \Para{3} \blank[small] \Para{4} \stoptext has to do with the way tex handles vbox/vtop's (tex does not have dual baseline

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

2004-02-19 Thread Stefan Wachter
s 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] \se