[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] 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] 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] 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] 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] 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] column-spanning floats

2018-08-01 Thread Dr. Thomas Möbius
an \externalfigure that was wider > > than the column width, the figure would automatically be moved to > > the top of _both_ columns on the next page. > > > > That was a bit tricky sometimes, but worked fine. However, when I > > run with the current mkiv beta, the figure

Re: [NTG-context] column-spanning floats

2018-07-31 Thread Taco Hoekwater
> On 31 Jul 2018, at 13:57, Taco Hoekwater wrote: > > Hi all, > > It used to be that in an example like the one attached where you were using > \startcolumns and used an \externalfigure that was wider than the column > width, > the figure would automatically be mo

[NTG-context] column-spanning floats

2018-07-31 Thread Taco Hoekwater
Hi all, It used to be that in an example like the one attached where you were using \startcolumns and used an \externalfigure that was wider than the column width, the figure would automatically be moved to the top of _both_ columns on the next page. That was a bit tricky sometimes

Re: [NTG-context] Multicolumn enumeration in a column

2018-01-02 Thread Fabrice Couvreur
\startitemize[packed, columns, three] >> \startitem >> one >> \stopitem >> \startitem >> two >> \stopitem >> \stopitemize >> \blank[medium] >> \startitemize[packed, horizontal, three] >>

Re: [NTG-context] Multicolumn enumeration in a column

2018-01-02 Thread Jan Willem Flamma
t; \stopitem > \stopitemize > \blank[medium] > \startitemize[packed, horizontal, three] > \startitem > three > \stopitem > \startitem > four > \stopitem > \stopitemize > > \stopMycolumns > \stoptex

Re: [NTG-context] Fwd: Re: Multicolumn enumeration in a column

2017-12-31 Thread Fabrice Couvreur
; two > \stopitem > \stopitemize > \blank[medium] > \startitemize[packed, horizontal, three] > \startitem > three > \stopitem > \startitem > four > \stopitem > \stopitemize > > \stopMycolumns >

[NTG-context] Fwd: Re: Multicolumn enumeration in a column

2017-12-30 Thread Lars
d, horizontal, three] \startitem three \stopitem \startitem four \stopitem \stopitemize \stopMycolumns \stoptext Cheers Weitergeleitete Nachricht Betreff:Re: [NTG-context] Multicolumn enumeration in a column Datum: Sat, 30 Dec 201

Re: [NTG-context] Multicolumn enumeration in a column

