[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
Hi Wolfgang, On Thu, 11 Nov 2010 20:13:22 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: 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

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

2010-11-11 Thread Wolfgang Schuster
[background=color,backgroundcolor=gray] \bTH Colheader 1 \eTH \bTH Colheader 2 \eTH \eTR \bTR \bTD cell 11 \eTD \bTD cell 11 \eTD \eTR \bTR \bTD cell 11 \eTD \bTD cell 11 \eTD \eTR \eTABLE 3. How does this \bTABLE stuff compare to the \starttable stuff

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

2010-11-11 Thread Manfred Lotz
Colheader 1 \eTH \bTH Colheader 2 \eTH \eTR \bTR \bTD cell 11 \eTD \bTD cell 11 \eTD \eTR \bTR \bTD cell 11 \eTD \bTD cell 11 \eTD \eTR \eTABLE Great, good to know. 3. How does this \bTABLE stuff compare to the \starttable stuff? Are these just different

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

[NTG-context] Spanning in \start/stop-table?

2010-11-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, just to confirm - - is it possible to span several columns (rows) in tables created by \starttable ... \stoptable? I cannot find such an example, so I guess it's not possible. - I mean something like what is done by \bTD[nc = 3] ... \eTD in \bTABLE ... \eTABLE. Best regards, Lukas

Re: [NTG-context] Spanning in \start/stop-table?

2010-11-03 Thread luigi scarso
2010/11/3 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, just to confirm - - is it possible to span several columns (rows) in tables created by \starttable ... \stoptable? I cannot find such an example, so I guess it's not possible. - I mean something like what is done

Re: [NTG-context] Spanning in \start/stop-table?

2010-11-03 Thread Thomas A. Schmitz
On Nov 3, 2010, at 4:54 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, just to confirm - - is it possible to span several columns (rows) in tables created by \starttable ... \stoptable? I cannot find such an example, so I guess it's not possible. - I mean something like

Re: [NTG-context] Spanning in \start/stop-table?

2010-11-03 Thread Henning Hraban Ramm
Am 2010-11-03 um 16:54 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: - is it possible to span several columns (rows) in tables created by \starttable ... \stoptable? I cannot find such an example, so I guess it's not possible. What's wrong with http://wiki.contextgarden.net/Table

Re: [NTG-context] Spanning in \start/stop-table?

2010-11-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks, I've been searching in \starttable and \bTABLE command reference and also in contextref.pdf. I didn't notice the http://wiki.contextgarden.net/Table#Column_Spans. I've also experimented with \TWO and similar, but I thought they were to be used like \TWO{some text}. I didn't know

Re: [NTG-context] dorecurse in table

2010-09-06 Thread Aditya Mahajan
On Mon, 6 Sep 2010, Cecil Westerhof wrote: The following code does what I want: \blank \SetTableToWidth{\textwidth} \starttable[|lp(0.90\textwidth)|] Some text \SR \SR \HL \SR \HL \SR \HL \SR \HL \stoptable \blank The correct syntax is \NC ... \NC \SR

Re: [NTG-context] dorecurse in table

2010-09-06 Thread Cecil Westerhof
Op maandag 6 sep 2010 23:18 CEST schreef Aditya Mahajan: The following code does what I want: \blank \SetTableToWidth{\textwidth} \starttable[|lp(0.90\textwidth)|] Some text \SR \SR \HL \SR \HL \SR \HL \SR \HL \stoptable \blank [CUT] Table and expansion are tricky. The error

Re: [NTG-context] align header in table

2010-08-27 Thread Jerónimo Alaminos Prats
El 26/08/2010, a las 20:29, Jerónimo Alaminos Prats escribió: Hi all, I've been following the examples in the garden to write the following table \chardef\characteralignmentmode=1 \startTABLE \setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE

[NTG-context] align header in table

2010-08-26 Thread Jerónimo Alaminos Prats
Hi all, I've been following the examples in the garden to write the following table \chardef\characteralignmentmode=1 \startTABLE \setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE[frame=off] \setupTABLE[row][first][bottomframe=on] \NC \alpha \NC \beta \NC

[NTG-context] table row span question

2010-08-25 Thread Martin Althoff
\setuppapersize[A4,landscape][A4] \def\TagBreite{4cm} \starttext \placetable{Stundenplan} \starttable[|r w(1cm) |p(\TagBreite) c|p(\TagBreite) c|p(\TagBreite) c|p(\TagBreite) c|p(\TagBreite) c|] \HL \VL Std \VL Montag \VL Dienstag \VL Mittwoch \VL Donnerstag \VL Freitag \VL\FR \HL % Row Span

[NTG-context] Mysterious space in first table column

2010-08-24 Thread Adam C.M. Solove
I am trying to typeset a simple table with very tight spacing. The first column of the table is wider than the others with a mysterious amount of extra space added on the left. You can reproduce this with a simple example: \starttext \starttable[|s1l|l|l|l|l|l|l|l|l|] \HL \VL4\NC 1\NC 7\VL\AR

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Aditya Mahajan
at the macro definitions and you will agree :) anyhow, i expect much better functionality (e.g. clever spanning alternatives) with a lua based table implementation. we have to wait for that. Also remember that the starttable macros are just a wrapper around TaBlE macros written by Michael

