Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-18 Thread Mikael P. Sundqvist
> it for an odd and an even page, but then if I want a background > on the > >>> page after that, I have to put that code at the place where it > will be > >>> used. (I got an error with \startpostponing[+1] ... > \stoppostponing) > >>> &g

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-15 Thread Hans Hagen
oncrete on the first issue: In the example below, how can I place the columnsetspan at the bottom right? Second and third column, 10 lines down? I attach the result of running this file. /Mikael \setuplayout[grid=yes] \showgrid \definecolumnset[three][n=3] \defineco

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Mikael P. Sundqvist
page after that, I have to put that code at the place where it will be > > used. (I got an error with \startpostponing[+1] ... \stoppostponing) > > > > 4) To be a bit more concrete on the first issue: In the example below, > > how can I place the columnsetspan at

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Floris van Manen
the \startcolumnset instead of \startcolumns will overwrite the first paragraph at the top of the page in its second and third column .F signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Hans Hagen
age after that, I have to put that code at the place where it will be used. (I got an error with \startpostponing[+1] ... \stoppostponing) 4) To be a bit more concrete on the first issue: In the example below, how can I place the columnsetspan at the bottom right? Second and third co

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-13 Thread Mikael P. Sundqvist
where it will be > used. (I got an error with \startpostponing[+1] ... \stoppostponing) > > 4) To be a bit more concrete on the first issue: In the example below, > how can I place the columnsetspan at the bottom right? Second and > third column, 10 lines down? I attach the result o

[NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-11 Thread Mikael P. Sundqvist
low, how can I place the columnsetspan at the bottom right? Second and third column, 10 lines down? I attach the result of running this file. /Mikael \setuplayout[grid=yes] \showgrid \definecolumnset[three][n=3] \definecolumnsetspan[two][ n=2, background=color, backgroundcolor=lightgray, ] \starttext \

[NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Felipe de Jesús Molina Bravo
de columna \definemeasure[tam][1.5\dimexpr (\textwidth/39)\relax] \setupTABLE[column][1][width=1.5\dimexpr (\textwidth/39)] \setupTABLE[header][each][background=color,backgroundcolor=white, width=broad] \setupTABLE[r][odd][background=color,backgroundcolor=gray] \setupTABLE[r][even][background=c

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Henning Hraban Ramm
ith > > \setupindex[balance=no] Of course, I should have remembered that. > or disable columns for the index and flush the content within a columns > environment. > > \startmixedcolumns %[grid=no] > \placeindex[n=1] > \stopmixedcolumns Both work and give the same result, thank you!

Re: [NTG-context] Expanding text across two table cells

2019-04-08 Thread Aditya Mahajan
guardianship at the end of a table. Both of these fields should span two cells in the table and wrap to the full width. Currently, they wrap to the width of the first table column. The cells appear to be spanned correctly, but the text does not extend. What am I missing? Use nx=2 instead of n=2

[NTG-context] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
of these fields should span two cells in the table and wrap to the full width. Currently, they wrap to the width of the first table column. The cells appear to be spanned correctly, but the text does not extend. What am I missing? Thank you for the assistance. \startcomponent c_DATE_clientcode_progress

Re: [NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
top > > \stopbackmatter > > \startbackmatter > > \chapter{Rejstřík věcný} > > \start > > \switchtobodyfont[8pt] > > \placeindexsubject > > \stop > > \stopbackmatter > > > > At the beginning there is a condition for one word (kind of manual c

Re: [NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Hans Hagen
\stopbackmatter At the beginning there is a condition for one word (kind of manual column balancing) - but according to the log, see below, this seems to be an issue: \newconditional\IndexState \define[1]\IndexInternalCommand {\doifelse{#1}{Dolsko}{\global\settrue\IndexState}{\global\setfalse

[NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
there is a condition for one word (kind of manual column balancing) - but according to the log, see below, this seems to be an issue: \newconditional\IndexState \define[1]\IndexInternalCommand {\doifelse{#1}{Dolsko}{\global\settrue\IndexState}{\global\setfalse\IndexSta te}#1} \define[1]\IndexCommand

Re: [NTG-context] Distance between two Columns

2019-02-28 Thread Wolfgang Schuster
{Small} \column \tightframed{A really really long line that is split at 5cm} If I take the example with only \tightframed, without the columns, I have the small distance, but I would like to have a left and right column with small distance. Are you looking for something like the examples below

Re: [NTG-context] Distance between two Columns

2019-02-28 Thread Marco Patzer
dth is specified twice 3. width.1\textwidth is not valid, an = sign is missing > \tightframed{Small} > \column > \tightframed{A really really long line that is split at 5cm} \stopcolumns is missing. Furthermore, \start/stoptext is missing. That results in the monospaced font.

[NTG-context] Distance between two Columns

2019-02-28 Thread Ursula Hermann
Dear List! I have the following example. I would like to have two columns that are in the distance small. So I have tried: \setuppapersize[A5] \startcolumns \defineframed [tightframed][width=5cm,width.1\textwidth,align=right] \tightframed{Small} \column \tightframed{A really really long line

Re: [NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
Thanks Wolfgang. This is exactly what I was looking for and thanks for the explanatory notes on the inter-column width. New knowledge is always good! :-D I put braces around the contents of the items to make them consistent with \starthead command which does not seem to contain the headstyle

Re: [NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Wolfgang Schuster
    \NC Column A \NC Column B \NC \NR     \HL     \NC 1 \NC 2 \NC \NR     \NC 2 \NC 3 \NC \NR     \NC 3 \NC 4 \NC \NR     \NC 4 \NC 5 \NC \NR     \NC 5 \NC 6 \NC \NR     \BL     \stoptabulate     \input ward

[NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
to set the width of the table to the width of the text in the item group? MWE \starttext \showframe \startitemize[n,3*broad] \startitem{% \input ward \starttabulate[|cp(.25\textwidth)|cp(.75\textwidth)|] \HL \NC Column A \NC Column B \NC \NR

Re: [NTG-context] Frame

2019-02-22 Thread Ursula Hermann
all in the first column \column Words, words, words \dots all in the second column. And look ye here! Even more words! \stopcolumns \stoptext Works great. Many Regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Wolfgang Schuster Gesendet: Donnerstag, 21

Re: [NTG-context] Frame

2019-02-21 Thread Wolfgang Schuster
][width=1cm]} \setupwhitespace[small] \starttext Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns[n=2] % Two columns, please Text, text, text \dots all in the first column \column Words, words, words \dots all in the second column

Re: [NTG-context] Frame

2019-02-21 Thread Ursula Hermann
tespace[small] > \starttext > Below, we have two separate columns; but up here, for the nonce, we > have but the one. > > \startcolumns[n=2] % Two columns, please > Text, text, text \dots > all in the first column > \column > Words, words, words \

Re: [NTG-context] Frame

2019-02-21 Thread Marco Patzer
; > \externalfigure[cow.pdf][width=1cm]} > > \setupwhitespace[small] > \starttext > Below, we have two separate columns; but up here, for the nonce, we > have but the one. > > \startcolumns[n=2] % Two columns, please > Text, text, text \dots > all in the first column &g

Re: [NTG-context] Frame

2019-02-21 Thread Ursula Hermann
columns, please Text, text, text \dots all in the first column \column Words, words, words \dots all in the second column. And look ye here! Even more words! \stopcolumns \stoptext Why can‘t I see the cow? Many Regards Uschi Von: ntg-context Im Auftrag von Lars Gesendet: Mittwoch

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-20 Thread Hans Hagen
On 2/20/2019 10:51 AM, Procházka Lukáš Ing. wrote: Hello Hans, On Wed, 20 Feb 2019 09:15:40 +0100, Hans Hagen wrote: as column setup for TABLEs by "\setupTABLE[c][1][width=1in]" is handy and is used frequently, would it be possible to provide identical mechanism for xtab

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-20 Thread Procházka Lukáš Ing .
Hello Hans, On Wed, 20 Feb 2019 09:15:40 +0100, Hans Hagen wrote: as column setup for TABLEs by "\setupTABLE[c][1][width=1in]" is handy and is used frequently, would it be possible to provide identical mechanism for xtables? all is possible but it won't happen ... different approa

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-20 Thread Hans Hagen
ABLE setup; tested on mapping provided by "ntb-to-xtb" module: \usemodule[ntb-to-xtb] \restoreTABLEfromxtable \starttext   \bTABLE     \setupTABLE[c][1][width=1in] % Set 1st column width - OK with TABLE     \bTR   \bTD A   \eTD     \eTR   \eTABLE   \bgroup     \mapTABLE

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-20 Thread Procházka Lukáš Ing .
-to-xtb" module: \usemodule[ntb-to-xtb] \restoreTABLEfromxtable \starttext \bTABLE \setupTABLE[c][1][width=1in] % Set 1st column width - OK with TABLE \bTR \bTD A \eTD \eTR \eTABLE \bgroup \mapTABLEtoxtable \bTABLE \setupTABLE[c][1][width=1in] %

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-19 Thread Wolfgang Schuster
omxtable \starttext   \bTABLE     \setupTABLE[c][1][width=1in] % Set 1st column width - OK with TABLE     \bTR   \bTD A   \eTD     \eTR   \eTABLE   \bgroup     \mapTABLEtoxtable     \bTABLE   \setupTABLE[c][1][width=1in] % <- This line causes error - not recognized by xtable setup xt

[NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-19 Thread Procházka Lukáš Ing .
Hello, it seems that xtable setup doesn't recognize the "c" option, which is recognized successfully by TABLE setup; tested on mapping provided by "ntb-to-xtb" module: \usemodule[ntb-to-xtb] \restoreTABLEfromxtable \starttext \bTABLE \setupTABLE[c][1][width=1

[NTG-context] mix two-column and single-column footnotes

2019-02-16 Thread Mohammad Hossein Bateni
Hi, Is it possible to mix two-column and single-column footnotes? Here's my use case. I have two types of footnotes: 1) short one- or two-word terms 2) long descriptions and notes On some pages there are a lot of "short" footnotes which take up a lot of space at the bottom of the

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Alan Braslau
e) than a shorthand. Two questions: 1) $\|$ SHOULD produce ‖ according to the TeXbook, so we cannot dispute Knuth's choice. \| may be undefined in the bible for textmode, but logic would have it also yield ‖ in a text font. 2) I guess | is active in text mode (and used as a delimiter in colu

Re: [NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Marcus Vinicius Mesquita
t; \setuplayout[grid=yes] > > \showgrid > > \setupcolumns[n=2] > > > > \starttext > > > > \startcolumns > > \input knuth > > \column > > \input knuth > > \stopcolumns > > > > \stoptext > > > > in t

Re: [NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 08.02.19 um 17:47: Dear list, When processing the attached mwe: \setuplayout[grid=yes] \showgrid \setupcolumns[n=2] \starttext \startcolumns \input knuth \column \input knuth \stopcolumns \stoptext in the final result there is a background color. How do

[NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Marcus Vinicius Mesquita
Dear list, When processing the attached mwe: \setuplayout[grid=yes] \showgrid \setupcolumns[n=2] \starttext \startcolumns \input knuth \column \input knuth \stopcolumns \stoptext in the final result there is a background color. How do I get rid of it? Marcus Vinicius mwe.tex Description

Re: [NTG-context] text flowing around images

2019-02-06 Thread Henning Hraban Ramm
include a bunch of illustrations in my >> layout, and the text should flow around their irregular shapes (side >> placement in single text column only). >>>>> I got the pictures as TIFFs with alpha channel, but of course I can >> change that. >>>>> >

Re: [NTG-context] text flowing around images

2019-02-05 Thread Aditya Mahajan
On Tue, 5 Feb 2019, Wolfgang Schuster wrote: Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : Ahoi, in my current project I must include a bunch of illustrations in my layout, and the text should flow around their irregular shapes (side placement in single text column only). I got

Re: [NTG-context] text flowing around images

2019-02-05 Thread Alan Braslau
ike to > > avoid that (footnotes!). > > > > Best, Hraban > > > > Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : > > > > > Ahoi, > > > > > > in my current project I must include a bunch of illustrations in my > > > layout,

Re: [NTG-context] text flowing around images

2019-02-05 Thread Wolfgang Schuster
, Hraban Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : Ahoi, in my current project I must include a bunch of illustrations in my layout, and the text should flow around their irregular shapes (side placement in single text column only). I got the pictures as TIFFs with alpha channel

Re: [NTG-context] text flowing around images

2019-02-05 Thread Henri Menke
flow around their irregular shapes (side placement in >> single text column only). >> I got the pictures as TIFFs with alpha channel, but of course I can change >> that. >> >> I’m quite sure I remember that it was possible to let text flow around >> s

Re: [NTG-context] text flowing around images

2019-02-05 Thread Alan Braslau
; > > Ahoi, > > > > in my current project I must include a bunch of illustrations in my layout, > > and the text should flow around their irregular shapes (side placement in > > single text column only). > > I got the pictures as TIFFs with alpha channel,

Re: [NTG-context] text flowing around images

2019-02-05 Thread Henning Hraban Ramm
should flow around their irregular shapes (side placement in > single text column only). > I got the pictures as TIFFs with alpha channel, but of course I can change > that. > > I’m quite sure I remember that it was possible to let text flow around shapes > somehow,

[NTG-context] text flowing around images

2019-02-04 Thread Henning Hraban Ramm
Ahoi, in my current project I must include a bunch of illustrations in my layout, and the text should flow around their irregular shapes (side placement in single text column only). I got the pictures as TIFFs with alpha channel, but of course I can change that. I’m quite sure I remember

Re: [NTG-context] Color a column (xtable, lua)

2019-01-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.01.19 um 00:59: Hi Henry, Thank you for your proposition. I tested both : the first work  but not the second. Fabrice Remove the empty line between the two arguments of the \defineoverlay command. Wolfgang

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
J" } 20 local letters_2 = { "A", "0", "1", "1", "0", "", "", "", "", "" } 21 context.startxtable({"align={middle,lohi}, width=1.25cm,offset=0.8ex"}) 22 23 context.startxrow() ?

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:26 PM, Henri Menke wrote: > On 1/27/19 12:08 PM, Fabrice Couvreur wrote: >> Hi, >> How to color the first column as I did for the first line ? > > Stolen from Wolfgang's answer on TeX.SX. > https://tex.stackexchange.com/a/464771 > You could also eval

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:08 PM, Fabrice Couvreur wrote: > Hi, > How to color the first column as I did for the first line ? Stolen from Wolfgang's answer on TeX.SX. https://tex.stackexchange.com/a/464771 \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \startuseMPgraphic {tablebackground} fill Over

[NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
Hi, How to color the first column as I did for the first line ? Thank you Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startluacode local letters_1 = { "A", "B", "C", "D", "E", "F", &qu

Re: [NTG-context] Works and Doesn't Work

2019-01-18 Thread Wolfgang Schuster
variations of the \blank command which causes 'context' run to hang. The comment escape on them has to be removed to test them. The rightmost column contains result comments. Note that inbetween=\blank[.5mm] and \blank[small] cause context to hang . But, underbar'd command with a text

[NTG-context] Works and Doesn't Work

2019-01-17 Thread jdh
causes 'context' run to hang. The comment escape on them has to be removed to test them. The rightmost column contains result comments. Note that inbetween=\blank[.5mm] and \blank[small] cause context to hang . But, underbar'd command with a text string works as advertised. Regards

Re: [NTG-context] \startcolumns and multi-line footnotes

2019-01-16 Thread Taco Hoekwater
eneral/manuals/pagecolumns.pdf > written by Hans in which he says that long footnotes and columns cannot be > treated correctly yet Which is a tad annoying, as my example worked in both mkii and mkiv just fine before the switch to the new mixed column system. It worked ok for decades, in fact.

[NTG-context] placing an MPGraphic/Lines over multiple table cells

2019-01-05 Thread Martin Althoff
he table with 4 rows, 3 columns has content in column one only, the other 2 columns should have the "Z". Placing the blocking "Z" into every cell is not an option due to formal requirements. What I attempted below a) seems very cumbersome b) doesn't work (the small "Z&q

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Peter Rolf
chrieb Wolfgang Schuster: >> Hi Peter, >> >> the new columnset mechanism accepts only two arguments for the >> \setupcolumnset command but you can load the old code with >> \usemodule[old-columnsets]. >> >> How you can apply backgrounds per column with t

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Peter Rolf
the old code with > \usemodule[old-columnsets]. > > How you can apply backgrounds per column with the new code is shown in a > example in the manual. > > Wolfgang > > > Peter Rolf schrieb am 09.11.18 um 17:23: >> Hi, >> >> I run into this error after updati

Re: [NTG-context] spacing

2018-11-10 Thread Wolfgang Schuster
Hans Hagen schrieb am 09.11.18 um 17:01: - the new mixed column code has been around for even longer (and always was default on my machine) btu the old code is available as module A big difference between the old columns environment and the new mixed columns code is that the new environment

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Wolfgang Schuster
Hi Peter, the new columnset mechanism accepts only two arguments for the \setupcolumnset command but you can load the old code with \usemodule[old-columnsets]. How you can apply backgrounds per column with the new code is shown in a example in the manual. Wolfgang Peter Rolf schrieb am

Re: [NTG-context] spacing

2018-11-09 Thread Hans Hagen
expect my MkII code to work any more. I’m still kind of an evangelist for ConTeXt, but that doesn’t protect me from getting very frustrated at times. It seems to me that the replacement of the column layout code was premature, when it breaks heading setup, frame handling and can’t handle columns

Re: [NTG-context] spacing

2018-11-09 Thread Tomas Hala
Since when? # I started using ConTeXt in 1999 and don’t expect my MkII code to work any more. # I’m still kind of an evangelist for ConTeXt, but that doesn’t protect me from getting very frustrated at times. # # It seems to me that the replacement of the column layout code was premature,

Re: [NTG-context] spacing

2018-11-09 Thread Henning Hraban Ramm
l kind of an evangelist for ConTeXt, but that doesn’t protect me from getting very frustrated at times. It seems to me that the replacement of the column layout code was premature, when it breaks heading setup, frame handling and can’t handle columns that don’t start at the top of a page. Gree

Re: [NTG-context] spacing

2018-11-08 Thread Henri Menke
section] >>> >>> "1 Aufnahme" is a section, "1.1" is a subsection; I always use the >>> start/stop version. >>> >>> To get back to the old behaviour, I need to replace the \blank commands >>> with a negative vskip o

Re: [NTG-context] spacing

2018-11-08 Thread Henning Hraban Ramm
"1 Aufnahme" is a section, "1.1" is a subsection; I always use the >> start/stop version. >> >> To get back to the old behaviour, I need to replace the \blank commands with >> a negative vskip of font size! >> And then there’s still space inserted

Re: [NTG-context] spacing

2018-11-08 Thread Wolfgang Schuster
subsection; I always use the start/stop version. To get back to the old behaviour, I need to replace the \blank commands with a negative vskip of font size! And then there’s still space inserted if the heading starts at the top of a column. I tried to come up with a MWE – headingspacetes

Re: [NTG-context] columnset regression

2018-10-29 Thread Henning Hraban Ramm
>> upper object. >> >> \definecolumnset[drei][n=3] >> \usemodule[visual] > > \usemodule[old-columnsets] > >> \starttext >> >> \framed[width=\textwidth,height=.3\textheight]{\ConTeXt} >> >> %\input knuth >> >> \startcolumnset[dr

Re: [NTG-context] columnset regression

2018-10-28 Thread Wolfgang Schuster
. \definecolumnset[drei][n=3] \usemodule[visual] \usemodule[old-columnsets] \starttext \framed[width=\textwidth,height=.3\textheight]{\ConTeXt} %\input knuth \startcolumnset[drei] \fakewords{30}{50} \column \fakewords{30}{50} \column \fakewords{30}{50} \stopcolumnset \stoptext Wolfgang

[NTG-context] columnset regression

2018-10-28 Thread Henning Hraban Ramm
\framed[width=\textwidth,height=.3\textheight]{\ConTeXt} %\input knuth \startcolumnset[drei] \fakewords{30}{50} \column \fakewords{30}{50} \column \fakewords{30}{50} \stopcolumnset \stoptext Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de

Re: [NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Hans Hagen
) -- (20,0) ; drawarrow p withcolor \MPcolor{canaux} withpen pencircle scaled 2pt; \stopreusableMPgraphic \startbuffer \bTABLE[frame=off] \setupTABLE[column][1,3][align={middle,lohi}] \bTR \bTH 1) \eTH \bTH Le milieu \eTH \bTH 2) \eTH \bTH Les activités \eTH \eTR \bTR \bTD \externalfigure

[NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Damien Thiriet
{canaux} withpen pencircle scaled 2pt; \stopreusableMPgraphic \startbuffer \bTABLE[frame=off] \setupTABLE[column][1,3][align={middle,lohi}] \bTR \bTH 1) \eTH \bTH Le milieu \eTH \bTH 2) \eTH \bTH Les activités \eTH \eTR \bTR \bTD \externalfigure[illustrations/zone_urbaine][height=12bp] \eTD

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Wolfgang Schuster
space below the table in your example is a wrong calculation of the cell height for the merged cells. The height is probably wrong because ConTeXt uses the width of the first column (and not of all merged cells) to determine the height. \starttext \startxtable[width=2cm]     \startxrow

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-02 Thread David Walther
On Tue, Oct 02, 2018 at 12:28:44AM -0400, Aditya Mahajan wrote: ConTeXt MkIV 2018.09.30 What version are you using? My version is from 2017. Thank you for the confirmation; now I will file a bug report with Debian. David

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-01 Thread Aditya Mahajan
On Mon, 1 Oct 2018, David Walther wrote: I looked at your example. I ran your example, and on my installation, it has the same problem as I described. I have included a PDF file of my original sample file, and also the PDF generated from your example. What version of ConTeXt are you

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-01 Thread David Walther
For the section headers, I do this, and they look the way I want: \bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR You can also use \bTC[nc=2, align=middle, style=bold] But then the regular lines have ugly line breaks and suddenly the column size of column 3 is squeezed. This shouldn

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-09-30 Thread Aditya Mahajan
headers, I do this, and they look the way I want: \bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR You can also use \bTC[nc=2, align=middle, style=bold] But then the regular lines have ugly line breaks and suddenly the column size of column 3 is squeezed. This shouldn't

[NTG-context] tagged elements in tables (TABLE, tabulate, xtable)

2018-09-29 Thread Rik Kabel
in a table. The primary use is to manage text in sidebars (first or last column, moved by CSS to the correct position, for a two- or three-column one-row table). * When there are three tagged (or more) elements in the table, the table is not present in the resulting html export, nor

Re: [NTG-context] align is reversed inside a table

2018-09-29 Thread Rik Kabel
On 9/29/2018 20:29, David Walther wrote: Using this table as an example, when I do align=left, the column aligns right, and when I do align=right, it aligns left.  align=center works as expected.  Am I doing something wrong or is this a bug? I am using the version of context distributed

Re: [NTG-context] align is reversed inside a table

2018-09-29 Thread Alan Braslau
On Sat, 29 Sep 2018 17:29:40 -0700 David Walther wrote: > Using this table as an example, when I do align=left, the column aligns right, > and when I do align=right, it aligns left. align=center works as expected. > Am > I doing something wrong or is this a bug? align=left mean

[NTG-context] align is reversed inside a table

2018-09-29 Thread David Walther
Using this table as an example, when I do align=left, the column aligns right, and when I do align=right, it aligns left. align=center works as expected. Am I doing something wrong or is this a bug? I am using the version of context distributed with Debian unstable: mtx-context | ConTeXt

[NTG-context] table making ugly column sizes, how to fix?

2018-09-29 Thread David Walther
want: \bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR But then the regular lines have ugly line breaks and suddenly the column size of column 3 is squeezed. This shouldn't be, we have the whole page to work with. So, when I do my section headers this way, the columns

Re: [NTG-context] Itemize and natural tables

2018-09-24 Thread Jan Willem Flamma
g88877.html> >> >> A logical follow up questions is if itemize can be combined with natural >> tables that include modes like in the MWE below. >> >> MWE: >> >> \startsetups [table] >> \setupTABLE [start] [frame=off,rulethickness=0

Re: [NTG-context] Itemize and natural tables

2018-09-23 Thread Wolfgang Schuster
]     \setupTABLE [start] [frame=off,rulethickness=0pt,offset=0pt]     \setupTABLE [column] [1] [width=4cm,align=flushleft]     \setupTABLE [row]    [1] [toffset=5pt]     \setupTABLE [column] [2] [width=4cm,align=flushleft] \stopsetups \enablemode[test] \starttext \bTABLE [setups=table] \bTR    \bTC Item

[NTG-context] Itemize and natural tables

2018-09-23 Thread Jan Willem Flamma
he MWE below. MWE: \startsetups [table] \setupTABLE [start] [frame=off,rulethickness=0pt,offset=0pt] \setupTABLE [column] [1] [width=4cm,align=flushleft] \setupTABLE [row][1] [toffset=5pt] \setupTABLE [column] [2] [width=4cm,align=flushleft] \stopsetups \enablemode[test]

Re: [NTG-context] Modes in tables

2018-09-10 Thread Wolfgang Schuster
but couldn’t get it to work. \starttext \startsetups [tablesetups] \setupTABLE [start] [frame=off,rulethickness=0pt,offset=0pt] \setupTABLE [column] [1] [width=6cm,align=flushleft] \setupTABLE [column] [2] [width=3cm,align=flushleft] \stopsetups Calculate

Re: [NTG-context] Construct tables column after column

2018-09-10 Thread Henri Menke
On 09/10/2018 10:47 PM, Jan Willem Flamma wrote: > Dear list members, > > Table are constructed row after row like in the code below: > > Building up a table row after row > \par > \bTABLE > \bTR > \bTC Row 1, Column 1 \eTC > \bTC Row 1, Colum

Re: [NTG-context] Construct tables column after column

2018-09-10 Thread Taco Hoekwater
the code below: > > Building up a table row after row > \par > \bTABLE >\bTR >\bTC Row 1, Column 1 \eTC >\bTC Row 1, Column 2 \eTC > \eTR >\bTR >\bTC Row 2, Column 1 \eTC >\bTC Row 2, Column 2 \eTC >\eTR > \eTABLE &g

[NTG-context] Construct tables column after column

2018-09-10 Thread Jan Willem Flamma
Dear list members, Table are constructed row after row like in the code below: Building up a table row after row \par \bTABLE \bTR \bTC Row 1, Column 1 \eTC \bTC Row 1, Column 2 \eTC \eTR \bTR \bTC Row 2, Column 1 \eTC \bTC Row 2, Column 2 \eTC

Re: [NTG-context] Modes in tables

2018-09-10 Thread Jan Willem Flamma
] [frame=off,rulethickness=0pt,offset=0pt] \setupTABLE [column] [1] [width=6cm,align=flushleft] \setupTABLE [column] [2] [width=3cm,align=flushleft] \stopsetups Calculate the hydrostatic pressure of the following fluid. \par% <-- can I get rid of this par? \bTABLE [setups=tableset

Re: [NTG-context] Modes in tables

2018-09-07 Thread Wolfgang Schuster
,rulethickness=0pt,offset=0pt] 2. In both cases column widths of 6cm and 3 cm have been set. Yet, the results show a difference in column width (not sure which one is correct) Tabulate adds extra space between the columns but it can be disabled. \starttabulate[|lw(6cm)j0|i0lw(3cm)|p|] 3

Re: [NTG-context] Modes in tables

2018-09-07 Thread Jan Willem Flamma
not solve this. How can I get the text in the table to align with the regular text? 2. In both cases column widths of 6cm and 3 cm have been set. Yet, the results show a difference in column width (not sure which one is correct) 3. The vertical space between the regular text and the start

Re: [NTG-context] Modes in tables

2018-09-06 Thread Wolfgang Schuster
You can’t do this with tabulate but it’s possible with natural tables. %\enablemode [BL] \starttext \startsetups [tablesetups]     \setupTABLE [start]  [frame=off]     \setupTABLE [column] [1] [width=6cm,align=flushleft]     \setupTABLE [column] [2] [width=2cm,align=flushleft] \stopsetups

[NTG-context] Modes in tables

2018-09-06 Thread Jan Willem Flamma
Dear list members I would like to disable to third column in the question when mode BL is not enabled. When mode BL is enabled (using the toggle), the third column should of course appear again. How can I achieve this? Regards, Jan Willem MWE: \starttext %Toggles %\enablemode[BL

Re: [NTG-context] Emacs + latest beta

2018-08-30 Thread Fabrice Couvreur
> So no error this time, how about the resulted PDF file? > > >> Could you show in full your ~/.emacs file? Do you use AUCTeX or bare > >> Emacs ? > > > I use AUCTEX but I d not know bare Emacs > > I assumed that you installed auctex package, like > > $ s

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Vladimir Lomov
ot;#f6f3e8"]) > '(custom-enabled-themes (quote (leuven))) > '(package-selected-packages >(quote > (yasnippet-snippets auto-complete-auctex context-coloring nova-theme > auctex))) > '(tab-width 4)) > (custom-set-faces > ;; custom-set-faces was added by Custom.

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
"ConTeXt" "PATH=/home/aragorn/context/tex/texmf-linux-64/bin:$PATH context --purgeall %s" TeX-run-command nil t :help "Run context (MarkIV)") TeX-command-list)) ) ;;(add-hook 'ConTeXt-mode-hook ;;(lambda() ;; (setq TeX-command-default &q

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
dex]%[n=3] \stoptext Hans van der Meer schrieb am 26.08.18 um 17:37: How do I produce an index with more than one column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \place

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \placeindex[n=2], with or without the columns envirenment, produce the result wanted. The \startsimplecolumns[n=2] environment

[NTG-context] index with more than one column?

2018-08-26 Thread Hans van der Meer
How do I produce an index with more than one column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \placeindex[n=2], with or without

Re: [NTG-context] future versions - synctex

2018-08-21 Thread Hans Hagen
know which is the "deepest - currently read" source file, the line, moreover the column - and that position could result into "pick-and-go" position. only partly ... you don't know where a macro comes from (or what lua code generated something) and it makes no sense ei

Re: [NTG-context] future versions - synctex

2018-08-21 Thread Procházka Lukáš Ing .
hich is the "deepest - currently read" source file, the line, moreover the column - and that position could result into "pick-and-go" position. In this approach - "boxes" generated by Lua-in-ConTeXt should "jump" on \startluacode, \ctxlua, \cldcommand sta

Re: [NTG-context] columns unexpected (odd) results

2018-08-02 Thread Hans Hagen
, the second page gets a wrong interline space (between the third and the fourth item from the first column). quick hack: \unprotect \unexpanded\def\page_otr_synchronize_page_indeed {\ifx\currentoutputroutine\s!multicolumn\else\clf_synchronizepage\fi \glet\page_otr_synchronize_page

Re: [NTG-context] columns unexpected (odd) results

2018-08-02 Thread Wolfgang Schuster
(e.g. by adding \par to finish the paragraph) without the misuse the lines environment fixes the problem as well. Wolfgang, as Florian reported, this doesn’t solve the issue. On the second page, interline space between the third and fourth lines from the first column is wrong. I saw only

  1   2   3   4   5   6   7   8   9   10   >