$> context --ctx=x-ldx x-ldx.lua fails in minimals/tex/texmf-context/scripts/context/lua Maybe an error on mtxrun, for which I have made a temp. patch : $> diff mtxrun.orig mtxrun 123c123 < return not find(find,"%S") ---
return not find(self,"%S")
Even so, there are some errors like Missing \endcsname inserted. <to be read again> \def \dosetvalue #1#2->\@EA \def \csname #1 #2\endcsname \dogetparameters ...lse \let \setsomevalue #1\def \p!dogetparameter {\p!doas... \@@expanded ->\getparameters [@@im1][a lign={inner,left}] \expanded #1->\long \xdef \@@expanded {\noexpand #1}\@@expanded l.1 \xmlsetup{51}{ldx:variable} -- luigi
luigi scarso wrote:
$> context --ctx=x-ldx x-ldx.lua fails in minimals/tex/texmf-context/scripts/context/lua
hm, runs ok here (on the base path) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen
luigi scarso wrote:
$> context --ctx=x-ldx x-ldx.lua fails in minimals/tex/texmf-context/scripts/context/lua
hm, runs ok here (on the base path)
hmm maybe I have messed something ... I will retry with a fresh last current -- luigi
On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen
luigi scarso wrote:
$> context --ctx=x-ldx x-ldx.lua fails in minimals/tex/texmf-context/scripts/context/lua
hm, runs ok here (on the base path)
Hm, current seems broken In base path $> context --ctx=x-ldx x-ldx.lua ...-lunatic/minimals-2009-08/tex/texmf-linux/bin/mtxrun:123: bad argument #1 to 'find' (string expected, got function) This is LuaTeX, Version beta-0.43.0-2009081914 \write18 enabled. (x-ldx.run ConTeXt ver: 2009.08.19 17:10 MKIV fmt: 2009.8.27 int: english/english I will try beta -- luigi
On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen
luigi scarso wrote:
$> context --ctx=x-ldx x-ldx.lua fails in minimals/tex/texmf-context/scripts/context/lua
hm, runs ok here (on the base path) Also with beta
...tex/minimals-2009-08-beta/tex/texmf-linux/bin/mtxrun:123: bad argument #1 to 'find' (string expected, got function) This is LuaTeX, Version beta-0.43.0-2009081914 \write18 enabled. (x-ldx.run ConTeXt ver: 2009.08.26 01:43 MKIV fmt: 2009.8.28 int: english/english Anyway line 123 of mtxrun looks strange : function string:is_empty() return not find(find,"%S") end How does it look in your installation ? -- luigi
luigi scarso wrote:
On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen
wrote: luigi scarso wrote:
$> context --ctx=x-ldx x-ldx.lua fails in minimals/tex/texmf-context/scripts/context/lua hm, runs ok here (on the base path) Also with beta
...tex/minimals-2009-08-beta/tex/texmf-linux/bin/mtxrun:123: bad argument #1 to 'find' (string expected, got function) This is LuaTeX, Version beta-0.43.0-2009081914 \write18 enabled. (x-ldx.run
ConTeXt ver: 2009.08.26 01:43 MKIV fmt: 2009.8.28 int: english/english
Anyway line 123 of mtxrun looks strange : function string:is_empty() return not find(find,"%S") end
How does it look in your installation ?
%s == space %S == non-space ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, Aug 28, 2009 at 1:05 AM, Hans Hagen
luigi scarso wrote:
On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen
wrote: luigi scarso wrote:
$> context --ctx=x-ldx x-ldx.lua fails in minimals/tex/texmf-context/scripts/context/lua
hm, runs ok here (on the base path)
Also with beta
...tex/minimals-2009-08-beta/tex/texmf-linux/bin/mtxrun:123: bad argument #1 to 'find' (string expected, got function) This is LuaTeX, Version beta-0.43.0-2009081914 \write18 enabled. (x-ldx.run
ConTeXt ver: 2009.08.26 01:43 MKIV fmt: 2009.8.28 int: english/english
Anyway line 123 of mtxrun looks strange : function string:is_empty() return not find(find,"%S") end
How does it look in your installation ?
%s == space %S == non-space
I think that ...tex/minimals-2009-08-beta/tex/texmf-linux/bin/mtxrun:123: bad argument #1 to 'find' (string expected, got function) refers to return not find(find,"%S") in function string:is_empty() return not find(find,"%S") end The #1 argument of find(find,"%S") is find , which is a function, while should be a string, ie maybe something like function string:is_empty() return not find(self,"%S") end -- luigi
luigi scarso wrote:
The #1 argument of find(find,"%S") is find , which is a function, while should be a string, ie maybe something like
function string:is_empty() return not find(self,"%S") end
indeed; fixed ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, Aug 28, 2009 at 10:45 AM, Hans Hagen
luigi scarso wrote:
The #1 argument of find(find,"%S")
is find , which is a function, while should be a string, ie maybe something like
function string:is_empty() return not find(self,"%S") end
indeed; fixed
In minimals-beta/tex/texmf-context/tex/context/base $>context --ctx=x-ldx x-mathml.lua systems : begin file x-mathml at line 1 ! Use of \complexsetupwhitespace doesn't match its definition. \doifnextoptionalelse ...\nextoptionalcommandyes { #1}\def \nextoptionalcomma... \starttabletail #1\stoptabletail ->\setTABLEtail #1\end \@@expanded ... \starttabletail ##1\stoptabletail {\setTABLEtail ##1\end } \expanded #1->\long \xdef \@@expanded {\noexpand #1}\@@expanded l.1 \xmlsetup{26}{ldx:variable} \xmlflush #1->\ctxlua {lxml.flush("#1")} ... l.2 \xmlprocess{\xmldocument}{./x-mathml.lua}{} PS Wolfgang, we may discuss about this in front a cup coffee .. -- luigi
Any hints ?
On Fri, Sep 4, 2009 at 9:13 PM, luigi scarso
On Fri, Aug 28, 2009 at 10:45 AM, Hans Hagen
wrote: luigi scarso wrote:
The #1 argument of find(find,"%S") is find , which is a function, while should be a string, ie maybe something like
function string:is_empty() return not find(self,"%S") end
indeed; fixed
In minimals-beta/tex/texmf-context/tex/context/base
$>context --ctx=x-ldx x-mathml.lua
systems : begin file x-mathml at line 1 ! Use of \complexsetupwhitespace doesn't match its definition. \doifnextoptionalelse ...\nextoptionalcommandyes { #1}\def \nextoptionalcomma... \starttabletail #1\stoptabletail ->\setTABLEtail #1\end \@@expanded ... \starttabletail ##1\stoptabletail {\setTABLEtail ##1\end } \expanded #1->\long \xdef \@@expanded {\noexpand #1}\@@expanded l.1 \xmlsetup{26}{ldx:variable}
\xmlflush #1->\ctxlua {lxml.flush("#1")}
... l.2 \xmlprocess{\xmldocument}{./x-mathml.lua}{}
PS Wolfgang, we may discuss about this in front a cup coffee ..
-- luigi
-- luigi
luigi scarso wrote:
Any hints ?
i have it fixed but before i upload i want to fix a few other things as well \hskip.25\dimexpr\xmlattdef{#1}{n}{0}em\relax\relax % extra relax needed ! Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, Sep 8, 2009 at 9:29 AM, Hans Hagen
luigi scarso wrote:
Any hints ?
i have it fixed but before i upload i want to fix a few other things as well
\hskip.25\dimexpr\xmlattdef{#1}{n}{0}em\relax\relax % extra relax needed ! ok, it's becoming an hot topic in my list
-- luigi
On Tue, Sep 8, 2009 at 9:36 AM, luigi scarso
On Tue, Sep 8, 2009 at 9:29 AM, Hans Hagen
wrote: luigi scarso wrote:
Any hints ?
i have it fixed but before i upload i want to fix a few other things as well
It seems fixed, but I've run only few examples, so next days I will be more precise . -- luigi
participants (2)
-
Hans Hagen
-
luigi scarso