[NTG-context] \starttable ... \stoptable padding
How do I adjust the margin/padding of \starttable ... \stoptable? In particular, can I make cells immediately next to one another without any padding? Troy Henderson ___ 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] \starttable ... \stoptable part II
On Wednesday 24 November 2010 14:57:36 Hans Hagen wrote: > On 24-11-2010 2:54, Herbert Voss wrote: > > works with mkii, but not with mkiv > > example is from the documentation: > > > > \starttext > > > > \starttable[|l|c|c|] > > \DC\DL[2] \DR > > \NC\VL Mickey \VL Goofy \VL\SR \HL > > \VL Donald \VL $\star$ \VL \VL\SR \HL > > \VL Pluto \VL \VL $\star$ \VL\SR \HL > > \stoptable > > > > \stoptext > > > > > > ! Undefined control sequence. > > \next ->\setTABLEerror > > > > \TABLEspanoverflow \handleTABLEerror > > > > \normalTABLEmultirule #1->&\use {#1} > > > > \normalTABLElongrule& > > > > \complexTableDL ...lTABLEmultirule {#1}}\fi \next > > > >\fi > > > > l.4 \DC\DL[2] > > > > \DR > > ok, i'll fix it Still broken... Alan ___ 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] \starttable ... \stoptable III
On Thursday 25 November 2010 13:16:38 Wolfgang Schuster wrote: > Am 25.11.2010 um 11:16 schrieb Alan BRASLAU: > > So if tabulate is indeed to replace table and tables, perhaps they should > > be "eliminated". For backward compatibility, perhaps starttable and > > starttables could be synonymes for starttabulate? Or perhaps I am > > missing something. > > Tables has different spacing between the rows (\FL, \ML, etc.) than > tabulate and you can span columns which isn’t supported by tabulate. > > What tables miss is the indent feature from tabulate in narrower > environments and itemize. > Would it be logical to merge table, tables, and tabulate? The choice can be a bit confusing. Alan ___ 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] \starttable ... \stoptable III
Am 25.11.2010 um 11:16 schrieb Alan BRASLAU: > So if tabulate is indeed to replace table and tables, perhaps they should be > "eliminated". For backward compatibility, perhaps starttable and starttables > could be synonymes for starttabulate? Or perhaps I am missing something. Tables has different spacing between the rows (\FL, \ML, etc.) than tabulate and you can span columns which isn’t supported by tabulate. What tables miss is the indent feature from tabulate in narrower environments and itemize. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \starttable ... \stoptable III
On Thursday 25 November 2010 09:49:39 Hans Hagen wrote: > On 24-11-2010 7:20, Alan BRASLAU wrote: > > On Wednesday 24 November 2010 19:06:19 Hans Hagen wrote: > >> ok, thanks for testing it ... I'm stripping that old code so bugs can > >> creep in; I'm also considering removing the CL and such > > > > \CL[color] % colored line > > \BL[number_cells] % grey background ("BL" = ?) > > > > They are useful. What should replace them? > > tabulate and bTABLE > > if colors shows up again in table then it's as in tabulate now but i > need some strong motivation for that > The logic behind table (tables, and tabulate) differs greatly from that of bTABLE. Their use is different and one may be more "natural" than the other, depending on one's point of view. Both mechanisms have their legitimate place in ConTeXt. I see that tabulate is "recommended" (http://wiki.contextgarden.net/Tables_Overview) and that table and tables are "deprecated". I suppose that this is due to an internal re-write. What remains to be implemented in tabulate in order to fully replace table and tables? According to the wiki: vertical lines. The wiki is out-of-date, however, for in mkiv \VL is "% present but not yet 100% ok" So if tabulate is indeed to replace table and tables, perhaps they should be "eliminated". For backward compatibility, perhaps starttable and starttables could be synonymes for starttabulate? Or perhaps I am missing something. Alan ___ 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] \starttable ... \stoptable III
On 24-11-2010 7:20, Alan BRASLAU wrote: On Wednesday 24 November 2010 19:06:19 Hans Hagen wrote: ok, thanks for testing it ... I'm stripping that old code so bugs can creep in; I'm also considering removing the CL and such \CL[color] % colored line \BL[number_cells] % grey background ("BL" = ?) They are useful. What should replace them? tabulate and bTABLE if colors shows up again in table then it's as in tabulate now but i need some strong motivation for that Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] \starttable ... \stoptable III
On Wednesday 24 November 2010 19:06:19 Hans Hagen wrote: > > ok, thanks for testing it ... I'm stripping that old code so bugs can > creep in; I'm also considering removing the CL and such > \CL[color] % colored line \BL[number_cells] % grey background ("BL" = ?) They are useful. What should replace them? Alan ___ 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] \starttable ... \stoptable III
On 24-11-2010 6:50, Herbert Voss wrote: Next problem with \NL, works with mkii but not mkiv ! Misplaced \noalign. \TABLEnoalign ->\noalign \bgroup \let \noalign \relax \let \next = \complexTableNL [#1]->\TABLEnoalign {\edef \@@tiNL {#1}\simpleTableNL } l.5 ...\VL $\star$ \VL \VL\SR \HL\NL[30pt] ? \starttext \starttable[|l|c|c|] \NC\VL Mickey \VL Goofy \VL\SR \HL \VL Donald \VL $\star$ \VL \VL\SR \HL\NL[30pt] \VL Pluto \VL \VL $\star$ \VL\SR \HL \stoptable \stoptext ok, thanks for testing it ... I'm stripping that old code so bugs can creep in; I'm also considering removing the CL and such - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] \starttable ... \stoptable III
Next problem with \NL, works with mkii but not mkiv ! Misplaced \noalign. \TABLEnoalign ->\noalign \bgroup \let \noalign \relax \let \next = \complexTableNL [#1]->\TABLEnoalign {\edef \@@tiNL {#1}\simpleTableNL } l.5 ...\VL $\star$ \VL \VL\SR \HL\NL[30pt] ? \starttext \starttable[|l|c|c|] \NC\VL Mickey \VL Goofy \VL\SR \HL \VL Donald \VL $\star$ \VL \VL\SR \HL\NL[30pt] \VL Pluto \VL \VL $\star$ \VL\SR \HL \stoptable \stoptext Herbert ___ 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] \starttable ... \stoptable
Am 24.11.2010 18:27, schrieb Hans Hagen: > On 24-11-2010 12:20, Herbert Voss wrote: >> what is wrong with the \em? With \bf or {\em ...} it is fine >> \starttext >> >> \starttable[|l|r|]\HL >> \NC \bf Spalte 1 \NC \bf Spalte 2 \NC \FR \HL% works >> %\NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't work >> \NC $alfa$ \NC $beta$ \NC \MR >> \NC Links\NC Rechts \NC \LR \HL >> \stoptable >> >> \stoptext > > in font-ini.mkiv: > > \def\emphasiscorrection > {\ifhmode\ifnum\currentgrouptype=\@@aligngroup\else > \expandafter\expandafter\expandafter\emphasislook >\fi\fi} thanks Hans, works now. Herbert ___ 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] \starttable ... \stoptable
On 24-11-2010 12:20, Herbert Voss wrote: what is wrong with the \em? With \bf or {\em ...} it is fine ! Misplaced \omit. \omit \normalTABLEquote ->\unskip \!ttRightGlue&\omit \tablepos& l.5 \NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't work ? \starttext \starttable[|l|r|]\HL \NC \bf Spalte 1 \NC \bf Spalte 2 \NC \FR \HL% works %\NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't work \NC $alfa$ \NC $beta$ \NC \MR \NC Links\NC Rechts \NC \LR \HL \stoptable \stoptext in font-ini.mkiv: \def\emphasiscorrection {\ifhmode\ifnum\currentgrouptype=\@@aligngroup\else \expandafter\expandafter\expandafter\emphasislook \fi\fi} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] \starttable ... \stoptable part II
On 24-11-2010 2:54, Herbert Voss wrote: works with mkii, but not with mkiv example is from the documentation: \starttext \starttable[|l|c|c|] \DC\DL[2] \DR \NC\VL Mickey \VL Goofy \VL\SR \HL \VL Donald \VL $\star$ \VL \VL\SR \HL \VL Pluto \VL \VL $\star$ \VL\SR \HL \stoptable \stoptext ! Undefined control sequence. \next ->\setTABLEerror \TABLEspanoverflow \handleTABLEerror \normalTABLEmultirule #1->&\use {#1} \normalTABLElongrule& \complexTableDL ...lTABLEmultirule {#1}}\fi \next \fi l.4 \DC\DL[2] \DR ok, i'll fix it - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] \starttable ... \stoptable part II
works with mkii, but not with mkiv example is from the documentation: \starttext \starttable[|l|c|c|] \DC\DL[2] \DR \NC\VL Mickey \VL Goofy \VL\SR \HL \VL Donald \VL $\star$ \VL \VL\SR \HL \VL Pluto \VL \VL $\star$ \VL\SR \HL \stoptable \stoptext ! Undefined control sequence. \next ->\setTABLEerror \TABLEspanoverflow \handleTABLEerror \normalTABLEmultirule #1->&\use {#1} \normalTABLElongrule & \complexTableDL ...lTABLEmultirule {#1}}\fi \next \fi l.4 \DC\DL[2] \DR ? Herbert ___ 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] \starttable ... \stoptable
what is wrong with the \em? With \bf or {\em ...} it is fine ! Misplaced \omit. \omit \normalTABLEquote ->\unskip \!ttRightGlue &\omit \tablepos & l.5 \NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't work ? \starttext \starttable[|l|r|]\HL \NC \bf Spalte 1 \NC \bf Spalte 2 \NC \FR \HL% works %\NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't work \NC $alfa$ \NC $beta$ \NC \MR \NC Links\NC Rechts \NC \LR \HL \stoptable \stoptext Herbert ___ 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] \starttable...\stoptable
> Bernd wrote: > Hi, > > is there a function like cline{1-2} in LaTeX > to produce a frame around a special cell? > > thanks > This environment has colorsupport. I doubt that the line thickness can be influenced for indidual cells. I suggest that you have a look into the bTABLE -- eTABLE environment, which has many more possibilities. Willi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \starttable...\stoptable
Hi, is there a function like cline{1-2} in LaTeX to produce a frame around a special cell? thanks Bernd ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context