[NTG-context] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Aditya, On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu wrote: Have you tried using natural tables. Now you can use them with almost the same amount of typing as the old table macros. \startTABLE \NC text 1 \NC text 2 \NC\NR \NC text 3 \NC text 4 \NC\NR \stopTABLE

Re: [NTG-context] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread luigi scarso
2010/7/15 Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu Hi Aditya, On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu wrote: Have you tried using natural tables. Now you can use them with almost the same amount of typing as the old table macros. \startTABLE

Re: [NTG-context] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread Hans Hagen
On 15-7-2010 7:45, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Aditya, On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu wrote: Have you tried using natural tables. Now you can use them with almost the same amount of typing as the old table macros. \startTABLE \NC text

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Hans Hagen
On 15-7-2010 7:37, Aditya Mahajan wrote: Also remember that the starttable macros are just a wrapper around TaBlE macros written by Michael Wichura. I don't know if those have enough hooks to support a high level interface. indeed .. I actually should merge all the patches on TaBLe

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 15 Jul 2010 12:43:44 -0600, Hans Hagen pra...@wxs.nl wrote: I must admit that I haven't used starttable for ages Well then, that settles it; the current project is my last start/stoptable :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal

Re: [NTG-context] Dutch interface for starttablehead starttabletail

2010-06-25 Thread Wolfgang Schuster
on the way how the command was defined, for \starttable you can search 'starttable' because this is the internal command name and the dutch interface defines \starttabel as \def\starttabel{\starttable} but \starttabelkop is generated with the format generation. When you take a look into the code you can

Re: [NTG-context] Problems with TeX Live 2010

2010-06-17 Thread Matija Šuklje
\startletter As promised, here is the financial report of our Fellowship group's Document Freedom Day event. We spent 116.50 € and below you see a small analysis of what these expenses were. \starttable[|r|l|rT|] \HL \NC receipt no. \NC contents \NC amount \SR \HL \NC 02300 \NC posters

[NTG-context] Title page layout

2010-05-31 Thread Scott Steele
\starttable[s(0pt)|lw(\TitlePageVar)|cw(\SubtitleWidth)|] \NC\NC{\scd #1}\AR \NC\NC{\scc #2} \stoptable \page } \showgrid \startfrontmatter \TitlePage{Title}{Longer Subtitle} \stopfrontmatter Thanks, Scott - This is a work of fiction. Names, characters, places, and incidents either

Re: [NTG-context] table bug

2010-05-23 Thread Taco Hoekwater
Wolfgang Schuster wrote: Hi, in the last current the table environment is broken. \starttext \starttable[|l|] \NC text \NC\NR \stoptable \stoptext That should have been the beta, because the problem is the result of some extra \unexpanded prefixes Hans added in the beta. I removed a few

Re: [NTG-context] table bug

2010-05-23 Thread Hans Hagen
On 23-5-2010 12:30, Taco Hoekwater wrote: Wolfgang Schuster wrote: Hi, in the last current the table environment is broken. \starttext \starttable[|l|] \NC text \NC\NR \stoptable \stoptext That should have been the beta, because the problem is the result of some extra \unexpanded prefixes

[NTG-context] table bug

2010-05-22 Thread Wolfgang Schuster
Hi, in the last current the table environment is broken. \starttext \starttable[|l|] \NC text \NC\NR \stoptable \stoptext ! Misplaced \noalign. \TABLEnoalign -\noalign \bgroup \let \noalign \relax \let \next = \insertTABLEtail -\TABLEnoalign

Re: [NTG-context] table bug

2010-05-22 Thread Marius
environment is broken. \starttext \starttable[|l|] \NC text \NC\NR \stoptable \stoptext ! Misplaced \noalign. \TABLEnoalign -\noalign                         \bgroup \let \noalign \relax \let \next = \insertTABLEtail -\TABLEnoalign                                 {\global \settrue

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-13 Thread Mojca Miklavec
a random equation out of a document since it looked nicer). 6.) I know that \NR is not the most appropriate way to go into next row, but the following gives considerably different results in MKII and MKIV: \starttable[|l|] \NC \type{a} \NC\NR \NC \type{a} \NC\NR \NC \type{a} \NC\NR \stoptable

[NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Mojca Miklavec
\oklepaj{\exp\oklepaj{-\frac{t-t_0}{τ_{\text{eksp.-\exp\oklepaj{-\frac{t-t_0}{τ_{\text{slow} \stopformula \stoptext 6.) I know that \NR is not the most appropriate way to go into next row, but the following gives considerably different results in MKII and MKIV: \starttable[|l|] \NC \type{a} \NC

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Hans Hagen
6.) I know that \NR is not the most appropriate way to go into next row, but the following gives considerably different results in MKII and MKIV: \starttable[|l|] \NC \type{a} \NC\NR \NC \type{a} \NC\NR \NC \type{a} \NC\NR \stoptable probably because \type has no strut in mkiv ... maybe

Re: [NTG-context] Multiple pleas for help (long)

2010-05-09 Thread Scott Steele
[slashy][Slashy][factor=7,type=pdf] \def\Slashy{\hbox{\externalfigure[slashy]}} I'm currently working on the Table of Contents formatting. I'm trying to format it as follows: \starttable[|r|c|l|] subjectName · pageNumber\MR subjectName · pageNumber\MR ...etc... \stoptable % Of course, where I

Re: [NTG-context] strange page break

2010-05-06 Thread Peter Münster
want that \def\Lines#1{\dorecurse{#1}{\dorecurse{17}{text }}\par} \def\Table#1{\starttable[|l|]\dorecurse{#1}{\NC bla \NC\AR}\stoptable} \showframe \starttext \completecontent \section{bla} \Lines{10} \Lines3 \section{bla} \Table9 \section{bla} \subsection{bla} \Lines2 \placetable[force][bla1]{bla

Re: [NTG-context] strange page break

2010-05-06 Thread Otared Kavian
flushbottom and I don't always want that \def\Lines#1{\dorecurse{#1}{\dorecurse{17}{text }}\par} \def\Table#1{\starttable[|l|]\dorecurse{#1}{\NC bla \NC\AR}\stoptable} \showframe \starttext \completecontent \section{bla} \Lines{10} \Lines3 \section{bla} \Table9 \section{bla} \subsection{bla

[NTG-context] table, setuptable, TWO

2010-04-20 Thread R. Bastian
\setuptable[rulethickness=0.04em] % = \starttable[|r|r|r|l|r|r|r|r|r|r|r|r|] \HL \NC n \NC \bf temps \NC \bf min:sec \NC \bf genre \NC 1 \NC \NC 2 \NC \NC 3 \NC \NC 4 \NC \SR % == \HL \NC 0\NC 0\NC 0: 0\NC venter1 \NC 1\NC 9 \NC 1 \NC 9 \NC 1 \NC 9 \NC 1\NC 9 \FR

Re: [NTG-context] table, setuptable, TWO

2010-04-20 Thread Wolfgang Schuster
{Sequences} {\setupinterlinespace[line=3ex]\midaligned \midaligned {... \starttable ... \stoptable} or \placetable[force,none]{} {... \starttable ... \stoptable} Wolfgang ___ If your question

[NTG-context] Multiple side-by-side tables

2010-04-05 Thread Troy Henderson
I would like to put several tables side-by-side one another. Nesting \placesidebyside commands seems a bit inconvenient. Suggestions on how to make \starttable ... \stoptable not create a newline (without the \placesidebyside command) would be greatly appreciated. -- Troy Henderson

Re: [NTG-context] Multiple side-by-side tables

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 15:48, schrieb Troy Henderson: I would like to put several tables side-by-side one another. Nesting \placesidebyside commands seems a bit inconvenient. Suggestions on how to make \starttable ... \stoptable not create a newline (without the \placesidebyside command) would be greatly

[NTG-context] colored column

2010-03-13 Thread Wolfgang Werners-Lucchini
Hallo, can someone explain how to write a table column in color, please? The following example worked in 2006 but is not working anymore: \starttext \starttable[o1|\{C{red}|] \VL red \VL\SR \stoptable \stoptext Wolfgang Schuster posted last year the following example: \NewFormatKey W#1

Re: [NTG-context] colored column

2010-03-13 Thread Wolfgang Schuster
Am 13.03.10 18:51, schrieb Wolfgang Werners-Lucchini: So, how can I do the job? Natural tables? \setupTABLE[offset=0pt,loffset=0.25ex,roffset=0.25ex] % l|roffset requires MKIV \setupTABLE[frame=off,leftframe=on,rightframe=on] \starttext \startTABLE[color=red] \NC red \NC\NR \stopTABLE

Re: [NTG-context] Unable to use example from Excursion

2010-03-11 Thread Aditya Mahajan
(copy/paste from the .pdf) This works (copy pasted from the source and remove the \ in the caption) \starttext \startbuffer \placetable [here,force] [tab:setuptable] {Use of \type{setuptables}.} {\startcombination[1*3] {\setuptables[bodyfont=10pt] \starttable[|c|c|c|c|c|c|] \HL \VL \use6

Re: [NTG-context] table alignment

2010-03-01 Thread Wolfgang Werners-Lucchini
Thank you Aditya and Wolfgang, I will try it both: No page breaks possible: \defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before =,after=] \starttext vorher \startnarrower text \starttablebox \starttable[s0|l|] \NC table entry \NC\AR \stoptable

Re: [NTG-context] table alignment

2010-02-28 Thread Wolfgang Schuster
\starttablebox \starttable[s0|l|] \NC table entry \NC\AR \stoptable \stoptablebox \stopnarrower text \startnarrower text \startlinecorrection \dontleavehmode \startTABLE[frame=off,offset=0pt,loffset=0.25ex,roffset=0.25ex] \NC table entry \NC\NR \stopTABLE \stoplinecorrection \stopnarrower text \stoptext

Re: [NTG-context] table alignment

2010-02-27 Thread Wolfgang Werners-Lucchini
Hallo, But how can I get my 3cm? If you do not use horizontal lines \starttable[o(3cm)|l|] Aditya Not horizontal lines, but a gray header: \starttable[o(3cm)|l|] \RL\SR \NC hmm \NC\AR \stoptable Thank you Aditya for this workaround. If there is really no solution, I will make

Re: [NTG-context] table alignment

2010-02-27 Thread Aditya Mahajan
On Sat, 27 Feb 2010, Wolfgang Werners-Lucchini wrote: Hallo, But how can I get my 3cm? If you do not use horizontal lines \starttable[o(3cm)|l|] Aditya Not horizontal lines, but a gray header: \starttable[o(3cm)|l|] \RL\SR \NC hmm \NC\AR \stoptable Thank you Aditya

Re: [NTG-context] table alignment

2010-02-26 Thread Aditya Mahajan
is that little space from? How can I get a left space of, say 3cm? \starttables[s0|l|] I see. So, there is no space anymore. But how can I get my 3cm? If you do not use horizontal lines \starttable[o(3cm)|l|] Aditya

Re: [NTG-context] table, middle

2010-01-29 Thread Aditya Mahajan
On Fri, 29 Jan 2010, R. Bastian wrote: Hello, I wish to align horizontally a table at the middle of \textwidth. without Table xx.y. \placetable[here,none]{}{\starttable ... \stoptable} or \midaligned{\starttable ... \stoptable} My environment: Debian/Gnome Context mkii Snow : 11cm

[NTG-context] simple layout

2010-01-12 Thread Wolfgang Werners-Lucchini
Hallo, I need a little help for this simple layout. I am looking for a solution for hours now, but I can not get it work: \setupcolors[state=start] \starttext \framed[background=color, backgroundcolor=gray]{% \starttable[|lp(.1

Re: [NTG-context] simple layout

2010-01-12 Thread Wolfgang Schuster
\framed[background=color, backgroundcolor=gray]{% \starttable[|lp(.1\textwidth)|lp(.9\textwidth)|] \NC \placefigure[left,high]{none}{\framed[height=1cm]{graphic}} \NC \tbox{\externalfigure[...]} \NC ... \NC\AR You can find more box type in supp-box.tex Kind regards, Wolfgang

Re: [NTG-context] Table macro choices?

2009-12-06 Thread Wolfgang Schuster
] \initializeboxstack{table} \savebox{table}{footer}{\starttable[s0|l|l|l|l|l|l|] \NC Accept \NC \THREE No detectable indications at the time of inspection \NC Reject \NC See remarks for explanation\NC\NR \NC BT \NC Burn-through \NC IP \NC Incomplete

Re: [NTG-context] \setupfloat[..][..., after=\stopframedtext] not working?

2009-12-05 Thread Wolfgang Schuster
\next \else \expandafter\setbox\expandafter\nextbox\expandafter\vbox \fi} \futurelet\next\checknextbox\bgroup text\egroup \box\nextbox \futurelet\next\checknextbox{text} \box\nextbox \futurelet\next\checknextbox\starttable[|l|l|]\HL\NC text \NC text \NC\SR\HL\stoptable \box\nextbox

Re: [NTG-context] Heros condensed and Font switching

2009-11-23 Thread Wolfgang Schuster
{Excel Time and Date} When using Time and Date calculations with Excel important functions are \XLF{DATUM} and {\XLF ZEIT}. \starttable[|l|l|] \NC text \NC more text \NC\AR \NC other text \NC fill the rest \NC\AR \stoptable \stoptext Wolfgang

Re: [NTG-context] local footnote (Tables) problem

2009-11-21 Thread Bowen Alan C.
A} \NC \REF[c]{Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC

[NTG-context] local footnote (Tables) problem

2009-11-18 Thread Bowen Alan C.
] \starttablehead \HL[3] \NC \REF[c]{Column A} \NC \REF[c]{Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR

Re: [NTG-context] local footnote (Tables) problem

2009-11-18 Thread Alan BRASLAU
Alan I believe that you need to use \starttables\stoptables rather than \starttable\stoptable. See: http://wiki.contextgarden.net/Tables_Overview Alan On Wednesday 18 November 2009 20:20:06 Bowen Alan C. wrote: Wolfgang— I adapted the file that you sent me so that the table extends

Re: [NTG-context] local footnote (Tables) problem

2009-11-18 Thread Bowen Alan C.
Thanks, Alan. I tried that---it is what I ordinarily use---and am sad to report that it makes no difference: the problem persists. Alan On Nov 18, 2009, at 15;19,00 , Alan BRASLAU wrote: Alan I believe that you need to use \starttables\stoptables rather than \starttable\stoptable. See

Re: [NTG-context] local footnote (Tables) problem

2009-11-18 Thread Wolfgang Schuster
Am 18.11.2009 um 21:19 schrieb Alan BRASLAU: Alan I believe that you need to use \starttables\stoptables rather than \starttable\stoptable. No, what you need is \placetable[split,...]{...}{...}. You don't need starttables/stoptables because the table environment goes into the split mode

Re: [NTG-context] local footnote (Tables) problem

2009-11-18 Thread Bowen Alan C.
\stoptables rather than \starttable\stoptable. No, what you need is \placetable[split,...]{...}{...}. You don't need starttables/stoptables because the table environment goes into the split mode itself when you set either \setuptable[split=yes] or \placetable[split]. Wolfgang

Re: [NTG-context] local footnote (Tables) problem

2009-11-16 Thread Bowen Alan C.
\stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote

Re: [NTG-context] local footnote (Tables) problem

2009-11-15 Thread Wolfgang Schuster
]{\switchtobodyfont[11pt]Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \stoptable \stopframedtext

[NTG-context] labelling again: tables? And captions?

2009-10-30 Thread Pau
Hello, how can I add a label and a caption to a table? I guess that the label is \starttable[|l|l|l|l|l|l|l|l|][MyLabel] But what about the caption? I have been looking in http://wiki.contextgarden.net/Table Thanks a lot for the help... Cheers, Pau

Re: [NTG-context] framedtext in naturaltables

2009-10-02 Thread Xan
, però només uns quants representen el 98\% de l'escorça terrestre. \placetable[here,none][fig:1]{Geoelements}{\starttable[|c|c|c|c|] Element \VL \% mineral \VL Element \VL \% mineral \FR \HL Oxigen \VL 46 \VL Calci \VL 4 \MR \HL Silici \VL 27 \VL Sodi \VL 2,8 \MR \HL Alumini \VL 8 \VL Potasi \VL

[NTG-context] white color turns black inside a table

2009-09-14 Thread Mojca Miklavec
Hello, I have problems with the following minimal example (I only want to typeset white labels inside the table), but maybe I'm the only one again: \setupcolors[state=start] \starttext \startcolor[white] \placetable[force]{none}{\starttable[|r|] \NC \color[red]{me} \AR \stoptable

Re: [NTG-context] white color turns black inside a table

2009-09-14 Thread Mojca Miklavec
}{\starttable[|r|]        \NC \color[red]{me} \AR \stoptable} \placetable[force]{none}{\def\a#1{\color[white]{#1}}\starttable[|r|l|]        \NC \a{one} \NC \a{one} \AR        \NC \a{two} \NC \a{two} \AR \stoptable} \placetable[force]{none}{\starttable[|r|]        \NC \color[white]{me} \AR

Re: [NTG-context] white color turns black inside a table

2009-09-14 Thread Hans Hagen
Mojca Miklavec wrote: Hello, I have problems with the following minimal example (I only want to typeset white labels inside the table), but maybe I'm the only one again: \setupcolors[state=start] \starttext \startcolor[white] \placetable[force]{none}{\starttable[|r|] \NC \color[red

Re: [NTG-context] Using \startalign outside of math mode?

2009-08-28 Thread Aditya Mahajan
is essentially a table with some predefined defaults. You can try something like (untested) \starttable[|rs(0.2em)|cs(0.2em)|l|] \NC foo \NC = \NC bar \NC \AR \NC \NC | \NC baz \NC \AR \stoptable Aditya ___ If your

Re: [NTG-context] Multi-line labels in MetaPost

2009-08-22 Thread Michail Vidiassov
Dear All, I have fixed this by using: label.rt(textext(\framed[frame=off,align=right]{One\\Two}),origin); And what about proper tables there? Replacing One\\Two in the above code with $ \startmathmatrix \NC 1 \NC 1 \NR \NC 1 \NC 1 \NR \stopmathmatrix $ or \starttable{|cm|cm|} \NC 1 \NC 1

Re: [NTG-context] Align and nested combinations

2009-08-19 Thread Wolfgang Schuster
} {a} {\startcombination[1*1] {\externalfigure[lb1]} {b1} \stopcombination} {b} \stopcombination} I get all _left_ aligned (see attached file) and I want normal center aligned. How can I get this? \placefigure {Combination} {\startTABLE[frame=off,align=middle] \NC \externalfigure[lb1

Re: [NTG-context] Align and nested combinations

2009-08-19 Thread Xan
]} {a2} \stopcombination} {a} {\startcombination[1*1] {\externalfigure[lb1]} {b1} \stopcombination} {b} \stopcombination} I get all _left_ aligned (see attached file) and I want normal center aligned. How can I get this? \placefigure {Combination} {\startTABLE[frame=off,align

Re: [NTG-context] Round-corner textbox with shadow

2009-08-16 Thread Hans Hagen
}] \starttable[s1|Br|o4l|Br|l|] \NC Name:\NC \getvariable{Book:Demos}{name} \NC Nickname: \NC \getvariable{Book:Demos}{nickname} \NC\AR \NC DOB: \NC \getvariable{Book:Demos}{dob} \NC Height: \NC \getvariable{Book:Demos}{height} \NC\AR \NC Weight: \NC \getvariable

[NTG-context] Round-corner textbox with shadow

2009-08-15 Thread Tom
, framecorner=round, frameradius=.0625 in, background=shadow, %substitute screen for shadow and get clean box BUT no shadow backgroundscreen=0.9, backgroundcorner=round, backgroundradius=.0625 in, bodyfont=9pt, offset=0.05 in ] \setuptables[distance=small,bodyfont={9pt,sansserif}] \starttable[s1

Re: [NTG-context] Round-corner textbox with shadow

2009-08-15 Thread Peter Rolf
="" %substitute screen for shadow and get clean box BUT no shadow  backgroundscreen=0.9,  backgroundcorner=round,  backgroundradius=.0625 in,  bodyfont=9pt,  offset=0.05 in ] \setuptables[distance=small,bodyfont={9pt,sansserif}]   \starttable[s1|Br|o4l|Br|l|]  \NC Name:    \NC \g

[NTG-context] Empty lines in text floats are not shown

2009-06-23 Thread Aleksandr Sinicyn
} \stop \stoptext Everything works fine except that empty lines that were present in the file homework.cpp do not appear in the listing. I have tried to replace \starttabulate ... \stoptabulate with \starttable ... \stoptable - in that case empty lines are shown, but splitting no longer works

[NTG-context] Table example from wiki doesn't compile with mkiv

2009-06-03 Thread Nicolas Girard
Hi, the following code, coming straight from http://wiki.contextgarden.net/Table#Background_Colors , doesn't compile with mkiv. Cheers, Nicolas \setupcolors[state=start] \starttable[|l|l|] \HL \BL[1]\SR \NC Command \NC Meaning \NC\SR \HL \NC \tex{NC}\NC next column \NC\FR \NC \tex{NR

[NTG-context] Problems in latest beta

2009-06-02 Thread Kevin D. Robbins
=inner] Here is a test case: = \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] \starttext \completelistoftables \page[yes] \placewidetable[here,force][tab:foo]{Bar} {\starttable [s1 |lp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth

Re: [NTG-context] Problems in latest beta

2009-06-02 Thread Kevin D. Robbins
} {\starttable [s1 |lp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth)|] \HL[5] \NC Foo \NC \Use4[c]{Bar} \AR \NC \NC Baz \NC Boo \NC Blah \NC Flub \NC \AR \HL[5] \NC Bop \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC Bap \NC 3 \NC 2

[NTG-context] pandoc tables

2009-05-16 Thread Mohamed Bana
1212 123 123 123 123 1 1 1 1 Table: Demonstration of simple table syntax. \starttext \placetable[here]{Demonstration of simple table syntax.} \starttable[|rp(0.15\textwidth)|lp(0.09\textwidth)|cp(0.16\textwidth

Re: [NTG-context] beta

2009-05-11 Thread Wei-Wei Guo
...\footnote {Test footnote.}}\nextbox \else \docompletefloat {ta... ... l.12 {\placelocalfootnotes} Example: \starttext \startlocalfootnotes \placetable{Test table\footnote{Test footnote.}} \placelegend{ \starttable[|l|l

Re: [NTG-context] beta

2009-04-28 Thread Wei-Wei Guo
\startlocalfootnotes \placetable{Test table\footnote{Test footnote.}} \placelegend{ \starttable[|l|l|] \HL \NC East \NC North \NC \FR \NC West \NC South \NC \LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes \stoptext 2. And another

Re: [NTG-context] new structure code

2009-04-24 Thread Kevin D. Robbins
this? \starttext \placetable {Foo. \nolist{Bar, Baz}} {\starttable [s1|l|r|r|r|r|] \HL[5] \NC A \NC \Use4[c]{B} \AR \NC \NC C \NC D \NC E \NC F \NC \AR \HL[5] \NC G \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC H \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC I \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR \NC J

Re: [NTG-context] new beta

2009-04-18 Thread Hans Hagen
of Yanrui Li's tutorial.} is painful. \input knuth \section{Second} But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.} \input knuth \startlocalfootnotes \placetable{Complex Table\footnote{An test table.}} \placelegend{ \starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use

Re: [NTG-context] new beta

2009-04-18 Thread Hans Hagen
Wei-Wei Guo wrote: 1 Should have a caption title here Should have dots here 13 Example: \starttext \completelistoftables \placetable[here][example-table]{\LaTeX} \starttable[|l|l|] \NC longtable \NC LONG TABLE \NC

Re: [NTG-context] new beta

2009-04-18 Thread Wei-Wei Guo
Hans Hagen 写道: Wei-Wei Guo wrote: 1 Should have a caption title here Should have dots here 13 Example: \starttext \completelistoftables \placetable[here][example-table]{\LaTeX} \starttable[|l|l|] \NC longtable \NC

Re: [NTG-context] new beta

2009-04-18 Thread Wei-Wei Guo
{Complex Table\footnote{An test table.}} {\startlocalfootnotes \placelegend {\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use{2}[c]{First Half} \NC \Use{2}[c]{Second Half} \NC \FR \DC\DL[4] \DR \NC\NC 1st Qtr \NC 2nd

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
\completelistoftables \placetable[here][example-table]{\LaTeX} \starttable[|l|l|] \NC longtable \NC LONG TABLE \NC \AR \NC booktabs \NC BOOKTABS \NC \AR \stoptable \stoptext 2. \writebetweenlist has no effect

Re: [NTG-context] new beta

2009-04-17 Thread Yanrui Li
:            \starttext            \completelistoftables            \placetable[here][example-table]{\LaTeX}            \starttable[|l|l|]              \NC longtable      \NC LONG TABLE \NC \AR              \NC booktabs       \NC BOOKTABS \NC \AR            \stoptable            \stoptext 2

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
.} is painful. \input knuth \section{Second} But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.} \input knuth \startlocalfootnotes \placetable{Complex Table\footnote{An test table.}} \placelegend{ \starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use{2}[c]{First Half} \NC

Re: [NTG-context] Table macro alternatives

2009-04-14 Thread Wolfgang Schuster
comprehensive. Did you read Adityas table article? \starttable[|cm|n5.4 |] \NC \REF[c]{Pi expression} \NC \REF[c]{Value}\NC\AR \NC \pi\NC 3.1416\NC\AR \NC \pi^{\pi} \NC 36.46 \NC\AR \NC (\pi^{\pi})^{\pi} \NC 80,662.7 \NC\AR

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-08 Thread Wei-Wei Guo
\starttabulate, \starttable, \setupTABLE, and \definedescription with \underline{} and \startunderline. - Tabulate will get error. - Table do not show underline. - Natural table displays the underline with only half length as the text line's. And the vertical positions are also not right

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-08 Thread Wolfgang Schuster
--- I tried \starttabulate, \starttable, \setupTABLE, and \definedescription with \underline{} and \startunderline. - Tabulate will get error. - Table do not show underline. - Natural table displays the underline with only half length as the text line's

Re: [NTG-context] Group together figure and table

2009-04-06 Thread Wolfgang Schuster
knuth \placefigure {none} {\setupcombinations[distance=2em] \startfloatcombination[2*1] \placefigure{A dutch cow}{\externalfigure[cow]} \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC \AR 1 \NC 100 \NC\AR\stoptable} \stopfloatcombination} \stoptext Wolfgang

Re: [NTG-context] Group together figure and table

2009-04-06 Thread Michael Bynum
{Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC\AR 1 \NC 100 \NC\AR\stoptable} \stopfloatcombination} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] \restoreglobalbodyfont messes up superscripts

2009-04-04 Thread Wolfgang Schuster
help with this issue? \starttext Sample Text\high{TEST} \placetable[here] {none} {\setuptables[bodyfont=xx] \starttable{|c|f{\ss}c|} \HL \NC test \NC test \NC\AR \NC test \NC test \NC\AR \HL \stoptable} {\txx Sample Text\high{TEST}} Sample Text\high{TEST} \stoptext

[NTG-context] \restoreglobalbodyfont messes up superscripts

2009-04-03 Thread Michael Bynum
} \tfxx \placetable[here]{} \starttable{|c|c|} \HL \NC test \NC test \NC\FR \NC test \NC test \NC\LR \HL \stoptable \par Sample Text\high{TEST} \restoreglobalbodyfont \par Sample Text\high{TEST} \stoptext

Re: [NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Wolfgang Schuster
Am 26.03.2009 um 18:51 schrieb Bowen Alan C.: This sample will show the crowding within a cell and between rows. Alan \starttext \setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|] You could use this for the time being but I hope myself Hans can fix the spacing. \starttable[|l|b

Re: [NTG-context] Simplified input for natural tables

2009-03-12 Thread Wolfgang Schuster
function commands.wiki_to_table(str) -- wrong namespace str = string.gsub(str,%^ *[\n\r],\\NC\\NR\n) str = string.gsub(str,%^,\\NC ) str = string.gsub(str,| *[\n\r],\\NC\\NR\n) str = string.gsub(str,|,\\NC ) tex.sprint(tex.ctxcatcodes,\\startTABLE) tex.sprint(tex.ctxcatcodes,str

[NTG-context] Simplified input for natural tables

2009-03-08 Thread Wolfgang Schuster
%D \bTD Text 2 \eTD %D \eTR %D \bTR %D \bTD Text 3 \eTD %D \bTD Text 4 \eTD %D \eTR %D \eTABLE %D \stoptyping %D %D and now with my new macros: %D %D \starttyping %D \startTABLE %D \NC Text 1 \NC Text 2 \NC\NR %D \NC Text 3 \NC Text 4 \NC\NR %D \stopTABLE %D \stoptyping \def

Re: [NTG-context] Simplified input for natural tables

2009-03-08 Thread Aditya Mahajan
and now with my new macros: %D %D \starttyping %D \startTABLE %D \NC Text 1 \NC Text 2 \NC\NR %D \NC Text 3 \NC Text 4 \NC\NR %D \stopTABLE %D \stoptyping \def\startTABLE {\dosingleempty\dostartTABLE} \def\dostartTABLE[#1]% {\bgroup \def\NC{\parseNC} \bTABLE[#1]} \def\stopTABLE {\eTABLE \egroup

<    1   2   3   4   5   6   7   >