
Hi Taco, is it possible that luatex 0.30.1 is a little bit broken? When I try to process an xml file with it and the latest beta, I get no pdf output (but also no errors; it simply doesn't process the contents). Downgrading to luatex 0.30.0 solves this problem; I get the expected output. Thomas

Thomas A. Schmitz wrote:
hm, do you have a small test file? 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 -----------------------------------------------------------------

Wolfgang Schuster wrote:
can you be a bit more specific? i cannot (yet) upload a beta because i'm in the middle of testing some changes in multipass data (prelude to moving from tuo to tuc completely) ----------------------------------------------------------------- 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 Wed, Oct 15, 2008 at 1:31 PM, Hans Hagen
Here is a example: \startxmlsetups office \xmlsetsetup{main}{document|p}{*} \stopxmlsetups \xmlregistersetup{office} \startxmlsetups document \xmlflush{#1}\par \stopxmlsetups \startxmlsetups p \xmlflush{#1}\par \stopxmlsetups \startbuffer[test] <?xml version="1.0" encoding="UTF-8"?> <document> <p>Text</p> </document> \stopbuffer \starttext \xmlprocessbuffer{main}{test}{} \stoptext ConTeXt creates the tuc, tuo and log files but all three of them are empty, all I get are these messages on the terminal: Rover:ntgcontextxml wolf$ context test MtxRun | loading configuration for /Users/wolf/context/texmf/web2c from /Users/wolf/context/texmf-cache/luatex-cache/context/e5ae5b843cdf28d6425fc602d0958beb/trees/2a0f957ce5573724622167658c90e154 MtxRun | run 1: luatex --fmt="/Users/wolf/context/texmf-cache/luatex-cache/context/e5ae5b843cdf28d6425fc602d0958beb/formats/cont-en" --lua="/Users/wolf/context/texmf-cache/luatex-cache/context/e5ae5b843cdf28d6425fc602d0958beb/formats/cont-en.lua" "./test" (test.tex ConTeXt ver: 2008.10.08 23:34 MKIV fmt: 2008.10.15 int: english/english language : language en is active system : cont-new loaded (/Users/wolf/context/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/Users/wolf/context/texmf-local/tex/context/base/cont-new.mkiv lua : used config path - /Users/wolf/context/texmf/web2c/texmf.cnf lua : used cache path - /Users/wolf/context/texmf-cache/luatex-cache/context/e5ae5b843cdf28d6425fc602d0958beb ) (/Users/wolf/context/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/Users/wolf/context/texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/Users/wolf/context/texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/Users/wolf/context/texmf-local/tex/context/user/cont-sys.tex (/Users/wolf/context/texmf-local/tex/context/base/type-tmf.tex) (/Users/wolf/context/texmf-local/tex/context/base/type-siz.tex) (/Users/wolf/context/texmf-local/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : tex loaded system : test.top loaded (test.top specials : loading definition file tpd (/Users/wolf/context/texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/Users/wolf/context/texmf-local/tex/context/base/spec-fdf.tex (/Users/wolf/context/texmf-local/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded (/Users/wolf/context/texmf-local/tex/context/base/spec-tpd.mkiv)) specials : fdf loaded ) utilityfile | not present systems : begin file test at line 22 MtxRun | fatal error, message: luatex: execution interrupted Regards, Wolfgang

On Thu, Oct 16, 2008 at 8:33 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
No problem here with This is LuaTeX, Version snapshot-0.30.1-2008100915, build unknown # context --version MtxRun | main context file: /opt/luatex/tex/texmf-local/tex/context/base/context.tex MtxRun | current version: 2008.08.05 18:47 But the same MtxRun | fatal error, message: luatex: execution interrupted with minimals. A mplib problem ? -- luigi

luigi scarso wrote:
This is likely to be a lua coroutine problem, there have been some changes to that part of the code, and coroutines are used by the mkiv xml parser. Can someone tell me what the exact version of luatex is in the minimals? (and what platform, esp. for failures) Best wishes, Taco

On Thu, Oct 16, 2008 at 12:12 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
systems : begin file test-wolfgang at line 22 MtxRun | fatal error, message: luatex: execution interrupted # uname -a Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008 i686 GNU/Linux # luatex --version This is LuaTeX, Version snapshot-0.30.1-2008100914, build unknown t# context --version MtxRun | main context file: /opt/luatex/minimals-beta/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.10.08 23:34 systems : begin file test-wolfgang at line 22 MtxRun | fatal error, message: luatex: execution interrupted # uname -a Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008 i686 GNU/Linux # luatex --version This is LuaTeX, Version snapshot-0.30.1-2008100914, build unknown # context --version MtxRun | main context file: /opt/luatex/minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.08.05 18:47 -- luigi

Hi again,
Can someone tell me what the exact version of luatex is in the minimals? (and what platform, esp. for failures)
Assuming it is the coroutines (and that seems likely) I will try fix the problem on monday (no time today). Worst case scenario for the solution I have in mind is that coroutines will remain broken *only* on OpenBSD, and everything else will go back to 'normal'. Taco

On 19 oct. 08, at 09:41, luigi scarso wrote:
[…] If you have a small example , I will check it too .
Hi Luigi, Here is a small example which doesn' work for me… (I have compiled LuaTeX svn checkout 1564, and installed it) but only a blank PDF is produced: %% begin file basic-test.tex \starttext This file has been typeset on \currentdate{} at \currenttime, with \doifmodeelse{mkiv}{mkiv, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp)}{mkii}, ConTeXt version \contextversion, using the command: \starttyping texexec --luatex basic-test.tex \stoptyping or \starttyping texexec --lua basic-test.tex \stoptyping \stoptext %% end file basic-test.tex The log file begins by saying: ConTeXt ver: 2008.10.17 10:41 MKIV fmt: 2008.10.19 int: english/ english language : language en is active bodyfont : 12pt rm is loaded define font | font with name lmroman12-regular is not found define font | unknown font lmroman12-regular, loading aborted define font | unable to define lmroman12-regular as \*12ptrmtfrm* and many other such lines regarding the fonts. I have TeXLive 2008 installed and updated via the rsync method on ConTeXt Garden, and am running Mac OS X 10.5.5 on a MacBook Pro Intel Duo Core. (As mentioned above I compiled luatex 0.30.1 version 1564 on my mahine and installed it "by hand"). Before TeXLive 2008, the same file used to work on TeXLive 2007. Thanks for your insight: OK

Hi Luigi, Thanks for having taken the time to test the file I gave in my message. Indeed my problem comes from luatex not finding the fonts Latin Modern, which mkii finds without any difficulty… Since I haven't changed anything in my TeX tree, why is so? Shouldn't mkiv be able to find what mkii can find? :-) If you have any hint how to tell mkiv to find the default fonts LM, could you please tell us about that? Grazie ancora… Best regards: OK On 19 oct. 08, at 12:08, luigi scarso wrote:

On Sun, Oct 19, 2008 at 2:23 PM, Otared Kavian
So minimals are ok.
Since I haven't changed anything in my TeX tree, why is so? Shouldn't mkiv be able to find what mkii can find? :-)
mkii and miv have different ways to seach files.
If you have any hint how to tell mkiv to find the default fonts LM, could you please tell us about that?
context --generate should be ok. I always run . setuptex every first time I start a sessione with mkiv , so I have the correct env variable But I'm installing a tl2008, so I will be more precise about this. -- luigi

