Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
On 01/31/2015 08:51 PM, Rob Heusdens wrote: > [...] > In other words the "focus=width" option causes the bug, and the workaround > is to set it to "focus=standard", so at least you go to the right page Hi Rob, I’m afraid that the issue with "focus=width" is a bug in evince or poppler. I’m af

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
>> "focus=width" is the problematic part. Replace it with "focus=standard" >> and it will work better (it isn’t perfect either [there is a bug >> reported before]). >> >> \enabletrackers[*destinations*] >> \setupinteraction[state=start, focus=standard] >> \starttext >> \complet

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
> "focus=width" is the problematic part. Replace it with "focus=standard" > and it will work better (it isn’t perfect either [there is a bug > reported before]). > > \enabletrackers[*destinations*] > \setupinteraction[state=start, focus=standard] > \starttext > \completecontent >

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
On 01/31/2015 08:11 PM, Rob Heusdens wrote: >>> [...] > Hello Pablo, > > I am sorry, I had not yet tried the \enabletrackers... Hi Rob, don’t worry, \enabletrackers don’t work here. > Anyway, the problem resides in the settings for \setupinteraction which I > use to set the page in the viewer t

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
> On 01/31/2015 07:28 PM, Rob Heusdens wrote: >> [...] >> If I have time I will use the \enabletrackers to see if that can direct >> me >> to where the problem may be located. > > Hi Rob, > > \enabletrackers[*destinations*] will visually display (adding a grey > background to) the destination where

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
On 01/31/2015 07:28 PM, Rob Heusdens wrote: > [...] > If I have time I will use the \enabletrackers to see if that can direct me > to where the problem may be located. Hi Rob, \enabletrackers[*destinations*] will visually display (adding a grey background to) the destination where the link points

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
> On 01/31/2015 01:36 PM, Hans Hagen wrote: >> On 1/31/2015 1:12 PM, Pablo Rodriguez wrote: >>> [...] >>> It doesn’t show what you meant, the link destination is not on the >>> heading itself, but on the next paragraph. >> >> \enabletrackers[*references*] >> \enabletrackers[*destinations*] > > Hi

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
the makeup, or by setting the page counter directly, as I did as temoporary workaround). The problem is that the viewer sends me to the wrong page (always off by 1 page too far) in the interactive table of contents. So far I have not figured out where to look for, or make a MWE that exposes the same

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
akeup page > \stopmakeup > > \input knuth > > \startmakeup[standard][pagestate=start] > Standardmakeup page > \stopmakeup > > \input knuth > > \stoptext > > Wolfgang > > Wolfgang Thank you. But the real issue is still that page jumps from the interacti

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
On 01/31/2015 05:42 PM, Rob Heusdens wrote: > [...] > The code looks likes this, but this examples does not exhibit the same > faulty off-by-1-page interactive page jump behaviour. In the chapters in > the body matter, always directly after a new chapter a section begins (in > this example omitted)

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Wolfgang Schuster
> Am 31.01.2015 um 17:42 schrieb Rob Heusdens : > > \starttitlepagemakeup > BIG TITLE > \stoptitlepagemakeup % <- empty page inserted after here, so page number > becomes 5 > \setcounter[userpage][5] % <- without this, the page number = 3 You don’t need this manual setting for the pagenumber wh

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
> such references don't use user pagenumbers (often automated references > use internal numbers or real page numbers or a symbolic name) > > so, either something is really wrong or your browser is bad > > Hans > Hans, No, it can't be a browser thing (I think). In the code I sent, using the same s

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
> Hi Rob, > > there is a minimal sample: > > \setupcolors[state=start] > \setupinteraction[state=start, focus=standard] > \setupinteractionscreen[width=fit] > \definecombinedlist[content][all] > \setuphead[part][placehead=yes] > \starttext > \completecontent > \dorec

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
On 01/31/2015 01:36 PM, Hans Hagen wrote: > On 1/31/2015 1:12 PM, Pablo Rodriguez wrote: >> [...] >> It doesn’t show what you meant, the link destination is not on the >> heading itself, but on the next paragraph. > > \enabletrackers[*references*] > \enabletrackers[*destinations*] Hi Hans, many

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Hans Hagen
On 1/31/2015 1:12 PM, Pablo Rodriguez wrote: On 01/31/2015 01:16 AM, Rob Heusdens wrote: Hello list, Having the problem that if I jump to a chapter or section by clicking on the interactive table of content (while the page numbers presented do match the actual page number where the chapter or

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
On 01/31/2015 01:16 AM, Rob Heusdens wrote: > Hello list, > > Having the problem that if I jump to a chapter or section by clicking on > the interactive table of content (while the page numbers presented do > match the actual page number where the chapter or section begins) alway

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Hans Hagen
On 1/31/2015 1:16 AM, Rob Heusdens wrote: Hello list, Having the problem that if I jump to a chapter or section by clicking on the interactive table of content (while the page numbers presented do match the actual page number where the chapter or section begins) always leads me to jumping one

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-31 Thread Pablo Rodriguez
On 01/30/2015 05:42 PM, Rob Heusdens wrote: > [...] > Hello Pablo, > > I can imagine people sticking to the latest stable release only instead of > picking up the latest beta. Hi Rob, don’t worry, with ConTeXt Standalone you can have them all ;-). Each ConTeXt Standalone installation is indepen

[NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-30 Thread Rob Heusdens
Hello list, Having the problem that if I jump to a chapter or section by clicking on the interactive table of content (while the page numbers presented do match the actual page number where the chapter or section begins) always leads me to jumping one page too far. I've tried to produce

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Rob Heusdens
> On 01/30/2015 04:02 PM, Rob Heusdens wrote: >> [...] >> I am using a recent version. >> [...] >> So, I should upgrade to the newest beta? > > Using a beta from 2014.11.26 21:43 shows the bug you described. > > Upgrading to latest beta makes sense in this case. > > If you allow me an opinion, I tr

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Pablo Rodriguez
On 01/30/2015 04:02 PM, Rob Heusdens wrote: > [...] > I am using a recent version. > [...] > So, I should upgrade to the newest beta? Using a beta from 2014.11.26 21:43 shows the bug you described. Upgrading to latest beta makes sense in this case. If you allow me an opinion, I try to keep ConTe

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Rob Heusdens
> On 01/30/2015 03:18 AM, Rob Heusdens wrote: >> A right parenthesis ')' shows up as black in the interactive table of >> contents (which otherwise displays as green). >> >> Here is a MWE: >> >> \setupcolors[state=start] >> \setupinteracti

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Pablo Rodriguez
On 01/30/2015 03:18 AM, Rob Heusdens wrote: > A right parenthesis ')' shows up as black in the interactive table of > contents (which otherwise displays as green). > > Here is a MWE: > > \setupcolors[state=start] > \setupinteraction[state=start] > \d

[NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Rob Heusdens
A right parenthesis ')' shows up as black in the interactive table of contents (which otherwise displays as green). Here is a MWE: \setupcolors[state=start] \setupinteraction[state=start] \definecombinedlist[content][chapter] \setupcombinedlist[content][level=4, alternative=c] \setb

Re: [NTG-context] TABLE bug (new beta)

2015-01-12 Thread Hans Hagen
On 1/12/2015 6:34 PM, Alan BRASLAU wrote: Hi, There is a bug in the new beta with the TABLE macros and spanning rows: [nr=] indeed, i'll fix it (i'm cleaning up some of

[NTG-context] TABLE bug (new beta)

2015-01-12 Thread Alan BRASLAU
Hi, There is a bug in the new beta with the TABLE macros and spanning rows: [nr=] Alan MWE: \starttext \bTABLE \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD B \eTD \eTR \bTR \bTD[nc=2,nr=4] A \eTD \bTD ABA \eTD \eTR \bTR \bTD ABB \eTD \eTR \bTR \bTD

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-10 Thread Fabrice
You're right Pablo. Fabrice ___ 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

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Pablo Rodriguez
On 01/09/2015 11:36 PM, Fabrice wrote: > > \startxcell[frame=off] \startxtable[frame=off] seems to me a better option to remove the table frames. Pablo -- http://www.ousia.tk ___ If your question is of inter

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice
\startxcell[frame=off] ___ 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.pra

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice
Hi Pablo, Thank you for your cooperation. That's what I want except the frame. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://ww

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Pablo Rodriguez
On 01/09/2015 02:23 PM, Fabrice Couvreur wrote: > Hi, > Is it possible to center horizontally and vertically the table with the > graphics? Hi Fabrice, adding an xtable might do what you want (but unless you have narrower left and right margins, there is no room to fit both tables

[NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice Couvreur
Hi, Is it possible to center horizontally and vertically the table with the graphics ? Best regards, Fabrice \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=0.45\textwidth] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Mark Szepieniec
On Sun, Dec 21, 2014 at 10:12 PM, Pablo Rodriguez wrote: > > On 12/21/2014 09:01 PM, Mark Szepieniec wrote: > > Hi Pablo, > > > > thanks for your clarifications. My thinking was that I didn't want my > > table of contents page to have a page number, but I didn&#

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Pablo Rodriguez
On 12/21/2014 09:01 PM, Mark Szepieniec wrote: > Hi Pablo, > > thanks for your clarifications. My thinking was that I didn't want my > table of contents page to have a page number, but I didn't realize that > the ToC head acts as a chapter head, so you can just get rid of

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Mark Szepieniec
Hi Pablo, thanks for your clarifications. My thinking was that I didn't want my table of contents page to have a page number, but I didn't realize that the ToC head acts as a chapter head, so you can just get rid of the page number in the way you suggest. So just leaving out the ma

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-20 Thread Pablo Rodriguez
;t seem to work when the first element in the makeup > page is \completecontent: Hi Mark, this is what it happens when you start a makeup page with a \chapter command. \chapter inserts a page break before the heading. > [...] > Here, the table of contents and the section are both pl

[NTG-context] vertical alignment of table of contents in makeup

2014-12-19 Thread Mark Szepieniec
completecontent: \starttext % top= here doesn't seem to be working... \startmakeup[standard][top=,] \completecontent \section{testsection} \stopmakeup \stoptext Here, the table of contents and the section are both placed on the makeup page, but they are centered vertically. If the \completecontent l

Re: [NTG-context] Parameters of a table that interfere on another table

2014-12-12 Thread Fabrice
Hi Wolfgang, Sorry for the late reply. Thank you, I replaced the "two" with "2" in my tables. But I am trying to make a geometry course in space with many tables including many figures, and I still have problems with the tables. The file is too long to be posted on the forum, I try to correct th

Re: [NTG-context] Parameters of a table that interfere on another table

2014-12-09 Thread Wolfgang Schuster
> Am 09.12.2014 um 23:01 schrieb Fabrice Couvreur : > > > Hi, > I do not understand why the parameters of the first table apply to the second > table. > Best regards, > Fabrice > > \setupTABLE[column][two][width=0.7\textwidth] This setup doesn’t work because „

Re: [NTG-context] Parameters of a table that interfere on another table

2014-12-09 Thread Wolfgang Schuster
> Am 09.12.2014 um 23:01 schrieb Fabrice Couvreur : > > > Hi, > I do not understand why the parameters of the first table apply to the second > table. What is the problem? Wolfgang ___ If y

[NTG-context] Parameters of a table that interfere on another table

2014-12-09 Thread Fabrice Couvreur
Hi, I do not understand why the parameters of the first table apply to the second table. Best regards, Fabrice \setuppapersize[A4][A4] \setuplayout[ backspace=15mm, width=middle, topspace=15mm, height=middle, header=0pt, footer=0pt

Re: [NTG-context] Pass a lua table to metapost

2014-12-09 Thread Hans Hagen
On 12/8/2014 4:48 PM, Mojca Miklavec wrote: On Mon, Dec 8, 2014 at 4:34 PM, DesdeChaves wrote: I use the last context minimals. In my system a have a new luatex binary (v. 0.78.2) but I don't know how install it in minimals. If i just copy/paste the new binary to the folder .../tex/texmf-osx-6

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Herbert Voss
Am 08.12.2014 um 19:24 schrieb DesdeChaves: After the update to new ConTeXT minimals -- luatex beta-0.79.2 (rev 5084) -- the code runs perfectly. hm, after updating (Linux) I have still 79.1: voss@shania:~/Links/opt/context/tex/texmf-linux-64/bin> ./luatex -v This is LuaTeX, Version beta-0.79.

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
After the update to new ConTeXT minimals -- luatex beta-0.79.2 (rev 5084) -- the code runs perfectly. Thanks to all. Jorge 2014-12-08 16:05 GMT+00:00 DesdeChaves : > MacOSX intel > > 2014-12-08 16:03 GMT+00:00 DesdeChaves : > >> Sorry for the noise. My LuaTeX version is 0.79.1. I'm using MacOSX

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
MacOSX intel 2014-12-08 16:03 GMT+00:00 DesdeChaves : > Sorry for the noise. My LuaTeX version is 0.79.1. I'm using MacOSX > > This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) > > 2014-12-08 15:48 GMT+00:00 Mojca Miklavec > : > >> On Mon, Dec 8, 2014 at 4:34 PM, DesdeChaves wro

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
Sorry for the noise. My LuaTeX version is 0.79.1. I'm using MacOSX This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) 2014-12-08 15:48 GMT+00:00 Mojca Miklavec : > On Mon, Dec 8, 2014 at 4:34 PM, DesdeChaves wrote: > > I use the last context minimals. In my system a have a new lu

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Mojca Miklavec
On Mon, Dec 8, 2014 at 4:34 PM, DesdeChaves wrote: > I use the last context minimals. In my system a have a new luatex binary (v. > 0.78.2) but I don't know how install it in minimals. If i just copy/paste > the new binary to the folder .../tex/texmf-osx-64/bin I found a eeror > message ""This w

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Hans Hagen
On 12/8/2014 4:34 PM, DesdeChaves wrote: I use the last context minimals. In my system a have a new luatex binary (v. 0.78.2) but I don't know how install it in minimals. If i just copy/paste the new binary to the folder .../tex/texmf-osx-64/bin I found a eeror message ""This went wrong: .../

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
I use the last context minimals. In my system a have a new luatex binary (v. 0.78.2) but I don't know how install it in minimals. If i just copy/paste the new binary to the folder .../tex/texmf-osx-64/bin I found a eeror message ""This went wrong: .../Context/tex/texmf-context/tex/context/base/s

Re: [NTG-context] MP/Lua binding (was: Pass a lua table to metapost)

2014-12-08 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Hans, it's possible to ask values from within mp: \starttext \startluacode document.variables = { labels = { "one", "two", "three", } } \stopluacode \startMPpage numeric dx, dy; dx = 4.4cm; dy = 0.53cm; path b[]; for i=1 upto

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Hans Hagen
On 12/8/2014 12:27 PM, DesdeChaves wrote: Thanks, but I'm not able to run this code in my system.. I'm working in ConTeXt ver: 2014.12.06 14:20 MKIV beta fmt: 2014.12.8 int: english/english and the error message is: >> runscript ! Isolated expression. so your luatex is too old ---

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
b[i] = unitsquare xscaled... 2014-12-08 9:21 GMT+00:00 Hans Hagen : > On 12/7/2014 8:25 PM, DesdeChaves wrote: > >> >> I would like to pass the lua table keys and values to metapost. In the >> keys i have information about

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Hans Hagen
On 12/7/2014 8:25 PM, DesdeChaves wrote: I would like to pass the lua table keys and values to metapost. In the keys i have information about the paths names and in the values i have information about the label that should be draw in the center of each path (unitsquare). In my code (see attach

[NTG-context] Pass a lua table to metapost

2014-12-07 Thread DesdeChaves
I would like to pass the lua table keys and values to metapost. In the keys i have information about the paths names and in the values i have information about the label that should be draw in the center of each path (unitsquare). In my code (see attach) the table in question is

[NTG-context] Table and framedtext

2014-12-05 Thread Fabrice Couvreur
Hi, In the following code, I would like columns that contain the figures have a white background. Best regards, Fabrice \definecolor[mycolor][c=0.1, m=0.00, y=0.00, k=0.00] \setupcaptions[number=no] \starttext \startframedtext[ width=\textwidth, frame=on, location=middle, backgroun

[NTG-context] Space around a figure in a table

2014-11-28 Thread Fabrice Couvreur
Hi, Why up space and down space is not the same around each figure ? Best regards, Fabrice \definecolor[FondTableaux][c=0.00, m=0.00, y=0.20, k=0.00] \startsetups[table:initialize] \setupTABLE[column][1,2][offset=1ex,width=2cm] \setupTABLE[column][3][offset=1ex,width=10cm] \setupTABLE[row][

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
Hi Gerben, Sorry for not having been more cautious: what I sent you works fine with mkiv, but somehow in mkii giving a style for your list of « chaptertext » spills over to the list of « chapter »… The following seems to give your desired result in mkii: \definelist[chaptertext] \setuplist[ch

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Gerben Wierda
On 25 Nov 2014, at 15:12, Otared Kavian wrote: > Hi Gerben, > > This shouldn’t be a problem, since you may give your own style to the list of > chapters by saying for example > > \setuplist[chapter][style=\bf] > > or whatever style you wish. I tried \definelist[chaptertext] \setuplist

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
Hi Gerben, This shouldn’t be a problem, since you may give your own style to the list of chapters by saying for example \setuplist[chapter][style=\bf] or whatever style you wish. Best regards: OK > On 25 Nov 2014, at 14:49, Gerben Wierda wrote: > > This works, but not completely. I’

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Gerben Wierda
This works, but not completely. I’ve added this to my environments file: \definelist[chaptertext] \setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument] and the contents list is created by \title[h:toc]{Contents} \placelist[chapter,chaptertext] %\co

Re: [NTG-context] small abstracts in table of contents?

2014-11-24 Thread Hans Hagen
On 11/25/2014 8:18 AM, Otared Kavian wrote: Hi Gerben, As Wolfgang said, you can use something like this (example given by him some months ago on the mailing list): \definelist[chaptertext] \setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument] \starttext \placelist[ch

Re: [NTG-context] small abstracts in table of contents?

2014-11-24 Thread Otared Kavian
Hi Gerben, As Wolfgang said, you can use something like this (example given by him some months ago on the mailing list): \definelist[chaptertext] \setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument] \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter

Re: [NTG-context] small abstracts in table of contents?

2014-11-24 Thread Wolfgang Schuster
> Am 25.11.2014 um 00:41 schrieb Gerben Wierda : > > I have a standard ToC, but what I’d like to have is that each chapter item (I > don’t go lower than that in the hierarchy) comes with its own little > abstract.Is that possible? You can use the \writebetweenlist or \writetolist commands for

[NTG-context] small abstracts in table of contents?

2014-11-24 Thread Gerben Wierda
I have a standard ToC, but what I’d like to have is that each chapter item (I don’t go lower than that in the hierarchy) comes with its own little abstract.Is that possible? G ___ If your question is of interest to o

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Fabrice
I did not know this macro, ConTeXt is really amazing ! Thank you very much Wolfgang, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / htt

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Wolfgang Schuster
> Am 08.11.2014 um 11:59 schrieb Fabrice : > > Hi Wolfgang, > I want to number the second line of the first column a. then the third line > of the first column b. … \definelabel[TableRow][text=,headcolor=red,numberconversion=characters,numberstopper=.] \starttext \bTABLE[width=3cm] \bTR

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Fabrice
Hi Wolfgang, I want to number the second line of the first column*a.* then the third line of the first column *b**.* ... Best regards, Fabrice \setupitemize[1][stopper={.},style=\bf,color=red] \starttext \startsetups[table:initialize] \setupTABLE[height=0.8cm,align={middle,lohi}] \setupT

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Wolfgang Schuster
> Am 07.11.2014 um 19:18 schrieb Fabrice Couvreur : > > Hi, > Is it possible to use an itemize environment in a table ? Yes. Wolfgang ___ If your question is of interest to others as well, please add

[NTG-context] Numbering in a Table

2014-11-07 Thread Fabrice Couvreur
Hi, Is it possible to use an itemize environment in a table ? Best regards, Fabrice \starttext \startsetups[table:initialize] \setupTABLE[height=0.8cm,align={middle,lohi}] \setupTABLE[row][1][background=color,backgroundcolor=cyan] \setupTABLE[1][1][background=color,backgroundcolor=white

Re: [NTG-context] Influencing the vertical spacing of the table of contents? No possible?

2014-10-02 Thread Wolfgang Schuster
Am 28.09.2014 um 15:17 schrieb Gerben Wierda : > I asked this on the list a while back. Is there no answer on this one? I use > \startpacked\stoppacked with some effect, but I'd like to have more > finegrained control. > > Original question: > > I'm using

[NTG-context] Influencing the vertical spacing of the table of contents? No possible?

2014-09-28 Thread Gerben Wierda
I asked this on the list a while back. Is there no answer on this one? I use \startpacked\stoppacked with some effect, but I'd like to have more finegrained control. Original question: I'm using mkii. I've got a table of contents that just places one item on the next page, whic

[NTG-context] Influencing the vertical spacing of the table of contents?

2014-09-21 Thread Gerben Wierda
I'm using mkii. I've got a table of contents that just places one item on the next page, which is ugly. I'd like to tweak the spacing between lines, but which parameter do I have to adjust? It wasn't clear to me from t

[NTG-context] Change linewidth of a table

2014-09-17 Thread Fabrice Couvreur
Hi, How to complete the grid ? Thank you. Fabrice \setuppapersize[A4] \setuplayout[ backspace=5mm, width=middle, topspace=5mm, height=middle, header=0pt, footer=0pt, ] \definetypeface [me] [rm] [serif] [pagella] [default] \definetypeface

Re: [NTG-context] multi-colunm table issue

2014-09-05 Thread Hans Hagen
On 9/4/2014 4:24 PM, Thomas De Maet wrote: Hello ! I'm interested for some time (say 2-3 years) in the resolution of a specific bug, described in the documentation here http://wiki.contextgarden.net/TABLE#Multipage_TABLEs as *Beware:*Split tables often begin not on the page (or in the c

[NTG-context] multi-colunm table issue

2014-09-04 Thread Thomas De Maet
Hello ! I'm interested for some time (say 2-3 years) in the resolution of a specific bug, described in the documentation here http://wiki.contextgarden.net/TABLE#Multipage_TABLEs as *Beware:*Split tables often begin not on the page (or in the column, if you use them) where they/could/

Re: [NTG-context] Multi-page centered natural TABLE

2014-09-04 Thread Wolfgang Schuster
Am 04.09.2014 um 11:10 schrieb Christoph Reller : > > Am 25.08.2014 um 15:38 schrieb Christoph Reller > > : > > > > > Hi! > > > > > > How do I use a natural table to produce a table which is both: > > > - distributed across multiple pages

Re: [NTG-context] Multi-page centered natural TABLE

2014-09-04 Thread Christoph Reller
> Am 25.08.2014 um 15:38 schrieb Christoph Reller < christoph.rel...@gmail.com>: > > > Hi! > > > > How do I use a natural table to produce a table which is both: > > - distributed across multiple pages (split=yes) and > > - centered horizontally on ea

Re: [NTG-context] Strange behavior in a table.

2014-08-29 Thread Fabrice
Sorry for the mistake. To the eye, I thought the distance chosen was sufficient, and I did not think to change it. In any case, your help is wonderful, thank you. ___ If your question is of interest to others as well,

Re: [NTG-context] Strange behavior in a table.

2014-08-29 Thread Wolfgang Schuster
Am 29.08.2014 um 19:34 schrieb Fabrice Couvreur : > Everything is in the title, thank you. What do you expect, the cells in the first column are too small for the text you’re trying to put in. There are also two things you should change: (1) As you use the same setup for each table cre

[NTG-context] Strange behavior in a table.

2014-08-29 Thread Fabrice Couvreur
Everything is in the title, thank you. \starttext \`A l'aide du graphique, compléter les tableaux de correspondance suivants. \blank[small] {\setupTABLE[row][even][height=0.6cm] \setupTABLE[row][odd][height=0.6cm] \setupTABLE[1][1,2][width=3.2cm] \setupTABLE[column][2,3,4,5,6,7][width=0.14\textwid

Re: [NTG-context] Multi-page centered natural TABLE

2014-08-25 Thread Wolfgang Schuster
Am 25.08.2014 um 15:38 schrieb Christoph Reller : > Hi! > > How do I use a natural table to produce a table which is both: > - distributed across multiple pages (split=yes) and > - centered horizontally on each page. > > I did try the following but it only works if spli

[NTG-context] Multi-page centered natural TABLE

2014-08-25 Thread Christoph Reller
Hi! How do I use a natural table to produce a table which is both: - distributed across multiple pages (split=yes) and - centered horizontally on each page. I did try the following but it only works if split=no. \starttext \startalignment[middle]\dontleavehmode% \bTABLE[split=yes

Re: [NTG-context] keeping TABLE in hmode

2014-08-21 Thread Wolfgang Schuster
x27;\dontleavehmode' over and over... Thanks in advance and There is no option to force horizontal mode at the begin of the table but you can use the following two methods to center the table. \startbuffer \bTABLE \bTR \bTD text \eTD \bTD text \eTD \eTR \eTABLE \stopbuffer

[NTG-context] keeping TABLE in hmode

2014-08-21 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Is there a way to configure \bTABLE-\eTABLE so that it always in hmode? Right now I have things like \startalignment[middle] \dontleavehmode \bTABLE \bTR :: \eTR \eTABLE \dontleavehmode \bTABLE \bTR :: \eTR \eTABLE \dontleavehmode \bTABLE \bTR :: \eTR \eTABLE \stopalignment Will

Re: [NTG-context] Center alignment within TABLE

2014-08-18 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 18 Aug 2014 07:01:10 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: Now *this* is one that would be instructive to place on the wiki. Added: http://wiki.contextgarden.net/TABLE#An_alignment_issue Perhaps this example/wiki-sub-entry can be made more useful, a task I leave to

Re: [NTG-context] Center alignment within TABLE

2014-08-18 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 18 Aug 2014 01:46:01 -0600, Wolfgang Schuster wrote: Am 18.08.2014 um 07:15 schrieb Idris Samawi Hamid ادريس سماوي حامد : Dear syndicate, I'm stumped trying to get the first two cells of the following TABLE aligned to the center: == \define[3]\Gly

Re: [NTG-context] Center alignment within TABLE

2014-08-18 Thread Wolfgang Schuster
Am 18.08.2014 um 07:15 schrieb Idris Samawi Hamid ادريس سماوي حامد : > Dear syndicate, > > I'm stumped trying to get the first two cells of the following TABLE aligned > to the center: > > == > \define[3]\Glyphbox > {\framed[frame=on,a

[NTG-context] Center alignment within TABLE

2014-08-17 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear syndicate, I'm stumped trying to get the first two cells of the following TABLE aligned to the center: == \define[3]\Glyphbox {\framed[frame=on,align=middle]\bgroup {#1\\ #2\\ #3% \egroup}} \starttext \setupTABLE[frame=on,align=middle] \b

Re: [NTG-context] Using TABLE in a definition etc.

2014-08-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 17 Aug 2014 12:06:45 -0600, Wolfgang Schuster wrote: There is no need for the table, you can do everything with \framed alone. \define[3]\Glyphbox {\framed[frame=off,align=middle]\bgroup {\getvalue{gulistan#1}\fontchar{#2}}\\ \fontchar{#2}\\ #1\\ #3% \egroup

Re: [NTG-context] Using TABLE in a definition etc.

2014-08-17 Thread Wolfgang Schuster
ver using it in a macro... We'll see if further issues arise… There is no need for the table, you can do everything with \framed alone. \define[3]\Glyphbox {\framed[frame=off,align=middle]\bgroup {\getvalue{gulistan#1}\fontchar{#2}

Re: [NTG-context] Using TABLE in a definition etc.

2014-08-17 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, I'm trying to setup a definition that uses a natural table and could use some guru help. Here is what I have so far: === \def\Glyphbox{% \setupframed[frame=off,align=middle,offfset=none] \framed{\cbox{ \bTABLE[align=middle] \bTR \bTD \gulistan#1 \fontchar{#2} \eTD

[NTG-context] Using TABLE in a definition etc.

2014-08-16 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, I'm trying to setup a definition that uses a natural table and could use some guru help. Here is what I have so far: === \def\Glyphbox{% \setupframed[frame=off,align=middle,offfset=none] \framed{\cbox{ \bTABLE[align=middle] \bTR \bTD \gulistan#1 \fontchar{#2} \eTD

Re: [NTG-context] Lua to Context Table

2014-08-02 Thread John Kitzmiller
{1,1} >>> ...the Wiki entries, CLD, and tried Aditya's method from Stack Exchange; I >>> am >>> missing something. >>> >> >> You have a *global* table f that collides with the internals of context >> ... >> local function fib(n) >>

Re: [NTG-context] Lua to Context Table

2014-08-01 Thread Aditya Mahajan
is Context+Lua that prints 3 x 3 table of the first nine natural numbers: \starttext \setupTABLE[each][each][frame=off,align=left,width=4em,height=2em] \startluacode context.bTABLE() for j = 0, 2 do context.bTR() for k = 1, 3 do context.bTD() context(3*j+k) context.eTD

Re: [NTG-context] Lua to Context Table

2014-08-01 Thread luigi scarso
d > > Here is Context+Lua that prints 3 x 3 table of the first nine natural > numbers: > > \starttext > \setupTABLE[each][each][frame=off,align=left,width=4em,height=2em] > \startluacode > context.bTABLE() > for j = 0, 2 do > context.bTR() > for k = 1, 3 do >

[NTG-context] Lua to Context Table

2014-08-01 Thread John Kitzmiller
Here is Lua code that prints the first nine fibonacci numbers: local function fib(n) f={1,1} for i=3,9 do f[i]=f[i-1]+f[i-2] end return(f[n]) end for n=1,9 do print(fib(n)) end Here is Context+Lua that prints 3 x 3 table of the first nine natural numbers: \starttext \setupTABLE[each

Re: [NTG-context] Height fitting with row spanning in a table

2014-07-15 Thread Hans Hagen
On 7/15/2014 1:59 PM, Maggyero wrote: I have finally found a not perfect solution: setting manually the height of the bar cell shrinks the foo cell (setting height=fit for the foo cell does not work). \starttext \startTABLE \NC foo \NC[nr=2] \input knuth \NC \NR \NC[

[NTG-context] Height fitting with row spanning in a table

2014-07-15 Thread Maggyero
I have finally found a not perfect solution: setting manually the height of the bar cell shrinks the foo cell (setting height=fit for the foo cell does not work). \starttext \startTABLE \NC foo \NC[nr=2] \input knuth \NC \NR \NC[height=28ex] bar\NC

[NTG-context] Height fitting with row spanning in a table

2014-07-11 Thread Maggyero
How can I stretch the height of the foo cell to fit its content? \starttext \startTABLE \NC foo \NC[nr=2]\input knuth \NC \NR \NC bar \NC \NR \stopTABLE \stoptext ___ If your questi

[NTG-context] Height fitting cell contents while using row spanning in other columns of a table

2014-07-09 Thread Maggyero
How can I stretch the height of the x cell (in my example) to fit the x cell content? I have tried with extreme tables and natural tables but without success. \starttext With extreme tables (y cell content fitted by default):\crlf \startxtable \startxrow \startxcell[nr=2]\input knuth \stopxc

<    2   3   4   5   6   7   8   9   10   11   >