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

2015-05-19 Thread Mari Voipio
On Mon, May 18, 2015 at 6:38 PM, Hans Hagen pra...@wxs.nl 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.

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] Preventing double title pages for nested content

2015-05-19 Thread Kate F
On 19 May 2015 at 23:51, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 20.05.2015 um 00:34 schrieb Kate F k...@elide.org: Hello! I'm collating some UNIX-like manpages into a PDF. I'm structuring the content like so: \setupcolors[state=start] \definehead[Volume] [part] % red

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

[NTG-context] backgroundscreen no longer working

2015-05-19 Thread Thomas Floeren
Hi, backgroundscreen is no longer working here, apparently since the beta 2015-04-12. \starttext % \setupbackgrounds [page] [background=color,backgroundcolor=lightgray] \setupbackgrounds [page] [background=screen,backgroundscreen=.8] \input knuth \stoptext If I use the pack-rul.mkiv from

[NTG-context] XML filtering and \setupcombinations

2015-05-19 Thread Michael Eidenbenz
Hello, I'm enjoying the power of the new publication framework and started to manage my images with it. This works quite nice. But now I reached the point where my (limited) context knowledge comes to an end. I would like to print a contact sheet of my large image database. To save paper I

[NTG-context] creating multiline paragraph in \tabulate

2015-05-19 Thread John Culleton
Supposedly \tablulate can handle a multiline paragraph in a single cell. It didn't work for me. The text just ran off the right edge of the page. So here is my two column table with a workaround. - \starttext {\bf Figure 2.3: Specialty Food Store

Re: [NTG-context] backgroundscreen no longer working

2015-05-19 Thread Thomas Floeren
On 19 May 2015, at 15:43, Thomas Floeren t...@mac.com wrote: If I use the pack-rul.mkiv from 2015-04-08 it works again. More precisely: If I uncomment the 2 definitions `\pack_framed_background_box_gray` and `\pack_framed_background_box_gray_indeed` it works again. -- Tom

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

2015-05-19 Thread Pierre-François Bonnefoi
I've found a workaround by passing the value as an argument to the lua code : \def\stopzonetexte {\ctxlua{userdata.traiterbuffer(buffers.getcontent('zonetexte'),[==[\the\hsize]==])} Now, I try to figure how to get em size in points. On 19 May 2015, at 12:31, Pierre-François Bonnefoi

Re: [NTG-context] creating multiline paragraph in \tabulate

2015-05-19 Thread Aditya Mahajan
On Tue, 19 May 2015, John Culleton wrote: Supposedly \tablulate can handle a multiline paragraph in a single cell. It didn't work for me. The text just ran off the right edge of the page. So here is my two column table with a workaround. - \starttext

[NTG-context] Preventing double title pages for nested content

2015-05-19 Thread Kate F
Hello! I'm collating some UNIX-like manpages into a PDF. I'm structuring the content like so: \setupcolors[state=start] \definehead[Volume] [part] % red colour: man(1) section \definehead[Library][part] % blue colour: library within section 3 \definehead[Manpage][chapter]

Re: [NTG-context] Preventing double title pages for nested content

2015-05-19 Thread Wolfgang Schuster
Am 20.05.2015 um 00:34 schrieb Kate F k...@elide.org: Hello! I'm collating some UNIX-like manpages into a PDF. I'm structuring the content like so: \setupcolors[state=start] \definehead[Volume] [part] % red colour: man(1) section \definehead[Library][part] % blue colour: library

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

Re: [NTG-context] backgroundscreen no longer working

2015-05-19 Thread Hans Hagen
On 5/19/2015 3:43 PM, Thomas Floeren wrote: Hi, backgroundscreen is no longer working here, apparently since the beta 2015-04-12. \starttext % \setupbackgrounds [page] [background=color,backgroundcolor=lightgray] \setupbackgrounds [page] [background=screen,backgroundscreen=.8] \input knuth

Re: [NTG-context] backgroundscreen no longer working

2015-05-19 Thread Hans Hagen
On 5/19/2015 6:03 PM, Thomas Floeren wrote: On 19 May 2015, at 15:43, Thomas Floeren t...@mac.com wrote: If I use the pack-rul.mkiv from 2015-04-08 it works again. More precisely: If I uncomment the 2 definitions `\pack_framed_background_box_gray` and

Re: [NTG-context] backgroundscreen no longer working

2015-05-19 Thread Thomas Floeren
On 19 May 2015, at 18:03, Hans Hagen pra...@wxs.nl wrote: it's definitely and on purpose gone .. i kept it for a few years but not it's really gone in mkiv Ah, OK. Thanks. I wasn’t aware. ___ If your question

Re: [NTG-context] backgroundscreen no longer working

2015-05-19 Thread Thomas Floeren
On 19 May 2015, at 18:14, Hans Hagen pra...@wxs.nl wrote: (btw, there were gone in the betas for a while so it's not that sudden.) Well, it still worked until 8 April ;-) I had the backgroundscreen in an environment file which is about 8 years old … -- Tom

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

2015-05-19 Thread Pablo Rodriguez
On 05/19/2015 08:31 AM, Mari Voipio wrote: On Mon, May 18, 2015 at 6:38 PM, Hans Hagen pra...@wxs.nl 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