Dear Luigi, Thanks for you help. Below are some comments on what you wrote: On 19 oct. 08, at 14:44, luigi scarso wrote:
Not really, since my mkii is the one I have in TexLive 2008, updated to ConTeXt ver: 2008.10.17 10:41 MKII fmt: 2008.10.17 int: english/english and it works fine. Up to now I didn't have installed the minimals through the commands given on the Garden. However, since you told me that it works fine, I just tried to install the minimals too, but while generating the formats I get: ! LuaTeX error ...mini/tex/texmf-context/tex/context/base/luat-tex.lua: 322: attempt to perform arithmetic on local 'total' (a nil value). <*> ...texmf-context/tex/context/base/cont-nl.tex \dump Despite this, knowing that I have installed the minimals in a directory /Applications/context-mini and run the file setuptex contained in /Applications/context-mini/tex if I say /Applications/context-mini/tex/texmf-osx-intel/bin/texexec basic- test.tex a correct PDF is created, while if I say /Applications/context-mini/tex/texmf-osx-intel/bin/texexec --lua basic-test.tex again I have a blank PDF and the log file says that the fonts Latin Modern are not found.
I understand that, but why isn't mkiv able to find the default fonts? Or are they located at different places?
So once you have an insight please let me know. Many thanks: OK

On Sun, Oct 19, 2008 at 3:37 PM, Otared Kavian
actually luatex is not good You should hit return until installation end; then install luatex from trunk; then remake format with context --generate context --make Now you must have no errors anymore .
Can you try context --generate context basic-test -- luigi