2017-12-30 Thread Lars
Hey there, the code that you're using won't work with \item command. Use the \startitem ... \stopitem command pair instead. Another way to get itemizations in columns is to simply place one itemizeation per column: \starttext two columns: \startcolumns[n=2] \startitemize[packed

[NTG-context] Multicolumn enumeration in a column

2017-12-30 Thread Fabrice Couvreur
Hello, How to modify the code for an enumeration on three columns in a column ? Thank you Fabrice \definemixedcolumns [Mycolumns] [ n=2, separator=rule, rulecolor=, balance=, grid=strut, ] \setupalign[verytolerant,stretch,hanging] \setuppapersize[A4,landscape

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-07-03 Thread Thomas Widmann
On 28 June 2017 at 13:49, Thomas Widmann wrote: > On 28 June 2017 at 12:57, Hans Hagen wrote: >> On 6/28/2017 1:20 PM, Thomas Widmann wrote: >> >>> What I'd really like to know is whether the relevant parts of TeX have >>> been Luafied already (in which case

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-28 Thread Thomas Widmann
On 28 June 2017 at 12:57, Hans Hagen wrote: > On 6/28/2017 1:20 PM, Thomas Widmann wrote: > >> What I'd really like to know is whether the relevant parts of TeX have >> been Luafied already (in which case I might do it soon), or whether >> doing this would require making changes to

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-28 Thread Hans Hagen
On 6/28/2017 1:20 PM, Thomas Widmann wrote: Thanks, Hans! I never expected it to work out of the box, and I'm quite happy to do a lot of programming to make it work. What I'd really like to know is whether the relevant parts of TeX have been Luafied already (in which case I might do it soon),

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-28 Thread Thomas Widmann
On 28 June 2017 at 12:04, Hans Hagen wrote: > On 6/28/2017 11:16 AM, Thomas Widmann wrote: >> >> If the answer is 'no', that's OK. I reckon it might be, given that TeX >> builds the paragraphs first and then split them to create pages, and I >> basically want the page builder to be

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-28 Thread Hans Hagen
On 6/28/2017 11:16 AM, Thomas Widmann wrote: On 26 June 2017 at 10:31, Thomas Widmann <tho...@complexli.com> wrote: [...] Is there a way in ConTeXt/LuaTeX to typeset a column repeatedly until it fulfils certain criteria (such as not generating an orphan or a widow)? Perhaps it would be

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-28 Thread Thomas Widmann
On 26 June 2017 at 10:31, Thomas Widmann <tho...@complexli.com> wrote: > [...] Is there a way in ConTeXt/LuaTeX to typeset a column > repeatedly until it fulfils certain criteria (such as not generating > an orphan or a widow)? > > Perhaps it would be easier if I didn't th

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-26 Thread Thomas Widmann
'm keen to explore any novel ways to avoid them. >> >> However, all ways I can think of requires typesetting the entries in >> the last column multiple times, i.e.: >> >> repeat >>adjust parameters (column width, looseness, ...) >>typeset colu

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-25 Thread Hans Hagen
lished dictionaries are full of orphans and widows because they're so hard to avoid without a lot of manual intervention, which is why I'm keen to explore and novel ways to avoid them. However, all ways I can think of requires typesetting the entries in the last column multiple times, i.e.:

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-24 Thread Thomas Widmann
s are full of orphans and widows because they're so hard to avoid without a lot of manual intervention, which is why I'm keen to explore and novel ways to avoid them. However, all ways I can think of requires typesetting the entries in the last column multiple times, i.e.: repeat adjust parameters (co

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Henri Menke
e option than plain TeX or LaTeX because of the > > > > > > support > > > > > > for typesetting on a grid. > > > > > > > > > > > > However, grid typesetting can easily result in a large number of > > > > > >

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Thomas Widmann
gt;>>> more attractive option than plain TeX or LaTeX because of the support >>>>> for typesetting on a grid. >>>>> >>>>> However, grid typesetting can easily result in a large number of orphans >>>>> and widows, which really >&

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Thomas Widmann
ng on a grid. >>>> >>>> However, grid typesetting can easily result in a large number of orphans >>>> and widows, which really >>>> doesn't look good in a dictionary. >>>> >>>> In an ideal world, I'd want to alter the column width slight

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-20 Thread Hans Hagen
option than plain TeX or LaTeX because of the support for typesetting on a grid. However, grid typesetting can easily result in a large number of orphans and widows, which really doesn't look good in a dictionary. In an ideal world, I'd want to alter the column width slightly to prevent them (b

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-20 Thread Thomas Widmann
ctive option than plain TeX or LaTeX because of the support for > > typesetting on a grid. > > > > However, grid typesetting can easily result in a large number of orphans > > and widows, which really > > doesn't look good in a dictionary. > > > > In an ideal wo

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-20 Thread Henri Menke
> > However, grid typesetting can easily result in a large number of orphans and > widows, which really > doesn't look good in a dictionary. > > In an ideal world, I'd want to alter the column width slightly to prevent > them (because most > dictionaries aren't justified, thi

[NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-20 Thread Thomas Widmann
really doesn't look good in a dictionary. In an ideal world, I'd want to alter the column width slightly to prevent them (because most dictionaries aren't justified, this wouldn't be very noticeable). Would it be possible to use LuaTeX to achieve this? I.e., could one write some code that gets

[NTG-context] Specifying the cell column: are \TD[n] and \TD[m] broken?

2017-02-19 Thread Akira Kakuto
(Context Standalone, ver. 2017.01.27, ver. 2017.02.19) and in context from TeX Live 2016 (ver. 2016.05.17) these two examples give identical tables that differ from results on the wiki page. Confirmed. ConTeXt mkii gives results on the wiki page. Best, Akira

[NTG-context] Specifying the cell column: are \TD[n] and \TD[m] broken?

2017-02-19 Thread Vladimir Lomov
Hello, on wiki page [[http://wiki.contextgarden.net/TABLE#Specifying_the_cell_column]] there are two examples (also I found them in tabl-ntb.mkiv) to "skip" empty cells: 8< - \bTABLE[width=3em] \bTR\bTD d1 \eTD\bTD[n=2] d2 \eTD\bTD[n=5] d5

Re: [NTG-context] Different column modes and NAW

2016-12-19 Thread Mikael P. Sundqvist
eXt (at least it says so at > http://www.nieuwarchief.nl/homeitems.php?onderwerp=2=1). > > I get curious. Does anyone here know what column mode (i.e. > \startcolumn \stopcolumn, \startmixedcolumn\stopmixedcolumn, > columnsets or even the new module newcolumnsets?) they use, and h

[NTG-context] Different column modes and NAW

2016-12-18 Thread Mikael P. Sundqvist
here know what column mode (i.e. \startcolumn \stopcolumn, \startmixedcolumn\stopmixedcolumn, columnsets or even the new module newcolumnsets?) they use, and how they get mathematics to play with it without breaking the grid? Also, if I start to write a new document with two columns today (it wi

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Mikael P. Sundqvist
On Mon, Sep 19, 2016 at 3:37 PM, Otared Kavian wrote: > Hi Mikael, > > The explanation and the solution given by Henri works fine here. The code > below gives the attached PDF (with ConTeXt 2016.09.12 18:27 MKIV beta). The > point is that an empty \item does not allow to begin

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Otared Kavian
Hi Mikael, The explanation and the solution given by Henri works fine here. The code below gives the attached PDF (with ConTeXt 2016.09.12 18:27 MKIV beta). The point is that an empty \item does not allow to begin a new level of itemization. Best regards: OK %%% begin \starttext

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Wolfgang Schuster
Henri Menke 18. September 2016 um 21:56 You can start itemize only in vertical mode. To switch to vertical mode use \blank. To kill the empty line which is inserted use \blank[-line]. Or use \blank[overlay]. Wolfgang

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Mikael P. Sundqvist
On Sun, Sep 18, 2016 at 9:56 PM, Henri Menke wrote: > You can start itemize only in vertical mode. To switch to vertical mode use > \blank. To kill the empty line which is inserted use \blank[-line]. > > \starttext > \startitemize[n] > \item \blank[-line] >

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-18 Thread Henri Menke
You can start itemize only in vertical mode. To switch to vertical mode use \blank. To kill the empty line which is inserted use \blank[-line]. \starttext \startitemize[n] \item \blank[-line] \startitemize[a,horizontal,three] \startitem First \stopitem \startitem Second \stopitem \startitem

[NTG-context] Nested itemize horizontal/column problem

2016-09-18 Thread Mikael P. Sundqvist
Hi 1) the following code \starttext \startitemize[n] \item \startitemize[a,horizontal,three] \startitem First \stopitem \startitem Second \stopitem \startitem Third \stopitem \startitem Fourth \stopitem \stopitemize \item On the outer level \stopitemize \stoptext generates the error tex error

[NTG-context] TABLE: Problem with column widths

2016-07-22 Thread Lukáš Procházka
Hello, I'd like to typeset a very simple natural table: - table width to be "maximum of the current scope" (typically \textwidth) (option = stretch) - 1st column to have width of 1 in, - 2nd column to have (maximum) remaining width (typically \textwidth - 1 in) Let's have t

Re: [NTG-context] Arranging columns (rotated U-Shape). Do you know a way to do in ConTeXt (with or without column sets)?

2015-11-21 Thread Leonard Siebeneicher
Dear readers, I am not sure that I explained my goal that well. It is about using context for a column-based monthly journal. Trying to achieve similar layout with context as I achieved with InDesign before, I ran into problems I cannot resolve. The U-Shape overlaps columns in a way I cannot

[NTG-context] Best way to prevent wrong column/page break with par starting with \starthanging

2015-11-19 Thread josephcanedo
of column/page and beginning of next. Tried \keeplinestogether{N} instead but it does not work in all cases. That question was mainly to see if there were any possibility to avoid some blank lines at end of some columns (ie not balanced in given page). Thanks a lot Best regards

[NTG-context] Arranging columns (rotated U-Shape). Do you know a way to do in ConTeXt (with or without column sets)?

2015-11-16 Thread Leonard Siebeneicher
Dear readers. Using ConTeXt MkIV. I try to figure out how to use column sets such that one can place a column seperately beside other columns. I did not found a way. The setup for columnsets should look like a rotated U-shape %% /Page 1

Re: [NTG-context] Two column layout with footnotes do not work as expected

2015-10-23 Thread Wolfgang Schuster
Dr. Thomas Möbius <mailto:kont...@thomasmoebius.de> 23. Oktober 2015 um 17:09 Hi, footnotes in two column layouts are typeset at the bottom of the respected column but with the width of two columns. Expected: 1) Either footnotes spanning the whole page from left to right at the

[NTG-context] Two column layout with footnotes do not work as expected

2015-10-23 Thread Dr. Thomas Möbius
Hi, footnotes in two column layouts are typeset at the bottom of the respected column but with the width of two columns. Expected: 1) Either footnotes spanning the whole page from left to right at the bottom of the page. 2) Or have the footnote be restricted to one column only. How can I

[NTG-context] \placefigure[right,high] in two column mode

2015-06-11 Thread Mojca Miklavec
Hello, Is it possible to place a figure to the right in two column mode? I always get it centered for some reason. \setupexternalfigures[location={local,global,default}] \starttext \startcolumns[two] % doesn't work \startplacefigure[location={nonumber,right,high}] \externalfigure[cow][width

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Wolfgang Schuster
Am 19.05.2015 um 12:31 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Hello Hans, I try to get the equivalent of \the\hsize in Lua, in order to render some verbatim text to the current width of the column. Both dimensions are in scaled points. \starttext \cldcontext{tex.hsize

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Hans Hagen
On 5/18/2015 8:00 PM, Pierre-François Bonnefoi wrote: Hello, Is it possible to get the current width of a column from a paragraph into Lua ? it all depends on where and how you access that but normally the width of a hlist will do Pierre-François. -- Bonnefoi Pierre-Francois

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
Hello Hans, I try to get the equivalent of \the\hsize in Lua, in order to render some verbatim text to the current width of the column. Thank you for your help, Pierre-François. On 19 May 2015, at 12:16, Hans Hagen pra...@wxs.nl wrote: On 5/18/2015 8:00 PM, Pierre-François Bonnefoi wrote

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
Thank you ! tex.hzize / 2^16 gives me the expected value ! This is a lot to learn :) On 19 May 2015, at 13:04, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: contex -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
...@unilim.fr wrote: Hello Hans, I try to get the equivalent of \the\hsize in Lua, in order to render some verbatim text to the current width of the column. Thank you for your help, Pierre-François. On 19 May 2015, at 12:16, Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl wrote

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Wolfgang Schuster
Am 19.05.2015 um 14:25 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Thank you ! tex.hzize / 2^16 gives me the expected value ! This is a lot to learn :) Take a look into util-dim.la and search for the number.todimen function which can be used to convert scaled points into

[NTG-context] [MkIV] How to get the local size of a column

2015-05-18 Thread Pierre-François Bonnefoi
Hello, Is it possible to get the current width of a column from a paragraph into Lua ? Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas

Re: [NTG-context] Quotation blocs with repetition symbol in the left column

2014-06-01 Thread Stéphane Goujet
On Fri, 28 Mar 2014, Stéphane Goujet wrote: I am trying to typeset old books and I chose to keep close to the original typography. = 1) It must work when starting from a new line as well as when starting from the middle of the current line. 2 different environments are allowed.

Re: [NTG-context] Quotation blocs with repetition symbol in the left column

2014-06-01 Thread Hans Hagen
On 6/1/2014 1:38 PM, Stéphane Goujet wrote: On Fri, 28 Mar 2014, Stéphane Goujet wrote: I am trying to typeset old books and I chose to keep close to the original typography. = 1) It must work when starting from a new line as well as when starting from the middle of the

[NTG-context] Column Width

2014-04-16 Thread Thangalin
Hi, According to the columns manual, the following should produce a two-column layout with the first column being 1/3 and the second column being 2/3 the makeupwidth: \definecolumnset[example][n=2] \setupcolumnset[example][1][width=.33\makeupwidth] \starttext \startcolumnset[example

Re: [NTG-context] Column Width

2014-04-16 Thread Thangalin
] \startcolumnmakeup \vfill \input knuth \stopcolumnmakeup \column[local] \dorecurse{25}{\input knuth\par} \stopcolumnset \stoptext ___ If your question is of interest to others as well, please add an entry

[NTG-context] Image width in a two-column layout

2013-09-02 Thread Thangalin
\stoptext Actual results: the image appears as undefined. Expected results: the image appears, stretched to fill the column. Work around 1: use wfactor. Work around 2: \defineexternalfigure[fullwidth][factor=fit] and then use \externalfigure[file.jpg][fullwidth] Kind regards

Re: [NTG-context] Image width in a two-column layout

2013-09-02 Thread Aditya Mahajan
On Mon, 2 Sep 2013, Thangalin wrote: It seems that there is a bug with \textwidth and \linewidth inside mixed columns. Minimum working example: Here is a smaller example: \starttext \startmixedcolumns \showthe\textwidth \stopmixedcolumns \stoptext Aditya

Re: [NTG-context] Image width in a two-column layout

2013-09-02 Thread Hans Hagen
On 9/2/2013 8:34 PM, Aditya Mahajan wrote: On Mon, 2 Sep 2013, Thangalin wrote: It seems that there is a bug with \textwidth and \linewidth inside mixed columns. Minimum working example: Here is a smaller example: \starttext \startmixedcolumns \showthe\textwidth \stopmixedcolumns \stoptext

[NTG-context] bad column break

2013-06-21 Thread Peter Münster
Hi, IMO, ConTeXt should start a new column *before* the section title, not *after* it: --8---cut here---start-8--- \def\Section#1{% \startsection[title=Title] \dorecurse{#1}{\dorecurse{12}{bla }} \stopsection} \starttext \startcolumns[n=2] \Section{15

Re: [NTG-context] bad column break

2013-06-21 Thread Wolfgang Schuster
Am 21.06.2013 um 15:34 schrieb Peter Münster pmli...@free.fr: Hi, IMO, ConTeXt should start a new column *before* the section title, not *after* it: --8---cut here---start-8--- \def\Section#1{% \startsection[title=Title] \dorecurse{#1

[NTG-context] Center-Aligment in column spans

2013-04-16 Thread H. Özoguz
Hi, my table is: \starttext \starttable[|l|l|l|] \NC {\bf Methode} \VL {\bf Relevanz} \VL {\bf Bewertung} \SR \HL \use{3} {\it Natürliche Methoden} \SR \NC Klevirak \VL 5-6 \VL Toll \AR \stoptable \stoptext I know want the spanning column with the entry Natürliche Methoden to be aligned

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
I know want the spanning column with the entry Natürliche Methoden to be aligned in the center ob the cell. Direct trys with \startaligment[center] failed, who knows how? \starttext \starttable[|l|l|l|] \NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR \HL \NC \THREE\JustCenter

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread H. Özoguz
\starttext \starttable[|l|l|l|] \NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR \HL \NC \THREE\JustCenter \it Natürliche Methoden \NC\AR \HL \NC Klevirak \VL 5-6 \VL Toll \NC\AR \stoptable \stoptext Wolfgang Thanks! And how to center the complete table on the page?

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
Am 16.04.2013 um 15:13 schrieb H. Özoguz h.oezo...@mmnetz.de: \starttext \starttable[|l|l|l|] \NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR \HL \NC \THREE\JustCenter \it Natürliche Methoden \NC\AR \HL \NC Klevirak \VL 5-6 \VL Toll \NC\AR \stoptable \stoptext Wolfgang

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread H. Özoguz
to center the complete table on the page? Now I see that \JustCenter does not really center: \starttext \starttable[|l|c|l|] \NC {\bf Column 1} \VL {\bf Column 2} \VL {\bf Column 3} \SR \HL \THREE\JustCenter \it Natürliche Methoden \SR \NC First entry \VL short entry \VL looogn

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
Klevirak \VL 5-6 \VL Toll \NC\AR \stoptable \stoptext Wolfgang Thanks! And how to center the complete table on the page? Now I see that \JustCenter does not really center: \starttext \starttable[|l|c|l|] \NC {\bf Column 1} \VL {\bf Column 2} \VL {\bf Column 3} \SR \HL \THREE

Re: [NTG-context] Bug in \column

2013-03-22 Thread Xan
Al 21/03/13 23:58, En/na Wolfgang Schuster ha escrit: Am 21.03.2013 um 09:40 schrieb Xan dxpubl...@telefonica.net: Thanks guys for trying to solve which I definitely tag as a bug ;-). It seems there is no faster solution but surely Hans will find one ;-) By the user perspective it's an

Re: [NTG-context] Bug in \column

2013-03-22 Thread Xan
Al 21/03/13 23:58, En/na Wolfgang Schuster ha escrit: Can you test your example with the mixedcolumns environment instead of the normal columns environment (use the latest beta). Wolfgang My current version of context is: 2012.07.27 16:41 (context --version produces this) Sorry, Xan.

Re: [NTG-context] Bug in \column

2013-03-22 Thread Xan
Al 21/03/13 23:58, En/na Wolfgang Schuster ha escrit: Am 21.03.2013 um 09:40 schrieb Xan dxpubl...@telefonica.net: Thanks guys for trying to solve which I definitely tag as a bug ;-). It seems there is no faster solution but surely Hans will find one ;-) By the user perspective it's an

