* Minimals - problems with format: metafun.mp @ 2008-11-02 18:53 Johannes Graumann 2008-11-02 19:58 ` luigi scarso 2008-11-02 20:33 ` Peter Rolf 0 siblings, 2 replies; 12+ messages in thread From: Johannes Graumann @ 2008-11-02 18:53 UTC (permalink / raw) To: ntg-context Hello, In a bit to finally get Wolfgang's present to me (see XML thread somewhere) finally compiled, I update my minimals via the first-install.sh script and run "luatools --generat && context --make" afterwards. Now I get the error below. Where might I err? Thanks, Joh context --version MtxRun | main context file: /opt/ConTeXtMinimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.10.31 13:58 systems : randomizer starts with 1392096869 mplib : making format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem mplib : problems with format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: 'for' initial value must be a number stack traceback: ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: in function 'free_boxes' ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:768: in function 'graphic_base_pass' ...mals/tex/texmf-context/tex/context/base/mlib-ctx.lua:19: in function 'graphic' <main ctx instance>:1: in main chunk. \processMPgraphic ... \MPuserinclusions ;\!!es ) } \global \settrue \METAFUNi... \getMPdrawing ...ic \expandafter {\MPdrawingdata } \fi \dopositionaction ...fMPdrawingdone \getMPdrawing \fi \resetMPdrawing \popMP... <argument> ...n {\v!text -1::\MPanchoridentifier } \hss }\ht \scratchbox \ove... \firstoftwoarguments #1#2->#1 \positionoverlay ...hbox to \overlaywidth {\hss }} \vfill }\fi ... l.72 \stoptext ? ___________________________________________________________________________________ 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-02 18:53 Minimals - problems with format: metafun.mp Johannes Graumann @ 2008-11-02 19:58 ` luigi scarso 2008-11-03 19:51 ` Johannes Graumann 2008-11-02 20:33 ` Peter Rolf 1 sibling, 1 reply; 12+ messages in thread From: luigi scarso @ 2008-11-02 19:58 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 746 bytes --] On Sun, Nov 2, 2008 at 7:53 PM, Johannes Graumann <johannes_graumann@web.de>wrote: > Hello, > > In a bit to finally get Wolfgang's present to me (see XML thread somewhere) > finally compiled, I update my minimals via the first-install.sh script and > run "luatools --generat && context --make" afterwards. Now I get the error > below. Where might I err? > Can you try these steps ? 1) cd /opt/ConTeXtMinimals 2) ./first-install.sh 3) cd tex 4) . setuptex 5) context --generate 6) context --make Here minimals is ok minimals Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown ConTeXt MtxRun | current version: 2008.10.31 13:58 -- luigi [-- Attachment #1.2: Type: text/html, Size: 1095 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-02 19:58 ` luigi scarso @ 2008-11-03 19:51 ` Johannes Graumann 2008-11-03 20:34 ` luigi scarso ` (2 more replies) 0 siblings, 3 replies; 12+ messages in thread From: Johannes Graumann @ 2008-11-03 19:51 UTC (permalink / raw) To: ntg-context [-- Attachment #1: Type: text/plain, Size: 916 bytes --] No changes in error message. I attach the code that doesn't work like so: context --ctx=t-openoffice Attempt.odt luigi scarso wrote: > On Sun, Nov 2, 2008 at 7:53 PM, Johannes Graumann > <johannes_graumann@web.de>wrote: > >> Hello, >> >> In a bit to finally get Wolfgang's present to me (see XML thread >> somewhere) finally compiled, I update my minimals via the >> first-install.sh script and >> run "luatools --generat && context --make" afterwards. Now I get the >> error below. Where might I err? >> > Can you try these steps ? > 1) cd /opt/ConTeXtMinimals > 2) ./first-install.sh > 3) cd tex > 4) . setuptex > 5) context --generate > 6) context --make > > Here minimals is ok > minimals > Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC > 2008 i686 GNU/Linux > This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown > ConTeXt MtxRun | current version: 2008.10.31 13:58 [-- Attachment #2: Attempt.odt --] [-- Type: application/vnd.oasis.opendocument.text, Size: 9324 bytes --] [-- Attachment #3: t-openoffice.ctx --] [-- Type: application/xml, Size: 386 bytes --] [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #4: t-openoffice.tex --] [-- Type: text/x-tex; name="t-openoffice.tex", Size: 2651 bytes --] %context --ctx=t-openoffice BoldAndItalicContent.xml \startenvironment t-openoffice.tex \startluacode document.commands = document.commands or { } function document.commands.somehexcolor(str) local r, g, b = str:match("#(..)(..)(..)") r, g, b = tonumber(r,16) or 0, tonumber(g,16) or 0, tonumber(b,16) or 0 tex.sprint(string.format("\\colored[r=%s,g=%s,b=%s]",r/255,g/255,b/255)) end \stopluacode \startxmlsetups office \xmlsetsetup{main}{text:p|text:span}{*} \stopxmlsetups \xmlregistersetup{office} \startxmlsetups text:p \xmlflush{#1}\endgraf \stopxmlsetups \startxmlsetups text:span \bgroup \let\leftofspan \relax \let\rightofspan\relax \xmlfilter{main}{office:automatic-styles/style:style[@style:name='\xmlatt{#1}{style-name}']/style:text-properties/command(do:style:text-properties)} \leftofspan \xmlflush{#1} \rightofspan \egroup \stopxmlsetups \startxmlsetups do:style:text-properties \xmlval{fo:font-weight} {\xmlatt{#1}{font-weight}}{}% todo: namespaces in attributes \xmlval{fo:font-style} {\xmlatt{#1}{font-style}}{} %\xmlval{fo:color} {\xmlatt{#1}{color}}{} \getvalue{fo:color}{\xmlatt{#1}{color}} \xmlval{style:text-position} {\xmlatt{#1}{text-position}}{} \xmlval{style:text-underline-style}{\xmlatt{#1}{text-underline-style}}{} \stopxmlsetups \xmlmapvalue{fo:font-weight}{bold}{\bf} \xmlmapvalue{fo:font-style}{italic}{\em} \xmlmapvalue{fo:color}{#ff0000}{\colored[h=ff0000]} \setvalue{fo:color}#1{\expandafter\colored\expandafter[h=#1]} %\setvalue{fo:color}#1{\edef\temp{\noexpand\ctxlua{document.commands.somehexcolor("\letterhash\uppercase{#1}")}}\temp} \catcode`\%=11 \xmlmapvalue{style:text-position}{sub 58%} {\def\leftofspan##1\rightofspan{\low {##1}}} \xmlmapvalue{style:text-position}{super 58%}{\def\leftofspan##1\rightofspan{\high{##1}}} \catcode`\%=14 \definetextbackground [underline] [location=text, alternative=1, background=, framecolor=black, frame=off] %\xmlmapvalue{style:text-underline-style}{solid}{\def\leftofspan##1\rightofspan{\startunderline##1\stopunderline}} \xmlmapvalue{style:text-underline-style}{solid}{\let\leftofspan\startunderline\let\rightofspan\stopunderline} \setupcolors[state=start] \starttext %\xmlprocess{main}{zip:///\inputfilename.odt?name=content.xml}{} \usezipfile[\inputfilename.odt] \xmlprocess{main}{*/content.xml}{} \stoptext \stopenvironment [-- Attachment #5: 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-03 19:51 ` Johannes Graumann @ 2008-11-03 20:34 ` luigi scarso 2008-11-03 20:57 ` luigi scarso 2008-11-04 12:28 ` Hans Hagen 2 siblings, 0 replies; 12+ messages in thread From: luigi scarso @ 2008-11-03 20:34 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 702 bytes --] On Mon, Nov 3, 2008 at 8:51 PM, Johannes Graumann <johannes_graumann@web.de>wrote: > No changes in error message. I attach the code that doesn't work like so: > > context --ctx=t-openoffice Attempt.odt > ok, I can confirm you error now. minimals-beta Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown ConTeXt MtxRun | current version: 2008.11.03 09:22 minimalsBIRTHDAY Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown ConTeXt MtxRun | current version: 2008.10.31 13:58 -- luigi [-- Attachment #1.2: Type: text/html, Size: 1085 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-03 19:51 ` Johannes Graumann 2008-11-03 20:34 ` luigi scarso @ 2008-11-03 20:57 ` luigi scarso 2008-11-04 12:28 ` Hans Hagen 2 siblings, 0 replies; 12+ messages in thread From: luigi scarso @ 2008-11-03 20:57 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 729 bytes --] On Mon, Nov 3, 2008 at 8:51 PM, Johannes Graumann <johannes_graumann@web.de>wrote: > No changes in error message. I attach the code that doesn't work like so: > > context --ctx=t-openoffice Attempt.odt > I was able to bypass error with \startluacode function metapost.free_boxes() local tb = tex.box init = metapost.first_box or 0 tini = metapost.last_box or 0 --for i = metapost.first_box,metapost.last_box do for i = init,tini do local b = tb[i] if b then tb[i] = nil -- no node.flush_list(b) needed, else double free error else break end end end \stopluacode just after %context --ctx=t-openoffice Attempt.odt of t-openoffice.tex -- luigi [-- Attachment #1.2: Type: text/html, Size: 1500 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-03 19:51 ` Johannes Graumann 2008-11-03 20:34 ` luigi scarso 2008-11-03 20:57 ` luigi scarso @ 2008-11-04 12:28 ` Hans Hagen 2008-11-04 20:30 ` luigi scarso 2 siblings, 1 reply; 12+ messages in thread From: Hans Hagen @ 2008-11-04 12:28 UTC (permalink / raw) To: mailing list for ConTeXt users Johannes Graumann wrote: > No changes in error message. I attach the code that doesn't work like so: > > context --ctx=t-openoffice Attempt.odt runs ok here > luigi scarso wrote: > >> On Sun, Nov 2, 2008 at 7:53 PM, Johannes Graumann >> <johannes_graumann@web.de>wrote: >> >>> Hello, >>> >>> In a bit to finally get Wolfgang's present to me (see XML thread >>> somewhere) finally compiled, I update my minimals via the >>> first-install.sh script and >>> run "luatools --generat && context --make" afterwards. Now I get the >>> error below. Where might I err? >>> >> Can you try these steps ? >> 1) cd /opt/ConTeXtMinimals >> 2) ./first-install.sh >> 3) cd tex >> 4) . setuptex >> 5) context --generate >> 6) context --make >> >> Here minimals is ok >> minimals >> Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC >> 2008 i686 GNU/Linux >> This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown >> ConTeXt MtxRun | current version: 2008.10.31 13:58 >> >> ------------------------------------------------------------------------ >> >> ___________________________________________________________________________________ >> 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 >> ___________________________________________________________________________________ -- ----------------------------------------------------------------- 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-04 12:28 ` Hans Hagen @ 2008-11-04 20:30 ` luigi scarso 2008-11-05 11:24 ` Taco Hoekwater 0 siblings, 1 reply; 12+ messages in thread From: luigi scarso @ 2008-11-04 20:30 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 715 bytes --] On Tue, Nov 4, 2008 at 1:28 PM, Hans Hagen <pragma@wxs.nl> wrote: > Johannes Graumann wrote: > > No changes in error message. I attach the code that doesn't work like so: > > > > context --ctx=t-openoffice Attempt.odt > > runs ok here > hmm not here minimals-beta Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown ConTeXt MtxRun | current version: 2008.11.03 09:22 minimalsBIRTHDAY Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown ConTeXt MtxRun | current version: 2008.10.31 13:58 -- luigi [-- Attachment #1.2: Type: text/html, Size: 1108 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-04 20:30 ` luigi scarso @ 2008-11-05 11:24 ` Taco Hoekwater 2008-11-05 14:26 ` luigi scarso 0 siblings, 1 reply; 12+ messages in thread From: Taco Hoekwater @ 2008-11-05 11:24 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 1722 bytes --] Hi, Meanwhile we found there is a timing issue inside \everyjob. Hans is thinking really hard about a solution. Just for verification purposes, you could try the attached, patched t-openoffice.tex. That one should work, but it is not a solution, just to verify the bug. Best wishes, Taco luigi scarso wrote: > > > On Tue, Nov 4, 2008 at 1:28 PM, Hans Hagen <pragma@wxs.nl > <mailto:pragma@wxs.nl>> wrote: > > Johannes Graumann wrote: > > No changes in error message. I attach the code that doesn't work > like so: > > > > context --ctx=t-openoffice Attempt.odt > > runs ok here > > > hmm > not here > > > minimals-beta > Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC > 2008 i686 GNU/Linux > This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown > ConTeXt MtxRun | current version: 2008.11.03 09:22 > > minimalsBIRTHDAY > Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC > 2008 i686 GNU/Linux > This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown > ConTeXt MtxRun | current version: 2008.10.31 13:58 > > -- > 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 > ___________________________________________________________________________________ [-- Attachment #2: t-openoffice.tex --] [-- Type: text/x-tex, Size: 2699 bytes --] %context --ctx=t-openoffice BoldAndItalicContent.xml \startenvironment t-openoffice.tex \checknotes \initializeMPgraphics \MPLIBregister \the \everysetupxml \ctxlua {input.stoptiming(ctx)} \checkpreprocessor \startluacode document.commands = document.commands or { } function document.commands.somehexcolor(str) local r, g, b = str:match("#(..)(..)(..)") r, g, b = tonumber(r,16) or 0, tonumber(g,16) or 0, tonumber(b,16) or 0 tex.sprint(string.format("\\colored[r=%s,g=%s,b=%s]",r/255,g/255,b/255)) end \stopluacode \startxmlsetups office \xmlsetsetup{main}{text:p|text:span}{*} \stopxmlsetups \xmlregistersetup{office} \startxmlsetups text:p \xmlflush{#1}\endgraf \stopxmlsetups \startxmlsetups text:span \bgroup \let\leftofspan \relax \let\rightofspan\relax \xmlfilter{main}{office:automatic-styles/style:style[@style:name='\xmlatt{#1}{style-name}']/style:text-properties/command(do:style:text-properties)} \leftofspan \xmlflush{#1} \rightofspan \egroup \stopxmlsetups \startxmlsetups do:style:text-properties \xmlval{fo:font-weight} {\xmlatt{#1}{font-weight}}{}% todo: namespaces in attributes \xmlval{fo:font-style} {\xmlatt{#1}{font-style}}{} %\xmlval{fo:color} {\xmlatt{#1}{color}}{} \getvalue{fo:color}{\xmlatt{#1}{color}} \xmlval{style:text-position} {\xmlatt{#1}{text-position}}{} \xmlval{style:text-underline-style}{\xmlatt{#1}{text-underline-style}}{} \stopxmlsetups \xmlmapvalue{fo:font-weight}{bold}{\bf} \xmlmapvalue{fo:font-style}{italic}{\em} \xmlmapvalue{fo:color}{#ff0000}{\colored[h=ff0000]} \setvalue{fo:color}#1{\expandafter\colored\expandafter[h=#1]} %\setvalue{fo:color}#1{\edef\temp{\noexpand\ctxlua{document.commands.somehexcolor("\letterhash\uppercase{#1}")}}\temp} \catcode`\%=11 \xmlmapvalue{style:text-position}{sub 58%} {\def\leftofspan##1\rightofspan{\low {##1}}} \xmlmapvalue{style:text-position}{super 58%}{\def\leftofspan##1\rightofspan{\high{##1}}} \catcode`\%=14 \definetextbackground [underline] [location=text, alternative=1, background=, framecolor=black, frame=off] %\xmlmapvalue{style:text-underline-style}{solid}{\def\leftofspan##1\rightofspan{\startunderline##1\stopunderline}} \xmlmapvalue{style:text-underline-style}{solid}{\let\leftofspan\startunderline\let\rightofspan\stopunderline} \setupcolors[state=start] \starttext %\xmlprocess{main}{zip:///\inputfilename.odt?name=content.xml}{} \usezipfile[\inputfilename.odt] \xmlprocess{main}{*/content.xml}{} \stoptext \stopenvironment [-- Attachment #3: 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-05 11:24 ` Taco Hoekwater @ 2008-11-05 14:26 ` luigi scarso 0 siblings, 0 replies; 12+ messages in thread From: luigi scarso @ 2008-11-05 14:26 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 594 bytes --] On Wed, Nov 5, 2008 at 12:24 PM, Taco Hoekwater <taco@elvenkind.com> wrote: > > Hi, > > Meanwhile we found there is a timing issue inside \everyjob. > Hans is thinking really hard about a solution. > > Just for verification purposes, you could try the attached, > patched t-openoffice.tex. That one should work, but it is > not a solution, just to verify the bug. > it works minimalsBIRTHDAY Linux john 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux MtxRun | current version: 2008.10.31 13:58 This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown -- luigi [-- Attachment #1.2: Type: text/html, Size: 910 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-02 18:53 Minimals - problems with format: metafun.mp Johannes Graumann 2008-11-02 19:58 ` luigi scarso @ 2008-11-02 20:33 ` Peter Rolf 2008-11-03 9:30 ` Hans Hagen 1 sibling, 1 reply; 12+ messages in thread From: Peter Rolf @ 2008-11-02 20:33 UTC (permalink / raw) To: mailing list for ConTeXt users Johannes Graumann schrieb: > Hello, > > In a bit to finally get Wolfgang's present to me (see XML thread somewhere) finally compiled, I update my minimals via the first-install.sh script and run "luatools --generat && context --make" afterwards. Now I get the error below. Where might I err? > > Thanks, Joh > > context --version > MtxRun | main context file: /opt/ConTeXtMinimals/tex/texmf-context/tex/context/base/context.tex > MtxRun | current version: 2008.10.31 13:58 > > systems : randomizer starts with 1392096869 > mplib : making format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem > mplib : problems with format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem > ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: 'for' initial value must be a number > stack traceback: > ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: in function 'free_boxes' > ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:768: in function 'graphic_base_pass' > ...mals/tex/texmf-context/tex/context/base/mlib-ctx.lua:19: in function 'graphic' > <main ctx instance>:1: in main chunk. > \processMPgraphic ... \MPuserinclusions ;\!!es ) } > \global \settrue \METAFUNi... > \getMPdrawing ...ic \expandafter {\MPdrawingdata } > \fi > \dopositionaction ...fMPdrawingdone \getMPdrawing > \fi \resetMPdrawing \popMP... > <argument> ...n {\v!text -1::\MPanchoridentifier } > \hss }\ht \scratchbox \ove... > \firstoftwoarguments #1#2->#1 > > \positionoverlay ...hbox to \overlaywidth {\hss }} > \vfill }\fi > ... > l.72 \stoptext > > ? > The loop variables metapost.first_box and metapost.last_box are not defined. You can try to remove the comment in line 376 of mlib-pps.lua. [376] metapost.first_box, metapost.last_box = 1000, 1100 Best wishes, Peter > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-02 20:33 ` Peter Rolf @ 2008-11-03 9:30 ` Hans Hagen 2008-11-03 10:29 ` Peter Rolf 0 siblings, 1 reply; 12+ messages in thread From: Hans Hagen @ 2008-11-03 9:30 UTC (permalink / raw) To: mailing list for ConTeXt users Peter Rolf wrote: > Johannes Graumann schrieb: >> Hello, >> >> In a bit to finally get Wolfgang's present to me (see XML thread somewhere) finally compiled, I update my minimals via the first-install.sh script and run "luatools --generat && context --make" afterwards. Now I get the error below. Where might I err? >> >> Thanks, Joh >> >> context --version >> MtxRun | main context file: /opt/ConTeXtMinimals/tex/texmf-context/tex/context/base/context.tex >> MtxRun | current version: 2008.10.31 13:58 >> >> systems : randomizer starts with 1392096869 >> mplib : making format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem >> mplib : problems with format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem >> ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: 'for' initial value must be a number >> stack traceback: >> ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: in function 'free_boxes' >> ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:768: in function 'graphic_base_pass' >> ...mals/tex/texmf-context/tex/context/base/mlib-ctx.lua:19: in function 'graphic' >> <main ctx instance>:1: in main chunk. >> \processMPgraphic ... \MPuserinclusions ;\!!es ) } >> \global \settrue \METAFUNi... >> \getMPdrawing ...ic \expandafter {\MPdrawingdata } >> \fi >> \dopositionaction ...fMPdrawingdone \getMPdrawing >> \fi \resetMPdrawing \popMP... >> <argument> ...n {\v!text -1::\MPanchoridentifier } >> \hss }\ht \scratchbox \ove... >> \firstoftwoarguments #1#2->#1 >> >> \positionoverlay ...hbox to \overlaywidth {\hss }} >> \vfill }\fi >> ... >> l.72 \stoptext >> >> ? >> > The loop variables metapost.first_box and metapost.last_box are not > defined. You can try to remove the comment in line 376 of mlib-pps.lua. > > [376] metapost.first_box, metapost.last_box = 1000, 1100 you can make that metapost.first_box = metapost.first_box or 1000 metapost.last_box = metapost.last_box or 1100 but even then, these vars are set in mlib-pps.tex 61: {\ctxlua{metapost.first_box, metapost.last_box = \number\MPLIBfirst, \number\MPLIBlast}} so, it more looks like you have a faulty format file ----------------------------------------------------------------- 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] 12+ messages in thread
* Re: Minimals - problems with format: metafun.mp 2008-11-03 9:30 ` Hans Hagen @ 2008-11-03 10:29 ` Peter Rolf 0 siblings, 0 replies; 12+ messages in thread From: Peter Rolf @ 2008-11-03 10:29 UTC (permalink / raw) To: mailing list for ConTeXt users Hans Hagen schrieb: > Peter Rolf wrote: >> Johannes Graumann schrieb: >>> Hello, >>> >>> In a bit to finally get Wolfgang's present to me (see XML thread somewhere) finally compiled, I update my minimals via the first-install.sh script and run "luatools --generat && context --make" afterwards. Now I get the error below. Where might I err? >>> >>> Thanks, Joh >>> >>> context --version >>> MtxRun | main context file: /opt/ConTeXtMinimals/tex/texmf-context/tex/context/base/context.tex >>> MtxRun | current version: 2008.10.31 13:58 >>> >>> systems : randomizer starts with 1392096869 >>> mplib : making format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem >>> mplib : problems with format: metafun.mp, name: /opt/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/cf1ede6f9a7dea65673b0113ca44a3cc/formats/cont-en-metafun.mem >>> ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: 'for' initial value must be a number >>> stack traceback: >>> ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:384: in function 'free_boxes' >>> ...mals/tex/texmf-context/tex/context/base/mlib-pps.lua:768: in function 'graphic_base_pass' >>> ...mals/tex/texmf-context/tex/context/base/mlib-ctx.lua:19: in function 'graphic' >>> <main ctx instance>:1: in main chunk. >>> \processMPgraphic ... \MPuserinclusions ;\!!es ) } >>> \global \settrue \METAFUNi... >>> \getMPdrawing ...ic \expandafter {\MPdrawingdata } >>> \fi >>> \dopositionaction ...fMPdrawingdone \getMPdrawing >>> \fi \resetMPdrawing \popMP... >>> <argument> ...n {\v!text -1::\MPanchoridentifier } >>> \hss }\ht \scratchbox \ove... >>> \firstoftwoarguments #1#2->#1 >>> >>> \positionoverlay ...hbox to \overlaywidth {\hss }} >>> \vfill }\fi >>> ... >>> l.72 \stoptext >>> >>> ? >>> >> The loop variables metapost.first_box and metapost.last_box are not >> defined. You can try to remove the comment in line 376 of mlib-pps.lua. >> >> [376] metapost.first_box, metapost.last_box = 1000, 1100 > > you can make that > > metapost.first_box = metapost.first_box or 1000 > metapost.last_box = metapost.last_box or 1100 > > but even then, these vars are set in > > mlib-pps.tex 61: {\ctxlua{metapost.first_box, metapost.last_box = > \number\MPLIBfirst, \number\MPLIBlast}} > missed that one (stupid me grep'ed only the lua files...) :) > so, it more looks like you have a faulty format file > > ----------------------------------------------------------------- > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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] 12+ messages in thread
end of thread, other threads:[~2008-11-05 14:26 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-11-02 18:53 Minimals - problems with format: metafun.mp Johannes Graumann 2008-11-02 19:58 ` luigi scarso 2008-11-03 19:51 ` Johannes Graumann 2008-11-03 20:34 ` luigi scarso 2008-11-03 20:57 ` luigi scarso 2008-11-04 12:28 ` Hans Hagen 2008-11-04 20:30 ` luigi scarso 2008-11-05 11:24 ` Taco Hoekwater 2008-11-05 14:26 ` luigi scarso 2008-11-02 20:33 ` Peter Rolf 2008-11-03 9:30 ` Hans Hagen 2008-11-03 10:29 ` Peter Rolf
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).