On 19 oct. 08, at 17:28, luigi scarso wrote:
I did again what you suggest, but no better result: /Applications/context-mini/tex/texmf-osx-intel/bin/context --generate results in MtxRun | error unable to identify cnf file MtxRun | error unable to identify cnf file MtxRun | no cnf files found (TEXMFCNF may not be set/known) MtxRun | unknown script: context (same thing with /Applications/context-mini/tex/texmf-osx-intel/bin/ context --make). Something strange which I don't know whether it is "legal" or not, is that if I use the luatols in the Context-Minimal folder, to generate, that is: /Applications/context-mini/tex/texmf-osx-intel/bin/luatools --generate then luatools uses for some reason what I have in my TeXLive 2008 directory that is what is in /usr/local/texlive/2008/ and if I rename the /usr/local/texlive to something else, then /Applications/context-mini/tex/texmf-osx-intel/bin/luatools --generate returns: env: texlua: No such file or directory I thought what one installs with the Minimals is independent of TeXLive 2008 though…
Again these do not result in anything good: same output as above, when I say context --make. Now that I have done what you suggested, the mkii in the Minimals does not ork either :-) Saying /Applications/context-mini/tex/texmf-osx-intel/bin/texexec basic- test.tex results in: FatalError : Your format does not match the base files! FormatVersion : 2008.10.08 23:34 MKII FilesVersion : 2008.10.17 10:41 and again the reason seems to be that the texxec in the Minimals uses /usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.tex which doesn't seem to be "normal". I think the best I can do is to wait for something more stable to play with. For my serious work I avoid up to now to use mkiv, but I would like to test what Hans, Taco and others are doing, at least to help find bugs for the Right to Left typesetting. Grazie mille e forse a presto… Best regards: OK

On Sun, Oct 19, 2008 at 7:56 PM, Otared Kavian
Did you have made . setuptex (watch for the dot!) ?
Sorry for that !
For my serious work I avoid up to now to use mkiv,
With the finger crossed I will start tomorrow a project in mkiv
but I would like to test what Hans, Taco and others are doing, at least to help find bugs for the Right to Left typesetting.
It's important, so I write how I setup my minimals on a linux box 1) mkdir -p /opt/luatex/minimals-beta 2) cd /opt/luatex/minimals-beta 2a) Now put here first-setup.sh (see contextgarden.net/minimals) 3) ./first-setup.sh 3a)If there are some errors due a luatex version; hit return until the end 4) cd tex 5) . setuptex 5a)Now, if you have compiled luatex from svn, put it into texmf-linux/bin 6) context --generate 7) context --make 7a)not errors anymore, I hope. 8)Every time I start a mkiv session I do cd /opt/luatex/minimals-beta/tex . setuptext as first step to ensure correct initilizatione of env variables. 9a)context --generate 9b)context --make to unsure a clean session. 10) always use context to make pdf; ie test your file with context basic-test.tex If you open first-setup.sh and change this line mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --context=beta --tree=$PWD/tex $@ in mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --tree=$PWD/tex $@ and then 1) mkdir -p /opt/luatex/minimals 2)... you can then end with a minimal installation Actually I have minimals-beta, minimal and tl2008 completly unrelated so each installations has is own fonts etc etc. It's ok, because minimals and minimals-beta are not so huge and I want to be sure that minimals-beta and minimals work -- luigi

As a fan of (t)csh, I have adapted setuptex for (t)csh: "source setuptex.csh". It would be useful (at least for one user) to include this in the context minimals, but of course this would require that it be maintained as needs of setuptex, (ba)sh version, evolve... Thanks, -- Alan