Re: [NTG-context] Bug in \column

2013-03-22 Thread Xan
\stopmathalignment \stopformula \stopexercici %\bigskip \column \startexercici Resoleu el sistema següent pel mètode que considereu oportú: \placeformula \startformula \startmathalignment \NC 2x + \frac{5y}{2} \NC = 7 \NR[+] \NC -3x + y \NC = -1 \NR \stopmathalignment \stopformula \stopexercici

Re: [NTG-context] Bug in \column

2013-03-21 Thread Xan
is ignored and text from the first column appears in the second column because the columns are balanced. Wolfgang Thanks guys for trying to solve which I definitely tag as a bug ;-). It seems there is no faster solution but surely Hans will find one ;-) By the user perspective it's an annoying

Re: [NTG-context] Bug in \column

2013-03-21 Thread Wolfgang Schuster
Am 21.03.2013 um 09:40 schrieb Xan dxpubl...@telefonica.net: Thanks guys for trying to solve which I definitely tag as a bug ;-). It seems there is no faster solution but surely Hans will find one ;-) By the user perspective it's an annoying behaviour and I have to change manually the

Re: [NTG-context] Bug in \column

2013-03-20 Thread Wolfgang Schuster
Am 19.03.2013 um 20:50 schrieb Xan dxpubl...@telefonica.net: Can you modify it for working? By the user perspective it's an annoying bug. A clean command should not produce that, isn't it? I have to agree that the current situation with the \column command isn’t perfect but each solution

