Re: [NTG-context] Access current element in xmlsetsetup via xml.expressions

2019-10-02 Thread achim
Dear Hans, that is really great. Thank's a lot. Ill check the next beta and try to wikifiy (maybe I need further help for that) Achim -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Hans Hagen Gesendet: Mittwoch, 2. Oktober 2019 18:53 An: mailing list for ConTeXt users ; mf

Re: [NTG-context] Access current element in xmlsetsetup via xml.expressions

2019-10-02 Thread Hans Hagen
On 10/2/2019 12:32 PM, mf wrote: The answer is in lxml-lpt.lua, where built-in expressions are defined. You need a good knowledge of LPEG that i miss. Some built-in expressions get the current element as first argument, like count() or child() (lines 1300-1307 of lxml-lpt.lua):

Re: [NTG-context] beta

2019-10-02 Thread Hans Hagen
On 10/2/2019 4:06 PM, Hans van der Meer wrote: You can add to the end of the install script: echo "Removing luatex-cache/context" rm -r tex/texmf-cache/luatex-cache/context i updatex mtx-cache mtxrun --script cache --list mtxrun --script cache --erase mtxrun --script cache --erase --make etc

Re: [NTG-context] beta

2019-10-02 Thread Hans Hagen
On 10/2/2019 4:35 PM, Jan U. Hasecke wrote: Am 02.10.19 um 16:06 schrieb Hans van der Meer: You can add to the end of the install script: echo "Removing luatex-cache/context" rm -r tex/texmf-cache/luatex-cache/context I reinstalled 64 bit Linux from http://www.pragma-ade.nl/install.htm and

Re: [NTG-context] beta

2019-10-02 Thread Jan U. Hasecke
Am 02.10.19 um 16:06 schrieb Hans van der Meer: > You can add to the end of the install script: > > echo "Removing luatex-cache/context" > rm -r tex/texmf-cache/luatex-cache/context > I reinstalled 64 bit Linux from http://www.pragma-ade.nl/install.htm and now it works again. Thanks a lot for

Re: [NTG-context] beta

2019-10-02 Thread Hans van der Meer
You can add to the end of the install script: echo "Removing luatex-cache/context" rm -r tex/texmf-cache/luatex-cache/context dr. Hans van der Meer > On 2 Oct 2019, at 15:32, Alan Bowen wrote: > > Hi, Hans— > > The latest lmtx now processes my docs as it should when texmf-cache was >

Re: [NTG-context] beta

2019-10-02 Thread Alan Bowen
Hi, Hans— The latest lmtx now processes my docs as it should when texmf-cache was deleted before installation. So, where is this zip that has the revised install.sh script? Alan On Wed, Oct 2, 2019 at 7:06 AM Hans Hagen wrote: > On 9/30/2019 2:11 PM, Thomas A. Schmitz wrote: > > On 29.09.19

[NTG-context] \startitemize + "joinedup" ("nowhite") not working in footnotes?

2019-10-02 Thread context
Hello, in the following sample there is unwanted vertical gap between text "Foo" and the first item "- bar" in the footnote 1 (and also between "Bar" and "- bar") - see red arrows. The same code used outside the footnote behaves as expected - there is no vertical space. Is there anything

Re: [NTG-context] beta

2019-10-02 Thread Hans Hagen
On 9/30/2019 2:11 PM, Thomas A. Schmitz wrote: On 29.09.19 16:31, Hans Hagen wrote: Hi, A week ago we had the (nice and pleasant) annual context meeting and as usual some new stuff has been presented there which was not yet in the distribution at that moment. Some pending code is now being

Re: [NTG-context] Access current element in xmlsetsetup via xml.expressions

2019-10-02 Thread mf
The answer is in lxml-lpt.lua, where built-in expressions are defined. You need a good knowledge of LPEG that i miss. Some built-in expressions get the current element as first argument, like count() or child() (lines 1300-1307 of lxml-lpt.lua): expressions.child = function(e,pattern)

Re: [NTG-context] Access current element in xmlsetsetup via xml.expressions

2019-10-02 Thread Taco Hoekwater
> On 1 Oct 2019, at 21:24, ac...@jander.de wrote: > > Hello, > I’m trying to build an xmlsetsetup with an own lua function. XML in MKIV says > on pg. 33: > You can also use normal Lua functions as long as you make sure that you pass > the right arguments. > There are a few predefined