Re: [NTG-context] Natural tables, offsets
On Sat, 29 Mar 2008 18:23:01 +0100, Wolfgang Schuster wrote: > On Fri, 28 Mar 2008 14:02:55 -0700 > David <[EMAIL PROTECTED]> wrote: > >> Hi all >> >> I'm using the natural table environment, and would like the text in >> each cell to have some horizontal offset from the cell boundaries - but >> I don't want to change the vertical offset. Is there a way to do this? > > \starttext > > \startsetups table:margins > > \rightskip=1cm\relax > \leftskip=1cm\relax > > \stopsetups > > \setupTABLE > [setups=table:margins] > > \bTABLE > \bTR > \bTD \input ward\par \eTD > \bTD \input ward\par \eTD > \eTR > \bTR > \bTD \input ward\par \eTD > \bTD \input ward\par \eTD > \eTR > \eTABLE > > \stoptext _ Thank you, Wolfgang. For my purposes, this setup is perfect. David ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Pagenumbering in header-margin with outer-align
On Fri, 28 Mar 2008 21:41:27 +0100 Peter Schorsch <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to put the pagenumber in the margin of the header. But I also > want > it outer-aligned - not inner-aligned, which seems to be the standart > alignment of margin. But the inner-align of the body-margin should still be > inner-aligned. So I tried following: > > \setuppagenumbering[conversion=Romannumerals,alternative=doublesided, > location={header,margin},style={\setupalign[outer]}] > > but Context dont like this.. it stops converting. Does anyone know a working > solution for this problem? \setuppagenumbering [conversion=Romannumerals, alternative=doublesided, location=] \setupheadertexts[margin] [][\hfil\pagenumber][\pagenumber\hfil][] \starttext \dorecurse{30}{\input knuth\par} \stoptext Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Natural tables, offsets
On Fri, 28 Mar 2008 14:02:55 -0700 David <[EMAIL PROTECTED]> wrote: > Hi all > > I'm using the natural table environment, and would like the text in > each cell to have some horizontal offset from the cell boundaries - but > I don't want to change the vertical offset. Is there a way to do this? \starttext \startsetups table:margins \rightskip=1cm\relax \leftskip=1cm\relax \stopsetups \setupTABLE [setups=table:margins] \bTABLE \bTR \bTD \input ward\par \eTD \bTD \input ward\par \eTD \eTR \bTR \bTD \input ward\par \eTD \bTD \input ward\par \eTD \eTR \eTABLE \stoptext Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bug in modes
The following works mirabile dictu: \enablemode[b,c] \startallmodes[b,c] \type{\startallmodes[b,c]} done \stopallmodes \startnotallmodes[c] \type{\startallmodes[b,c]} not done \stopallmodes % But the following gives an error: \enablemode[b,c] \startallmodes[b,c] \type{\startallmodes[b,c]} done \stopallmodes \startnotallmodes[c] \type{\startallmodes[b,c]} not done \stopnotallmodes % < Runaway argument? \type {\startallmodes [b,c]} not done \stopnotallmodes \blank \par \stoptext ! File ended while scanning use of \dostopallmodes. \par <*> testmodes.tex \emergencyend I guess the pairing of \startnotallmodes with \stopnotallmodes is at fault. In core-var.tex 234-235 I see: \long\def\dostartnotallmodes[#1]% {\docheckforallmodes\dostopallmodes\donothing{#1}} should be: \long\def\dostartnotallmodes[#1]% {\docheckforallmodes\dostopnotallmodes\donothing{#1}} I checked this patch: ConTeXt ver: 2008.03.24 23:24 MKII fmt: 2008.3.29 int: english/english Hans van der Meer ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___