On 19 oct. 08, at 21:50, luigi scarso wrote:
With the finger crossed I will start tomorrow a project in mkiv
Good luck, or as you say in Italy "in bocca al lupo!"…
YES! I did it step by step as you say above (mutatis mutandis, that is by replacing texmf-linux by texmf-osx-intel): and now I have an mkiv in the minimal tree that works fine: the file basic-test.tex results in: This file has been typeset on October 19, 2008 at 23:56, mkiv, ConTeXt version 2008.10.17 10:41, LuaTeX revision 1, (LuaTeX date stamp 2008101818) Many many thanks! Grazie mille… A last question: it is really necessary to say (in the appropriate directory) . setuptex context --generate context --make for each typesetting session? Or is this a temporary procedure?
I will try these later. In this way one may have various versions at the same time. Best regards: OK

On Mon, Oct 20, 2008 at 12:23 AM, Otared Kavian wrote:
. setuptex: yes, but you can also have that it initialisation. I have put . context/tex/setuptex context/tex into ~/.bash_profile context --make and context --generate are only needed the first time after each update (though they should work automatic; maybe there's something wrong). Mojca

hmm... some conflicts with other minimals or tex distros may arise, because you can not choose what luatex binary to execute
context --make and context --generate are only needed the first time after each update
Yes, it's true. But I want to put in a separe log the output context --generate so I do it by hand. Minimals work. If a test pass minimals, it's ok. If the same test doesn't pass on tl2008, probably tl2008 is to update and/or there are some env variables to adjust . -- luigi

On Mon, Oct 20, 2008 at 12:23 AM, Otared Kavian
(and the answer should be "crepi il lupo")
Should be a good thing have minimals-beta and minimasl in a separated dir, and test if the samething works in minimals and minimals-beta.
Every time your $PATH has not /opt/luatex/minimals-beta/tex/texmf-linux/bin (check with echo $PATH) For sure, at the beginning of a session :
context --generate
this clear the cache Tee cache is /opt/luatex/minimals-beta/tex/texmf-cache so it's local to the minimals-beta I do this every time I have a suspect that I have made) something is wrong, and at the at the beginning of a session .
context --make
this make all the formats. It's need every time you change something in the core, like luatex binary or some files in base , not every time you want to make a pdf from your file To typeset your file, you should use context yourfile.tex -- luigi

On Oct 19, 2008, at 9:41 AM, luigi scarso wrote:
I'm using rev 1565 and context version: 2008.10.17 10:41, and the Wolfgang's example still fails on my box (OS X 10.5). There's no error or warning on the terminal, the log and tui files are empty, and the tuo file says: % % loaded files: 0 % % % temporary files: 0 % % % commands: 0 % % % programs: 0 % \endinput which doesn't look very good... Thomas

luigi scarso wrote:
in mkiv you will only see toc entries in the tuo file and even these will go away ----------------------------------------------------------------- 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 Mon, Oct 20, 2008 at 10:50 AM, Thomas A. Schmitz < thomas.schmitz@uni-bonn.de> wrote:
These are my wolfgang tests under linux ubuntu with new minimals. This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown minimals context --version MtxRun | main context file: /opt/luatex/minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.08.05 18:47 minimals-beta context --version MtxRun | main context file: /opt/luatex/minimals-beta/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.10.17 10:41 -- luigi

On Oct 20, 2008, at 7:25 PM, luigi scarso wrote:
These are my wolfgang tests under linux ubuntu with new minimals.
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
Yes, thank you Luigi - xml processing works now on OS X as well. And thanks Taco for looking into this! All best Thomas

On Thu, Oct 16, 2008 at 10:40 AM, Taco Hoekwater wrote:
Can someone tell me what the exact version of luatex is in the minimals? (and what platform, esp. for failures)
Source repository fetches the latest beta version with (I guess) one hour delay or so. Binaries get commited by several people, so it depends on when they run the "build-and-commit" script. Versions are stored in http://svn.contextgarden.net/minimals/bin/tex/linux/current/VERSIONS. (But it can also happen that build fails and one commits only the version tag, no actual binary. I hope that Peter's patch ruled out that possibility.) Mojca
participants (9)
-
Alan BRASLAU
-
Arthur Reutenauer
-
Hans Hagen
-
luigi scarso
-
Mojca Miklavec
-
Otared Kavian
-
Taco Hoekwater
-
Thomas A. Schmitz
-
Wolfgang Schuster