Re: [NTG-context] Bug in \column

2013-03-20 Thread Hans Hagen
with the \column command isn’t perfect but each solution has it’s own problems. The example below uses three different definitions for the \column command, the first and third result in a empty column when there is to much text in the first column while the second definition ignores the command

Re: [NTG-context] Bug in \column

2013-03-20 Thread Wolfgang Schuster
Am 20.03.2013 um 10:40 schrieb Hans Hagen pra...@wxs.nl: For Wolfgangs eyes only: \installcolumnbreakmethod \s!multicolumn \v!yes {\penalty\c_page_mix_break_forced\relax} Maybe that one works ok. No it doesn’t work, the penalty is ignored and text from the first column appears

Re: [NTG-context] Bug in \column

2013-03-20 Thread Keith J. Schultz
OOOsss! Do I have to kill myself! ;-))) Would like to have a reference for this kind of stuff! regards Keith. Am 20.03.2013 um 10:40 schrieb Hans Hagen pra...@wxs.nl: For Wolfgangs eyes only: \installcolumnbreakmethod \s!multicolumn \v!yes

Re: [NTG-context] Bug in \column

2013-03-19 Thread Xan
Al 18/03/13 22:34, En/na Wolfgang Schuster ha escrit: Am 18.03.2013 um 19:32 schrieb Xan dxpubl...@telefonica.net: Hi, I found a possibly bug (I attached the doc). With bigskip twocolumns work but with \column it does not. That is, with the diff: 98c98 \bigskip --- %\bigskip 100c100

