* Errors on making lua documentation
@ 2009-08-27 15:24 luigi scarso
2009-08-27 21:42 ` Hans Hagen
0 siblings, 1 reply; 13+ messages in thread
From: luigi scarso @ 2009-08-27 15:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
$> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-08-27 15:24 Errors on making lua documentation luigi scarso @ 2009-08-27 21:42 ` Hans Hagen 2009-08-27 21:52 ` luigi scarso ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Hans Hagen @ 2009-08-27 21:42 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-08-27 21:42 ` Hans Hagen @ 2009-08-27 21:52 ` luigi scarso 2009-08-27 22:09 ` luigi scarso 2009-08-27 22:48 ` luigi scarso 2 siblings, 0 replies; 13+ messages in thread From: luigi scarso @ 2009-08-27 21:52 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen<pragma@wxs.nl> 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) > hmm maybe I have messed something ... I will retry with a fresh last current -- luigi ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-08-27 21:42 ` Hans Hagen 2009-08-27 21:52 ` luigi scarso @ 2009-08-27 22:09 ` luigi scarso 2009-08-27 22:48 ` luigi scarso 2 siblings, 0 replies; 13+ messages in thread From: luigi scarso @ 2009-08-27 22:09 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen<pragma@wxs.nl> 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) > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-08-27 21:42 ` Hans Hagen 2009-08-27 21:52 ` luigi scarso 2009-08-27 22:09 ` luigi scarso @ 2009-08-27 22:48 ` luigi scarso 2009-08-27 23:05 ` Hans Hagen 2 siblings, 1 reply; 13+ messages in thread From: luigi scarso @ 2009-08-27 22:48 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen<pragma@wxs.nl> 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 ? -- luigi ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-08-27 22:48 ` luigi scarso @ 2009-08-27 23:05 ` Hans Hagen 2009-08-27 23:19 ` luigi scarso 0 siblings, 1 reply; 13+ messages in thread From: Hans Hagen @ 2009-08-27 23:05 UTC (permalink / raw) To: mailing list for ConTeXt users luigi scarso wrote: > On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen<pragma@wxs.nl> 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-08-27 23:05 ` Hans Hagen @ 2009-08-27 23:19 ` luigi scarso 2009-08-28 8:45 ` Hans Hagen 0 siblings, 1 reply; 13+ messages in thread From: luigi scarso @ 2009-08-27 23:19 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Aug 28, 2009 at 1:05 AM, Hans Hagen<pragma@wxs.nl> wrote: > luigi scarso wrote: >> >> On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen<pragma@wxs.nl> 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-08-27 23:19 ` luigi scarso @ 2009-08-28 8:45 ` Hans Hagen 2009-09-04 19:13 ` luigi scarso 0 siblings, 1 reply; 13+ messages in thread From: Hans Hagen @ 2009-08-28 8:45 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-08-28 8:45 ` Hans Hagen @ 2009-09-04 19:13 ` luigi scarso 2009-09-07 22:28 ` luigi scarso 0 siblings, 1 reply; 13+ messages in thread From: luigi scarso @ 2009-09-04 19:13 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1187 bytes --] On Fri, Aug 28, 2009 at 10:45 AM, Hans Hagen <pragma@wxs.nl> 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 [-- Attachment #1.2: Type: text/html, Size: 2151 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-09-04 19:13 ` luigi scarso @ 2009-09-07 22:28 ` luigi scarso 2009-09-08 7:29 ` Hans Hagen 0 siblings, 1 reply; 13+ messages in thread From: luigi scarso @ 2009-09-07 22:28 UTC (permalink / raw) To: mailing list for ConTeXt users Any hints ? On Fri, Sep 4, 2009 at 9:13 PM, luigi scarso<luigi.scarso@gmail.com> wrote: > > > On Fri, Aug 28, 2009 at 10:45 AM, Hans Hagen <pragma@wxs.nl> 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-09-07 22:28 ` luigi scarso @ 2009-09-08 7:29 ` Hans Hagen 2009-09-08 7:36 ` luigi scarso 0 siblings, 1 reply; 13+ messages in thread From: Hans Hagen @ 2009-09-08 7:29 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-09-08 7:29 ` Hans Hagen @ 2009-09-08 7:36 ` luigi scarso 2009-09-09 12:27 ` luigi scarso 0 siblings, 1 reply; 13+ messages in thread From: luigi scarso @ 2009-09-08 7:36 UTC (permalink / raw) To: mailing list for ConTeXt users On Tue, Sep 8, 2009 at 9:29 AM, Hans Hagen<pragma@wxs.nl> wrote: > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Errors on making lua documentation 2009-09-08 7:36 ` luigi scarso @ 2009-09-09 12:27 ` luigi scarso 0 siblings, 0 replies; 13+ messages in thread From: luigi scarso @ 2009-09-09 12:27 UTC (permalink / raw) To: mailing list for ConTeXt users On Tue, Sep 8, 2009 at 9:36 AM, luigi scarso<luigi.scarso@gmail.com> wrote: > On Tue, Sep 8, 2009 at 9:29 AM, Hans Hagen<pragma@wxs.nl> 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-09-09 12:27 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-08-27 15:24 Errors on making lua documentation luigi scarso 2009-08-27 21:42 ` Hans Hagen 2009-08-27 21:52 ` luigi scarso 2009-08-27 22:09 ` luigi scarso 2009-08-27 22:48 ` luigi scarso 2009-08-27 23:05 ` Hans Hagen 2009-08-27 23:19 ` luigi scarso 2009-08-28 8:45 ` Hans Hagen 2009-09-04 19:13 ` luigi scarso 2009-09-07 22:28 ` luigi scarso 2009-09-08 7:29 ` Hans Hagen 2009-09-08 7:36 ` luigi scarso 2009-09-09 12:27 ` luigi scarso
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).