Re: [NTG-context] to pass an argument in a macro

2012-12-22 Thread Wolfgang Schuster
) context(x*x*x) end -- fonction tabf -- which makes a table , compute 6 values, b=first x, c = step userdata=userdata or {} function userdata.tabf(b,c) context.starttable{*{7}{|l}|} local b=b local c=c context(\\HL) context(\\VL x ) for i=1,6 do context(\\NC .. b+(i-1)*c) end

Re: [NTG-context] Arabic with ConTeXt

2012-11-22 Thread H. Özoguz
! \NC \language[en] \input knuth \NC\NR \HL % % \NC \placeprogresscounter \NC \language[deo] N?chster Abschnitt! \NC \language[en] \input ward \NC\NR \stoptabulate \stoptext Thank you. Why not simply a table without any workaround? \starttabulate[|p|p

Re: [NTG-context] Symbols

2012-11-21 Thread Hans Hagen
coded name because that triggers the most visible error message when the font is not found. A font like this can for instance be used with the glyph placement macros as is demonstrated below. In the last line we see that a direct \UTF\ input also works out well. \starttabulate[|||] \HL \NC

Re: [NTG-context] Symbols

2012-11-21 Thread Willi Egger
when the font is not found. A font like this can for instance be used with the glyph placement macros as is demonstrated below. In the last line we see that a direct \UTF\ input also works out well. \starttabulate[|||] \HL \NC \type{\getglyphdirect {ZapfDingbats*dingbats

Re: [NTG-context] Arabic with ConTeXt

2012-11-21 Thread Philipp Gesang
\progresscounter\plusone \the\progresscounter \fi } \starttext \starttabulate[|r|p|p|] \NC \placeprogresscounter \NC \language[deo] Hallo, Welt! \NC \language[en] \input knuth \NC\NR \HL % % \NC \placeprogresscounter \NC \language[deo] Nächster Abschnitt! \NC

Re: [NTG-context] making tables with lua

2012-10-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
, Jeong Dal hak...@me.com wrote: Dear all, I used code which generates the table as following: \startluacode local NC, NR, HL, VL = context.NC, context.NR, context.HL, context.VL context.starttabulate { |c|c|c|c|c|c|c|c|c|c| } HL() for i=1, 6, 1 do for j=1,10 ,1 do k= i % 3

Re: [NTG-context] making tables with lua

2012-10-17 Thread Hans Hagen
On 17-10-2012 03:13, Jeong Dal wrote: Dear all, I used code which generates the table as following: \startluacode local NC, NR, HL, VL = context.NC, context.NR, context.HL, context.VL context.starttabulate { |c|c|c|c|c|c|c|c|c|c| } HL() for i=1, 6, 1 do for j=1,10 ,1 do

Re: [NTG-context] making tables with lua

2012-10-17 Thread Jeong Dal
can write a similar function(s) to typeset via 'TABLE'. Best regards, Lukas On Wed, 17 Oct 2012 03:13:39 +0200, Jeong Dal hak...@me.com wrote: Dear all, I used code which generates the table as following: \startluacode local NC, NR, HL, VL = context.NC, context.NR, context.HL

[NTG-context] making tables with lua

2012-10-16 Thread Jeong Dal
Dear all, I used code which generates the table as following: \startluacode local NC, NR, HL, VL = context.NC, context.NR, context.HL, context.VL context.starttabulate { |c|c|c|c|c|c|c|c|c|c| } HL() for i=1, 6, 1 do for j=1,10 ,1 do k= i % 3 if k==1

[NTG-context] Split \starttabulates

2012-10-03 Thread Malte Stien
Dear all, I have a number of tables defined like this: \placetable[here][tab:some-table]{Some Table} \starttabulate[|w(.30\textwidth)p|w(.70\textwidth)p|] \HL \NC {\bf Animal} \NC {\bf Comment} \NC\FR \HL \NC Cat\NC Pretty cool \NC\MR \NC Bear \NC Kind of lazy

Re: [NTG-context] Split \starttabulates

2012-10-03 Thread Marco Patzer
2012-10-03 Malte Stien ma...@stien.de: Hi Malte \placetable[here][tab:some-table]{Some Table} \starttabulate[|w(.30\textwidth)p|w(.70\textwidth)p|] \HL \NC {\bf Animal} \NC {\bf Comment} \NC\FR \HL \NC Cat \NC Pretty cool \NC\MR \NC Bear \NC Kind of lazy

Re: [NTG-context] How to draw a red frame of a row in a matrix?

2012-07-25 Thread dalyoung
frames. I tried \mframed in a few different ways, but not succeed. \HL in \startalign...\stopalign is not working either. I think that \framed and \startformula\startalign have strong characters for each, it is not easy to combine them smoothly. It is just my guess. So far, using \mframed for each

Re: [NTG-context] How to draw a red frame of a row in a matrix?

2012-07-25 Thread Wolfgang Schuster
. Is there a way to do that? maybe \mframed He’s looking for \HL and \VL commands like the table below has to frame a complete row in the matrix. \starttext \startformula \startmatrix[left={\left(\,},right={\,\right)}] \NC a_{11} \NC a_{12} \NC \cdots \NC a_{1n} \NR \NC \vdots \NC \vdots \NC \vdots \NC

[NTG-context] about \startformula\startalign error

2012-07-22 Thread dalyoung
%% \starttext \starttable[|c|c|w4cm|w4cm|] \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC \NR \NC y' = \NC \NR \stopmatrix \VL \VL \NC\FR \HL \NC $y$ \VL \startformula\startalign \NC x' = \NC \NR \NC y' = \NC \NR \stopalign\stopformula \VL \VL \NC\LR \HL \stoptable

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread Aditya Mahajan
wrong? Thank you for reading. Best regards, Dalyoung %% \starttext \starttable[|c|c|w4cm|w4cm|] \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC \NR \NC y' = \NC \NR \stopmatrix \VL \VL \NC\FR \HL \NC $y$ \VL \startformula\startalign \NC

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread dalyoung
two more questions. 1. In the output of the following code, 'x' in the first column is vertically centered, but matrix in the second column is not(located at top). What option can solve this? \starttable[|c|c|w4cm|w4cm|] \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread Aditya Mahajan
(and their location can be controlled by location=(low|lohi|high) keys, but for some reason that is not working in a table. \starttable[|c|c|w4cm|w4cm|] The normal syntax is w(4cm) ... \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC \NR .\NC y' = \NC \NR \stopmatrix

[NTG-context] report of strange(?) output depending on the location of \StartSteps ... \StopSteps

2012-07-21 Thread dalyoung
\starttable[|c|c|c|c|c|c|] \HL \VL \VL A \VL B \VL C \VL D \VL E \VL\FR \HL \VL \VL 2\VL 1\VL 3\VL 2\VL 2\VL\SR \HL \stoptable ... I got correct steps flush1 and flush 2, but the table after the steps was disappeared.(just white page) If I change the order of table and items, both

Re: [NTG-context] math symbol: blacktriangle

2012-07-18 Thread Hans Hagen
Hi, I uploaded a new beta .. still not ok I guess: \setuplayout[header=0pt,footer=0pt,height=middle,width=middle] \setupbodyfont[dejavu,10pt] \startbuffer \starttabulate[|||pT|] \HL \NC \type{\blacktriangle } \NC \blacktriangle \NC \meaning\blacktriangle \NC \NR \NC \type

Re: [NTG-context] math symbol: blacktriangle

2012-07-18 Thread Andreas Mang
guess: \setuplayout[header=0pt,footer=0pt,height=middle,width=middle] \setupbodyfont[dejavu,10pt] \startbuffer \starttabulate[|||pT|] \HL \NC \type{\blacktriangle } \NC \blacktriangle \NC \meaning\blacktriangle \NC \NR \NC \type{\blacktriangledown } \NC \blacktriangledown \NC

Re: [NTG-context] math symbol: blacktriangle

2012-07-18 Thread Aditya Mahajan
}{\smallblacktriangleleft }{\mathord}{left triangle, filled}% \UnicodeMathSymbol{025C3}{\smalltriangleleft}{\mathord}{left triangle, open}% Aditya \setuplayout[header=0pt,footer=0pt,height=middle,width=middle] \setupbodyfont[dejavu,10pt] \startbuffer \starttabulate[|||pT|] \HL

[NTG-context] Tables still broken?

2012-07-06 Thread Meer, H. van der
match its definition. system tex error on line 5 in file Tabellen/tabel-engels.tex: Use of ... 1 % Part of Practicumboek Cryptografie - ConTeXt version 2 % 3 \placetable{}{\smallsize\tt 4 \starttable[s1|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|] 5 \HL

Re: [NTG-context] xtable

2012-06-22 Thread Wolfgang Schuster
Am 21.06.2012 um 16:27 schrieb Meer, H. van der: Can one put individual horizontal and vertical lines between rows/columns in xtable? Just like for example \HL in \starttable? You can use MetaPost to draw the rules but it’s awkward because you can make a setup like this \setuxptable

Re: [NTG-context] xtable

2012-06-22 Thread Meer, H. van der
On 22 jun. 2012, at 10:53, Wolfgang Schuster wrote: Am 21.06.2012 um 16:27 schrieb Meer, H. van der: Can one put individual horizontal and vertical lines between rows/columns in xtable? Just like for example \HL in \starttable? You can use MetaPost to draw the rules but it’s awkward

Re: [NTG-context] xtable

2012-06-22 Thread Wolfgang Schuster
Am 22.06.2012 um 12:00 schrieb Meer, H. van der: On 22 jun. 2012, at 10:53, Wolfgang Schuster wrote: Am 21.06.2012 um 16:27 schrieb Meer, H. van der: Can one put individual horizontal and vertical lines between rows/columns in xtable? Just like for example \HL in \starttable? You

[NTG-context] xtable

2012-06-21 Thread Meer, H. van der
Can one put individual horizontal and vertical lines between rows/columns in xtable? Just like for example \HL in \starttable? The workings of parameter spaceinbetween on \startxtable remain a mystery to me. Can someone enlighten me? Hans van der Meer

[NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
|] % This is OK \HL \NC aaa \AR \HL \stoptable \starttable[Test] % A problem (?) \HL \NC aaa \AR \HL \stoptable \stoptext What am I doing wrong? Another question - is there a better way to define table template? Like \definetable[TestTab][|c|] (or \setuptable

Re: [NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Wolfgang Schuster
doesn't work: \definetabletemplate[Test][|c|] \starttext \starttable[|c|] % This is OK \HL \NC aaa \AR \HL \stoptable \starttable[Test] % A problem (?) \HL \NC aaa \AR \HL \stoptable \stoptext What am I doing wrong? It’s a bug, here is a fix

Re: [NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
://wiki.contextgarden.net/Command/definetabletemplate, http://www.mail-archive.com/search?l=ntg-context%40ntg.nlq=definetabletemplate). The following code doesn't work: \definetabletemplate[Test][|c|] \starttext \starttable[|c|] % This is OK \HL \NC aaa \AR \HL \stoptable

[NTG-context] linetable

2012-02-27 Thread Leon Adams
Hello, I have a rather large table that I have to typeset. It needs to be rotated 90 to fit and will span several pages. I have tried: \setuptables[split=repeat] \placetable[split,90][table:literature]{A selected survey...}{\start \starttablehead \HL \NC {\bf Reference} \NC {\bf Application} \NC

[NTG-context] \starttabulate inside a \placelegend is not working

2011-12-20 Thread Charles
with footnotes.} \placelegend {\starttable[|l|r|] \HL \VL One\footnote{First} \VL Two\footnote{Second} \VL\FR \VL Three\footnote{Third} \VL Four\footnote{Fourth} \VL\LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes \startlocalfootnotes \placetable

Re: [NTG-context] Table cell colo(u)rs

2011-11-25 Thread Hans Hagen
: ! Undefined control sequence. system tex error on line 4 in file tmp.tex: Undefined control sequence ... 1 \setupcolors[state=start] 2 \starttable[|l|l|] 3 \HL 4 \BL[1]\SR 5 \NC Command \NC Meaning \NC\SR 6 \HL 7 \NC \tex{NC} \NC next column \NC\FR 8

[NTG-context] float names and lists

2011-11-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following: = \definefloat[tablecw] % \setupfloat[tablecw] \setupcaption[tablecw][prefix=Table] \starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Caption.} {\starttable[|c|c|c|] \HL \VL Test \VL Test

[NTG-context] Double height rows using natural tables?

2011-11-24 Thread Pavneet Arora
Description: Adobe PDF document \setuppapersize[letter] \setuplayout[header=0in,footer=0in,topspace=0.75in,backspace=1.25in] \setuppagenumbering[location=] \switchtobodyfont[11pt] \starttext \startalignment[center] \placetable[here][]{none} \starttable[|cw(0.75in)|lw(1.5in)|cw(0.75in)|lw(1.5in)|] \HL

Re: [NTG-context] float names and lists

2011-11-24 Thread Idris Samawi Hamid ادريس سماوي حامد
\placelistoffloatswith 's' at the end. Now it's just\placelistoffloatSo the following now works:\definefloat[tablecw] \setuplabeltext[tablecw=Table]\starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Regular Caption.} {\starttable[|c|c|c|]\HL \VL Test \VL

[NTG-context] Table cell colo(u)rs

2011-11-17 Thread Pavneet Arora
: Undefined control sequence ... 1 \setupcolors[state=start] 2 \starttable[|l|l|] 3 \HL 4 \BL[1]\SR 5 \NC Command \NC Meaning \NC\SR 6 \HL 7 \NC \tex{NC} \NC next column \NC\FR 8 \NC \tex{NR} \NC next row\NC\LR 9 \HL 10 \CL[green]\SR 11

Re: [NTG-context] Table cell colo(u)rs

2011-11-17 Thread Christian
: Undefined control sequence ... 1 \setupcolors[state=start] 2 \starttable[|l|l|] 3 \HL 4 \BL[1]\SR 5 \NC Command \NC Meaning \NC\SR 6 \HL 7 \NC \tex{NC} \NC next column \NC\FR 8 \NC \tex{NR} \NC next row\NC\LR 9 \HL 10

Re: [NTG-context] Table cell colo(u)rs

2011-11-17 Thread Andreas Harder
. system tex error on line 4 in file tmp.tex: Undefined control sequence ... 1 \setupcolors[state=start] 2 \starttable[|l|l|] 3 \HL 4 \BL[1]\SR 5 \NC Command \NC Meaning \NC\SR 6 \HL 7 \NC \tex{NC}\NC next column \NC\FR 8 \NC \tex{NR}\NC

Re: [NTG-context] Table bug in MkIV?

2011-11-07 Thread Hans Hagen
On 7-11-2011 03:17, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, It seems that \starttable has a bug in MkIV: \starttext \starttable{|c|c|c|} [ ] \HL \VL Test \VL Test \VL Test \VL\FR \stoptable \stoptext

Re: [NTG-context] Table bug in MkIV?

2011-11-07 Thread Wolfgang Schuster
control sequence? This sent me down dead ends as I tried to figure out what was wrong in the main project… \HL is only a valid command in the table environment in your example the command was seen by TeX (when \starttable was looking for the column alignment) before it was defined. Wolfgang

[NTG-context] Table bug in MkIV?

2011-11-06 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, It seems that \starttable has a bug in MkIV: \starttext \starttable{|c|c|c|} \HL \VL Test \VL Test \VL Test \VL\FR \stoptable \stoptext This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332) \write18 enabled. (placetable.tex ConTeXt ver: 2011.11.05 01:19 MKIV fmt

[NTG-context] Runaway argument with \stoptabulate in a macro

2011-08-03 Thread Cecil Westerhof
I have the following code: \usemodule[fancybreak] \definefancybreak[myblank][indentnext=no] \define[2]\StartWorkTable{ \myblank[2*big] \starttabulate[|w(.1\textwidth)|p(.9\textwidth)|] \HL \NC #1 \NC #2 \NC\NR \HL \NC\NC {\bf Gedaan} \NC\NR } \define[1

[NTG-context] Using Luatex.

2011-06-29 Thread John Culleton
files with a few statements to get at fonts not included with TeX, e.g., \input luaotfload.sty \font\lll={CHOPS___.TTF} at 48bp \font\lk={CHOPS___.TTF} at 36bp \font\hl={CHOPS___.TTF} at 16bp \font\head={CHOPS___.TTF} at 26bp \font\lr pplr7t at 12bp \font\llr pplr7t at 14bp \font\rm pplr7t at 10bp

Re: [NTG-context] Using Luatex.

2011-06-29 Thread luigi scarso
\lll={CHOPS___.TTF} at 48bp \font\lk={CHOPS___.TTF} at 36bp \font\hl={CHOPS___.TTF} at 16bp \font\head={CHOPS___.TTF} at 26bp \font\lr pplr7t at 12bp \font\llr pplr7t at 14bp \font\rm pplr7t at 10bp \font\it pplri7t at 10bp \font\bf pplb7t at 10bp Even if you can use a sort of plain

Re: [NTG-context] t-filter: how to use math-mode

2011-06-23 Thread yoraxe
[here]{none} \starttable[|l|l|] \HL \NC first \NC second \NC\AR \HL \NC a\letterunderscore{}b \NC 1.6 \NC\AR \NC \$a\letterunderscore{}b\$ \NC 2.5 \NC\AR \HL \stoptable ___ If your question is of interest to others as well

[NTG-context] Digits-Module in tabulate does not work

2011-06-09 Thread yoraxe
with: \starttabulate[|l|l] \HL \NC first \NC second \AR \HL \NC \digits{30e-3}\NC \digits{30e+3} \AR \HL \stoptabulate In the pdf-file now appears only 30e-3. Thanks, Yoraxe ___ If your question is of interest to others as well, please

Re: [NTG-context] Digits-Module in tabulate does not work

2011-06-09 Thread Wolfgang Schuster
not work in the tabulate-environment with: \starttabulate[|l|l] \HL \NC first \NC second \AR \HL \NC \digits{30e-3}\NC \digits{30e+3} \AR \HL \stoptabulate In the pdf-file now appears only 30e-3. \starttext \starttabulate[|l|l|] \HL \NC first \NC second \NC\NR \HL \NN 30e-3 \NN 30e+3

Re: [NTG-context] Digits-Module in tabulate does not work

2011-06-09 Thread yoraxe
}$ \stoptext But now I'm wondering why this module does not work in the tabulate-environment with: \starttabulate[|l|l] \HL \NC first \NC second \AR \HL \NC \digits{30e-3}\NC \digits{30e+3} \AR \HL \stoptabulate In the pdf-file now appears only 30e-3. \starttext \starttabulate[|l|l|] \HL

[NTG-context] Problem centernig a table by Lua

2011-05-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm typesetting a centered (middaligned) 1-cell table by Ctx - no problem. When I rewrite the same code to Lua, the table is always moved to the right; see or try the attached files. --- \starttext % By TeX \centerline{ \starttable[|c|] \HL \VL 5 \VL\AR \HL

Re: [NTG-context] Problem centernig a table by Lua

2011-05-13 Thread Hans Hagen
{ \starttable[|c|] \HL \VL 5 \VL\AR \HL \stoptable } % By Lua \startluacode context([[\centerline{]]) context.starttable{|c|} context.HL() context.VL(5); context.VL(); context.AR() context.HL() context.stoptable() context([[}]]) \stopluacode \stoptext --- Why? How to modify the Lua code? You

Re: [NTG-context] Problem centernig a table by Lua

2011-05-13 Thread luigi scarso
2011/5/13 Hans Hagen pra...@wxs.nl: You also need to modify the tex code (space after {) \starttext  % By TeX  \centerline{%    \starttable[|c|]      \HL      \VL 5 \VL\AR      \HL    \stoptable  } my faults, sorry -- luigi

[NTG-context] Still wrestling with multiplication tables

2011-05-04 Thread Alasdair McAndrew
Hello again, So I decide to try with tables: \starttable[|m|m|m|m|m|m|m|m|m|] \NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR \HL \NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR \NC R\VL R\NC R^2\NC R^3\NC I\NC FR\NC FR^2\NC FR^3\NC F\NR \NC R^2\VL R

Re: [NTG-context] Still wrestling with multiplication tables

2011-05-04 Thread Aditya Mahajan
On May 4, 2011, at 9:35 AM, Alasdair McAndrew amc...@gmail.com wrote: Hello again, So I decide to try with tables: \starttable[|m|m|m|m|m|m|m|m|m|] \NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR \HL \NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR

Re: [NTG-context] Still wrestling with multiplication tables

2011-05-04 Thread Alasdair McAndrew
\AR \HL \NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR \NC R\VL R\NC R^2\NC R^3\NC I\NC FR\NC FR^2\NC FR^3\NC F\NR \NC R^2\VL R^2\NC R^3\NC I\NC R\NC FR^2\NC FR^3\NC F\NC FR\NR \NC R^3\VL R^3\NC I\NC R\NC R^2\NC FR^3\NC F\NC FR\NC FR^2\NR \NC F\VL F

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-05-01 Thread Paul Menzel
-rest.t*:: rest-temp-rest.tex :: \placetable[here]{none} \starttable[|l|l|] \HL \NC test \NC table \NC\AR \HL \NC α \NC b \NC\AR \NC c \NC d

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-04-30 Thread Paul Menzel
-rest.tex :: \placetable[here]{none} \starttable[|l|l|] \HL \NC test \NC table \NC\AR \HL \NC α \NC b \NC\AR \NC c \NC d \NC\AR \HL \stoptable

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-04-30 Thread Aditya Mahajan
{os.execute()}. Also, what OS you are on? $ pandoc -f rst -t context -o rest-temp-rest.tex rest-temp-rest.tmp $ more rest-temp-rest.t*:: rest-temp-rest.tex :: \placetable[here]{none} \starttable[|l|l|] \HL \NC test

[NTG-context] Centerd table?

2011-04-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, why this code doesn't give a centered table? --- \starttext \startalignment[middle] \dontleavehmode \starttable[|c|c|c|] \HL \VL a \VL b \VL c \VL\AR \HL \VL a \VL b \VL c \VL\AR \HL \stoptable \stopalignment \stoptext --- How to achieve

Re: [NTG-context] Centerd table?

2011-04-19 Thread Wolfgang Schuster
Am 19.04.2011 um 11:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, why this code doesn't give a centered table? --- \starttext \startalignment[middle] \dontleavehmode \starttable[|c|c|c|] \HL \VL a \VL b \VL c \VL\AR \HL \VL a \VL b \VL c

[NTG-context] Tabulate

2011-04-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, several questions about tabulate. Let's have: --- \starttext \setuptabulate[header=repeat] \starttabulatehead \HL \NC T \NC U \NC\AR % [1] \SR? \NR?... \HL \stoptabulatehead \starttabulate[|c|c|] \NC a \NC b \NC\NR \NC A \NC B \NC\NR \stoptabulate

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
it into a “\placetable”-float seems to get rid of it: ···8 \setuptabulate[split=yes,header=repeat] \starttext \starttabulatehead \HL \NC {\bf format char} \NC {\bf meaning} \NC \NR \HL \stoptabulatehead \placetable[here]{none

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
of it Hi Philipp, in deed it does with \placetable[here]. I should have added that I wrapped it inside \placetable[split] to split the table over several pages. Unfortunately this messes up the header lines: \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC {\bf format char

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
expected that. All I can say is that the stray spacing vanishes with double-line headers: ··8· \starttabulatehead \HL \NC {\bf format char} \NC {\bf meaning} \NC \NR \NC {\bf format char} \NC {\bf meaning} \NC \NR \HL

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
vanishes with double-line headers: But then, the second header line vanishes on the second page. Leaving out the \HL at the end of the header would be another solution: ··8· \starttabulatehead \HL \NC {\bf format char} \NC {\bf

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Philipp Gesang
, 0, 1, }, { 0, 1, 0, }, { 0, 1, 1, }, { 1, 0, 0, }, { 1, 0, 1, }, { 1, 1, 0, }, { 1, 1, 1, }, } --- Lua stuff 1 - userdata.env = [[ \starttable[%s] \HL %s \HL \stoptable ]] local fmt, rep, unpack = string.format

[NTG-context] Escaping from modes set for tabulate

2011-01-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible to escape from modes (fonts) defined in \starttabulate[...]? I mean just for header - to escape the math mode and to switch to normal font temporarily: --- \starttext I get: \starttabulate[|lT|mc|p|] \NC Code \NC Symbol\NC Description \NC\NR \HL

Re: [NTG-context] multipage tables - vertical space

2011-01-02 Thread Peter Van Kranenburg
On 12/6/10 1:18 PM, Hans Hagen wrote: On 5-12-2010 3:16, Peter Van Kranenburg wrote: Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL

[NTG-context] Table resolution too low

2010-12-23 Thread Tom
this as a problem but is there a way to cause it to be 300dpi or greater to eliminate the warning? \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL \VL Albert Exendine \VL End \VL 1970 \VL\SR \HL \VL Joe Guyon \VL Halfback/Tackle \VL

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Tom
://www.cacert.org (I'm an assurer) Here is an example: \starttext \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL \VL Albert Exendine \VL End \VL 1970 \VL\SR \HL \VL Joe Guyon \VL Halfback/Tackle \VL 1971 \VL\SR \HL \VL James

Re: [NTG-context] Table resolution too low

2010-12-23 Thread luigi scarso
On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote: Here is an example: \starttext \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL \VL Albert Exendine \VL End \VL 1970 \VL\SR \HL \VL Joe Guyon \VL

Re: [NTG-context] problems with \hbox inside lua

2010-12-23 Thread Mojca Miklavec
at some point, but didn't take time to think about how to create an arbitrary number of columns.) But then I have another question: how can I use \HL and \VL? The following code doesn't create any line at all: function draw_table(unicode_start,n_columns) context.bgroup

Re: [NTG-context] problems with \hbox inside lua

2010-12-23 Thread Mojca Miklavec
On Thu, Dec 23, 2010 at 18:06, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: But then I have another question: how can I use \HL and \VL? The following code doesn't create any line at all: I'm sorry. I was compiling the wrong file. Mojca

Re: [NTG-context] Table resolution too low

2010-12-23 Thread luigi scarso
On Thu, Dec 23, 2010 at 8:36 PM, Tom t...@tuxedo-press.com wrote: On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote: Here is an example: \starttext \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL \VL

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Tom
On Thu, Dec 23, 2010 at 8:36 PM, Tom t...@tuxedo-press.com wrote: On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote: Here is an example: \starttext \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL

[NTG-context] tiny bug in table (or my code?)

2010-12-10 Thread Mojca Miklavec
\AR} \starttable[|cp(2em)|rp(2em)|rp(2em)|] \HL \VL 1 \NC 2 \NC 3 \VL\AR \mymacro123 \HL \stoptable Mojca PS: \startTEXpage ... \stopTEXpage around the code behaves as if table was infinitely small. Is that OK? table.pdf Description: Adobe PDF document

Re: [NTG-context] multipage tables - vertical space

2010-12-06 Thread Hans Hagen
On 5-12-2010 3:16, Peter Van Kranenburg wrote: Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL \stoptablehead \starttabletail \HL

[NTG-context] multipage tables - vertical space

2010-12-05 Thread Peter Van Kranenburg
Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \dorecurse{100}{\VL

[NTG-context] gaps in vertical border of table

2010-12-05 Thread Peter Van Kranenburg
with: \steltabellenin[korps=10pt,splitsen=herhaal] \plaatstabel[splitsen,hier][tab:custodeshymnes]{Caption.}{\start \starttabelkop \HL \VL \bf Hymne \VL \bf Verset \VL \bf Type A \VL \bf Type B \VL \bf Type C \VL \bf Type D \VL\MR \HL \stoptabelkop \starttabelstaart \HL \stoptabelstaart \starttabellen[|l|l|l|l|l|l

Re: [NTG-context] \starttable ... \stoptable part II

2010-12-02 Thread Alan BRASLAU
\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

Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-26 Thread Mathieu Boespflug
Behavior of Italian Firms}}, url = {http://books.google.com/books?hl=en\amp;lr=\amp;id=2NYtQ3DVY3cC\amp;oi=fnd\amp;pg=PA110\amp;dq=The+Pricing+Behavior+of+Italian+Firms:+New+Survey+Evidence+on+Price+Stickiness\amp;ots=L-0XAawg3h\amp;sig=CbdHk4CnJ9RQIFwiu5XwYUYtxzQ}, year = {2007} } @conference

[NTG-context] new beta

2010-11-26 Thread Hans Hagen
Hi, I uploaded a new beta. The most important issues are the following: (1) Table I fixed a few things and there is limit color support \VL[10]rule ten times wider than normal \VL[red] red rule \VL[red,10]both The same applies to \HL and \DL, but with \DL the first argument

Re: [NTG-context] new beta

2010-11-26 Thread Willi Egger
\VL[10]rule ten times wider than normal \VL[red] red rule \VL[red,10]both The same applies to \HL and \DL, but with \DL the first argument hs the number of spans, so we can have: \DL[2,red,10]. (2) Buffers and typing This whole bunch has been cleaned up and pretty

[NTG-context] tables and column spanning

2010-11-25 Thread Mojca Miklavec
Dear Hans, In MKIV I miss the probably recently dropped command \use{number-of-column} from \starttable ... \stoptable environment. In MKII it still works perfectly fine. Here's an example from Wiki for testing: \starttable[s(0pt)|ls(10pt)|rs(0pt)|] \HL \NC \use{2}\ReFormat[cB]{Spanning head

[NTG-context] \HL[...] in mkiv

2010-11-25 Thread Herbert Voss
runs in mkii and mkiv, but the optional argument for \HL is only valid for mkii. For mkiv it is not taken into account. \starttext \starttable[|c|c|c|c|c|c|c|c|c|c|]\HL \VL 1 \VL 2 \VL 3 \VL 4 \VL 5 \VL 6 \VL 7 \VL 8 \VL 9 \VL 10 \VL\AR\HL[5] \stoptable \stoptext Herbert

[NTG-context] \starttable ... \stoptable

2010-11-24 Thread Herbert Voss
what is wrong with the \em? With \bf or {\em ...} it is fine ! Misplaced \omit. recently read \omit \normalTABLEquote -\unskip \!ttRightGlue \omit \tablepos l.5 \NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't

[NTG-context] \starttable ... \stoptable part II

2010-11-24 Thread Herbert Voss
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

Re: [NTG-context] \starttable ... \stoptable

2010-11-24 Thread Hans Hagen
\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

Re: [NTG-context] \starttable ... \stoptable

2010-11-24 Thread Herbert Voss
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

[NTG-context] \starttable ... \stoptable III

2010-11-24 Thread Herbert Voss
\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

Re: [NTG-context] \starttable ... \stoptable III

2010-11-24 Thread Hans Hagen
{#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

[NTG-context] nested tabulate

2010-11-22 Thread Herbert Voss
I get funny horizontal lines in this example \starttext \starttabulate[|p|p|] \HL \NC {\starttabulate[|c|c|] \HL \NC c\NC c\NC\NR\HL \NC c\NC c\NC\NR \stoptabulate} \NC Text \NC\NR\HL \NC C\NC C\NC\NR \HL \stoptabulate \stoptext minimal, mkii

Re: [NTG-context] tabulate

2010-11-20 Thread Herbert Voss
\starttabulate[|p(0.35\textwidth)|p(0.125\textwidth)|p|]\HL \NC foo \NC bar \NC baz \NC\NR \stoptabulate \stoptext Herbert ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] tables and color

2010-11-17 Thread Hans Hagen
\stoptabulate % \starttabulate[||p||] % \CC[green] test \CC[red] test \CC[blue] test \NC \NR % \NC \setlocalhsize \the\localhsize test \NC test \NC test \NC \NR % \HL % \NC test \CC[green] \input tufte \CC[yellow] test \NC \NR % \RC rc \NC test \NC test \NC \NR % \NC \EQ[blue] test \NC test \NC \NR

[NTG-context] tabulate with a header

2010-11-16 Thread Herbert Voss
\starttext \startcolumns \setuptabulate[header=repeat] \starttabulatehead \HL \NC\em SPALTE 1 \NC\em SPALTE 2\NC\NR\HL \stoptabulatehead \starttabulate[|c|c|] \dorecurse{100}{\NC Die erste Spalte \NC Und die zweite\NC\NR} \stoptabulate \stopcolumns \stoptext is it possible to get identical

Re: [NTG-context] table background color in first row

2010-11-12 Thread Hans Hagen
\SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext Both \BL and \CL work with MkII but in MkIV \BL gives a black rule (rather than gray), which \CL gives an error. Hans, any ideas? For a simple table, you can also use \startTABLE \NC \NC ... \NC \NR

Re: [NTG-context] table background color in first row

2010-11-12 Thread Aditya Mahajan
\bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext Both \BL and \CL work with MkII but in MkIV \BL gives a black rule (rather than gray), which \CL gives an error. Hans, any ideas? For a simple table, you can also

[NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
Hi there, I have s simple table like this: \starttext \starttable[|l|l|] \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext and like to have a light gray background for the heading row. I found

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 19:44 schrieb Manfred Lotz: Hi there, I have s simple table like this: \starttext \starttable[|l|l|] \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext and like

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
\HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext and like to have a light gray background for the heading row. I found documentation about \setupTABLE which on the one hand I did not fully understand how to use and on the other

Re: [NTG-context] table background color in first row

2010-11-11 Thread Aditya Mahajan
This is mainly for completeness: On Thu, 11 Nov 2010, Manfred Lotz wrote: and like to have a light gray background for the heading row. \starttext \starttable[|l|l|] \BL[2] \SR % or % \CL[gray] \SR \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC

<    1   2   3   4   5   6   >