[NTG-context] Wrong Lua package loaded by 'require'

2018-02-07 Thread Przemek Wesolek
Hi, I have problems using PGF graph drawing with ConTeXt. The problem is described on https://tex.stackexchange.com/questions/414102/ It all boils down to Lua trying to load wrong file. When require 'pgf.gd.control' is called, ConTeXt resolvers come into play and 'lua variable format'

Re: [NTG-context] Sending data from lua to context and back to lua

2018-02-07 Thread Rudolf Bahr
On Wed, Feb 07, 2018 at 06:39:53PM +0100, Bahr Rudolf wrote: > > Hello Contexteers! > > Sometimes the necessity could arise to send data from lua to context > and answers back to lua. I tried this by using "read" and > "immediate\write" commands in context. These commands are described > in

Re: [NTG-context] Overwritten text with newcolumnsets

2018-02-07 Thread Charles Vejnar
Thanks Hans. It did fix it. I am trying to add a figure now using \placefigure. But the placement in brackets is always ignored. AFAIK it's normal to get a figure at the top of a new page when it's larger than a column but it's also always on the left. I would like to get it horizontally

[NTG-context] Sending data from lua to context and back to lua

2018-02-07 Thread Rudolf Bahr
Hello Contexteers! Sometimes the necessity could arise to send data from lua to context and answers back to lua. I tried this by using "read" and "immediate\write" commands in context. These commands are described in chapter 21 and 22 of Donald E. Knuth's "The TeXbook". My question is: Do there

[NTG-context] Typesetting an interview

2018-02-07 Thread Henning Hraban Ramm
Ahoi, I’m trying to typeset an interview and thought, a "description" might be the best setup. But I can’t find the right parameters for the layout I want... Every contribution should look like: """ HHR Here’s the text, question or answer. OTR And here’s the next one. Might have

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
Hi Otared, Thanks for your time and trouble!. I had found \defineseparatorset[none][][] with the same result: it oppresses the dots. Yes, I want subitems to appear differently in the reference than they are in the listing: 1. item 1 a subitem b subitem 2. item 2 a

[NTG-context] Change of nuts.dimensions function ?

2018-02-07 Thread Joseph Canedo
Hello all, It seems that with latest ConTeXt beta (with luatex 1.07.0) it seems that nuts.dimensions function behaviour has changed. Simple MWE shows the change. Which function should be used now to get natural width of a range [n, t[ of nodes please? Thanks a lot Regards Joseph Canedo

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
Hi Robert, Again I answered too quickly… excuse-me! If you want to have the subitems appear without the prefix, but references to them contain the number of the item where they appear, I don’t know how to do it. My previous message addresses only the separators between the numbers of the items

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
Hi Robert, Sorry I didn’t pay attention to the way you wanted the formatting of sub-items. If you want to remove the separator between numbers, then you may add the following two line after the setups of your itemgroups: \defineseparatorset[nothing][][]

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
Hi Otared, Thanks, the solution works to some extend. It yields the following output. 1. item 1 1.a. subitem a, reference a 1.b. item b 1.b.i. A sub-sub item 1.b.ii. Another sub-sub item, B 1.c. Item c, reference c 2. Item 2, reference 2 See Item 1.b, see

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
Hi Robert, I think the issue does not come from the version of Context you are using but rather from a lack of formatting your itemgroups with the keyword « repeat ». I guess what you want to obtain can be achieved with the following example below. At least here with either versions of Context

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
Hi Wolfgang, Otared and others, I installed a new standalone: mtx-context | main context file: /Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2018.02.06 18:11 However, I do not manage to get it going. The minimal

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Wolfgang Schuster
r.erm...@hccnet.nl 7. Februar 2018 um 10:58 Hi Otared, Thanks for your response. In mkii this worked flawlessly. I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not work. Could this be because I have item [it:ref] rather than \startitem[it:ref] …

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
Hi Otared, Thanks for your response. In mkii this worked flawlessly. I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not work. Could this be because I have item [it:ref] rather than \startitem[it:ref] … \stopitem? Anyway, I will install a new standalone - on my Mac (no TeXShop).