Re: [NTG-context] Latest beta...
No problem here, but I'm running Leopard (intel). Matthias On Apr 6, 2010, at 5:06 PM, Mojca Miklavec wrote: On Tue, Apr 6, 2010 at 21:24, Willi Egger wrote: I just updated the latest beta in a completely new tree: I get now the following message: .../lua60/tex/texmf-osx-intel/bin/context: line 2: 1634 Bus error mtxrun --script context $@ When running luatools --generate most of the things work out well, just that in the last line I see: LuaTools | fileio: loading configuration file .../lua60/tex/texmf/web2c/texmf.cnf Bus error This might as well be a mac-intel-only luatex-related problem (something for Taco in any case), but I cannot reproduce it yet. Mojca ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Otared, This works perfectly. In all the changes to ConTeXt, I had neglected to update my TeXShop settings. Many thanks for your help (and patience). Alan On Dec 2, 2009, at 12;24,37 , Otared Kavian wrote: On 2 déc. 2009, at 18:06, Bowen Alan C. wrote: Mocja— I can process files from the command line. The problem seems to be with TeXShop (which I suspect needs some updating for Snow Leopard). Reinstalling TeXShop does not help. Alan Hi Alan, You have to add a .engine file to ~/Library/TeXShop/Engines and open again TeXShop. For instance I have a file called mkii.engine containing these lines (between %%%begin and %%%end of course!): %%% begin #!/bin/bash source /Volumes/OK/context-minimal/tex/setuptex texexec $1 %%%end and then in TeXShop by default the engine is chosen to be mkii. It is important to know that this file must have the x bit as its rights. In your case this mkii.engine file should contain #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex texexec $1 Don't forget to chmod +x. Good luck! Best regards: OK ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Tue, Dec 1, 2009 at 17:13, Bowen Alan C. wrote: Mocja— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? The second one. I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. This is because you need to regenerate the formats (texexec --make --all). Please send the log if this fails to help. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in No, that's not been suggested. You may not use the second argument that way. If you read carefully again you'll see that there are **two different recipes**. You need to use just one of them. When you want to use context, you need to initialize the tree by typing: [first recipe] . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add [second recipe] /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin to PATH variable if you want to set it permanently. This can usually be done in .bashrc, .bash_profile (or whatever file is used to initialize your shell). I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Yes, that makes sense. Since /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is NOT the root of distribution. That's just the PATH to your binaries. Just go with the first approach (the one that reports mismatching formats at the moment), run texexec --make --all and send the log if it fails to work. Mojca ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Tue, Dec 1, 2009 at 22:09, Bowen Alan C. wrote: Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. texmf-osx-intel should not be installed at all. What happens if you delete it? Does it appear again? Also try to remove the file status-of-update.lua as Hans suggested. The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815 It looks like this is using the version from TeX Live. Mojca ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Thanks, Mojca. With .bash_profile now reading . /Applications/ConTeXtMinimals/tex/setuptex, I ran texexec --make --all successfully. But I still could not process a .tex file: the error message was This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.21928 So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found. Alan On Dec 2, 2009, at 03;13,46 , Mojca Miklavec wrote: On Tue, Dec 1, 2009 at 17:13, Bowen Alan C. wrote: Mocja— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? The second one. I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. This is because you need to regenerate the formats (texexec --make --all). Please send the log if this fails to help. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in No, that's not been suggested. You may not use the second argument that way. If you read carefully again you'll see that there are **two different recipes**. You need to use just one of them. When you want to use context, you need to initialize the tree by typing: [first recipe] . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add [second recipe] /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin to PATH variable if you want to set it permanently. This can usually be done in .bashrc, .bash_profile (or whatever file is used to initialize your shell). I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Yes, that makes sense. Since /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is NOT the root of distribution. That's just the PATH to your binaries. Just go with the first approach (the one that reports mismatching formats at the moment), run texexec --make --all and send the log if it fails to work. Mojca ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Wed, Dec 2, 2009 at 12:49, Bowen Alan C. wrote: Thanks, Mojca. With .bash_profile now reading . /Applications/ConTeXtMinimals/tex/setuptex, I ran texexec --make --all successfully. But I still could not process a .tex file: the error message was This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.21928 So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found. Can you please send the output of: uname -m echo $HOSTTYPE sysctl -n hw.cpu64bit_capable echo $PATH ls /Applications/ConTeXtMinimals/tex/ ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin which pdftex which context which texexec kpsewhich context.tex Mojca ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mojca— texmf-osx-intel reappears when the minimals are updated removing status-of-update.lua did not make a difference (I am using MKII). I have not installed TeXLive. Alan On Dec 2, 2009, at 03;16,40 , Mojca Miklavec wrote: On Tue, Dec 1, 2009 at 22:09, Bowen Alan C. wrote: Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. texmf-osx-intel should not be installed at all. What happens if you delete it? Does it appear again? Also try to remove the file status-of-update.lua as Hans suggested. The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815 It looks like this is using the version from TeX Live. Mojca ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Wed, Dec 2, 2009 at 12:59, Bowen Alan C. wrote: Mojca— texmf-osx-intel reappears when the minimals are updated If sysctl -n hw.cpu64bit_capable returns you 1 then it's quite possible that you are still using the old version of first-setup.sh. removing status-of-update.lua did not make a difference (I am using MKII). I have not installed TeXLive. Sorry, I was misinterpreting the pdfTeX 1.40 string and though it was reading LuaTeX beta-0.40. Mojca ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
The outputs are: uname -m i386 echo $HOSTTYPE x86_64 sysctl -n hw.cpu64bit_capable 1 echo $PATH /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin ls /Applications/ConTeXtMinimals/tex/ mysetuptex setuptex.cshtexmf-cache texmf-osx-64 setuptexsetuptex.tmftexmf-context texmf-project setuptex.battexmf texmf-local ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin total 47488 -rwxr-xr-x 1 alancbowen admin 195812 Aug 27 20:08 afm2pl -rwxr-xr-x 1 alancbowen admin 204116 Aug 27 20:08 afm2tfm -rwxr-xr-x 1 alancbowen admin 348252 Aug 27 20:08 bibtex -rwxr-xr-x 1 alancbowen admin 39 May 5 2009 context -rwxr-xr-x 1 alancbowen admin 1503396 Aug 27 20:08 dvipdfmx -rwxr-xr-x 1 alancbowen admin 224580 Aug 27 20:08 dvipos -rwxr-xr-x 1 alancbowen admin 492056 Aug 27 20:08 dvips -rwxr-xr-x 1 alancbowen admin34252 Aug 27 20:08 kpseaccess -rwxr-xr-x 1 alancbowen admin34284 Aug 27 20:08 kpsestat -rwxr-xr-x 1 alancbowen admin 179244 Sep 5 17:28 kpsewhich -rwxr-xr-x 1 alancbowen admin 6303832 Nov 29 04:56 luatex -rwxr-xr-x 1 alancbowen admin 231408 Nov 27 11:56 luatools -rwxr-xr-x 1 alancbowen admin 39 May 5 2009 metatex -rwxr-xr-x 1 alancbowen admin 6885 Jul 23 13:11 mktexlsr -rwxr-xr-x 1 alancbowen admin 560136 Nov 1 16:51 mpost -rwxr-xr-x 1 alancbowen admin 353560 Dec 1 09:04 mtxrun -rwxr-xr-x 1 alancbowen admin 43 Jul 19 15:11 mtxworks -rwxr-xr-x 1 alancbowen admin 2225728 Nov 29 04:56 pdftex -rwxr-xr-x 1 alancbowen admin 704816 Nov 29 04:56 pdftosrc -rwxr-xr-x 1 alancbowen admin 137860 Aug 27 20:08 pltotf -rwxr-xr-x 1 alancbowen admin 50 Nov 27 13:00 texexec lrwxrwxrwx 1 alancbowen admin6 Nov 1 17:06 texlua - luatex lrwxrwxrwx 1 alancbowen admin6 Nov 1 17:06 texluac - luatex -rwxr-xr-x 1 alancbowen admin 32 May 5 2009 texmfstart -rwxr-xr-x 1 alancbowen admin 216320 Aug 27 20:08 tftopl -rwxr-xr-x 1 alancbowen admin 135104 Nov 29 04:56 ttf2afm -rwxr-xr-x 1 alancbowen admin 249216 Aug 27 20:08 vftovp -rwxr-xr-x 1 alancbowen admin 162552 Aug 27 20:08 vptovf -rwxr-xr-x 1 alancbowen admin 1541072 Nov 1 16:51 xdvipdfmx -rwxr-xr-x 1 alancbowen admin 8192912 Nov 1 16:51 xetex which pdftex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/pdftex which context /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/context which texexec /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec kpsewhich context.tex /Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/context.tex Alan On Dec 2, 2009, at 06;55,07 , Mojca Miklavec wrote: On Wed, Dec 2, 2009 at 12:49, Bowen Alan C. wrote: Thanks, Mojca. With .bash_profile now reading . /Applications/ConTeXtMinimals/tex/setuptex, I ran texexec --make --all successfully. But I still could not process a .tex file: the error message was This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.21928 So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found. Can you please send the output of: uname -m echo $HOSTTYPE sysctl -n hw.cpu64bit_capable echo $PATH ls /Applications/ConTeXtMinimals/tex/ ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin which pdftex which context which texexec kpsewhich context.tex Mojca ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mojca— I am running a version of first-setup.sh that was downloaded from the garden on November 28. Updating to the file available today makes no difference. Alan On Dec 2, 2009, at 07;04,16 , Mojca Miklavec wrote: On Wed, Dec 2, 2009 at 12:59, Bowen Alan C. wrote: Mojca— texmf-osx-intel reappears when the minimals are updated If sysctl -n hw.cpu64bit_capable returns you 1 then it's quite possible that you are still using the old version of first-setup.sh. removing status-of-update.lua did not make a difference (I am using MKII). I have not installed TeXLive. Sorry, I was misinterpreting the pdfTeX 1.40 string and though it was reading LuaTeX beta-0.40. Mojca ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Wed, Dec 2, 2009 at 13:07, Bowen Alan C. wrote: So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found. which texexec /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec This calls for a half-a-box-beer challenge. Here's a deal (the thread has grown long already): if you send a screenshot of both commands being run one after another (plus a documentary video to prove you didn't do anything weird behind the scenes) you win. Else you pay for beer during the next meeting or BachoTeX. Mojca ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mojca— Let‘s go back to o square 1. I trashed my old minimals and completely reinstalled using the latest first.setup.sh. This did not work out of the box, so I ran chmod +x first-setup.sh and then ./first-setup.sh again The good news: • there is no texmf-osx-intel folder in ConTeXtMinimals/tex/ • context --version works The bad news • compiling \starttext Hello Hans! \stoptext gets “texexec: Command not found.” My .bash_profile file consists of the line “. /Applications/ConTeXtMinimals/tex/setuptex” This seems to be working as it should: when Terminal opens I see: Setting /Applications/ConTeXtMinimals/tex as ConTeXt root. Running texexec --make -all again had no effect. This is all and only what I have done. (Testimonials available on request.) Alan On Dec 2, 200“9, at 10;43,15 , Mojca Miklavec wrote: On Wed, Dec 2, 2009 at 13:07, Bowen Alan C. wrote: So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found. which texexec /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec This calls for a half-a-box-beer challenge. Here's a deal (the thread has grown long already): if you send a screenshot of both commands being run one after another (plus a documentary video to prove you didn't do anything weird behind the scenes) you win. Else you pay for beer during the next meeting or BachoTeX. Mojca ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mocja— I can process files from the command line. The problem seems to be with TeXShop (which I suspect needs some updating for Snow Leopard). Reinstalling TeXShop does not help. Alan On Dec 2, 2009, at 11;36,23 , Bowen Alan C. wrote: Mojca— Let‘s go back to o square 1. I trashed my old minimals and completely reinstalled using the latest first.setup.sh. This did not work out of the box, so I ran chmod +x first-setup.sh and then ./first-setup.sh again The good news: • there is no texmf-osx-intel folder in ConTeXtMinimals/tex/ • context --version works The bad news • compiling \starttext Hello Hans! \stoptext gets “texexec: Command not found.” My .bash_profile file consists of the line “. /Applications/ConTeXtMinimals/tex/setuptex” This seems to be working as it should: when Terminal opens I see: Setting /Applications/ConTeXtMinimals/tex as ConTeXt root. Running texexec --make -all again had no effect. This is all and only what I have done. (Testimonials available on request.) Alan On Dec 2, 200“9, at 10;43,15 , Mojca Miklavec wrote: On Wed, Dec 2, 2009 at 13:07, Bowen Alan C. wrote: So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found. which texexec /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec This calls for a half-a-box-beer challenge. Here's a deal (the thread has grown long already): if you send a screenshot of both commands being run one after another (plus a documentary video to prove you didn't do anything weird behind the scenes) you win. Else you pay for beer during the next meeting or BachoTeX. Mojca ___ 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 : http://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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On 2 déc. 2009, at 18:06, Bowen Alan C. wrote: Mocja— I can process files from the command line. The problem seems to be with TeXShop (which I suspect needs some updating for Snow Leopard). Reinstalling TeXShop does not help. Alan Hi Alan, You have to add a .engine file to ~/Library/TeXShop/Engines and open again TeXShop. For instance I have a file called mkii.engine containing these lines (between %%%begin and %%%end of course!): %%% begin #!/bin/bash source /Volumes/OK/context-minimal/tex/setuptex texexec $1 %%%end and then in TeXShop by default the engine is chosen to be mkii. It is important to know that this file must have the x bit as its rights. In your case this mkii.engine file should contain #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex texexec $1 Don't forget to chmod +x. Good luck! Best regards: OK ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Thanks to Otared and Dick Koch, I now have MKII up and running again. The primary change in TeXshop involved setting the path in Preferences/Engine to /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin. for the MKII engine, Otared suggested #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex texexec $1 What would be best for the MKIV and XeTeX engines? Right now I have, MKIV #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64l/bin:$PATH export TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cache context $1 XeTeX #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH texexec --xtx $1 Alan ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] latest beta and file mismatch problem
I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion: 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) Alan___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote: I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin Why the second argument? (It's optional, but wrong in this case.) When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion : 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mocja— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? Alan On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote: On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote: I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin Why the second argument? (It's optional, but wrong in this case.) When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion: 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? Alan On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote: On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote: I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin Why the second argument? (It's optional, but wrong in this case.) When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion: 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mojca (at last!)— I was also wondering when you would get her name right ;-) Arthur ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
I am a lousy typist and she is very very patient. A. On Dec 1, 2009, at 11;17,04 , Arthur Reutenauer wrote: Mojca (at last!)— I was also wondering when you would get her name right ;-) Arthur ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin to PATH variable if you want to set it permanently. This can usually be done in .bashrc, .bash_profile (or whatever file is used to initialize your shell). I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Alan 'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote: Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? Alan On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote: On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote: I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin Why the second argument? (It's optional, but wrong in this case.) When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion: 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca ___ 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 : http://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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Bowen Alan C. wrote: I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin to PATH variable if you want to set it permanently. This can usually be done in .bashrc, ..bash_profile (or whatever file is used to initialize your shell). I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Alan 'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote: Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? only mojca knows ... did you use the latest version of teh installer script? - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Tue, Dec 01 2009, Bowen Alan C. wrote: I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Hello Alan, You don't need setuptex. Just add this line to your .bash_profile or .bashrc: PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? only mojca knows ... did you use the latest version of teh installer script? Hi Alan, If you are running Mac OS X 10.6.1 or later, the right folder (or directory) is ConTeXtMinimals/tex/texmf-osx-64/bin In any case you can test this just by changing the name of either of the folders and try to typeset a file (you can change the name of the folder for example in the Finder). Do you use TeXShop or any other GUI application? A last point: at the beginning of the ConTeXt minimals, at one point I installed the minimals in the /Application/ folder (directory) but had constantly problems due to the rights of writing and executing, I think. Now I have the Minimals in another place and everything works fine. Good luck! Best regards: OK___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
I think so, Hans: I updated it over the weekend. Alan On Dec 1, 2009, at 15;26,12 , Hans Hagen wrote: Bowen Alan C. wrote: I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin to PATH variable if you want to set it permanently. This can usually be done in .bashrc, ..bash_profile (or whatever file is used to initialize your shell). I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Alan 'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote: Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? only mojca knows ... did you use the latest version of teh installer script? - 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815 when I compile as file with both or with either one alone. Alan On Dec 1, 2009, at 15;38,29 , Otared Kavian wrote: I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? only mojca knows ... did you use the latest version of teh installer script? Hi Alan, If you are running Mac OS X 10.6.1 or later, the right folder (or directory) is ConTeXtMinimals/tex/texmf-osx-64/bin In any case you can test this just by changing the name of either of the folders and try to typeset a file (you can change the name of the folder for example in the Finder). Do you use TeXShop or any other GUI application? A last point: at the beginning of the ConTeXt minimals, at one point I installed the minimals in the /Application/ folder (directory) but had constantly problems due to the rights of writing and executing, I think. Now I have the Minimals in another place and everything works fine. Good luck! Best regards: OK ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Thanks, Peter. I will assume for the moment that the question of my profile entry is separable from the problem in getting a file to compile. (The problem persists no matter what line I have in .bash-profile.) Alan On Dec 1, 2009, at 15;28,29 , Peter Münster wrote: On Tue, Dec 01 2009, Bowen Alan C. wrote: I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Hello Alan, You don't need setuptex. Just add this line to your .bash_profile or .bashrc: PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On 1 déc. 2009, at 22:09, Bowen Alan C. wrote: Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815 when I compile as file with both or with either one alone. Alan Hi Alan, It doesn't matter if first-setup.sh, or setuptex, whichever, installs two directories /tex/texmf-osx-64/bin and /tex/texmf-osx-intel/bin in the folder where you have first-setup.sh. As far as I am concerned, running Mac OS X 10.6.2, I even removed manually the folder /tex/texmf-osx-intel/bin, and everything works fine. Something which seems strange to me is the line you have in your .bash_profile which has: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ this seems unorthodox… In any case this /Applications/ConTeXtMinimals/tex/ should not be there and you should remove it. In order to locate the problem, you may remove this line and then in a Terminal window issue the command: source /Applications/ConTeXtMinimals/tex/setuptex (Using source is better than the. in my humble opinion). Next issue the command which context in order to see what binary context is going to be executed when you typeset a file. Finally, assuming that you have the right context binary, typeset a test file, named for instance myfile.tex, by issuing the command: context myfile.tex in the directory where myfile.tex is present. Good luck: OK ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Bowen Alan C. wrote: Hi, Otared, Thanks for the tip. The first problem is that ../first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get is there a startus file? if so, delete that one (or try a fresh minimals) the problem is that in order to figure out the osx 32/64 mess several hacks have been tried 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Hello all, thanks for help Li. It seems since the latest beta this name: is obligatory. However, now i get an error (see attachment). I think its the same error reported in [ntg-context] font-syn.lua error. keine otf fonts.log Description: Binary data keine otf fonts.tex Description: Binary data best regards Bernhard Am 22.11.2009 um 02:34 schrieb Yanrui Li: 2009/11/22 Bernhard Rosensteiner brosenstei...@gmail.com: Hello all, now i only have attached the .log and .tex (minimal example) files (first i attached the .otf font too). My problem with the otf font loading still exists (even after completely removing the old minimals and uptating via first-setup.sh). All my documents compile normal but the fonts are not visible (in one document i can see some strange numbers...predominantly 9) no matter what otf font i use (all my fonts are located in /Users/bernhardrosensteiner/Library/Fonts). All graphic related stuff works normal even the defined position on the paper is right. Fallback fonts (normal cmr) works (when i out-comment the \definefont line in my minimal example). I have Mac OS X 10.6. You can try \definefont[TitleFont][name:GaramondPremrPro-Disp at 30pt] -- Best regards, Li Yanrui ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
2009/11/21 Yanrui Li liyanrui...@gmail.com: 2009/11/21 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: 2009/11/20 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: I did so and solved this problem. However I can not use Chinese OTF fonts such as 'AdobeSongStd-Light.otf', because luatex need very very large memory to load it in the stage of *enhancing* . This is a test file: \definefont[song][name:adobesongstd] \starttext \song 测试 \stoptext The process of compiling stops here: !load otf : loading: /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash: adobesongstd-light) !load otf : file size: 16229772 !load otf : enhancing ... that's only the first time But it looks like abnormal. It is still *enhancing* after spending 3.3GB memory and about 1 minute. Finally I got the message: fixed in beta, was some kind of loop Sorry for my noice. The problem still exists in the latest beta (2009.11.21 00:06, linux x86) which was installed after I removed the previous one completely. The problem just arise in loading Chinese OTF fonts. It is normal for loading Chinese TTF font. I find out that the problem is caused by the new 'resolvers.split_path' function in data-res.lua. It can be solved with the old 'resolvers.split_path' function instead of the new one. -- Best regards, Li Yanrui ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Hello all,i wrote an email last thursday but got no answer because of this:Your request to the ntg-context mailing listPosting of your message titled "fonts broken in recent ConTeXtmkiv...?"has been rejected by the list moderator. The moderator gave thefollowing reason for rejecting your request:"Your message was too big; please trim it to less than 64 KB in size."Any questions or comments should be directed to the list administratorat:ntg-context-ow...@ntg.nlwhatever... keine otf fonts.log Description: Binary data keine otf fonts.tex Description: Binary data now i only have attached the .log and .tex (minimal example) files (first i attached the .otf font too). My problem with the otf font loading still exists (even after completely removing the old minimals and uptating via first-setup.sh). All my documents compile normal but the fonts are not visible (in one document i can see some strange numbers...predominantly 9) no matter what otf font i use (all my fonts are located in /Users/bernhardrosensteiner/Library/Fonts). All graphic related stuff works normal even the defined position on the paper is right. Fallback fonts (normal cmr) works (when i out-comment the \definefont line in my minimal example). I have Mac OS X 10.6.please helpbest regardsBernhardAm 21.11.2009 um 02:28 schrieb Yanrui Li:2009/11/21 Hans Hagen pra...@wxs.nl:Yanrui Li wrote:2009/11/20 Hans Hagen pra...@wxs.nl:Yanrui Li wrote:I did so and solved this problem. However I can not use Chinese OTFfonts such as 'AdobeSongStd-Light.otf', because luatex need very verylarge memory to load it in the stage of *enhancing* . This is a testfile:\definefont[song][name:adobesongstd]\starttext\song 测试\stoptextThe process of compiling stops here:!load otf: loading:/usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash:adobesongstd-light)!load otf: file size: 16229772!load otf: enhancing ...that's only the first timeBut it looks like abnormal. It is still *enhancing* after spending3.3GB memory and about 1 minute. Finally I got the message:fixed in beta, was some kind of loopSorry for my noice. The problem still exists in the latest beta(2009.11.21 00:06, linux x86) which was installed after I removed theprevious one completely. The problem just arise in loading Chinese OTFfonts. It is normal for loading Chinese TTF font.-- Best regards,Li Yanrui___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-contextwebpage : http://www.pragma-ade.nl / http://tex.aanhet.netarchive : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
2009/11/22 Bernhard Rosensteiner brosenstei...@gmail.com: Hello all, now i only have attached the .log and .tex (minimal example) files (first i attached the .otf font too). My problem with the otf font loading still exists (even after completely removing the old minimals and uptating via first-setup.sh). All my documents compile normal but the fonts are not visible (in one document i can see some strange numbers...predominantly 9) no matter what otf font i use (all my fonts are located in /Users/bernhardrosensteiner/Library/Fonts). All graphic related stuff works normal even the defined position on the paper is right. Fallback fonts (normal cmr) works (when i out-comment the \definefont line in my minimal example). I have Mac OS X 10.6. You can try \definefont[TitleFont][name:GaramondPremrPro-Disp at 30pt] -- Best regards, Li Yanrui ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] latest beta: trouble with font loading
Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? Thomas ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Thomas A. Schmitz wrote: Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? I changed that line to: if not data or not next(data) or not next(data.specifications) then and now it works again. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Taco Hoekwater wrote: Thomas A. Schmitz wrote: Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? I changed that line to: if not data or not next(data) or not next(data.specifications) then and now it works again. otoh: it now always returns only one font ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Am 20.11.2009 um 11:45 schrieb Thomas A. Schmitz: Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? 1. delete the luatex cache 2. luatools --selfupdate mtxrun --selfupdate 3. luatools --generate Wolfgang ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
2009/11/20 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 20.11.2009 um 11:45 schrieb Thomas A. Schmitz: Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? 1. delete the luatex cache 2. luatools --selfupdate mtxrun --selfupdate 3. luatools --generate I did so and solved this problem. However I can not use Chinese OTF fonts such as 'AdobeSongStd-Light.otf', because luatex need very very large memory to load it in the stage of *enhancing* . This is a test file: \definefont[song][name:adobesongstd] \starttext \song 测试 \stoptext The process of compiling stops here: !load otf : loading: /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash: adobesongstd-light) !load otf : file size: 16229772 !load otf : enhancing ... ^C -- Best regards, Li Yanrui ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Thomas A. Schmitz wrote: Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? i'll add a safeguard once you get it working you may also try: mtxrun --script fonts --list --spec gentium ok, gentium is a bad example but some fonts report weight, style and width info (given that we have a sane font) you can in context now use \definefont[ThomasFavourite][spec:somename-bold-italic] \definefont[ThomasFavourite][spec:somename-bold] \definefont[ThomasFavourite][spec:somename-italic] \definefont[ThomasFavourite][spec:somename-bold-italic-condensed] etc. kind of experimental, as everything mkiv (and not to be confused with the simple fonts alternative) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
On Nov 20, 2009, at 1:17 PM, Wolfgang Schuster wrote: Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? 1. delete the luatex cache 2. luatools --selfupdate mtxrun --selfupdate 3. luatools --generate Taco, Wolfgang, thanks for your replies. Wolfgang: that doesn't change anything here. Taco: after applying this patch, a luatex-cache hangs at !load otf : loading: /Users/tas/texmf/fonts/truetype/greek/gentium/GenAR102.TTF (hash: genar102-gentium) So it looks like the font loading mechanism has some deeper problems. The same binary works as exoected with an older version of ConTeXt, so it doesn't appear to be a luatex problem. All best Thomas ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Thomas A. Schmitz wrote: On Nov 20, 2009, at 1:17 PM, Wolfgang Schuster wrote: Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? 1. delete the luatex cache 2. luatools --selfupdate mtxrun --selfupdate 3. luatools --generate Taco, Wolfgang, thanks for your replies. Wolfgang: that doesn't change anything here. Taco: after applying this patch, a luatex-cache hangs at !load otf : loading: /Users/tas/texmf/fonts/truetype/greek/gentium/GenAR102.TTF (hash: genar102-gentium) So it looks like the font loading mechanism has some deeper problems. The same binary works as exoected with an older version of ConTeXt, so it doesn't appear to be a luatex problem. do you have a small test 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Yanrui Li wrote: 2009/11/20 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 20.11.2009 um 11:45 schrieb Thomas A. Schmitz: Hi Hans, all, the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box: mtxrun --script fonts --list --pattern=*gentium* ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil) Any pointers? 1. delete the luatex cache 2. luatools --selfupdate mtxrun --selfupdate 3. luatools --generate I did so and solved this problem. However I can not use Chinese OTF fonts such as 'AdobeSongStd-Light.otf', because luatex need very very large memory to load it in the stage of *enhancing* . This is a test file: \definefont[song][name:adobesongstd] \starttext \song 测试 \stoptext The process of compiling stops here: !load otf : loading: /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash: adobesongstd-light) !load otf : file size: 16229772 !load otf : enhancing ... that's only the first time - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
2009/11/20 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: I did so and solved this problem. However I can not use Chinese OTF fonts such as 'AdobeSongStd-Light.otf', because luatex need very very large memory to load it in the stage of *enhancing* . This is a test file: \definefont[song][name:adobesongstd] \starttext \song 测试 \stoptext The process of compiling stops here: !load otf : loading: /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash: adobesongstd-light) !load otf : file size: 16229772 !load otf : enhancing ... that's only the first time But it looks like abnormal. It is still *enhancing* after spending 3.3GB memory and about 1 minute. Finally I got the message: !load otf : loading: /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash: adobesongstd-light) !load otf : file size: 16229772 !load otf : enhancing ... ! LuaTeX fatal error not enough memory. \lowleveldefinefont ...dimexpr \textface \relax )} \edef \somefontspec {at \s... \dododefinefont ...inefont {#2}\rawfontidentifier \csname \rawfontidentifier... l.3 \song 测试 ! == Fatal error occurred, no output PDF file produced!MTXrun | fatal error: return code: 1 -- Best regards, Li Yanrui ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
On Nov 20, 2009, at 1:50 PM, Hans Hagen wrote: do you have a small test file? Not yet. It looks like it has something to do with font features, but I can't reproduce it with a minimal file yet (it occurs in a presentation with our simple-slides module). I'll try and see if I can find a small file that triggers the error. Thomas ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
Yanrui Li wrote: 2009/11/20 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: I did so and solved this problem. However I can not use Chinese OTF fonts such as 'AdobeSongStd-Light.otf', because luatex need very very large memory to load it in the stage of *enhancing* . This is a test file: \definefont[song][name:adobesongstd] \starttext \song 测试 \stoptext The process of compiling stops here: !load otf : loading: /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash: adobesongstd-light) !load otf : file size: 16229772 !load otf : enhancing ... that's only the first time But it looks like abnormal. It is still *enhancing* after spending 3.3GB memory and about 1 minute. Finally I got the message: fixed in beta, was some kind of loop - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta: trouble with font loading
2009/11/21 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: 2009/11/20 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: I did so and solved this problem. However I can not use Chinese OTF fonts such as 'AdobeSongStd-Light.otf', because luatex need very very large memory to load it in the stage of *enhancing* . This is a test file: \definefont[song][name:adobesongstd] \starttext \song 测试 \stoptext The process of compiling stops here: !load otf : loading: /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash: adobesongstd-light) !load otf : file size: 16229772 !load otf : enhancing ... that's only the first time But it looks like abnormal. It is still *enhancing* after spending 3.3GB memory and about 1 minute. Finally I got the message: fixed in beta, was some kind of loop Sorry for my noice. The problem still exists in the latest beta (2009.11.21 00:06, linux x86) which was installed after I removed the previous one completely. The problem just arise in loading Chinese OTF fonts. It is normal for loading Chinese TTF font. -- Best regards, Li Yanrui ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta doesn't process my xml files
Thomas A. Schmitz wrote: Hi Hans, more serious: today's beta doesn't process my xml files. Too late today for a minimal example; maybe the error can give a clue: systems : end file vorlesung-mkiv at line 1 systems : begin file historiker at line 1 ! LuaTeX error no string to print stack traceback: [C]: in function 'texsprint' ...text/tex/texmf-context/tex/context/base/lxml-ent.lua:47: in function ...text/tex/texmf-context/tex/context/base/lxml-ent.lua:37 [C]: in function 'match' ...text/tex/texmf-context/tex/context/base/lxml-tex.lua:498: in function '@tx@' ...text/tex/texmf-context/tex/context/base/lxml-tab.lua:751: in function '@dc@' ...text/tex/texmf-context/tex/context/base/lxml-tab.lua:774: in function 'xmlserialize' ...text/tex/texmf-context/tex/context/base/lxml-tex.lua:545: in function 'xmlsprint' ...text/tex/texmf-context/tex/context/base/lxml-tex.lua:1207: in function 'flush' main ctx instance:1: in main chunk. \xmlflush #1-\ctxlua {lxml.flush(#1)} \dostructurecomponent ...uctureparameter \c!title }\xdef \currentstructurebo... \doregisterstructurehead ... \c!command =, #2][#3] \reportcurrentstructure \dohandlestructurehead ...ructurehead {#1}{#2}{#3} \let \getstructureheadsync... l.8 } \xmlflush #1-\ctxlua {lxml.flush(#1)} l.2 \xmlprocess{\xmldocument}{./historiker.xml}{} ? ^\/Users/tas/context/tex/texmf-osx-intel/bin/context: line 2: 3064 Same file with same environment processed without problems by version: 2009.10.02 13:14 Thank goodness I still have an older version around... in lxml-ent.lua ... function xml.resolved_entity(str) local e = xml.entities[str] if e then local te = type(e) if te == function then e(str) elseif e then texsprint(ctxcatcodes,e) end else texsprint(ctxcatcodes,\\xmle{,str,}{,utfupper(str),}) -- we need to use our own upper end end there has been quite some changes in the xml machinery; what exactly do you do with entities? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta doesn't process my xml files
On Oct 20, 2009, at 3:52 PM, Hans Hagen wrote: in lxml-ent.lua ... function xml.resolved_entity(str) local e = xml.entities[str] if e then local te = type(e) if te == function then e(str) elseif e then texsprint(ctxcatcodes,e) end else texsprint(ctxcatcodes,\\xmle{,str,}{,utfupper(str),}) -- we need to use our own upper end end Thank you Hans, but that's not yet the solution. I still get the same error. I thought it might be related to the fact that I had the entity hfill; in my titles, but even after removing it, I still get the error. there has been quite some changes in the xml machinery; what exactly do you do with entities? Well, I just map a few special characters and commands to entities. In my environment, I have \setupxml[entities=mkii] and then stuff like this: \defineXMLentity[smallspace]{\,} \defineXMLentity[percent]{\percent} \defineXMLentity[onequarter]{\onequarter} \defineXMLentity[threequarter]{\threequarter} \defineXMLentity[onehalf]{\onehalf} \defineXMLentity[textellipsis]{\textellipsis} \defineXMLentity[nbsp]{~} \defineXMLentity[hfill]{\hfill} Is there a different way for doing this now? All best Thomas ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] latest beta doesn't process my xml files
Hi Hans, more serious: today's beta doesn't process my xml files. Too late today for a minimal example; maybe the error can give a clue: systems : end file vorlesung-mkiv at line 1 systems : begin file historiker at line 1 ! LuaTeX error no string to print stack traceback: [C]: in function 'texsprint' ...text/tex/texmf-context/tex/context/base/lxml-ent.lua:47: in function ...text/tex/texmf-context/tex/context/base/lxml-ent.lua:37 [C]: in function 'match' ...text/tex/texmf-context/tex/context/base/lxml-tex.lua:498: in function '@tx@' ...text/tex/texmf-context/tex/context/base/lxml-tab.lua:751: in function '@dc@' ...text/tex/texmf-context/tex/context/base/lxml-tab.lua:774: in function 'xmlserialize' ...text/tex/texmf-context/tex/context/base/lxml-tex.lua:545: in function 'xmlsprint' ...text/tex/texmf-context/tex/context/base/lxml-tex.lua:1207: in function 'flush' main ctx instance:1: in main chunk. \xmlflush #1-\ctxlua {lxml.flush(#1)} \dostructurecomponent ...uctureparameter \c!title }\xdef \currentstructurebo... \doregisterstructurehead ... \c!command =, #2][#3] \reportcurrentstructure \dohandlestructurehead ...ructurehead {#1}{#2}{#3} \let \getstructureheadsync... l.8 } \xmlflush #1-\ctxlua {lxml.flush(#1)} ... l.2 \xmlprocess{\xmldocument}{./historiker.xml}{} ? ^\/Users/tas/context/tex/texmf-osx-intel/bin/context: line 2: 3064 Same file with same environment processed without problems by version: 2009.10.02 13:14 Thank goodness I still have an older version around... All best Thomas ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta has trouble loading fonts on OS X
2. Where is OSFONTDIR set on mkiv? I specifically do NOT want my system fonts used by ConTeXt; everything I want to use with TeX is in one of my texmf trees. How can I prevent mkiv from taking the system paths into account? indeed, putting them in the tree is more robust (and controllable) mojca is supposed to know the osfontdir details May I jump in here with a question? The other day I realized that whatever OSFONTDIR is set in texmf.cnf is overridden in luatools.lua mtxrun.lua data-res.lua and possibly in other files, too. While these fix functions point to the correct osx font directories 1. ~/Library/Fonts 2. /Library/Fonts 3. /System/Library/Fonts and set things up as intended for most scenarios presumably, we're losing quite a bit of flexibility here I guess. Are this fix functions considered a temporary workaround or are they part of a larger plan? If they're just a hack, I'm wondering whether we could delegate control over OSFONTDIR back to the configuration files ... Oliver PGP.sig Description: Signierter Teil der Nachricht ___ 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 ___
Re: [NTG-context] latest beta has trouble loading fonts on OS X
Oliver Buerschaper wrote: 2. Where is OSFONTDIR set on mkiv? I specifically do NOT want my system fonts used by ConTeXt; everything I want to use with TeX is in one of my texmf trees. How can I prevent mkiv from taking the system paths into account? indeed, putting them in the tree is more robust (and controllable) mojca is supposed to know the osfontdir details May I jump in here with a question? The other day I realized that whatever OSFONTDIR is set in texmf.cnf is overridden in luatools.lua mtxrun.lua data-res.lua only data-res, as the others use that (merged) ... i'll add a check for cnf settings and possibly in other files, too. While these fix functions point to the correct osx font directories 1. ~/Library/Fonts 2. /Library/Fonts 3. /System/Library/Fonts and set things up as intended for most scenarios presumably, we're losing quite a bit of flexibility here I guess. Are this fix functions considered a temporary workaround or are they part of a larger plan? If they're just a hack, I'm wondering whether we could delegate control over OSFONTDIR back to the configuration files ... the problem is that it's kind of unofficial and we cannot be soure if it's set. anyhow, i'll also test the cnf data local ie, iv = instance.environment, instance.variables local function fix(varname,default) local proname = varname .. . .. instance.progname or crap local p, v = ie[proname], ie[varname] or iv[varname] if not ((p and p ~= ) or (v and v ~= )) then iv[varname] = default -- or environment? end end 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 ___
Re: [NTG-context] latest beta has trouble loading fonts on OS X
Hi all, Hans Hagen wrote: currently only loading dfonts is implemented; the backend code in luatex has to be written yet (will happen soon) A note for the brave: as of a few minutes ago, the luatex source (trunk) in the supelec.fr repository is capable of handling dfont files in the backend as well (you will also need the latest context beta, of course). There will be a normal luatex beta sometime next week, but it would be nice if some of the Mac-enabled people that know how to compile luatex, could try to see if it really works 'in the wild'. Best wishes, Taco ___ 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 ___
Re: [NTG-context] latest beta has trouble loading fonts on OS X
Am 14.08.2009 um 16:24 schrieb Taco Hoekwater: There will be a normal luatex beta sometime next week, but it would be nice if some of the Mac-enabled people that know how to compile luatex, could try to see if it really works 'in the wild'. The fonts are found $ mtxrun --script fonts --list --pattern=baskerville* baskervilleBaskerville /Library/Fonts/ Baskerville.dfont (sub) baskervilleboldBaskerville Bold /Library/Fonts/ Baskerville.dfont (sub) baskervillebolditalic Baskerville Bold Italic /Library/Fonts/ Baskerville.dfont (sub) baskervilleitalic Baskerville Italic /Library/Fonts/ Baskerville.dfont (sub) baskervillesemiboldBaskerville SemiBold /Library/Fonts/ Baskerville.dfont (sub) baskervillesemibolditalic Baskerville SemiBold Italic /Library/Fonts/ Baskerville.dfont (sub) but this \starttext {\definedfont[name:baskerville*default]Baskerville} \stoptext fails !LuaTeX error: writefont.c: The file (/Library/Fonts/ Baskerville.dfont) does not contain font `Baskerville-2' == Fatal error occurred, no output PDF file produced! Wolfgang ___ 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 ___
Re: [NTG-context] latest beta has trouble loading fonts on OS X
Wolfgang Schuster wrote: but this \starttext {\definedfont[name:baskerville*default]Baskerville} \stoptext fails !LuaTeX error: writefont.c: The file (/Library/Fonts/Baskerville.dfont) does not contain font `Baskerville-2' That is a somewhat weird font name. Can you run the code below to see that font name info it reports for that dfont file? \starttext \ctxlua { print( table.serialize( fontloader.info('/Library/Fonts/Baskerville.dfont')))} \stoptext Best wishes, Taco ___ 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 ___
Re: [NTG-context] latest beta has trouble loading fonts on OS X
Am 14.08.2009 um 17:28 schrieb Taco Hoekwater: That is a somewhat weird font name. Can you run the code below to see that font name info it reports for that dfont file? I get the same message with Optima, American Typewriter and Futura. \starttext \ctxlua { print( table.serialize( fontloader.info('/Library/Fonts/Baskerville.dfont')))} \stoptext t={ { [familyname]=Baskerville, [fontname]=Baskerville-Bold, [fullname]=Baskerville Bold, [italicangle]=0, [version]=6.0d2e1, [weight]=Bold, }, { [familyname]=Baskerville, [fontname]=Baskerville-SemiBold, [fullname]=Baskerville SemiBold, [italicangle]=0, [version]=6.0d2e1, [weight]=Demi, }, { [familyname]=Baskerville, [fontname]=Baskerville-SemiBoldItalic, [fullname]=Baskerville SemiBold Italic, [italicangle]=-17, [version]=6.0d2e1, [weight]=Demi, }, { [familyname]=Baskerville, [fontname]=Baskerville-Italic, [fullname]=Baskerville Italic, [italicangle]=-17, [version]=6.0d2e1, [weight]=Book, }, { [familyname]=Baskerville, [fontname]=Baskerville, [fullname]=Baskerville, [italicangle]=0, [version]=6.0d2e1, [weight]=Book, }, { [familyname]=Baskerville, [fontname]=Baskerville-BoldItalic, [fullname]=Baskerville Bold Italic, [italicangle]=-17, [version]=6.0d2e1, [weight]=Bold, }, } Wolfgang ___ 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 ___
[NTG-context] latest beta has trouble loading fonts on OS X
Hi all, Hans, I have trouble using my own fonts with the latest beta on my OS X box. The problem appears to be that it is unable to create the database. When I run (on mtxrun --script fonts --list I get as the last lines of my output MTXrun | fontnames: globbing path /Library/Fonts/**.dfont MTXrun | fontnames: globbing path /System/Library/Fonts/**.dfont font loading failed for /System/Library/Fonts/Keyboard.dfont It appears this particular font cannot be loaded, so the entire database fails. On my linux laptop, everything works as expected. So my questions are: 1. What can be done about it? 2. Where is OSFONTDIR set on mkiv? I specifically do NOT want my system fonts used by ConTeXt; everything I want to use with TeX is in one of my texmf trees. How can I prevent mkiv from taking the system paths into account? All best Thomas ___ 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 ___
Re: [NTG-context] latest beta has trouble loading fonts on OS X
Thomas A. Schmitz wrote: Hi all, Hans, I have trouble using my own fonts with the latest beta on my OS X box. The problem appears to be that it is unable to create the database. When I run (on mtxrun --script fonts --list I get as the last lines of my output MTXrun | fontnames: globbing path /Library/Fonts/**.dfont MTXrun | fontnames: globbing path /System/Library/Fonts/**.dfont font loading failed for /System/Library/Fonts/Keyboard.dfont It appears this particular font cannot be loaded, so the entire database fails. On my linux laptop, everything works as expected. So my questions are: 1. What can be done about it? currently only loading dfonts is implemented; the backend code in luatex has to be written yet (will happen soon) 2. Where is OSFONTDIR set on mkiv? I specifically do NOT want my system fonts used by ConTeXt; everything I want to use with TeX is in one of my texmf trees. How can I prevent mkiv from taking the system paths into account? indeed, putting them in the tree is more robust (and controllable) mojca is supposed to know the osfontdir details 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 ___
Re: [NTG-context] Latest beta doesn't load modules
On Aug 7, 2009, at 11:05 PM, Thomas A. Schmitz wrote: On Aug 7, 2009, at 11:00 PM, Wolfgang Schuster wrote: can you make a example or test it first with a newer luatex because i have no problems with modules This is LuaTeX, Version beta-0.42.0-2009080712 ConTeXt ver: 2009.08.07 11:22 MKIV fmt: 2009.8.7 int: english/ english Oops, sorry for the noise: this was on my laptop. Just tried on my desktop, and here it works indeed. Must be something else; I will report back. Thomas I ran the first-setup.sh script again, and now it works flawlessly... Must have been bit rot. Sorry for the noise! Thomas ___ 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 ___
[NTG-context] Latest beta doesn't load modules
Hi Hans, the latest beta is unabel to load external modules. luatools knows where the module is: luatools t-simpleslides.tex /Users/tas/texmf/tex/context/third/simple-slides/t-simpleslides.tex And yet, it claims it's unable to find it (after saying it has loaded the module): system : module simpleslides.tex loaded ! I can't find file `t-simpleslides'. to be read again \relax \dodoreadfile ...ax \inputgivenfile \readfilename \relax \the \everyafterrea... \next ...)}\settrue \moduleisloaded } \donothing } \stopreadingfile argument ...es \f!thirdprefix {simpleslides.tex} \dododousemodules \empty {... \firstoftwoarguments #1#2-#1 \dodousemodules ...}}{\dododousemodules {#1-}{#2}} \ifconditional \moduleislo... ... l.6 Same file compiles fine with current stable. All best Thomas ___ 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 ___
Re: [NTG-context] Latest beta doesn't load modules
Am 07.08.2009 um 22:49 schrieb Thomas A. Schmitz: the latest beta is unabel to load external modules. luatools knows where the module is: can you make a example or test it first with a newer luatex because i have no problems with modules This is LuaTeX, Version beta-0.42.0-2009080712 ConTeXt ver: 2009.08.07 11:22 MKIV fmt: 2009.8.7 int: english/english Wolfgang ___ 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 ___
Re: [NTG-context] Latest beta doesn't load modules
On Aug 7, 2009, at 11:00 PM, Wolfgang Schuster wrote: can you make a example or test it first with a newer luatex because i have no problems with modules This is LuaTeX, Version beta-0.42.0-2009080712 ConTeXt ver: 2009.08.07 11:22 MKIV fmt: 2009.8.7 int: english/ english Oops, sorry for the noise: this was on my laptop. Just tried on my desktop, and here it works indeed. Must be something else; I will report back. Thomas ___ 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 ___
[NTG-context] Latest XML advice.
I have in hand a huge document (587 modules) in xml DocBook format. It constitutes the documentation for Gimp. I also have the Context xml manual but can't seem to figure out how to make it work. The root document (or what I assume is the root document) contains statements like this: part titleGetting Started/title chapter id=introduction titleIntroduction/title xi:include href=introduction.xml/ xi:include href=introduction/whats-new.xml/ /chapter and so on. When I tried simply texexec gimp.xml I got a one page document that listed the titles in one long string but none of the content of the subdocs referenced. So I added near the top \defineXMLenvironment [gimp] {(} {)} \enableXML and got more or less the same results. Hints? -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html ___ 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 ___
[NTG-context] Latest beta and MKII problem
The latest beta (ConTeXt ver: 2009.05.28 14:36 MKII fmt: 2009.5.28 int: english/english) no longer processes my files: all I get is complaints about an extra \else. That is, \definehead[LevelCHead][chapter] \setuphead[LevelCHead][style={\tf \it},alternative=text,number=no,page=no] \starttext Hello world! \LevelCHead{Hello world!} Donec placerat. Nullam nibh dolor, blandit sed, fermentum id, imperdiet sit amet, neque. Nam mollis ultrices justo. Sed tempor. \stoptext gets ! Extra \else. \doplaceheadtext ...er #2}\makestrutofbox 0 \else \setbox 0= \ifvertical \vbo... \dodododoconstructhead ...{\finalsectionnumber }}} \writesection {#1} {-}{#4}\... l.9 \LevelCHead{Hello world!} Donec placerat. Nullam nibh dolor, blandit sed... ? Alan ___ 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 ___
Re: [NTG-context] Latest beta and MKII problem
Bowen Alan C. wrote: The latest beta (ConTeXt ver: 2009.05.28 14:36 MKII fmt: 2009.5.28 int: english/english) no longer processes my files: all I get is complaints about an extra \else. That is, repaired (a file got lost; i'm reshuffling some files as part of the mkii/mkiv split) 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 ___
Re: [NTG-context] Latest beta and MKII problem
Thanks, Hans! Alan On May 29, 2009, at 09;50,46 , Hans Hagen wrote: Bowen Alan C. wrote: The latest beta (ConTeXt ver: 2009.05.28 14:36 MKII fmt: 2009.5.28 int: english/english) no longer processes my files: all I get is complaints about an extra \else. That is, repaired (a file got lost; i'm reshuffling some files as part of the mkii/mkiv split) 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 ___ ___ 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 ___
[NTG-context] latest beta problem (minimals)
The installation process is interrupted by report I can't find file `core-dat.tex'. Alan ___ 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 ___
Re: [NTG-context] latest beta problem (minimals)
Bowen Alan C. wrote: The installation process is interrupted by report I can't find file `core-dat.tex'. i'll fix it; in contex.mkii remove the line that loads it - 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 ___
Re: [NTG-context] latest beta problem (minimals)
That’s got it. Many thanks! Alan On May 29, 2009, at 17;35,03 , Hans Hagen wrote: Bowen Alan C. wrote: The installation process is interrupted by report I can't find file `core-dat.tex'. i'll fix it; in contex.mkii remove the line that loads it - 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 ___
[NTG-context] latest beta, xp interface
Hi all, is this a known problem with interface=xp? If so, sorry for the noise... \starttext This is \pagenumber\ of \lastpage \page This is \pagenumber\ of \lastpage \stoptext All best Thomas ___ 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 ___
Re: [NTG-context] latest beta, xp interface
Thomas A. Schmitz wrote: Hi all, is this a known problem with interface=xp? If so, sorry for the noise... \starttext This is \pagenumber\ of \lastpage \page This is \pagenumber\ of \lastpage \stoptext the next beta will be the merged xp version; so just collect bugs and we'll sort them out (i cannot upload now because the next mkiv needs a luatex 0.38) 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 ___
Re: [NTG-context] latest beta (MKII/Greek module)
Bowen Alan C. wrote: I am finding that the latest beta fails when asked to set ancient Greek using Thomas’ module and the MKII engine. The error message reads: ! Missing \endcsname inserted. to be read again \@@laagrpatterns i need a small test file ... (there has been some cleanup in that area, esp in the loading of patterns as we can now safely assume all distribitions to have tex configured with enough pattern mem) 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 ___
Re: [NTG-context] latest beta (MKII/Greek module)
On Mar 22, 2009, at 3:38 PM, Hans Hagen wrote: i need a small test file ... It doesn't get smaller than that: :-) \starttext \language[ancientgreek] Hello World! \stoptext Thomas ___ 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 ___
Re: [NTG-context] latest beta (MKII/Greek module)
Thomas A. Schmitz wrote: On Mar 22, 2009, at 3:38 PM, Hans Hagen wrote: i need a small test file ... It doesn't get smaller than that: :-) \starttext \language[ancientgreek] Hello World! \stoptext ok, new beta for testing - 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 ___
Re: [NTG-context] latest beta (MKII/Greek module)
On Mar 22, 2009, at 4:56 PM, Hans Hagen wrote: ok, new beta for testing Works here! Thanks Thomas ___ 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 ___
Re: [NTG-context] latest beta (MKII/Greek module)
Thanks, Hans and Thomas! Alan On Mar 22, 2009, at 12;22,27 , Thomas A. Schmitz wrote: On Mar 22, 2009, at 4:56 PM, Hans Hagen wrote: ok, new beta for testing Works here! Thanks Thomas ___ 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 ___
Re: [NTG-context] latest beta - Math error
Thomas A. Schmitz wrote: On Mar 2, 2009, at 11:32 PM, Hans Hagen wrote: does this work at your end? \starttext $\approx$ \stoptext Yes, unfortunately it does... strange, since it works ok here; maybe deleting the font cache helps 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 ___
Re: [NTG-context] latest beta - Math error
Hans Hagen wrote: Thomas A. Schmitz wrote: On Mar 2, 2009, at 11:32 PM, Hans Hagen wrote: does this work at your end? \starttext $\approx$ \stoptext Yes, unfortunately it does... strange, since it works ok here; maybe deleting the font cache helps If both work, then maybe the xml is using a different math font set? Best wishes, Taco ___ 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 ___
Re: [NTG-context] latest beta - Math error
On Mar 3, 2009, at 9:09 AM, Hans Hagen wrote: Yes, unfortunately it does... strange, since it works ok here; maybe deleting the font cache helps I meant, unfortunately it does work since this made finding the error much harder... Anyway, I have now found a minimal file that shows one error. I couldn't make the error appear with a buffer, only when I had xml + environment file. Here comes: ?xml version=1.0 encoding=utf-8? auth sectioncontentHello lt;/content/section /auth teststyle.tex Description: Binary data Hope this is reproducible All best Thomas___ 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 ___
Re: [NTG-context] latest beta - Math error
On Tue, Mar 3, 2009 at 11:44 AM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: Anyway, I have now found a minimal file that shows one error. I couldn't make the error appear with a buffer, only when I had xml + environment file. A ConTeXt version of the filecontents for LaTeX would be handy in such cases. Wolfgang ___ 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 ___
Re: [NTG-context] latest beta - Math error
Wolfgang Schuster wrote: On Tue, Mar 3, 2009 at 11:44 AM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: Anyway, I have now found a minimal file that shows one error. I couldn't make the error appear with a buffer, only when I had xml + environment file. so ... what is the test file then? A ConTeXt version of the filecontents for LaTeX would be handy in such cases. i have no clue what this means 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 ___
Re: [NTG-context] latest beta - Math error
Am 03.03.2009 um 12:23 schrieb Hans Hagen: A ConTeXt version of the filecontents for LaTeX would be handy in such cases. i have no clue what this means Thomas was unable to show his problem with a buffer, the filecontents environment is like a buffer but writes the content to a file with a given name, e.g. test.tex \begin{filecontentents}{example.xml} ?xml version=1.0 encoding=utf-8? auth sectioncontentHello lt;/content/section /auth \end{filecontents} ... \starttext \xmlprocess{main}{example.xml}{} \stoptext /test.tex Everything between \begin/end{filecontents} is written to the file example.xml. This is handy for example given on the list because attatchments are a problem in the mail archive and you have to create only one tex file for the example. Here is a example but it works only on MkII. \unprotect \def\startfilecontents {\bgroup \protectbuffersfalse \dosingleargument\dostartfilecontents} \def\dostartfilecontents[#1]% {\beforesplitstring#1\at.\to\filename \aftersplitstring #1\at.\to\extension \let\f!temporaryextension\extension \dostartbuffer[\filename][startfilecontents][stopfilecontents]} \def\stopfilecontents {\doifdefined{savebuffer}{\savebuffer[\filename]}\egroup} \protect \startfilecontents[a1.txt] 1 5 2 4 3 8 4 9 8 8 \stopfilecontents \starttext \readfile{a1.txt}{}{} \stoptext Wolfgang ___ 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 ___
Re: [NTG-context] latest beta - Math error
On Mar 2, 2009, at 11:32 PM, Hans Hagen wrote: does this work at your end? \starttext $\approx$ \stoptext Yes, unfortunately it does... Thomas ___ 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 ___
[NTG-context] latest beta
Hi, with the latest beta of this morning and the latest luatex, a call like texexec --lua --env=mystyle myfile.xml fails, the environment file is not read (there is no error about not finding it in the log). Thomas ___ 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 ___
Re: [NTG-context] latest beta
Thomas A. Schmitz wrote: Hi, with the latest beta of this morning and the latest luatex, a call like texexec --lua --env=mystyle myfile.xml fails, the environment file is not read (there is no error about not finding it in the log). ah .. in core-def.tex ... \appendtoks \directsetup{*runtime:modules}\to \everyjob 's' missing in modules - 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 ___
Re: [NTG-context] latest beta
On Feb 5, 2009, at 4:25 PM, Hans Hagen wrote: ah .. in core-def.tex ... \appendtoks \directsetup{*runtime:modules}\to \everyjob 's' missing in modules OK, but now I get: ! LuaTeX error main ctx instance:1: attempt to index global 'ptbs' (a nil value) stack traceback: main ctx instance:1: in main chunk. \actualshipout ... \box \postponedcontent \box 0}} \else \message {[\ifarrang... \myshipout ... \fi {\thisisrealpage \realfolio #1} \gotonextrealpage \aftersh... \dofinaloutput ...agebody #1#2\setpagecounters }}} \fi \the \everyaftershipou... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... \sidefloatoutput ...e \else \finalsidefloatoutput \global \sidefloatvsize \n... argument ...\fi \else \the \defaultstreamoutput \fi ... l.330 \xmlprocess{main}{\inputfilename}{} ___ 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 ___
Re: [NTG-context] latest beta
Am 05.02.2009 um 16:47 schrieb Thomas A. Schmitz: On Feb 5, 2009, at 4:25 PM, Hans Hagen wrote: ah .. in core-def.tex ... \appendtoks \directsetup{*runtime:modules}\to \everyjob 's' missing in modules OK, but now I get: [...] l.330 \xmlprocess{main}{\inputfilename}{} Do you use the last LuaTeX version? I tried a example you send me and it works without problems. This is LuaTeX, Version snapshot-0.33.1-2009020413, build unknown Wolfgang ___ 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 ___
Re: [NTG-context] latest beta
On Feb 5, 2009, at 5:19 PM, Wolfgang Schuster wrote: Do you use the last LuaTeX version? I tried a example you send me and it works without problems. This is LuaTeX, Version snapshot-0.33.1-2009020413, build unknown Wolfgang This is LuaTeX, Version snapshot-0.33.1-2009020508, build 1856 I'll try with an older version of luatex, maybe the trunk version (which I compiled today) has a problem. Thomas ___ 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 ___
Re: [NTG-context] latest beta
On Feb 5, 2009, at 5:36 PM, Thomas A. Schmitz wrote: This is LuaTeX, Version snapshot-0.33.1-2009020508, build 1856 I'll try with an older version of luatex, maybe the trunk version (which I compiled today) has a problem. Thomas Nope, I get exactly the same error with luatex 0.33.0; not with all of my xml files, however. I'll have to see if I can isolate the error. Thanks for your reply, Wolfgang. Best Thomas ___ 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 ___
Re: [NTG-context] latest beta
On Feb 5, 2009, at 5:59 PM, Thomas A. Schmitz wrote: Nope, I get exactly the same error with luatex 0.33.0; not with all of my xml files, however. I'll have to see if I can isolate the error. Thanks for your reply, Wolfgang. Best Thomas OK, one problem is math support. Here's a minimal file that compiles with 2009.01.18 and fails with 2009.02.04: \definebodyfontenvironment[18pt] \usetypescriptfile[type-otf] \usetypescript[palatino] \setupbodyfont[palatino,18pt] \starttext test $\approx$ \stoptext Thomas ___ 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 ___
[NTG-context] Latest Notepad++ package for ConTeXt
Dear gang, I have uploaded the latest version of the ConTeXt support package for Notepad++. http://wiki.contextgarden.net/Image:Npp_ConTeXt-Uni.zip It has been updated to 5.1.4, the latest stable version. There are now two versions of Notepad++: ANSI and Unicode. The ANSI version is mostly a legacy version, which supports Win95/98/ME. Unicode Npp supports Unicode path names etc., and is the main release. Most to all important plugins have been ported to Unicode Npp; this and future versions of this package for ConTeXt will only support Unicode Npp from now on. Old plugins will not work with Unicode Npp, so be sure to remove them before installing the latest Npp. See https://sourceforge.net/forum/message.php?msg_id=5503888 for more details. NppExec console plugin is essential for this package. It is installed by default by the Npp installer. This support package includes a redundant NppExec plugin -- in case you forgot to install it ;-) -- as well as the Explorer plugin and the XBrackets plugin -- not included in the main distro. XBrackets provides bracket autocompletion and is configurable. Directory structure has changed a bit: Npp now stores some config settings in Application Data\Notepad++\plugins\config that used to be stored in eg Program Files\Notepad++\plugins\Config the startstop module has been moved to texmf-project. Most of its features are or soon will be made obsolete in mkiv. The run commands are now all linked to scripts. Shortcuts are in the Macros menu, and you by F6 you can open the scripts console and editor. This way it's easier to edit the commands as well as to keep up with changes in the way ConTeXt does things etc. All reference to aleph is gone, luatex is its successor. Update ConTeXt is almost certainly obsolete; I never use it anyway. Feel free to send me an updated script for inclusion. I have never used XeTeX, the XeTeX related scripts may need adjustment. Please send me any comments, suggestions, or improvements! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 ___
[NTG-context] latest beta
Hi all, Hi Hans, has anything changed in xml processing in the latest beta? My beautiful (!) collection of xml entities has stopped working. In my environment files, I have stuff such as \defineXMLentity[textellipsis]{\textellipsis} but only get the typeset textellipsis in my pdfs when I process them with mkiv. Bug or do I have to change anything in my files? All best Thomas ___ 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 ___
Re: [NTG-context] latest beta
Thomas A. Schmitz wrote: Hi all, Hi Hans, has anything changed in xml processing in the latest beta? My beautiful (!) collection of xml entities has stopped working. In my environment files, I have stuff such as \defineXMLentity[textellipsis]{\textellipsis} but only get the typeset textellipsis in my pdfs when I process them with mkiv. Bug or do I have to change anything in my files? so, how about a test file ... indeed something has changed, i.e. all encoding stuff is gone, but it should not affect too much do you use mkii xml or mkiv xml 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 ___
Re: [NTG-context] latest beta
Thomas A. Schmitz wrote: On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote: so, how about a test file ... Yes we can! Here comes: you mean http://www.trouw.nl/redactie/spotprent/woensdag160.gif -) 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 ___
Re: [NTG-context] latest beta
On Thu, Nov 6, 2008 at 4:38 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote: so, how about a test file ... Yes we can! Here comes: \startxmlsetups mytest \xmlsetsetup{main}{document|p}{*} \stopxmlsetups \xmlregistersetup{mytest} \startxmlsetups document \xmlflush{#1}\par \stopxmlsetups \startxmlsetups p \xmlflush{#1}\par \stopxmlsetups \defineXMLentity[textbar]{\textbar} \defineXMLentity[shorta]{\buildtextaccent\textbreve a} \startbuffer[test] ?xml version=1.0 encoding=UTF-8? document pHello textbar; shorta; World!/p /document \stopbuffer \starttext \xmlprocessbuffer{main}{test}{} \stoptext not ok here, I suppose. This is what I see : Hello [textbar] [shorta] World! 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.05 13:51 -- 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 ___
Re: [NTG-context] latest beta
Thomas A. Schmitz wrote: On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote: so, how about a test file ... Yes we can! Here comes Somehow I could ... new beta ... \setupxml[entities=mkii] pA textbar; B shorta; C dotlessi; D adiaeresis; E/p seems to work ok - 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 ___
Re: [NTG-context] latest beta
On Thu, Nov 6, 2008 at 7:46 PM, Hans Hagen [EMAIL PROTECTED] wrote: Thomas A. Schmitz wrote: On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote: so, how about a test file ... Yes we can! Here comes Somehow I could ... new beta ... \setupxml[entities=mkii] pA textbar; B shorta; C dotlessi; D adiaeresis; E/p seems to work ok yes . btw, current version has wrong value 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.56.06 19:11 -- 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 ___
Re: [NTG-context] latest beta
On Nov 6, 2008, at 7:46 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote: so, how about a test file ... Yes we can! Here comes Somehow I could ... new beta ... Yes, this looks much better - my entities are processed again! Thanks Hans! \setupxml[entities=mkii] Is a mkiv version of \defineXMLentity around yet, or is this just a placeholder for future developments? All best Thomas ___ 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 ___
Re: [NTG-context] latest beta
Thomas A. Schmitz wrote: On Nov 6, 2008, at 7:46 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote: so, how about a test file ... Yes we can! Here comes Somehow I could ... new beta ... Yes, this looks much better - my entities are processed again! Thanks Hans! \setupxml[entities=mkii] Is a mkiv version of \defineXMLentity around yet, or is this just a placeholder for future developments? remind me in a few weeks (i have a few solutions in mind but time ...) 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 ___
Re: [NTG-context] latest beta (again)
Thomas A. Schmitz wrote: Hans, I still have some problems with my fonts in the latest beta. Maybe it has to do with the latest optimizations. I'm just wondering: in my Greek typescripts, I define several fontfeatures and connect them with featurefiles, like so (just an example, the list is longer): hard to test without test files and fonts -) you can try \ctxlua{fonts.trace=true} and see what is handled % test file % % \starttypescript[serif][mine-1] % \definefontsynonym[Serif] [TeXGyrePagella-Regular] % \definefontsynonym[TeXGyrePagella-Regular][file:texgyrepagella-regular] % \stoptypescript % % \starttypescript[serif][mine-2] % \definefontsynonym[Serif] [TeXGyrePagella-Regular] [features=default] % \definefontsynonym[TeXGyrePagella-Regular][file:texgyrepagella-regular] [features=oldstyle] % \stoptypescript % % \starttypescript[serif][mine-3] % \definefontsynonym[Serif] [TeXGyrePagella-Regular] [features=oldstyle] % \definefontsynonym[TeXGyrePagella-Regular][file:texgyrepagella-regular] [features=default] % \stoptypescript % % \starttypescript[serif][mine-4] % \definefontsynonym[Serif] [TeXGyrePagella-Regular] [features=default] % \definefontsynonym[TeXGyrePagella-Regular][file:texgyrepagella-regular] [features=default] % \stoptypescript % % \starttypescript[serif][mine-5] % \definefontsynonym[Serif] [TeXGyrePagella-Regular] [features=oldstyle] % \definefontsynonym[TeXGyrePagella-Regular][file:texgyrepagella-regular] [features=oldstyle] % \stoptypescript % % \starttext % \dorecurse {5} { % \expanded{\definetypeface[mine-\recurselevel][rm][serif][mine-\recurselevel][default]} % \expanded{\setupbodyfont [mine-\recurselevel] mine-\recurselevel: text 1234567890 done} % \par % } % \blank % \dorecurse {5} { % \expanded{\definetypeface[more-\recurselevel][rm][serif][mine-\recurselevel][default][features=oldstyle]} % \expanded{\setupbodyfont [more-\recurselevel] mine-\recurselevel: text 1234567890 done} % \par % } % \stoptext - 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 ___