[NTG-context] Bug in \column

2013-03-18 Thread Xan
Hi, I found a possibly bug (I attached the doc). With bigskip twocolumns work but with \column it does not. That is, with the diff: 98c98 \bigskip --- %\bigskip 100c100 %\column --- \column it does not work: the last exercise is shown in the first column. Can anyone explain me what

Re: [NTG-context] Bug in \column

2013-03-18 Thread Wolfgang Schuster
Am 18.03.2013 um 19:32 schrieb Xan dxpubl...@telefonica.net: Hi, I found a possibly bug (I attached the doc). With bigskip twocolumns work but with \column it does not. That is, with the diff: 98c98 \bigskip --- %\bigskip 100c100 %\column --- \column it does not work

Re: [NTG-context] vertical alignment problem in column items

2012-11-17 Thread Jeong Dal
Dear Otared, Thank you for detailed explanations. I got the same results as you explained. There may be something which controls the vertical spaces in columns. I believe that it will be resolved soon. Best regards, Dalyoung

[NTG-context] vertical alignment problem in column items

2012-11-16 Thread Jeong Dal
Dear all, In the following example, the vertical alignment of items looks strange. I wonder it is my only problem. Is there anything what I have to do to correct it? Thank you. Best regards, Dalyoung % sample code \starttext \startitemize \item Find a well-ordered set. \startitemize[n,

Re: [NTG-context] vertical alignment problem in column items

2012-11-16 Thread Otared Kavian
Hi Dalyoung, I think that there must be a small bug in mkiv regarding itemize in columns, but at the same time I think that the problem comes from the fact that in your example you use inline maths and fractions: this perturbs the way the horizontal and vertical distances are calculated by

Re: [NTG-context] [test suite] Column-related fails to compile

2012-10-23 Thread Marco Pessotto
https://github.com/melmothx/context-unofficial-test-suite/blob/master/src/mkiv/columns/sets-001.tex fails to compile, but it's not a regression since TL, where it fails too. Cheers system tex error on line 20 in file sets-001.tex: Missing number, treated as zero ... 10 11

[NTG-context] TABLE and row/column align settings

2012-10-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I have a complicated TABLE, but I simplified it to the following example: \def\DoTable#1{% \bTABLE \setupTABLE[width=2cm] \setupTABLE[column][#1][align=flushright] % ... [1] \setupTABLE[row][1][align=middle

Re: [NTG-context] TABLE and row/column align settings

2012-10-03 Thread Wolfgang Schuster
Am 03.10.2012 um 10:16 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, I have a complicated TABLE, but I simplified it to the following example: \def\DoTable#1{% \bTABLE \setupTABLE[width=2cm] \setupTABLE[column][#1][align=flushright

  1   2   3   >