Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Hans Hagen
On 1/9/2015 11:42 PM, Thomas A. Schmitz wrote: On 09 Jan 2015, at 14:01, Hans Hagen pra...@wxs.nl wrote: that's how balance=no works: in that case \column will go to a next column but still fill to the bottom columnsets is actually not meant to be used mixed unless in controlled situations

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Thomas A. Schmitz
On 09 Jan 2015, at 15:34, Hans Hagen pra...@wxs.nl wrote: 1 \startcolumns : when balance is yes 2 \startmixedcolumns : when balance is yes 3 \startcolumnset: when balance is yes but balancing is manual guess what ... columnized itemized lists use 1 in mkii and 2 in mkiv Thank

Re: [NTG-context] dealing with the lang attribute in XML

2015-01-09 Thread Pablo Rodriguez
On 01/07/2015 11:05 AM, Hans Hagen wrote: On 1/7/2015 9:30 AM, Pablo Rodriguez wrote: [...] Which is the right way to to define language synonyms? \installanguage[foo][nl] Many thanks for your reply and the fixes, Hans. Pablo -- http://www.ousia.tk

[NTG-context] About the macro ulcircle

2015-01-09 Thread Fabrice Couvreur
Hi, I discovered some macro Metafun particular. I then wanted to outline, but it does not fit with the boundary of the quadrant. Can I have some explanation ? Best regards, Fabrice \starttext \startMPcode u:=1cm ; pickup pencircle scaled 1pt ; fill ulcircle scaled 8u withcolor lightgray ; fill

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

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

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

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

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Hans Hagen
On 1/9/2015 9:29 PM, Thomas A. Schmitz wrote: Hi all, a somewhat belated happy new year to all of you! I’ve come across what seems to be a very old bug (I have found references to it in the mailing list from about 10 years ago): I get an unwanted page break after every column environment.

Re: [NTG-context] About the macro ulcircle

2015-01-09 Thread Hans Hagen
On 1/9/2015 8:07 PM, Fabrice Couvreur wrote: Hi, I discovered some macro Metafun particular. I then wanted to outline, but it does not fit with the boundary of the quadrant. Can I have some explanation? Best regards, Fabrice \starttext \startMPcode u:=1cm ; pickup pencircle scaled 1pt ; fill

[NTG-context] pagebreak after columns

2015-01-09 Thread Thomas A. Schmitz
Hi all, a somewhat belated happy new year to all of you! I’ve come across what seems to be a very old bug (I have found references to it in the mailing list from about 10 years ago): I get an unwanted page break after every column environment. Here’s an example with two different ones:

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Thomas A. Schmitz
On 09 Jan 2015, at 14:01, Hans Hagen pra...@wxs.nl wrote: that's how balance=no works: in that case \column will go to a next column but still fill to the bottom columnsets is actually not meant to be used mixed unless in controlled situations (maybe i will redo columnsets in mkiv some

Re: [NTG-context] pagebreak after columns

2015-01-09 Thread Wolfgang Schuster
Am 09.01.2015 um 23:42 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de: On 09 Jan 2015, at 14:01, Hans Hagen pra...@wxs.nl wrote: that's how balance=no works: in that case \column will go to a next column but still fill to the bottom columnsets is actually not meant to be used

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

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

Re: [NTG-context] About the macro ulcircle

2015-01-09 Thread Fabrice
Dear Hans, I do not have enough back from Metapost to think differently and I'm not you! :) Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

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

2015-01-09 Thread Fabrice
\startxcell[frame=off] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage :

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Hans Hagen
On 1/9/2015 12:18 PM, Hans Hagen wrote: \startxmlsetups xml:footnote:ref \xmlfilter{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]/command(xml:footnote:set)} \stopxmlsetups I'll add this: \startluacode local gsub = string.gsub function

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Pablo Rodriguez
On 01/09/2015 12:29 PM, Hans Hagen wrote: [...] I'll add this: \startluacode local gsub = string.gsub function xml.expressions.idstring(str) return type(str) == string and gsub(str,^#,) or end \stopluacode \startxmlsetups xml:footnote:ref

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

2015-01-09 Thread Fabrice Couvreur
Hi, Is it possible to center horizontally and vertically the table with the graphics ? Best regards, Fabrice \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=0.45\textwidth] \startsetups[table:initialize]

[NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] doc pThis is the first paragraph./p ol lipfirst item/p/li lipsecond item/p/li /ol ptext with footnotea href=#fn1 class=footnoteRef id=fnref1sup1/sup/a/p ptext with another footnotea href=#fn2

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Hans Hagen
On 1/9/2015 11:41 AM, Pablo Rodriguez wrote: Dear list, I have the following sample: \startbuffer[demo] doc pThis is the first paragraph./p ol lipfirst item/p/li lipsecond item/p/li /ol ptext with footnotea href=#fn1 class=footnoteRef