Re: [NTG-context] alignment problem in a table

2016-07-19 Thread Wolfgang Schuster
Fabrice Couvreur 19. Juli 2016 um 15:19 Hello, The third column of matrix is not centered vertically and horizontally. Add the following two lines to your example \setupformula [option=frame] \setupformulaframed[offset=0pt] and you can see the

[NTG-context] alignment problem in a table

2016-07-19 Thread Fabrice Couvreur
Hello, The third column of matrix is not centered vertically and horizontally. thank you, Fabrice \setupbodyfont[pagella,11pt] \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] \define[3]\coef{\math{#1_{#2, #3}}\autoinsertnextspace} \startsetups[table:initialize]

[NTG-context] Table of character frequency for portuguese

2016-06-30 Thread Marcus Vinicius Mesquita
Dear Hans In the annex you can find a table of character frequency for Portuguese. Is it possible to add it in a future beta? TIA Marcus Vinicius -- Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo nem seus membros, por ser descanso da alma, primavera do coração

[NTG-context] Wrong ToUnicode table for ZapfDingbats font

2016-06-09 Thread Christoph Reller
, the font in the PDF contains a correct ToUnicode table with: ... 1 beginbfchar <0013> <2713> endbfchar ... In the currently newest version, 2016.06.08, the ToUnicode table lacks the entry for the check mark: ... 0 beginbfchar endbfchar ... Hence, the check mark cannot be copy pasted from

Re: [NTG-context] splitting table cells/rows

2016-06-07 Thread Erik Margraf
As far as I experienced, it does split the table, but only at row borders. Not within a row, as the word example. Tabulate does this kind of splitting. For my usecase, this was enough, though the other table environments have some goodies which the tabulate environment misses ... (But maybe

Re: [NTG-context] splitting table cells/rows

2016-06-07 Thread Henning Hraban Ramm
Am 2016-06-08 um 02:48 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> Will the other table environments get this feature too? > No, it’s a tabulate only feature. Hm, our http://wiki.contextgarden.net/Tables_Overview mentions TABLE’s split=yes and linetable’s spl

Re: [NTG-context] splitting table cells/rows

2016-06-07 Thread Wolfgang Schuster
Erik Margraf <mailto:erik.marg...@gmail.com> 7. Juni 2016 um 21:28 Thanks, this works quite good for me! Will the other table environments get this feature too? No, it’s a tabulate only feature. Wolfgang ___ I

Re: [NTG-context] splitting table cells/rows

2016-06-07 Thread Erik Margraf
Thanks, this works quite good for me! Will the other table environments get this feature too? Erik On Tue, Jun 7, 2016 at 11:23 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Erik Margraf <erik.marg...@gmail.com> > 7. Juni 2016 um 10:34 > Dear list, > &g

Re: [NTG-context] splitting table cells/rows

2016-06-07 Thread Wolfgang Schuster
Erik Margraf <mailto:erik.marg...@gmail.com> 7. Juni 2016 um 10:34 Dear list, does context split table cells like Word (sorry for that ;-)) would do? (Please see the attached pdf examples). The table_test was generated with \starttext \bTABLE[split=yes] \setupTABLE[frame=off] \setu

[NTG-context] splitting table cells/rows

2016-06-07 Thread Erik Margraf
Dear list, does context split table cells like Word (sorry for that ;-)) would do? (Please see the attached pdf examples). The table_test was generated with \starttext \bTABLE[split=yes] \setupTABLE[frame=off] \setupTABLE[column][1][width=3.5cm] \setupTABLE[column][2][width=11cm

Re: [NTG-context] How can I create a table from a CSV file?

2016-05-31 Thread Henning Hraban Ramm
Am 2016-05-31 um 21:42 schrieb cryo shock : > First: is there a reliable source with all modules listed? Maybe even with an > explanation what they are used for? Because the wiki doesn't mention the > database module for example. Neither is it listed at

Re: [NTG-context] How can I create a table from a CSV file?

2016-05-31 Thread Hans Hagen
On 5/31/2016 5:42 PM, cryo shock wrote: I see, so I forgot to load the module in the beginning. Thanks a lot Hans. I have two more questions if you allow. First: is there a reliable source with all modules listed? Maybe even with an explanation what they are used for? Because the wiki doesn't

Re: [NTG-context] How can I create a table from a CSV file?

2016-05-31 Thread cryo shock
I see, so I forgot to load the module in the beginning. Thanks a lot Hans. I have two more questions if you allow. First: is there a reliable source with all modules listed? Maybe even with an explanation what they are used for? Because the wiki doesn't mention the database module for example.

Re: [NTG-context] How can I create a table from a CSV file?

2016-05-31 Thread Hans Hagen
On 5/31/2016 10:55 AM, cryo shock wrote: Hello together, I am fighting with creating a table from a CSV file. I found the "MyWay" doc by Mojca. But the doc is 10 years old and for example the command \defineseperatedlist gives me an error: unkown command. Is there a newer doc tha

[NTG-context] How can I create a table from a CSV file?

2016-05-31 Thread cryo shock
Hello together, I am fighting with creating a table from a CSV file. I found the "MyWay" doc by Mojca. But the doc is 10 years old and for example the command \defineseperatedlist gives me an error: unkown command. Is there a newer doc that I missed somewhere? I have a CSV file w

Re: [NTG-context] Alignment/line break in a TABLE cell

2016-05-19 Thread Mari Voipio
Thanks, Wolfgang! \symbol[square] doesn't work for me, because the inside of the box has to be white also when on gray background, i.e. I need a box filled with white. I decided to do what I should've done in the first place and brushed up enough of my MetaPost that I could create a box with

Re: [NTG-context] Alignment/line break in a TABLE cell

2016-05-19 Thread Wolfgang Schuster
Mari Voipio 19. Mai 2016 um 12:45 On Thu, May 19, 2016 at 1:04 PM, Wolfgang Schuster This kind of works. The box and the number are now on the same line, but one of them - the number, I think - is offset and that looks funny. Is there a trick that'd fix that? 1. Lower

Re: [NTG-context] Alignment/line break in a TABLE cell

2016-05-19 Thread luigi scarso
On Thu, May 19, 2016 at 12:45 PM, Mari Voipio wrote: > On Thu, May 19, 2016 at 1:04 PM, Wolfgang Schuster > wrote: > > > > \dontleavehmode\externalfigure[box3mm] > > This kind of works. The box and the number are now on the same line, > but

Re: [NTG-context] Alignment/line break in a TABLE cell

2016-05-19 Thread Mari Voipio
el enclosure \eTD \eTR % \bTR \bTD \dontleavehmode\externalfigure[box3mm] 3\crlf \externalfigure[box3mm] 3a \eTD \bTD PR-7610 Table top standfor Multichannel user interface, contains a set of four

Re: [NTG-context] Alignment/line break in a TABLE cell

2016-05-19 Thread Wolfgang Schuster
Mari Voipio <mailto:mari.voi...@iki.fi> 19. Mai 2016 um 11:37 Hi, I have a little problem with a table. It works fine otherwise, but in the first column the box and the number should be on the same line. This goes right with 3a, but all the other ones place the box on the firs

[NTG-context] Alignment/line break in a TABLE cell

2016-05-19 Thread Mari Voipio
Hi, I have a little problem with a table. It works fine otherwise, but in the first column the box and the number should be on the same line. This goes right with 3a, but all the other ones place the box on the first line and the number on the second. Widening column 1 doesn't help. How do I

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Jaroslav Hajtmar
Thanx Wolfgang for the correction of my code. This error is probably more than 8 years old (inside predefined macros in any old library code). ConTeXt was all existing time generously tolerant for my bug :-). One more thanx for their fix. Jaroslav Hajtmar Dne 01.05.16 v 9:50 Wolfgang

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Wolfgang Schuster
Jaroslav Hajtmar 1. Mai 2016 um 07:52 Thanx Wolfgang for reply. I looked for possible mistakes in my library, and finally I find out that described error that bug is reflecting when I use \starttable --- \stoptable environment. I am sending now an minimal example that

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-04-30 Thread Jaroslav Hajtmar
Thanx Wolfgang for reply. I looked for possible mistakes in my library, and finally I find out that described error that bug is reflecting when I use \starttable --- \stoptable environment. I am sending now an minimal example that illustrates the problem. I am aware that work with tables of

Re: [NTG-context] Table index is nil

2016-04-18 Thread Hans Hagen
On 4/18/2016 3:59 AM, Brian Ballsun-Stanton wrote: I'm getting (suddenly) an error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table index is nil And I have a bunch of tables: \placetable[here][tab01]{Kazanlak site numbers, aggregate area and average area through

Re: [NTG-context] Vertical line in natural table

2016-04-18 Thread MANUEL GONZALEZ SUAREZ
e in natural table MANUEL GONZALEZ SUAREZ<mailto:gonzalezsman...@uniovi.es> 18. April 2016 um 11:06 Hello friends. I send an attachment where a natural table appears with the PDF output. I can not get the second vertical line scroll the table up and down, like the first vertical line. You

Re: [NTG-context] Vertical line in natural table

2016-04-18 Thread Wolfgang Schuster
MANUEL GONZALEZ SUAREZ <mailto:gonzalezsman...@uniovi.es> 18. April 2016 um 11:06 Hello friends. I send an attachment where a natural table appears with the PDF output. I can not get the second vertical line scroll the table up and down, like the first vertical line. You can set the

[NTG-context] Vertical line in natural table

2016-04-18 Thread MANUEL GONZALEZ SUAREZ
Hello friends. I send an attachment where a natural table appears with the PDF output. I can not get the second vertical line scroll the table up and down, like the first vertical line. I would appreciate any suggestions. Thank you table.tex Description: table.tex table.pdf Description

Re: [NTG-context] Table index is nil

2016-04-18 Thread Wolfgang Schuster
Brian Ballsun-Stanton <mailto:denub...@gmail.com> 18. April 2016 um 03:59 I'm getting (suddenly) an error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table index is nil And I have a bunch of tables: \placetable[here][tab01]{Kazanlak site numbers, aggregat

[NTG-context] Table index is nil

2016-04-17 Thread Brian Ballsun-Stanton
I'm getting (suddenly) an error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table index is nil And I have a bunch of tables: \placetable[here][tab01]{Kazanlak site numbers, aggregate area and average area through through time}{ \setupTABLE[c][each][align=middle,style

Re: [NTG-context] Controlling table split in natural tables

2016-03-21 Thread Mari Voipio
Neat! I had to update my ConTeXt to get it to work, but now it works perfectly. I'll wikify it. Thank you very much! Mari On Mon, Mar 21, 2016 at 12:42 PM, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: > Mari Voipio > 21. März 2016 um 11:04 > Hello all! > > I

Re: [NTG-context] Controlling table split in natural tables

2016-03-21 Thread Wolfgang Schuster
Mari Voipio <mailto:mari.voi...@iki.fi> 21. März 2016 um 11:04 Hello all! I have a natural table that is too large to fit into one page, so it is split. Unfortunately it now splits between rows 28 and 29 that I'd like to keep together. I want the table to split between rows 27

[NTG-context] Controlling table split in natural tables

2016-03-21 Thread Mari Voipio
Hello all! I have a natural table that is too large to fit into one page, so it is split. Unfortunately it now splits between rows 28 and 29 that I'd like to keep together. I want the table to split between rows 27 and 28. Is this possible? I couldn't find anything on the wiki nor the mailing

Re: [NTG-context] Table of Contents

2016-03-11 Thread Wolfgang Schuster
Pablo Rodriguez 10. März 2016 um 23:48 Hi Aidan, if I’m getting your point, you have to add to your .tex file: \setupinteraction[state=start]% % color=, style=, contrastcolor=, focus=standard %these may help too \placebookmarks [part,chapter,section] %written outlines

Re: [NTG-context] Table of Contents

2016-03-11 Thread Aidan Nichol
Thanks Pablo That did it. I found the \placebookmarks in the pandoc template once I knew what I was looking for. I also found \setupinteractionscreen[option=bookmark] so I get it displayed when the document is opened. Aidan

Re: [NTG-context] Table of Contents

2016-03-10 Thread Pablo Rodriguez
On 03/10/2016 09:45 PM, Aidan Nichol wrote: > I’m using using pandoc and ConTeXt to generate pdf documentation from > markdown. > > I started with the option to use latex (xetex) and swapped to > ConTeXt, letting pandoc create the conTeXt file and invoke ConTeXt on > it.C Bo

[NTG-context] Table of Contents

2016-03-10 Thread Aidan Nichol
I’m using using pandoc and ConTeXt to generate pdf documentation from markdown. I started with the option to use latex (xetex) and swapped to ConTeXt, letting pandoc create the conTeXt file and invoke ConTeXt on it.C Both produce a table of contents active links etc. which is pretty much

Re: [NTG-context] Absolute position in table cell

2016-02-17 Thread Volker Mische
nnotationcontent` way, but there I get the >>>> same error. Here's the full example: >>>> >>>> \starttext >>>> >>>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight] >>>> \defineoverlay[pagenumber][{\dire

Re: [NTG-context] Absolute position in table cell

2016-02-16 Thread Hans Hagen
preset=rightbottom] {\getvariable{table}{p}} \stopsetups \define[2]\PageWrapper{\setgvariable{table}{p}{#2}} \usemodule[annotation] \defineannotation [pn] [alternative=command, command=\PageWrapper] Use this defintion for your \startpn … \stoppn command: \define\startpn {\grabuntil{stoppn}{\setgva

Re: [NTG-context] Absolute position in table cell

2016-02-16 Thread Volker Mische
mber][{\directsetup{pagenumber}\tightlayer[pagenumber]}] >> >> \startsetups pagenumber >> \setlayerframed >> [pagenumber] >> [preset=rightbottom] >> {\getvariable{table}{p}} >> \stopsetups >> >> \define[2]\PageWrapper{\setgvariable{ta

Re: [NTG-context] Absolute position in table cell

2016-02-16 Thread Wolfgang Schuster
rttext \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight] \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}] \startsetups pagenumber \setlayerframed [pagenumber] [preset=rightbottom] {\getvariable{table}{p}} \stopsetups \define[2]\PageWrapper{\setgvariable{table}

Re: [NTG-context] Absolute position in table cell

2016-02-16 Thread Volker Mische
On 02/15/2016 11:45 AM, Hans Hagen wrote: > On 2/15/2016 11:10 AM, Volker Mische wrote: >> On 02/15/2016 10:58 AM, Hans Hagen wrote: >>> On 2/15/2016 10:32 AM, Volker Mische wrote: >>>> Hi all, >>>> >>>> I'd like to position some text in a corn

Re: [NTG-context] Absolute position in table cell

2016-02-15 Thread Hans Hagen
On 2/15/2016 11:10 AM, Volker Mische wrote: On 02/15/2016 10:58 AM, Hans Hagen wrote: On 2/15/2016 10:32 AM, Volker Mische wrote: Hi all, I'd like to position some text in a corner of a natural table cell. I got as far as being able to put the same text on every cell (a "p" in t

Re: [NTG-context] Absolute position in table cell

2016-02-15 Thread Volker Mische
On 02/15/2016 10:58 AM, Hans Hagen wrote: > On 2/15/2016 10:32 AM, Volker Mische wrote: >> Hi all, >> >> I'd like to position some text in a corner of a natural table cell. I >> got as far as being able to put the same text on every cell (a "p" in >>

Re: [NTG-context] Absolute position in table cell

2016-02-15 Thread Hans Hagen
On 2/15/2016 10:32 AM, Volker Mische wrote: Hi all, I'd like to position some text in a corner of a natural table cell. I got as far as being able to put the same text on every cell (a "p" in the example). Now my problem is, how do I specify the contents of the overlay/layer on a per

[NTG-context] Absolute position in table cell

2016-02-15 Thread Volker Mische
Hi all, I'd like to position some text in a corner of a natural table cell. I got as far as being able to put the same text on every cell (a "p" in the example). Now my problem is, how do I specify the contents of the overlay/layer on a per cell basis? Best for me would be if I co

Re: [NTG-context] Floating split TABLE misaligned

2016-02-10 Thread Andreas Schneider
Am 2016-02-05 11:29, schrieb Andreas Schneider: Hi, I presume I found a bug in TABLE placement. The attached examples shows, that the split TABLE is not centered on the first page, bug centered on the second. I would expect it to be centered in both cases. Best regards, Andreas As much as I

[NTG-context] Floating split TABLE misaligned

2016-02-05 Thread Andreas Schneider
Hi, I presume I found a bug in TABLE placement. The attached examples shows, that the split TABLE is not centered on the first page, bug centered on the second. I would expect it to be centered in both cases. Best regards, Andreas\setupTABLE[split=repeat, textwidth=.9\textwidth] \setupTABLE

[NTG-context] processing lua table in xml...

2015-12-29 Thread Thomas A. Schmitz
in stuff from file B.xml and store the result as a lua table: for e in xml.collected(xml.load('B.xml'), 'a') do for d in xml.collected(lxml.id(e), 'b') do local sortword = xml.attribute(b, "/", "xml:id", "0") local entryword = xml.text(b, "entry"

Re: [NTG-context] processing lua table in xml...

2015-12-29 Thread Hans Hagen
afraid. I process file A.xml. I pull in stuff from file B.xml and store the result as a lua table: for e in xml.collected(xml.load('B.xml'), 'a') do for d in xml.collected(lxml.id(e), 'b') do local sortword = xml.attribute(b, "/", "xml:id", "0")

Re: [NTG-context] Bug in table ?

2015-12-21 Thread Christian Prim
Thanks Hans works again with latest beta. Christian Am Son, 20. Dez, 2015 um 10:56 schrieb Hans Hagen <pra...@wxs.nl>: On 12/20/2015 5:30 PM, Christian Prim wrote: > Dear list > > with the latest context I get wrong alignment in table. i'll look at it, not so much a table,

Re: [NTG-context] Bug in table ?

2015-12-20 Thread Hans Hagen
On 12/20/2015 5:30 PM, Christian Prim wrote: Dear list with the latest context I get wrong alignment in table. i'll look at it, not so much a table, more some side effect I know table is deprecated. But I couldn't get xtable to baseline align nor really depricated but complemented

[NTG-context] Bug in table ?

2015-12-20 Thread Christian Prim
Dear list with the latest context I get wrong alignment in table. MWE: (not so minimal, it's a snippet of my document) \setuppapersize[A5][A5] \setuplayout[location=middle, marking=on, topspace=1.5cm, margin=1cm, headspace=0cm, header=0cm, headerdistance=0.0cm

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
Am 2015-10-06 13:31, schrieb Wolfgang Schuster: >> Andreas Schneider >> 1. Oktober 2015 um 12:52 >> Hello, >> >> In the following minimal example, an error occurs when build the file (with >> a recent context version): >> >>

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
serted) In reality my footer is lot more complex (huge table :-)) and I see no better way to handle this. Is there a way to fix this situation? (Preferable without rolling out a new ConTeXt version?) Best regards, Andreas ___ I

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Wolfgang Schuster
Andreas Schneider 1. Oktober 2015 um 12:52 Hello, In the following minimal example, an error occurs when build the file (with a recent context version): \starttext \startsetups[s:footer]

[NTG-context] Splitting natural table fails with xtable in footer

2015-10-01 Thread Andreas Schneider
emp/ctx/split.tex: ! You can't use `\prevdepth' in restricted horizontal mode ... tex error > tex error on line 25 in file /Users/aese/Temp/ctx/split.tex: ! Illegal unit of measure (pt inserted) In reality my footer is lot more complex (huge table :-)) and I see no better way to

[NTG-context] table of contents

2015-09-28 Thread Meer, Hans van der
I would like to restrict the tableofcontents to chapters only, leaving the sections etc. out. \completecontent does not seem the right command here. I am sure it is simple, but I don't see it. How to accomplish? Hans van der Meer

Re: [NTG-context] table of contents

2015-09-28 Thread Wolfgang Schuster
Meer, Hans van der 28. September 2015 um 14:27 I would like to restrict the tableofcontents to chapters only, leaving the sections etc. out. \completecontent does not seem the right command here. I am sure it is simple, but I don't see it. How to accomplish? You

Re: [NTG-context] Table setups interfering with another table?

2015-09-03 Thread Mari Voipio
On Tue, Sep 1, 2015 at 2:43 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > > 2. Perform all setups right after \bTABLE (table_test2.mkiv). This is not > applicable in all cases (e.g. \bTABLE[width=\textwidth] must be done here, > not later) but in you case - you just setup

[NTG-context] Table setups interfering with another table?

2015-09-01 Thread Mari Voipio
Hello! I have a bit of a table mystery. It seems that the setups of an earlier table interfere with the table coming after it (in the real thing there's text between the tables, but the behaviour is the same). Each table looks fine by itself, but if I compile a file with both, the second one

Re: [NTG-context] Table setups interfering with another table?

2015-09-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Mari, I can see two ways: 1. Enclose each table into \bgroup ... \egroup scope, so all \setupTABLE will be treated local (table_test.mkiv). 2. Perform all setups right after \bTABLE (table_test2.mkiv). This is not applicable in all cases (e.g. \bTABLE[width=\textwidth] must be done

Re: [NTG-context] \setupwhitespace and Natural Table paragraphs

2015-08-18 Thread Wolfgang Schuster
Pavneet Arora mailto:pavneet_ar...@waroc.com 17. August 2015 23:05 I am trying to find the most effective way of changing paragraph spacing for paragraphs inside table cells, without resorting to explicit \blank directives. Here are three ways how you can set the parskip value in a table cell

[NTG-context] \setupwhitespace and Natural Table paragraphs

2015-08-17 Thread Pavneet Arora
I am trying to find the most effective way of changing paragraph spacing for paragraphs inside table cells, without resorting to explicit \blank directives. Here is a MWE to show what I mean. Outside of the table, the paragraph spacing seems to honour the \setupwhitespace directive. Not so

Re: [NTG-context] Formatting of page number in table of contents

2015-08-12 Thread Aditya Mahajan
: \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] The page numbers are formatted correctly on each page, but not in the table of contents. For example, \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] \starttext \placelist[part,section][alternative=c, criterium=all

[NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Aditya Mahajan
page, but not in the table of contents. For example, \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] \starttext \placelist[part,section][alternative=c, criterium=all] \part{Part 1} \section{one} \input knuth \page \section{two} \input knuth \page \section{three} \input knuth \page

Re: [NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Wolfgang Schuster
, prefixset=part] The page numbers are formatted correctly on each page, but not in the table of contents. For example, \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] \starttext \placelist[part,section][alternative=c, criterium=all] Change this to \placelist[part,section

[NTG-context] First page after standardmakeup gets page number 0 in table of contents

2015-06-11 Thread Mojca Miklavec
Hi, I'm experiencing a weird issue. The first page after standardmakeup ends up with page number zero in table of contents. Here's a minimal example: \setuphead [chapter] [page=odd] \setuppagenumbering [alternative=doublesided] \starttext \startstandardmakeup title page

Re: [NTG-context] text alignment in table

2015-04-07 Thread Thomas Floeren
On 7 Apr 2015, at 17:40, John Culleton wrote: Given this table: \starttabulate[|l|l] \NC 8:00\emdash noon \NC Ordering/opening/training\NR \NC \NC Food~preparation\NC\NR \NC Noon\emdash 2:00 PM \NC Luncheon~sales\NR \NC 2:00 PM\emdash 7:00 PM \NC General administration/baking \NR \NC \NC

Re: [NTG-context] text alignment in table

2015-04-07 Thread Aditya Mahajan
On Tue, 7 Apr 2015, John Culleton wrote: Given this table: \starttabulate[|l|l] \NC 8:00\emdash noon \NC Ordering/opening/training\NR \NC \NC Food~preparation\NC\NR \NC Noon\emdash 2:00 PM \NC Luncheon~sales\NR \NC 2:00 PM\emdash 7:00 PM \NC General administration/baking \NR \NC \NC Supplier

[NTG-context] formal multipage table

2015-04-07 Thread Csikos Bela
Hello: I would like to place a landscape formal multi-page table in a document. I try to attach a pdf showing what I would like to achieve. The example file was made in latex using array, booktabs, lscape, and longtable packages. I read the contextgarden wiki pages on different table packages

[NTG-context] text alignment in table

2015-04-07 Thread John Culleton
Given this table: \starttabulate[|l|l] \NC 8:00\emdash noon \NC Ordering/opening/training\NR \NC \NC Food~preparation\NC\NR \NC Noon\emdash 2:00 PM \NC Luncheon~sales\NR \NC 2:00 PM\emdash 7:00 PM \NC General administration/baking \NR \NC \NC Supplier meeting (this is you) \NC\NR \stoptabulate

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 thanks

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 robh...@xs4all.nl: \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

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

2015-01-31 Thread Rob Heusdens
page \stopmakeup \input knuth \stoptext Wolfgang Wolfgang Thank you. But the real issue is still that page jumps from the interactive table of contents (at least, only those I have tried and noticed their misbehaviour) are always off by 1 page too far. I will try to make a MWE

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 \dorecurse{5}

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 setups

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

2015-01-31 Thread Rob Heusdens
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 problem. The code I sent, resembling the setups I use and document structure I use, did NOT expose that error, so I conclude that the problem is (most

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 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

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 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 Hans, many

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 to fit

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: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 afraid

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

2015-01-31 Thread Hans Hagen
On 1/31/2015 3:50 PM, Pablo Rodriguez wrote: 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*]

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

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) always leads me to jumping

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

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 try to keep

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 ConTeXt

[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 a MWE

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] \setupinteraction[state=start] \definecombinedlist[content][chapter] \setupcombinedlist

[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] \setbreakpoints

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] \definecombinedlist[content][chapter

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 that code

[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 :

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