Re: [NTG-context] Controlling linespacing in a TOC

2015-05-18 Thread Mari Voipio
On Mon, May 18, 2015 at 6:38 PM, Hans Hagen wrote: > On 5/18/2015 3:08 PM, Mari Voipio wrote: > > just wrap the list: > > \start > ... all kind of settings ... > \placelist[...] > \stop > Wow, that was easy. A bit of experimenting with \setuplinespace and my TOC looks exactly like I want it. Than

[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] Controlling linespacing in a TOC

2015-05-18 Thread Hans Hagen
On 5/18/2015 3:08 PM, Mari Voipio wrote: Hello all! This is probably a stupid question, but how do I control the linespacing in a table of contents? I found that space can be added with e.g. \setuplist[chapter][before={\blank[4*big]}] but how do I make the linespacing smaller than default? I

Re: [NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
> > ​​ > \definebar[urlbar][underbar] > > \setupurl[style=\mono\urlbar,color=blue] > ​Interesting, thank you, Hans, it indeed works as expected. Could you supplement this with some explanations, i.e. why this one works compared to using plain `underbar'?​ I assume that the `color' key is overrid

[NTG-context] Controlling linespacing in a TOC

2015-05-18 Thread Mari Voipio
Hello all! This is probably a stupid question, but how do I control the linespacing in a table of contents? I found that space can be added with e.g. \setuplist[chapter][before={\blank[4*big]}] but how do I make the linespacing smaller than default? I've got \setupwhitespace[medium] does that

Re: [NTG-context] running MkI in context standalone

2015-05-18 Thread Csikos Bela
Hans Hagen írta: >On 5/15/2015 11:22 AM, Csikos Bela wrote: >> Hello list members: >> >> I have context standalone installed on linux. Currently I use context like: >> >> open a terminal window >> source context-installation-path/tex/setuptex >> context filename.tex >> >> This runs contect MkIV acc

Re: [NTG-context] URLs in color including underbar

2015-05-18 Thread Hans Hagen
On 5/17/2015 8:07 PM, Alexander Shukaev wrote: Hello, So far I came up with the following solution: \setupurl[ style={\mono\underbar}, color={blue}, ] \def \url{% \dosingleargument \dourl } \def \dourl[#1]{% \begingroup \setupbar[% style={\urlparameter{style}},

[NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
Hello, So far I came up with the following solution: \setupurl[ style={\mono\underbar}, color={blue}, ] \def \url{% \dosingleargument \dourl } \def \dourl[#1]{% \begingroup \setupbar[% style={\urlparameter{style}}, color={\urlparameter{color}}, ]% \from[#1]%