Re: [NTG-context] mtxrun exit code
On Fri, 29 May 2020 11:20:22 +0200 Hans van der Meer wrote: > I am producing a series of files in a shell script with mtxrun > --autogenerate --script context input Doing exit mtxrun... shows > there is no exit number to test in the shell The exit code from mtxrun works here: printf '%s\n' '\bye' > good.tex && mtxrun --autogenerate --script context good.tex; echo $? 0 printf '%s\n' '\by' > bad.tex && mtxrun --autogenerate --script context bad.tex; echo $? 1 Marco ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Sat, 15 Feb 2020, Floris van Manen wrote: On 15-02-2020 06:40, Rudolf Bahr wrote: I hope this helps you! At least in the case you're using linux. it appears as that many of the files in the two path are sort of identical: ~/data/context $ md5sum bin/mtxrun tex/texmf-linux-64/bin/luametatex b95ca64fabcb3f09edd861c4b87671cc bin/mtxrun b95ca64fabcb3f09edd861c4b87671cc tex/texmf-linux-64/bin/luametatex $ md5sum bin/mtxrun.lua tex/texmf-linux-64/bin/mtxrun.lua 4d73c3608cc2463e80c59942b3db7158 bin/mtxrun.lua 4d73c3608cc2463e80c59942b3db7158 tex/texmf-linux-64/bin/mtxrun.lua There is probably a reason for it ;-) But mtxrun looks for location of texmfcnf file based on its location, so which file is invoked makes a difference. Aditya ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
> Hi Luca, > > > 1) always writing the full path of the correct executable, > > I don't know which operating system you're using. On linux instead of > writing > the full path I'm using the command "alias" in my ".bashrc" file. So, > Adityas > proposal on mtxrun (Date: Wed, 12 Feb 2020 00:24:21 -0500 (EST)) becomes: > > alias context='~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate > --script > context' > with 'context-lmtx' being the directory, where I installed context. > With this you invoke your context file with "context your-file.tex" > I cancelled all context stuff in my PATH variable. Don't forget to 'source > ~/.bashrc' > afterwards. > > Hi Rudolf, thank you for your suggestion. I'm on linux but I'd prefer not to use this method, because I use context both from the command line and from my editor (emacs with auctex) and I have scripts that change my environment to be able to switch between different context versions (lmtx, texlive, ...). In any case, I'll think about this solution and it could be useful to other people, too. LD ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
Thank you Aditya, > My question is then how > > do you usually run mtxrun: > > 1) always writing the full path of the correct executable, > > 2) avoid putting [lmtx path]/bin in PATH, > > 3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in > > the PATH > > > > I always follow 2. I don't think that [lmtx path]/bin should ever be in > the PATH except when updating the installation. > > Then I will go with option 2), and report back if I encounter any problem. If this works well, then it could be useful to change the message shown at the end of the installation process, as Rudolf already suggested in this thread. By the way, you seem to imply that [lmtx path]/bin should be in the PATH during updates. I didn't know that and I'm sure I've updated several times without it: I have different environments to be able to switch between different versions of context (lmtx, the old one, that from texlive...), I never check which one I'm in before updating lmtx and the installer does not complain. LD ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On 15-02-2020 06:40, Rudolf Bahr wrote: > I hope this helps you! At least in the case you're using linux. it appears as that many of the files in the two path are sort of identical: ~/data/context $ md5sum bin/mtxrun tex/texmf-linux-64/bin/luametatex b95ca64fabcb3f09edd861c4b87671cc bin/mtxrun b95ca64fabcb3f09edd861c4b87671cc tex/texmf-linux-64/bin/luametatex $ md5sum bin/mtxrun.lua tex/texmf-linux-64/bin/mtxrun.lua 4d73c3608cc2463e80c59942b3db7158 bin/mtxrun.lua 4d73c3608cc2463e80c59942b3db7158 tex/texmf-linux-64/bin/mtxrun.lua There is probably a reason for it ;-) .F pEpkey.asc Description: application/pgp-keys ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Fri, Feb 14, 2020 at 08:59:57PM +0100, Luca Donetti wrote: > > > So I run explicitly the second one: > > > ~/context-lmtx/bin/mtxrun --generate > > > but I got the same error. > > > > This is the wrong binary. As Hans said (and also what I wrote in my > > message) is that you have to run the one in > > ~/context-lmtx/tex/texmf-linux-64/bin/ Hi Luca, > 1) always writing the full path of the correct executable, I don't know which operating system you're using. On linux instead of writing the full path I'm using the command "alias" in my ".bashrc" file. So, Adityas proposal on mtxrun (Date: Wed, 12 Feb 2020 00:24:21 -0500 (EST)) becomes: alias context='~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context' with 'context-lmtx' being the directory, where I installed context. With this you invoke your context file with "context your-file.tex" I cancelled all context stuff in my PATH variable. Don't forget to 'source ~/.bashrc' afterwards. > 2) avoid putting [lmtx path]/bin in PATH, Yes, this could be a solution too, in my opinion. > 3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in > the PATH > > I'm asking here because option 1 is correct but not very handy, while 2) > and 3) are different from what the installer says and they seemed to give > other problems when I tried them. I hope this helps you! At least in the case you're using linux. Best wishes, Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Fri, 14 Feb 2020, Luca Donetti wrote: So I run explicitly the second one: ~/context-lmtx/bin/mtxrun --generate but I got the same error. This is the wrong binary. As Hans said (and also what I wrote in my message) is that you have to run the one in ~/context-lmtx/tex/texmf-linux-64/bin/ This shows that the wrong binary is being used. You are using the binary in /home/sam/context-lmtx/bin when you should use /home/sam/context-lmtx/tex/texmf-linux-64/bin. I ran into a similar problem in the past because the installation script install.sh says the following, among other things: "If you want to run ConTeXt everywhere, you need to adapt the path, like: [lmtx path]/bin:[lmtx path]/tex/texmf-linux-64/bin:[the rest of my path]" Doing as suggested, when mtxrun is launched the first binary is used because [lmtx path]/bin comes first in the PATH. My question is then how do you usually run mtxrun: 1) always writing the full path of the correct executable, 2) avoid putting [lmtx path]/bin in PATH, 3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in the PATH I'm asking here because option 1 is correct but not very handy, while 2) and 3) are different from what the installer says and they seemed to give other problems when I tried them. I always follow 2. I don't think that [lmtx path]/bin should ever be in the PATH except when updating the installation. Aditya ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
> > So I run explicitly the second one: > > ~/context-lmtx/bin/mtxrun --generate > > but I got the same error. > > This is the wrong binary. As Hans said (and also what I wrote in my > message) is that you have to run the one in > ~/context-lmtx/tex/texmf-linux-64/bin/ > > > This shows that the wrong binary is being used. You are using the binary > in /home/sam/context-lmtx/bin when you should use > /home/sam/context-lmtx/tex/texmf-linux-64/bin. > > I ran into a similar problem in the past because the installation script install.sh says the following, among other things: "If you want to run ConTeXt everywhere, you need to adapt the path, like: [lmtx path]/bin:[lmtx path]/tex/texmf-linux-64/bin:[the rest of my path]" Doing as suggested, when mtxrun is launched the first binary is used because [lmtx path]/bin comes first in the PATH. My question is then how do you usually run mtxrun: 1) always writing the full path of the correct executable, 2) avoid putting [lmtx path]/bin in PATH, 3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in the PATH I'm asking here because option 1 is correct but not very handy, while 2) and 3) are different from what the installer says and they seemed to give other problems when I tried them. Thank you in advance, LD ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Wed, Feb 12, 2020 at 12:24:21AM -0500, Aditya Mahajan wrote: > On Wed, 12 Feb 2020, Rudolf Bahr wrote: > > > On Tue, Feb 11, 2020 at 01:39:54PM -0500, Aditya Mahajan wrote: > > > > > What is the output of > > > > > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate > > > > > > (please paste the complete output; your previous message did not show if > > > SELFAUTOPARENT was being set correctly). > > > > > > Hi Aditya! > > > > Thank you for your answer! > > > > The output of ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate is > > big, > > so I append it here by the file "Aditya-I". > > It's made by > > LuaMetaTeX, Version 2.03.15 > > ConTeXt ver: 2020.02.11 16:41 MKIV beta fmt: 2020.2.11 > > That shows that texmfcnf.lua file was found and resolved. So, `context > filename` should work now. Just to be sure, you can try: > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context > filename > > where filename is the name of a sample tex file. > > Aditya Hi Aditya! Thank you for your hint and your help in general! When you wrote before: "This is the wrong binary. As Hans said (and also what I wrote in my message) is that you have to run the one in ~/context-lmtx/tex/texmf-linux-64/bin/", I noticed having misunderstood Hans what he meant with: "i assume that you run the last one in this list, ..." I thought he pointed to my error and didn't understand I should try the last one in the list instead. Anyway, thanks to you, Taco, Pablo and Hans for helping me to solve my problem! Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Tue, Feb 11, 2020 at 03:57:27PM -0500, Aditya Mahajan wrote: > On Tue, 11 Feb 2020, Rudolf Bahr wrote: > > > > > On Tue, Feb 11, 2020 at 07:38:54PM +0100, Hans Hagen wrote: > > > On 2/11/2020 6:26 PM, Rudolf Bahr wrote: > > > > > > > "whereis mtxrun" gives: > > > > ~/context-lmtx/bin/mtxrun.lua > > > > ~/context-lmtx/bin/mtxrun > > > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua > > > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun > > > i assume that you run the last one in this list, which is a copy of or > > > link > > > to the luametatex binary in the texmf-linux-64/bin path > > > > > > Hans, thank you for your answer! > > > > So I run explicitly the second one: > > ~/context-lmtx/bin/mtxrun --generate > > but I got the same error. > > This is the wrong binary. As Hans said (and also what I wrote in my message) > is that you have to run the one in ~/context-lmtx/tex/texmf-linux-64/bin/ > > > Sorry, "~/context-lmtx/bin/mtxrun --generate" again resulted in: > > resolvers | resolving | variable 'SELFAUTOLOC' set to 'bin' > > resolvers | resolving | variable 'SELFAUTODIR' set to '.' > > resolvers | resolving | variable 'SELFAUTOPARENT' set to '..' > > I would suggest that you run these commands from outside the ~/context-lmtx > directory, so that the above variables show the full path rather than the > relative path. > > > "mtxrun --generate" run outside the installation directory gets the same > > result: > > resolvers | resolving | variable 'SELFAUTOLOC' set to > > '/home/sam/context-lmtx/bin' > > resolvers | resolving | variable 'SELFAUTODIR' set to > > '/home/sam/context-lmtx' > > resolvers | resolving | variable 'SELFAUTOPARENT' set to '/home/sam' > > resolvers | resolving | variable 'TEXMFCNF' set to '' > > resolvers | resolving | variable 'TEXMF' set to '' > > resolvers | resolving | variable 'TEXOS' set to 'context-lmtx' > > This shows that the wrong binary is being used. You are using the binary in > /home/sam/context-lmtx/bin when you should use > /home/sam/context-lmtx/tex/texmf-linux-64/bin. > > Aditya Thanks to Hans and Aditya! Using the binaries in /context-lmtx/tex/texmf-linux-64/bin/ instead of ~/context-lmtx/bin/mtxrun brings the awaited result! Remains the question why has it been possible to use the wrong binaries? How could a context user know where the "good" binaries reside? I put the PATH sequence of the official installation process as proposed into my PATH variable and was using "mtxrun". I shall eliminate the error causing context parts in my PATH variable. I'd suggest to correct the proposed completion of PATH variable at the end of the installation process. The knowledge about that has only been possible after a series of mails with Pablo, Hans and Aditya. Thanks again! Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Wed, 12 Feb 2020, Rudolf Bahr wrote: On Tue, Feb 11, 2020 at 01:39:54PM -0500, Aditya Mahajan wrote: What is the output of ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate (please paste the complete output; your previous message did not show if SELFAUTOPARENT was being set correctly). Hi Aditya! Thank you for your answer! The output of ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate is big, so I append it here by the file "Aditya-I". It's made by LuaMetaTeX, Version 2.03.15 ConTeXt ver: 2020.02.11 16:41 MKIV beta fmt: 2020.2.11 That shows that texmfcnf.lua file was found and resolved. So, `context filename` should work now. Just to be sure, you can try: ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context filename where filename is the name of a sample tex file. Aditya ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Tue, Feb 11, 2020 at 01:39:54PM -0500, Aditya Mahajan wrote: > What is the output of > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate > > (please paste the complete output; your previous message did not show if > SELFAUTOPARENT was being set correctly). Hi Aditya! Thank you for your answer! The output of ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate is big, so I append it here by the file "Aditya-I". It's made by LuaMetaTeX, Version 2.03.15 ConTeXt ver: 2020.02.11 16:41 MKIV beta fmt: 2020.2.11 Just for fun (but perhaps it will help anyway) I append the corresponding output of ~/context-luatex/tex/texmf-linux-64/bin/mtxrun --generate as the file "Aditya-II". This is made by luatex version of context 2020.01.30 14:13 Best wishes, Rudolf sam@nan:~$ ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate resolvers | resolving | variable 'SELFAUTOLOC' set to '/home/sam/context-lmtx/tex/texmf-linux-64/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/home/sam/context-lmtx/tex/texmf-linux-64' resolvers | resolving | variable 'SELFAUTOPARENT' set to '/home/sam/context-lmtx/tex' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'texmf-linux-64' resolvers | resolving | resolvers | resolving | using configuration specification 'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context-lmtx/tex/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context-lmtx/tex/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context-lmtx/tex/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context-lmtx/tex/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | found regular configuration file '/home/sam/context-lmtx/tex/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | loading configuration file 'selfautoparent:/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | locating list of 'home:texmf' (runtime) (tree:///home:texmf) resolvers | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:///home:texmf' resolvers | trees | locator 'home:texmf' not found resolvers | resolving | locating list of 'selfautoparent:texmf-project' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-project' resolvers | files | file locator 'selfautoparent:texmf-project' found as '/home/sam/context-lmtx/tex/texmf-project' resolvers | resolving | hash 'selfautoparent:texmf-project' appended resolvers | resolving | locating list of 'selfautoparent:texmf-fonts' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-fonts' resolvers | files | file locator 'selfautoparent:texmf-fonts' found as '/home/sam/context-lmtx/tex/texmf-fonts' resolvers | resolving | hash 'selfautoparent:texmf-fonts' appended resolvers | resolving | locating list of 'selfautoparent:texmf-local' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-local' resolvers | files | file locator 'selfautoparent:texmf-local' found as '/home/sam/context-lmtx/tex/texmf-local' resolvers | resolving | hash 'selfautoparent:texmf-local' appended resolvers | resolving | locating list of 'selfautoparent:texmf-modules' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-modules' resolvers | files | file locator 'selfautoparent:texmf-modules' found as '/home/sam/context-lmtx/tex/texmf-modules' resolvers | resolving | hash 'selfautoparent:texmf-modules' appended resolvers | resolving | locating list of 'selfautoparent:texmf-context' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-context' resolvers | files | file locator 'selfautoparent:texmf-context' found as '/home/sam/context-lmtx/tex/texmf-contex
Re: [NTG-context] mtxrun
On Tue, 11 Feb 2020, Rudolf Bahr wrote: On Tue, Feb 11, 2020 at 07:38:54PM +0100, Hans Hagen wrote: On 2/11/2020 6:26 PM, Rudolf Bahr wrote: > "whereis mtxrun" gives: > ~/context-lmtx/bin/mtxrun.lua > ~/context-lmtx/bin/mtxrun > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun i assume that you run the last one in this list, which is a copy of or link to the luametatex binary in the texmf-linux-64/bin path Hans, thank you for your answer! So I run explicitly the second one: ~/context-lmtx/bin/mtxrun --generate but I got the same error. This is the wrong binary. As Hans said (and also what I wrote in my message) is that you have to run the one in ~/context-lmtx/tex/texmf-linux-64/bin/ Sorry, "~/context-lmtx/bin/mtxrun --generate" again resulted in: resolvers | resolving | variable 'SELFAUTOLOC' set to 'bin' resolvers | resolving | variable 'SELFAUTODIR' set to '.' resolvers | resolving | variable 'SELFAUTOPARENT' set to '..' I would suggest that you run these commands from outside the ~/context-lmtx directory, so that the above variables show the full path rather than the relative path. "mtxrun --generate" run outside the installation directory gets the same result: resolvers | resolving | variable 'SELFAUTOLOC' set to '/home/sam/context-lmtx/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/home/sam/context-lmtx' resolvers | resolving | variable 'SELFAUTOPARENT' set to '/home/sam' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'context-lmtx' This shows that the wrong binary is being used. You are using the binary in /home/sam/context-lmtx/bin when you should use /home/sam/context-lmtx/tex/texmf-linux-64/bin. Aditya ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Tue, Feb 11, 2020 at 07:38:54PM +0100, Hans Hagen wrote: > On 2/11/2020 6:26 PM, Rudolf Bahr wrote: > > > "whereis mtxrun" gives: > > ~/context-lmtx/bin/mtxrun.lua > > ~/context-lmtx/bin/mtxrun > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun > i assume that you run the last one in this list, which is a copy of or link > to the luametatex binary in the texmf-linux-64/bin path Hans, thank you for your answer! So I run explicitly the second one: ~/context-lmtx/bin/mtxrun --generate but I got the same error. Now I wiped totally my directory "~/context-lmtx/" and made a new installation by a newly loaded zip-file from "http://pragma-ade.nl/install.htm"; (64 bit Linux), I canceled the context concerning parts of the PATH variable in .bashrc and took over the suggested PATH of installation process with a following "source .bashrc" of course: LuaMetaTeX, Version 2.03.15 ConTeXt ver: 2020.02.11 16:41 MKIV beta fmt: 2020.2.11 Sorry, "~/context-lmtx/bin/mtxrun --generate" again resulted in: resolvers | resolving | variable 'SELFAUTOLOC' set to 'bin' resolvers | resolving | variable 'SELFAUTODIR' set to '.' resolvers | resolving | variable 'SELFAUTOPARENT' set to '..' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to '.' ... ... resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) "mtxrun --generate" run outside the installation directory gets the same result: resolvers | resolving | variable 'SELFAUTOLOC' set to '/home/sam/context-lmtx/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/home/sam/context-lmtx' resolvers | resolving | variable 'SELFAUTOPARENT' set to '/home/sam' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'context-lmtx' ... ... resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) I assume, as the last line indicates, the error is here: variable 'TEXMF' set to ''. Am I right in that this variable has nothing to do with an environment variable? Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Tue, 11 Feb 2020, Rudolf Bahr wrote: On Tue, Feb 11, 2020 at 04:57:15PM +0100, Pablo Rodriguez wrote: On 2/11/20 4:23 PM, Rudolf Bahr wrote: > > How should it be possible to mix mkiv and lmtx, when I install "LuaMetaTeX 2.03.15" > and "ConTeXt 2020.02.10 MKIV beta" in my linux directory "~/context-lmtx", correct > the PATH variable after installation, do not forget a "source" on ".bashrc" and then > invoke in my directory "context-lmtx" following programs: > > mtxrun --generate Hi Rudolf, how did you install ConTeXt? Did you download the proper file from http://pragma-ade.nl/install.htm? What is the output from "whereis mtxrun && whereis context"? Try adding "export PATH=$PATH:~/context/tex/texmf-linux-64/bin/" (correct the path where required) and try again. I’m on Linux64 and I’m not experiencing these issues. And I remove the contents of tex/texmf-cache/ regularly (I only invoke "mtxrun --generate" after that). > BTW, if it's important, "~/context-lmtx/tex/texmf-cache/" contains only > "luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e". This is what I have there. These seem to be the standard cache contents. Just in case it helps, Pablo Hello Pablo! Thank you for your answer! "whereis mtxrun" gives: ~/context-lmtx/bin/mtxrun.lua ~/context-lmtx/bin/mtxrun ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun and "whereis context": ~/context-lmtx/tex/texmf-linux-64/bin/context.lua ~/context-lmtx/tex/texmf-linux-64/bin/context I think, you'll get similar results. These are the informations according to my PATH variable. And in that PATH there are no links to "~/context-luatex", my directory of the other context installation. And as so often I wiped again "texmf-cache": cd ~/context-lmtx/tex/ rm -r texmf-cache/* So, only the empty directory "texmf-cache/" remains. And now: mtxrun --generate gives again the error statements as written earlier. What is the output of ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate (please paste the complete output; your previous message did not show if SELFAUTOPARENT was being set correctly). Aditya___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On 2/11/2020 6:26 PM, Rudolf Bahr wrote: "whereis mtxrun" gives: ~/context-lmtx/bin/mtxrun.lua ~/context-lmtx/bin/mtxrun ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun i assume that you run the last one in this list, which is a copy of or link to the luametatex binary in the texmf-linux-64/bin path Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Tue, Feb 11, 2020 at 04:57:15PM +0100, Pablo Rodriguez wrote: > On 2/11/20 4:23 PM, Rudolf Bahr wrote: > > > > How should it be possible to mix mkiv and lmtx, when I install "LuaMetaTeX > > 2.03.15" > > and "ConTeXt 2020.02.10 MKIV beta" in my linux directory "~/context-lmtx", > > correct > > the PATH variable after installation, do not forget a "source" on ".bashrc" > > and then > > invoke in my directory "context-lmtx" following programs: > > > > mtxrun --generate > > Hi Rudolf, > > how did you install ConTeXt? Did you download the proper file from > http://pragma-ade.nl/install.htm? > > What is the output from "whereis mtxrun && whereis context"? > > Try adding "export PATH=$PATH:~/context/tex/texmf-linux-64/bin/" > (correct the path where required) and try again. > > I’m on Linux64 and I’m not experiencing these issues. And I remove the > contents of tex/texmf-cache/ regularly (I only invoke "mtxrun > --generate" after that). > > > BTW, if it's important, "~/context-lmtx/tex/texmf-cache/" contains only > > "luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e". > > This is what I have there. These seem to be the standard cache contents. > > Just in case it helps, > > Pablo Hello Pablo! Thank you for your answer! "whereis mtxrun" gives: ~/context-lmtx/bin/mtxrun.lua ~/context-lmtx/bin/mtxrun ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun and "whereis context": ~/context-lmtx/tex/texmf-linux-64/bin/context.lua ~/context-lmtx/tex/texmf-linux-64/bin/context I think, you'll get similar results. These are the informations according to my PATH variable. And in that PATH there are no links to "~/context-luatex", my directory of the other context installation. And as so often I wiped again "texmf-cache": cd ~/context-lmtx/tex/ rm -r texmf-cache/* So, only the empty directory "texmf-cache/" remains. And now: mtxrun --generate gives again the error statements as written earlier. Best wishes, Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On 2/11/20 4:23 PM, Rudolf Bahr wrote: > > How should it be possible to mix mkiv and lmtx, when I install "LuaMetaTeX > 2.03.15" > and "ConTeXt 2020.02.10 MKIV beta" in my linux directory "~/context-lmtx", > correct > the PATH variable after installation, do not forget a "source" on ".bashrc" > and then > invoke in my directory "context-lmtx" following programs: > > mtxrun --generate Hi Rudolf, how did you install ConTeXt? Did you download the proper file from http://pragma-ade.nl/install.htm? What is the output from "whereis mtxrun && whereis context"? Try adding "export PATH=$PATH:~/context/tex/texmf-linux-64/bin/" (correct the path where required) and try again. I’m on Linux64 and I’m not experiencing these issues. And I remove the contents of tex/texmf-cache/ regularly (I only invoke "mtxrun --generate" after that). > BTW, if it's important, "~/context-lmtx/tex/texmf-cache/" contains only > "luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e". This is what I have there. These seem to be the standard cache contents. Just in case it helps, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Tue, Feb 11, 2020 at 01:07:23PM +0100, Hans Hagen wrote: > On 2/11/2020 11:56 AM, Rudolf Bahr wrote: > > On Mon, Feb 10, 2020 at 01:03:38PM +0100, Bahr Rudolf wrote: > > > On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote: > > > > > > > > Hello ConTeXters! > > > > > > > > LuaMetaTeX, Version 2.03.15 > > > > ConTeXt ver: 2020.02.07 18:36 MKIV beta fmt: 2020.2.10 > > > > works well doing my usual tasks. > > > > > > > > Now, I put an .otf-font into ".../tex/texmf-local/", and made > > > > mtxrun --generate > > > > mtxrun --script fonts --reload > > > > mtxrun --script fonts --list --all --pattern=, > > > > but didn't get the expected information on the new font from the last > > > > command. > > > > > > > > So I investigated the output of the first two commands in more detail > > > > and found: > > > > > > > > 1. mtxrun --generate: > > > > resolvers | resolving | warning: no lua configuration files > > > > found > > > > resolvers | resolving | no texmf paths are defined (using > > > > TEXMF) > > > > > > > > By the way, "TEXMF" seems to be a mtxrun variable and hasn't > > > > directly > > > > to do with the environmental variable "TEXMF" which gets > > > > extinguished. > > > > > > > > 2. mtxrun --script fonts --reload: > > > > mtxrun | the resolver databases are not present or outdated > > > > mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' > > > > > > > > > > > > Please, what is to be done? > > > > > > > > > > > > > In context luatex, current version: 2020.01.30 14:13, I'm getting the > > > awaited > > > information! > > > > > > > > With > > LuaMetaTeX, Version 2.03.15 > > ConTeXt ver: 2020.02.10 18:37 MKIV beta fmt: 2020.2.11 > > I'm getting the same results: > > > > 1. mtxrun --generate: > > resolvers | resolving | variable 'TEXMFCNF' set to '' > > resolvers | resolving | variable 'TEXMF' set to '' > > > > resolvers | resolving | warning: no lua configuration files found > > resolvers | resolving | no texmf paths are defined (using TEXMF) > > > > 2. mtxrun --script fonts --reload > > resolvers | resolving | warning: no lua configuration files found > > resolvers | resolving | no texmf paths are defined (using TEXMF) > > > > mtxrun | the resolver databases are not present or outdated > > mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' > > > > > > BTW, running "context --make" after wiping "~/context-lmtx/tex/texmf-cache" > > and running "mtxrun --generate" gives: > > mtxrun | unknown script 'mtx-context.lua' or > > 'mtx-mtx-context.lua' > Are you mixing mkiv and lmtx? > ... > ... > so it's either one or the other incarnation of the mtxrun file Sorry, I don't understand what you mean. How should it be possible to mix mkiv and lmtx, when I install "LuaMetaTeX 2.03.15" and "ConTeXt 2020.02.10 MKIV beta" in my linux directory "~/context-lmtx", correct the PATH variable after installation, do not forget a "source" on ".bashrc" and then invoke in my directory "context-lmtx" following programs: mtxrun --generate mtxrun --script fonts --reload with the above presented errors? BTW, if it's important, "~/context-lmtx/tex/texmf-cache/" contains only "luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e". Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On 2/11/2020 11:56 AM, Rudolf Bahr wrote: On Mon, Feb 10, 2020 at 01:03:38PM +0100, Bahr Rudolf wrote: On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote: Hello ConTeXters! LuaMetaTeX, Version 2.03.15 ConTeXt ver: 2020.02.07 18:36 MKIV beta fmt: 2020.2.10 works well doing my usual tasks. Now, I put an .otf-font into ".../tex/texmf-local/", and made mtxrun --generate mtxrun --script fonts --reload mtxrun --script fonts --list --all --pattern=, but didn't get the expected information on the new font from the last command. So I investigated the output of the first two commands in more detail and found: 1. mtxrun --generate: resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) By the way, "TEXMF" seems to be a mtxrun variable and hasn't directly to do with the environmental variable "TEXMF" which gets extinguished. 2. mtxrun --script fonts --reload: mtxrun | the resolver databases are not present or outdated mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' Please, what is to be done? In context luatex, current version: 2020.01.30 14:13, I'm getting the awaited information! With LuaMetaTeX, Version 2.03.15 ConTeXt ver: 2020.02.10 18:37 MKIV beta fmt: 2020.2.11 I'm getting the same results: 1. mtxrun --generate: resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) 2. mtxrun --script fonts --reload resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) mtxrun | the resolver databases are not present or outdated mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' BTW, running "context --make" after wiping "~/context-lmtx/tex/texmf-cache" and running "mtxrun --generate" gives: mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' Are you mixing mkiv and lmtx? In mkiv: windows: luatex.exe mtxrun.exe (small stub) context.exe (small stub) mtxrun.lua unix: luatex mtxrun (== mtxrun.lua without suffix) context (== mtxrun --script context) In lmtx all platforms have the same approach: windows: luametatex.exe mtxrun.exe (copy of luametatex.exe or link to it) context.exe (copy of luametatex.exe or link to it) mtxrun.lua context.lua unix: luatex mtxrun (copy of luametatex or link to it) context (copy of luametatex or link to it) mtxrun.lua context.lua so it's either one or the other incarnation of the mtxrun file Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Mon, Feb 10, 2020 at 01:03:38PM +0100, Bahr Rudolf wrote: > On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote: > > > > Hello ConTeXters! > > > > LuaMetaTeX, Version 2.03.15 > > ConTeXt ver: 2020.02.07 18:36 MKIV beta fmt: 2020.2.10 > > works well doing my usual tasks. > > > > Now, I put an .otf-font into ".../tex/texmf-local/", and made > >mtxrun --generate > >mtxrun --script fonts --reload > >mtxrun --script fonts --list --all --pattern=, > > but didn't get the expected information on the new font from the last > > command. > > > > So I investigated the output of the first two commands in more detail > > and found: > > > > 1. mtxrun --generate: > >resolvers | resolving | warning: no lua configuration files found > >resolvers | resolving | no texmf paths are defined (using TEXMF) > > > >By the way, "TEXMF" seems to be a mtxrun variable and hasn't directly > >to do with the environmental variable "TEXMF" which gets extinguished. > > > > 2. mtxrun --script fonts --reload: > >mtxrun | the resolver databases are not present or outdated > >mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' > > > > > > Please, what is to be done? > > > > > In context luatex, current version: 2020.01.30 14:13, I'm getting the awaited > information! With LuaMetaTeX, Version 2.03.15 ConTeXt ver: 2020.02.10 18:37 MKIV beta fmt: 2020.2.11 I'm getting the same results: 1. mtxrun --generate: resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) 2. mtxrun --script fonts --reload resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) mtxrun | the resolver databases are not present or outdated mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' BTW, running "context --make" after wiping "~/context-lmtx/tex/texmf-cache" and running "mtxrun --generate" gives: mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote: > > Hello ConTeXters! > > LuaMetaTeX, Version 2.03.15 > ConTeXt ver: 2020.02.07 18:36 MKIV beta fmt: 2020.2.10 > works well doing my usual tasks. > > Now, I put an .otf-font into ".../tex/texmf-local/", and made >mtxrun --generate >mtxrun --script fonts --reload >mtxrun --script fonts --list --all --pattern=, > but didn't get the expected information on the new font from the last > command. > > So I investigated the output of the first two commands in more detail > and found: > > 1. mtxrun --generate: >resolvers | resolving | warning: no lua configuration files found >resolvers | resolving | no texmf paths are defined (using TEXMF) > >By the way, "TEXMF" seems to be a mtxrun variable and hasn't directly >to do with the environmental variable "TEXMF" which gets extinguished. > > 2. mtxrun --script fonts --reload: >mtxrun | the resolver databases are not present or outdated >mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' > > > Please, what is to be done? > In context luatex, current version: 2020.01.30 14:13, I'm getting the awaited information! Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
On Mon, Feb 10, 2020 at 12:06:43PM +0100, Taco Hoekwater wrote: > Hi, > > > On 10 Feb 2020, at 11:54, Rudolf Bahr wrote: > > > > Please, what is to be done? > > This usually happens when the mtxrun script you call is not in its ’normal' > tree location. It uses its own location to find the rest of its files. > > For example, one of my context trees has mtxrun in: > > ~/elvenkind/tex_2014/tex/texmf-osx-64/bin/mtxrun > > and then it works fine. But If I were to move it to e.g. > > ~/bin/mtxrun > > it would (likely) fail to find any files. > > Best wishes, > Taco > > Taco Hoekwater > Elvenkind BV > Hi Taco, thank you for your quick answer! I didn't change at all the location of mtxrun. It "resides" in ~/context-lmtx/bin/mtxrun.lua ~/context-lmtx/bin/mtxrun ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun These are similar locations as you are using. Best wishes, Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun
Hi, > On 10 Feb 2020, at 11:54, Rudolf Bahr wrote: > > Please, what is to be done? This usually happens when the mtxrun script you call is not in its ’normal' tree location. It uses its own location to find the rest of its files. For example, one of my context trees has mtxrun in: ~/elvenkind/tex_2014/tex/texmf-osx-64/bin/mtxrun and then it works fine. But If I were to move it to e.g. ~/bin/mtxrun it would (likely) fail to find any files. Best wishes, Taco Taco Hoekwater Elvenkind BV ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun font patterns
On 1/7/2020 11:33 PM, Henning Hraban Ramm wrote: I just recognized that mtxrun’s pattern matching is a bit off. E.g. if I look for mtxrun --script fonts --list --all --pattern=roboto I get roboto roboto robotoregular Roboto-Regular.ttf robotocondensednormal robotocondensed robotocondenseditalic RobotoCondensed-Italic.ttf robotocondensedregular robotocondensed robotocondensedlight RobotoCondensed-Light.ttf robotoitalic roboto robotoblackitalic Roboto-BlackItalic.ttf robotomononormal robotomono robotomonoitalic RobotoMono-Italic.ttf robotomonoregular robotomono robotomonolight RobotoMono-Light.ttf robotonormal roboto robotoitalic Roboto-Italic.ttf robotoregular roboto robotoblack Roboto-Black.ttf robotoslablight robotoslab robotoslabextralight RobotoSlab-ExtraLight.ttf robotoslabnormal robotoslab robotoslabregular RobotoSlab-Regular.ttf robotoslabregular robotoslab robotoslabblack RobotoSlab-Black.ttf But I’ve several more faces installed. ConTeXt finds them with mtxrun --script fonts --list --all --pattern=robot (ROBOT, not ROBOTO) as roboto roboto robotoregular Roboto-Regular.ttf robotoblack roboto robotoblack Roboto-Black.ttf robotoblackitalic roboto robotoblackitalic Roboto-BlackItalic.ttf robotobold roboto robotobold Roboto-Bold.ttf robotobolditalic roboto robotobolditalic Roboto-BoldItalic.ttf robotocondensed robotocondensed robotocondensedregular RobotoCondensed-Regular.ttf robotocondensedbold robotocondensed robotocondensedbold RobotoCondensed-Bold.ttf robotocondensedbolditalic robotocondensed robotocondensedbolditalic RobotoCondensed-BoldItalic.ttf robotocondenseditalic robotocondensed robotocondenseditalic RobotoCondensed-Italic.ttf robotocondensedlight robotocondensed robotocondensedlight RobotoCondensed-Light.ttf robotocondensedlightitalic robotocondensed robotocondensedlightitalic RobotoCondensed-LightItalic.ttf robotocondensednormal robotocondensed robotocondenseditalic RobotoCondensed-Italic.ttf robotocondensedregular robotocondensed robotocondensedregular RobotoCondensed-Regular.ttf robotoitalic roboto robotoitalic Roboto-Italic.ttf robotolight roboto robotolight Roboto-Light.ttf robotolightitalic roboto robotolightitalic Roboto-LightItalic.ttf robotomedium roboto robotomedium Roboto-Medium.ttf robotomediumitalic roboto robotomediumitalic Roboto-MediumItalic.ttf robotomono robotomono robotomonoregular RobotoMono-Regular.ttf robotomonobold robotomono robotomonobold RobotoMono-Bold.ttf robotomonobolditalic robotomono robotomonobolditalic RobotoMono-BoldItalic.ttf robotomonoitalic robotomono robotomonoitalic RobotoMono-Italic.ttf robotomonolight robotomono robotomonolight RobotoMono-Light.ttf robotomonolightitalic robotomono robotomonolightitalic RobotoMono-LightItalic.ttf robotomonomedium robotomono robotomonomedium RobotoMono-Medium.ttf robotomonomediumitalic robotomono robotomonomediumitalic RobotoMono-MediumItalic.ttf robotomononormal robotomono robotomonoitalic RobotoMono-Italic.ttf robotomonoregular robotomono robotomonoregular RobotoMono-Regular.ttf robotomonothin robotomono robotomonothin RobotoMono-Thin.ttf robotomonothinitalic robotomono robotomonothinitalic RobotoMono-ThinItalic.ttf robotonormal roboto robotoitalic Roboto-Italic.ttf robotoregular roboto robotoregular Roboto-Regular.ttf robotoslabblack robotoslab robotoslabblack RobotoSlab-Black.ttf robotoslabbold robotoslab robotoslabbold RobotoSlab-Bold.ttf robotoslabextrabold robotoslab robotoslabextrabold RobotoSlab-ExtraBold.ttf robotoslabextralight robotoslab robotoslabextralight RobotoSlab-ExtraLight.ttf robotoslablight robotoslab robotoslablight RobotoSlab-Light.ttf robotoslabmedium robotoslab robotoslabmedium RobotoSlab-Medium.ttf robotoslabnormal robotoslab robotoslabregular RobotoSlab-Regular.ttf robotoslabregular robotoslab robotoslabregular RobotoSlab-Regular.ttf robotoslabsemibold robotoslab robotoslabsemibold Rob
Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"
On 10/17/2019 6:36 PM, Rudolf Bahr wrote: On Thu, Oct 17, 2019 at 06:23:23PM +0200, Hans Hagen wrote: On 10/17/2019 5:40 PM, Rudolf Bahr wrote: On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote: On 10/17/2019 5:02 PM, Rudolf Bahr wrote: Hi All, after a new First-setup from "https://www.contextgarden.net/First-setup"; I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun --generate" and got i just installed the windows version from scratch and that works ok (done twice to be sure) Hans I'm running linux-64 and lua5.3. Sorry, I forgot to tell you. WLS works ok here and is also 64 bit linux (the latest luatex is indeed lua 5.3 (if your cache is still 5.2 you might want to wipe the cache) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"
On Thu, Oct 17, 2019 at 06:23:23PM +0200, Hans Hagen wrote: > On 10/17/2019 5:40 PM, Rudolf Bahr wrote: > > > > On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote: > > > On 10/17/2019 5:02 PM, Rudolf Bahr wrote: > > > > > > > > Hi All, > > > > > > > > after a new First-setup from "https://www.contextgarden.net/First-setup"; > > > > I added new fonts to "~/context/tex/texmf-local/fonts", then run: > > > > "mtxrun --generate" > > > > and got > i just installed the windows version from scratch and that works ok (done > twice to be sure) > > Hans I'm running linux-64 and lua5.3. Sorry, I forgot to tell you. Rudolf ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"
On 10/17/2019 6:23 PM, Hans Hagen wrote: On 10/17/2019 5:40 PM, Rudolf Bahr wrote: On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote: On 10/17/2019 5:02 PM, Rudolf Bahr wrote: Hi All, after a new First-setup from "https://www.contextgarden.net/First-setup"; I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun --generate" and got i just installed the windows version from scratch and that works ok (done twice to be sure) installation (of mkiv) on wls (windows linux subsystem) also works ok Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"
On 10/17/2019 5:40 PM, Rudolf Bahr wrote: On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote: On 10/17/2019 5:02 PM, Rudolf Bahr wrote: Hi All, after a new First-setup from "https://www.contextgarden.net/First-setup"; I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun --generate" and got i just installed the windows version from scratch and that works ok (done twice to be sure) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"
On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote: > On 10/17/2019 5:02 PM, Rudolf Bahr wrote: > > > > Hi All, > > > > after a new First-setup from "https://www.contextgarden.net/First-setup"; > > I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun > > --generate" > > and got > > > > "resolvers | resolving | warning: no lua configuration files found" > > > > > > Please, what is to be done in this case? > > > > status_of_update.lua: ["date"]="2019-10-17 13:16:50", > does > > mtxrun --generate > > something useful? > > Hans I append the output of mtxrun --generate here. I hope it's doing something useful. The next step: mtxrun --script fonts --reload writes one line: "mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua'" Rudolf sam@nanu:~/context$ mtxrun --generate resolvers | resolving | variable 'SELFAUTOLOC' set to '/home/sam/context/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/home/sam/context' resolvers | resolving | variable 'SELFAUTOPARENT' set to '/home/sam' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '/home/sam/context/tex/texmf' resolvers | resolving | variable 'TEXOS' set to 'context' resolvers | resolving | resolvers | resolving | using configuration specification 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf-dist/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf-dist/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf-dist/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf-dist/web2c,selfautodir:/texmf/web2c,$SELFAUTOGRANDPARENT/texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf-dist/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf-dist/web2c,selfautoparent:/texmf/web2c}' resolvers | resolving | resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '/home/sam/context/bin' from specification 'selfautoloc:' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '/home/sam/context' from specification 'selfautodir:' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/share/texmf-dist/web2c' from specification 'selfautodir:/share/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/texmf-dist/web2c' from specification 'selfautodir:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/sam/context/texmf/web2c' from specification 'selfautodir:/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification '$SELFAUTOGRANDPARENT/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '/home/sam' from specification 'selfautoparent:' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path
Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"
On 10/17/2019 5:02 PM, Rudolf Bahr wrote: Hi All, after a new First-setup from "https://www.contextgarden.net/First-setup"; I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun --generate" and got "resolvers | resolving | warning: no lua configuration files found" Please, what is to be done in this case? status_of_update.lua: ["date"]="2019-10-17 13:16:50", does mtxrun --generate something useful? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --script fonts --reload: Question to behaviour
On Mon, Oct 22, 2018 at 7:21 PM Tomas Hala wrote: > > Mon, Oct 22, 2018 ve 04:40:46PM +0200 luigi scarso napsal(a): > #On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala <[1]tomas.h...@mendelu.cz> > #wrote: > # > # Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a): > # #On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala > # <[1][2]tomas.h...@mendelu.cz> > # #wrote: > # # > # # Hi all, > # # > # # doing some test with fonts I discovered that > # # > # # mtxrun--script fonts --reload > # # > # # crashed (line 479, TL 2018) on existing directory if this > # directory has > # # incorrect permissions (in tested case I set 000 for making > the > # directory > # # and its subtree completely invisible). > # # > # #what do you mean with "crashed" ? > # > # $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/ > # $ mtxrun --script fonts --reload > # resolvers | trees | analyzing 'home:texmf' > # /home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot > open > # /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied > # > # and it stops doing nothing else. > # > #ok, but as far as I can see it's not a crash, > #it's just an error like "open file foo" when you have not the right > #permissions on foo. > #In other words: mtxrun doesn't have the right permissions in that > folder > #so it' correct that it stops > #*and* exits. If it stops and hang forever, of if it stops with a seg. > #fault, then it's an error, > #-- > #luigi > # > > I understand the explanation, thank you. But why it stops? I can imagine > the > behaviour with skipping inaccessible directories (eg. with some warning > messages)... Is there any way how to persuade it to continue the work? > hm, dunno, it's a lua script, perhaps you can hide these errors, but to me the current behavior is ok, because when I see this error I know the *I* am doing something wrong that I need to fix. -- 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --script fonts --reload: Question to behaviour
Mon, Oct 22, 2018 ve 04:40:46PM +0200 luigi scarso napsal(a): #On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala <[1]tomas.h...@mendelu.cz> #wrote: # # Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a): # # On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala # <[1][2]tomas.h...@mendelu.cz> # # wrote: # # # # Hi all, # # # # doing some test with fonts I discovered that # # # # mtxrun--script fonts --reload # # # # crashed (line 479, TL 2018) on existing directory if this # directory has # # incorrect permissions (in tested case I set 000 for making the # directory # # and its subtree completely invisible). # # # # what do you mean with "crashed" ? # # $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/ # $ mtxrun --script fonts --reload # resolvers | trees | analyzing 'home:texmf' # /home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot open # /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied # # and it stops doing nothing else. # #ok, but as far as I can see it's not a crash, #it's just an error like "open file foo" when you have not the right #permissions on foo. #In other words: mtxrun doesn't have the right permissions in that folder #so it' correct that it stops #*and* exits. If it stops and hang forever, of if it stops with a seg. #fault, then it's an error, #-- #luigi # I understand the explanation, thank you. But why it stops? I can imagine the behaviour with skipping inaccessible directories (eg. with some warning messages)... Is there any way how to persuade it to continue the work? Tomáš ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --script fonts --reload: Question to behaviour
On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala wrote: > Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a): > #On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala <[1]tomas.h...@mendelu.cz> > #wrote: > # > # Hi all, > # > # doing some test with fonts I discovered that > # > # mtxrun--script fonts --reload > # > # crashed (line 479, TL 2018) on existing directory if this directory > has > # incorrect permissions (in tested case I set 000 for making the > directory > # and its subtree completely invisible). > # > #what do you mean with "crashed" ? > > $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/ > $ mtxrun --script fonts --reload > resolvers | trees | analyzing 'home:texmf' > /home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot open > /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied > > and it stops doing nothing else. > ok, but as far as I can see it's not a crash, it's just an error like "open file foo" when you have not the right permissions on foo. In other words: mtxrun doesn't have the right permissions in that folder so it' correct that it stops *and* exits. If it stops and hang forever, of if it stops with a seg. fault, then it's an error, -- 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --script fonts --reload: Question to behaviour
Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a): #On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala <[1]tomas.h...@mendelu.cz> #wrote: # # Hi all, # # doing some test with fonts I discovered that # # mtxrun--script fonts --reload # # crashed (line 479, TL 2018) on existing directory if this directory has # incorrect permissions (in tested case I set 000 for making the directory # and its subtree completely invisible). # #what do you mean with "crashed" ? $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/ $ mtxrun --script fonts --reload resolvers | trees | analyzing 'home:texmf' /home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot open /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied and it stops doing nothing else. Tomáš #-- #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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --script fonts --reload: Question to behaviour
On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala wrote: > Hi all, > > doing some test with fonts I discovered that > > mtxrun--script fonts --reload > > crashed (line 479, TL 2018) on existing directory if this directory has > incorrect permissions (in tested case I set 000 for making the directory > and its subtree completely invisible). > > what do you mean with "crashed" ? -- 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun fails to install fonts
Hi Hans, On 2018-07-04 04:32 AM, Hans Hagen wrote: Can you test the beta from the contextgarden? The beta works with no problems, thanks! I have also played around with my older installation some more and it seems like the original problem was related to the font cache. I have previously tried deleting the cache (with no effect) using: mtxrun --script cache --erase --fonts However, I have just now realized that running the same command with sudo deleted a different cache (/var/... vs /home/...): sudo mtxrun --script cache --erase --fonts Once both caches were deleted, the fonts were identified and installed with no problems. I'm not sure how to recreate this issue with the beta install, but maybe it was just a quirk of my particular system. Cheers, Stan ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun fails to install fonts
On 7/3/2018 6:50 PM, Stanislav Sokolenko wrote: Dear list, I have what seems to be an OS- or ConTeXt version-specific issue with mtxrun installing fonts. I've been trying to add new truetype fonts (specifically Archivo ttf files) on Arch Linux using the following command: export OSFONTDIR=~/.fonts//; mtxrun --script font --reload And I've been using the following to check the installation: mtxrun --script font --list --all --pattern=*archi* It seems like a relatively new version of ConTeXt on Arch Linux (2018.04.04 00:51) recognizes but does not install the ttf files located in ~/.fonts/. The (shortened) output is: fonts | names | identifying system font files with suffix 'ttf' fonts | names | globbing path '/home/stanislav/.fonts/**.ttf' fonts | names | identifying system font files with suffix 'TTF' fonts | names | globbing path '/home/stanislav/.fonts/**.TTF' fonts | names | 8 system files identified, 0 skipped, 0 duplicates, 8 hash entries added, runtime 0.006 seconds But when I check the installation, no Archivo files are found. Strangely, an older installation on Linux Mint (2015.05.18 12:26) has no problems with the same ttf files: fonts | names | globbing path '/home/stanislav/.fonts/**.ttf' fonts | names | identifying system font files with suffix 'TTF' fonts | names | globbing path '/home/stanislav/.fonts/**.TTF' fonts | names | 8 system files identified, 0 skipped, 0 duplicates, 8 hash entries added, runtime 0.000 seconds And the check: mtxrun --script font --list --all --pattern=*archi* archivo archivomedium /home/stanislav/.fonts/typecatcher/Archivo_500.ttf archivobold archivobold /home/stanislav/.fonts/typecatcher/Archivo_700.ttf archivobolditalic archivobolditalic /home/stanislav/.fonts/typecatcher/Archivo_700italic.ttf archivodemi archivosemibold /home/stanislav/.fonts/typecatcher/Archivo_600.ttf archivoitalic archivoitalic /home/stanislav/.fonts/typecatcher/Archivo_italic.ttf archivomedium archivomedium /home/stanislav/.fonts/typecatcher/Archivo_500.ttf archivomediumitalic archivomediumitalic /home/stanislav/.fonts/typecatcher/Archivo_500italic.ttf archivonormal archivoitalic /home/stanislav/.fonts/typecatcher/Archivo_italic.ttf archivoregular archivoregular /home/stanislav/.fonts/typecatcher/Archivo_regular.ttf archivosemibold archivosemibold /home/stanislav/.fonts/typecatcher/Archivo_600.ttf archivosemibolditalic archivosemibolditalic /home/stanislav/.fonts/typecatcher/Archivo_600italic.ttf I've been searching for a couple of days and I'm at a loss. Is there a way to check why the identified system files aren't being installed? Can you test the beta from the contextgarden? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun uses 'nil' for platform
** Hans Hagen [2018-04-16 10:47:32 +0200]: > On 4/16/2018 6:08 AM, Vladimir Lomov wrote: >> Hello list, >> recent update of context suite (beta) changed something in the code of >> 'mtxrun' so now it shows me a warning: >>${CONTEXT}/bin/mtxrun:20683: attempt to concatenate a nil value (field >> 'platform') >> I didn't notice this warning earilier. >> >> The line 20683 in 'mtxrun' is >> local texos="texmf-"..os.platform >> >> To check the return of 'os.platform' I made small lua script and run it >> as >>mtxrun --script SCRIPT --platform=linux-64 >> It returned 'nil nil'. Is this expected behavior? >> >> % SCRIPT.lua >> --- 8< >> local plat=os.platform >> local plat2=os.getenv("MTX_PLATFORM") >> print("platform = ", plat) >> print("platform2 = ", plat2) >> --- 8< > > it should be > > local platform = os.getenv("MTX_PLATFORM") or "" Thank you, now 'mtxrun' runs without any warnings. --- WBR, Vladimir Lomov -- The White Rabbit put on his spectacles. "Where shall I begin, please your Majesty ?" he asked. "Begin at the beginning,", the King said, very gravely, "and go on till you come to the end: then stop." -- Lewis Carroll ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun uses 'nil' for platform
On 4/16/2018 6:08 AM, Vladimir Lomov wrote: Hello list, recent update of context suite (beta) changed something in the code of 'mtxrun' so now it shows me a warning: ${CONTEXT}/bin/mtxrun:20683: attempt to concatenate a nil value (field 'platform') I didn't notice this warning earilier. The line 20683 in 'mtxrun' is local texos="texmf-"..os.platform To check the return of 'os.platform' I made small lua script and run it as mtxrun --script SCRIPT --platform=linux-64 It returned 'nil nil'. Is this expected behavior? % SCRIPT.lua --- 8< local plat=os.platform local plat2=os.getenv("MTX_PLATFORM") print("platform = ", plat) print("platform2 = ", plat2) --- 8< it should be local platform = os.getenv("MTX_PLATFORM") or "" -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun --script server help broken
On 09/16/2013 10:38 AM, Hans Hagen wrote: weird .. can you put some prints in mtx-server-ctx-help.lua and see if it is loaded? it works okay here Wait: is the last line a hint, at the beginning of the start? mtxrun --script server --auto mtx-server | running at port: 31415 mtx-server | document root: /mnt/shared/context/tex/texmf-context/scripts/context/lua mtx-server | main index file: unknown ___ 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] mtxrun --script server help broken
On 09/16/2013 10:38 AM, Hans Hagen wrote: weird .. can you put some prints in mtx-server-ctx-help.lua and see if it is loaded? it works okay here Hmm, no, it looks like it isn't loaded at all, I put a print statement in and don't see anything on the console. ___ 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] mtxrun --script server help broken
On 9/16/2013 10:26 AM, Thomas A. Schmitz wrote: On 09/16/2013 09:31 AM, Hans Hagen wrote: mtxrun --script server --auto and then go to the reported url should work the --auto makes the server resolve its document root The error I reported occurs with --auto; while mtx-server-ctx-fonttest.lua runs OK, mtx-server-ctx-help.lua throws an error: mtx-server | request from: 127.0.0.1 mtx-server | request data: GET /mtx-server-ctx-help.lua HTTP/1.1 mtx-server | requested url: /mtx-server-ctx-help.lua mtx-server | requested action: /mtx-server-ctx-help.lua mtx-server | performing action: /mtx-server-ctx-help.lua mtx-server | locating script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua mtx-server | loading script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua mtx-server | return type: nil mtx-server | handling error 404: Not Found weird .. can you put some prints in mtx-server-ctx-help.lua and see if it is loaded? it works okay here - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun --script server help broken
On 09/16/2013 09:31 AM, Hans Hagen wrote: mtxrun --script server --auto and then go to the reported url should work the --auto makes the server resolve its document root The error I reported occurs with --auto; while mtx-server-ctx-fonttest.lua runs OK, mtx-server-ctx-help.lua throws an error: mtx-server | request from: 127.0.0.1 mtx-server | request data: GET /mtx-server-ctx-help.lua HTTP/1.1 mtx-server | requested url: /mtx-server-ctx-help.lua mtx-server | requested action: /mtx-server-ctx-help.lua mtx-server | performing action: /mtx-server-ctx-help.lua mtx-server | locating script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua mtx-server | loading script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua mtx-server | return type: nil mtx-server | handling error 404: Not Found ___ 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] mtxrun --script server help broken
On 9/15/2013 8:09 PM, Thomas A. Schmitz wrote: This still isn't working, AFAICS. On 07/03/2013 07:02 PM, Thomas A. Schmitz wrote: Hi, was trying to use the help server this morning while I was offline, and it doesn't work, AFAICS. Here's the error: mtxrun --script server --auto and then go to the reported url should work the --auto makes the server resolve its document root - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun --script server help broken
This still isn't working, AFAICS. On 07/03/2013 07:02 PM, Thomas A. Schmitz wrote: Hi, was trying to use the help server this morning while I was offline, and it doesn't work, AFAICS. Here's the error: mtx-server | running at port: 31415 mtx-server | document root: /mnt/shared/context/tex/texmf-context/scripts/context/lua mtx-server | main index file: unknown mtx-server | scripts subpath: /mnt/shared/context/tex/texmf-context/scripts/context/lua mtx-server | context services: http://localhost:31415/mtx-server-ctx-startup.lua mtx-server | request from: 127.0.0.1 mtx-server | request data: GET /mtx-server-ctx-startup.lua HTTP/1.1 mtx-server | requested url: /mtx-server-ctx-startup.lua mtx-server | requested action: /mtx-server-ctx-startup.lua mtx-server | performing action: /mtx-server-ctx-startup.lua mtx-server | locating script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua mtx-server | loading script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua mtx-server | return type: function mtx-server | saving script: function mtx-server | running script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua mtx-server | time spent with client: 0.000 seconds mtx-server | request from: 127.0.0.1 mtx-server | request data: GET /favicon.ico HTTP/1.1 mtx-server | requested url: /favicon.ico mtx-server | requested action: /favicon.ico mtx-server | performing action: /favicon.ico mtx-server | requested file '/favicon.ico' mtx-server | handling error 404: Not Found mtx-server | time spent with client: 0.000 seconds mtx-server | request from: 127.0.0.1 mtx-server | request data: GET /mtx-server-ctx-help.lua HTTP/1.1 mtx-server | requested url: /mtx-server-ctx-help.lua mtx-server | requested action: /mtx-server-ctx-help.lua mtx-server | performing action: /mtx-server-ctx-help.lua mtx-server | locating script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua mtx-server | loading script: /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua mtx-server | return type: nil mtx-server | handling error 404: Not Found mtx-server | time spent with client: 0.000 seconds mtx-server | request from: 127.0.0.1 mtx-server | request data: GET /favicon.ico HTTP/1.1 mtx-server | requested url: /favicon.ico mtx-server | requested action: /favicon.ico mtx-server | performing action: /favicon.ico mtx-server | requested file '/favicon.ico' mtx-server | handling error 404: Not Found mtx-server | time spent with client: 0.000 seconds From time to time, it's wonderful to have offline help (and I still miss Patrick's emacs etexshow...) 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] mtxrun error
On 2/17/2013 9:07 PM, Philipp Gesang wrote: Hi Alessandro! · Apparently nobody is interested in correcting this error on Mac OS X :-D Afaict it’s not OSX related. no .. binary so you have to wait till a new luatex release shows up (it only affects a few fonts) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun error
Hi Alessandro! · > Apparently nobody is interested in correcting this error on Mac OS X :-D Afaict it’s not OSX related. > Well I've found that in the folder /System/Library/Fonts all the .otf are not > able to be found by the mtxrun --script fonts --reload > > In my case here are the fonts on my system which are not able to be processed: > > AppleSDGothicNeo-Bold.otf > AppleSDGothicNeo-Regular.otf > ヒラギノ明朝 ProN W3.otf > ヒラギノ明朝 ProN W6.otf > ヒラギノ角ゴ ProN W3.otf > ヒラギノ角ゴ ProN W6.otf > > I've tried to remove everything and it works. > Then I add one by one, and each one of them cause the error. > > Somebody has had this kind of problems? See: http://www.ntg.nl/pipermail/ntg-context/2013/071471.html Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpSxyhNrXOwZ.pgp Description: PGP signature ___ 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] mtxrun error
Hello, Apparently nobody is interested in correcting this error on Mac OS X :-D Well I've found that in the folder /System/Library/Fonts all the .otf are not able to be found by the mtxrun --script fonts --reload In my case here are the fonts on my system which are not able to be processed: AppleSDGothicNeo-Bold.otf AppleSDGothicNeo-Regular.otf ヒラギノ明朝 ProN W3.otf ヒラギノ明朝 ProN W6.otf ヒラギノ角ゴ ProN W3.otf ヒラギノ角ゴ ProN W6.otf I've tried to remove everything and it works. Then I add one by one, and each one of them cause the error. Somebody has had this kind of problems? I've tested also with: $ context --version mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2013.02.13 18:06 Sincerely yours, Alessandro On 9 Feb, 2013, at 20:21, Alessandro Perucchi wrote: > Hello, > > I wanted to check all the fonts recognised by context on my laptop. > > So I did > > $ mtxrun --script fonts --list '*' > > system | logs | lua: compiling > /Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma > into > /Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc > system | logs | fatal error in "unknown" > fonts | names | warnings are disabled (tracker 'fonts.warnings') > fonts | names | identifying tree font files with suffix otf > fonts | names | scanning /Users/ptitvert/context/tex/texmf-project > for otf files > fonts | names | 6 entries found, 0 otf files checked, 0 okay > fonts | names | scanning /Users/ptitvert/context/tex/texmf-fonts > for otf files > fonts | names | 6 entries found, 0 otf files checked, 0 okay > fonts | names | scanning /Users/ptitvert/context/tex/texmf-local > for otf files > fonts | names | 6 entries found, 0 otf files checked, 0 okay > fonts | names | scanning /Users/ptitvert/context/tex/texmf-modules > for otf files > fonts | names | 978 entries found, 0 otf files checked, 0 okay > fonts | names | scanning /Users/ptitvert/context/tex/texmf-context > for otf files > fonts | names | 2167 entries found, 1 otf files checked, 1 okay > ... > fonts | names | identifying system font files with suffix otf > fonts | names | adding path from OSFONTDIR: > /Users/ptitvert/Library/Fonts > fonts | names | adding path from OSFONTDIR: /Library/Fonts > fonts | names | adding path from OSFONTDIR: /System/Library/Fonts > fonts | names | globbing path /Users/ptitvert/Library/Fonts/**.otf > fonts | names | globbing path /Library/Fonts/**.otf > fonts | names | globbing path /System/Library/Fonts/**.otfAssertion > failed: (kpse->program_name), function kpathsea_cnf_get, file > ../../../source/texk/kpathsea/cnf.c, line 255. > Abort > > > Im using > > $ context --version > > mtx-context | ConTeXt Process Management 0.60 > mtx-context | > mtx-context | main context file: > /Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv > mtx-context | current version: 2013.02.05 22:32 > > I've also tried the "current" I get another error: > > $ mtxrun --script fonts --list '*' > /Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index > field 'loaders' (a nil value) > > $ context --version > /Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index > field 'loaders' (a nil value) > > Keep in mind that in both case I've done a plain install > > ./first-setup.sh --modules=all --context=beta > > and > > ./first-setup.sh --modules=all --context=current > > And I'm using Mac OS X 10.8.2 > > Sincerely yours, > Alessandro > > ___ > 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] mtxrun error
Hello, Apparently nobody is interested in correcting this error on Mac OS X :-D Well I've found that in the folder /System/Library/Fonts all the .otf are not able to be found by the mtxrun --script fonts --reload In my case here are the fonts on my system which are not able to be processed: AppleSDGothicNeo-Bold.otf AppleSDGothicNeo-Regular.otf ヒラギノ明朝 ProN W3.otf ヒラギノ明朝 ProN W6.otf ヒラギノ角ゴ ProN W3.otf ヒラギノ角ゴ ProN W6.otf I've tried to remove everything and it works. Then I add one by one, and each one of them cause the error. Somebody has had this kind of problems? I've tested also with: $ context --version mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2013.02.13 18:06 Sincerely yours, Alessandro On 9 Feb, 2013, at 20:21, Alessandro Perucchi wrote: > Hello, > > I wanted to check all the fonts recognised by context on my laptop. > > So I did > > $ mtxrun --script fonts --list '*' > > system | logs | lua: compiling > /Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma > into > /Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc > system | logs | fatal error in "unknown" > fonts | names | warnings are disabled (tracker 'fonts.warnings') > fonts | names | identifying tree font files with suffix otf > fonts | names | scanning /Users/ptitvert/context/tex/texmf-project > for otf files > fonts | names | 6 entries found, 0 otf files checked, 0 okay > fonts | names | scanning /Users/ptitvert/context/tex/texmf-fonts > for otf files > fonts | names | 6 entries found, 0 otf files checked, 0 okay > fonts | names | scanning /Users/ptitvert/context/tex/texmf-local > for otf files > fonts | names | 6 entries found, 0 otf files checked, 0 okay > fonts | names | scanning /Users/ptitvert/context/tex/texmf-modules > for otf files > fonts | names | 978 entries found, 0 otf files checked, 0 okay > fonts | names | scanning /Users/ptitvert/context/tex/texmf-context > for otf files > fonts | names | 2167 entries found, 1 otf files checked, 1 okay > ... > fonts | names | identifying system font files with suffix otf > fonts | names | adding path from OSFONTDIR: > /Users/ptitvert/Library/Fonts > fonts | names | adding path from OSFONTDIR: /Library/Fonts > fonts | names | adding path from OSFONTDIR: /System/Library/Fonts > fonts | names | globbing path /Users/ptitvert/Library/Fonts/**.otf > fonts | names | globbing path /Library/Fonts/**.otf > fonts | names | globbing path /System/Library/Fonts/**.otfAssertion > failed: (kpse->program_name), function kpathsea_cnf_get, file > ../../../source/texk/kpathsea/cnf.c, line 255. > Abort > > > Im using > > $ context --version > > mtx-context | ConTeXt Process Management 0.60 > mtx-context | > mtx-context | main context file: > /Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv > mtx-context | current version: 2013.02.05 22:32 > > I've also tried the "current" I get another error: > > $ mtxrun --script fonts --list '*' > /Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index > field 'loaders' (a nil value) > > $ context --version > /Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index > field 'loaders' (a nil value) > > Keep in mind that in both case I've done a plain install > > ./first-setup.sh --modules=all --context=beta > > and > > ./first-setup.sh --modules=all --context=current > > And I'm using Mac OS X 10.8.2 > > Sincerely yours, > Alessandro > > ___ > 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] mtxrun server help broken
On 11/21/2012 05:14 PM, Thomas A. Schmitz wrote: nope, afraid I get the same error with 2012.11.21 16:11. Thomas OK, it works again with 2012.11.22 18:09. I'm just wondering: the help information is always at the very bottom of the list of commands, so one has to scroll all the way down (and there's no obvious way of seeing that something has happened at all unless one scrolls down) - has this always been the case? I seem to remember that it would open a frame in the main window, but I may be wrong. 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] mtxrun server help broken
On 11/21/2012 5:14 PM, Thomas A. Schmitz wrote: On 11/21/2012 05:10 PM, Hans Hagen wrote: with current minimals, the help server appears to be broken. Running mtxrun --script server --start --auto the server starts up, but when I click on "help," I get a page with [an error] Already present in 2012.11.08 12:14, too. should work again nope, afraid I get the same error with 2012.11.21 16:11. oh, it's the help one .. i fixed the font one Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun server help broken
On 11/21/2012 05:10 PM, Hans Hagen wrote: with current minimals, the help server appears to be broken. Running mtxrun --script server --start --auto the server starts up, but when I click on "help," I get a page with [an error] Already present in 2012.11.08 12:14, too. should work again nope, afraid I get the same error with 2012.11.21 16:11. 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] mtxrun server help broken
On 11/20/2012 2:42 PM, Sietse Brouwer wrote: with current minimals, the help server appears to be broken. Running mtxrun --script server --start --auto the server starts up, but when I click on "help," I get a page with [an error] Already present in 2012.11.08 12:14, too. should work again - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun server help broken
> with current minimals, the help server appears to be broken. Running > > mtxrun --script server --start --auto > > the server starts up, but when I click on "help," I get a page with [an error] Already present in 2012.11.08 12:14, too. --Sietse ___ 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] MTXrun | resolvers: warning: no lua configuration files found
On 15-6-2011 8:31, Stappers wrote: While following http://wiki.contextgarden.net/Debian_installation for installing context_2010.07.30-1_all.deb did bring the step Best use a more recent version (with matching luatex/mkiv) or use the minimals. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun --script metapost and fonts?
On 10-5-2011 3:29, Michal Kvasnička wrote: Hallo. I've got a problem with metapost -> pdf translation. Since mptopdf is still broken in the last ConTeXt beta in the minimal distribution, I use "mtxrun --script metapost --split". It works well, only it ignores font setting. My code is like this: verbatimtex \definetypeface [times] [rm] [serif] [times] [default] [encoding=ec] \definetypeface [times] [mm] [math] [times] [default] [encoding=ec] \setupbodyfont [times,10pt] etex; beginfig(1); label(btex A $a_i$ etex,origin); endfig; end. just do: \definetypeface [times] [rm] [serif] [times] [default] [encoding=ec] \definetypeface [times] [mm] [math] [times] [default] [encoding=ec] \setupbodyfont [times,10pt] \startMPpage label(btex A $a_i$ etex,origin); \stopMPpage I believe that the code in the verbatimtex ... etex environment should switch the major font to Times (it works with "texexec --mptex"). However, it is ignored by the "mtxrun --script metapost --split" script---Computer Modern in 12pt is used instead of Times in 10pt. Is there any way around this problem? Many thanks for your help. in mkiv verbatimtex is not supported (useless) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun fails after update to ubuntu 11.04
On Sun 08 May 2011, S Barmeier wrote: > Is there any savvy way to update to a newer release of ConTeXt > without meddling too much with the existing texlive installation? The best way is to install the minimals; it's a complete stand-alone ConTeXt system that can go anywhere (including your home directory), so you don't risk any complex interactions with existing TeX installations. Pont ___ 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] mtxrun fails after update to ubuntu 11.04
Thank you for your reply! mtxrun, luatools and context all --generate now, but trying to mtxrun --script fonts --list --all says it's missing a metatable (whatever that is): [...] MTXrun | fontnames: identifying tree font files with suffix afm MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf for afm files MTXrun | fontnames: 1691 entries found, 8 afm files checked, 8 okay MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf-dist for afm files MTXrun | fontnames: 81835 entries found, 2237 afm files checked, 2237 okay MTXrun | fontnames: identifying tree font files with suffix AFM MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf for AFM files MTXrun | fontnames: 1691 entries found, 0 AFM files checked, 0 okay MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf-dist for AFM files MTXrun | fontnames: 81835 entries found, 0 AFM files checked, 0 okay MTXrun | fontnames: 2245 tree files identified, 139 skipped, 100 duplicates, 2106 hash entries added, runtime 2.310 seconds MTXrun | fontnames: identifying system font files with suffix otf MTXrun | fontnames: adding path from OSFONTDIR: /usr/share/fonts MTXrun | fontnames: adding path from OSFONTDIR: /usr/local/share/fonts MTXrun | fontnames: adding path from OSFONTDIR: /usr/share/fonts MTXrun | fontnames: adding path from OSFONTDIR: /usr/local/share/fonts MTXrun | fontnames: globbing path /usr/share/fonts/**.otf/usr/local/texlive/2010/bin/x86_64-linux/mtxrun:2625: bad argument #1 to '(for generator)' (directory metatable expected, got nil) Again, many thanks. Severin P.S.: Just out of curiosity: I was under the impression that the best way to stay updated with both general TeX and ConTeXt was to run texlive 2010 and point your tlmgr to the tlcontrib repository. luatools gets updated frequently, but the ConTeXt version is from July 2010. Is there any savvy way to update to a newer release of ConTeXt without meddling too much with the existing texlive installation? On 05/08/2011 08:26 PM, Taco Hoekwater wrote: > On 05/07/2011 02:49 PM, S Barmeier wrote: >> Hi, >> >> After updating my system to ubuntu 11.04, all sorts of access >> permissions seem to have changed. In particular, when compiling any >> ConTeXt document, I get >> ... >> >> Trying to mtxrun --script fonts --reload, it tells me >> >> MTXrun | resolvers: unable to save 'files' in >> '/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/trees/1240e363db2f4c53de58379d2b0c6f6b.lua' >> >> (access error) >> MTXrun | fontnames: unable to access database cache >> MTXrun | fontnames: accessing the data table failed >> >> and similar errors. I've tried sudo mtxrun [...], but then the command >> is not found. >> >> I hope the problem will be resolved by changing folder permissions, but >> I'm not sure which folders are affected and which I should refrain from >> changing. > > You can change permissions of > > /usr/local/texlive/2010/texmf-cache/luatex-cache/context > > and everything below it, but a nicer solution is to set TEXMFCACHE. > > There are various options, but the easiest is > > set TEXMFCACHE=~/texmf-cache > > in your shell's startup script (you have to create the path manually at > first). > > 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun fails after update to ubuntu 11.04
On 05/07/2011 02:49 PM, S Barmeier wrote: Hi, After updating my system to ubuntu 11.04, all sorts of access permissions seem to have changed. In particular, when compiling any ConTeXt document, I get oad otf> loading: /usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf (hash: lmmono8-regular) load otf> font loaded okay load otf> file size: 66268 load otf> enhancing ... load otf> saving in cache: /usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf report | lua: compiling /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma into /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tmctexluac: cannot open /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma: No such file or directory luac: cannot open /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma: No such file or directory Trying to mtxrun --script fonts --reload, it tells me MTXrun | resolvers: unable to save 'files' in '/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/trees/1240e363db2f4c53de58379d2b0c6f6b.lua' (access error) MTXrun | fontnames: unable to access database cache MTXrun | fontnames: accessing the data table failed and similar errors. I've tried sudo mtxrun [...], but then the command is not found. I hope the problem will be resolved by changing folder permissions, but I'm not sure which folders are affected and which I should refrain from changing. You can change permissions of /usr/local/texlive/2010/texmf-cache/luatex-cache/context and everything below it, but a nicer solution is to set TEXMFCACHE. There are various options, but the easiest is set TEXMFCACHE=~/texmf-cache in your shell's startup script (you have to create the path manually at first). 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun list?
Hans van der Meer wrote: Executing 'mtxrun' without arguments shows the list of commands. There one finds: mtxrun | ConTeXt TDS Runner Tool 1.30 mtxrun | mtxrun | --script run an mtx script (lua prefered method) (--noquotes), no script gives list Doing 'mtxrun --script' I expected to see a list of the available scripts. But this command prints nothing. Is this something to be repaired? No, there is no such list. Having such a list would be comparable to $ kpsewhich --format=tex returning a list of all tex files in your tree to choose from: mtxrun can run *any* lua script, including anything in the current directory. However, the 'canonical' mtxrun scripts all live in scripts/context/lua, and have names like mtx-
Re: [NTG-context] mtxrun --script texworks --start doesn't work as expected
Thanks a ton, Hans :-) It works like a charm again! Am Freitag, den 18.02.2011, 17:17 +0100 schrieb Hans Hagen: > On 18-2-2011 4:59, Peter Wüsten wrote: > > > > Dear Hans, dear list, > > > > I have tried starting Texworks as I usually would via "mtxrun --script > > texworks --start", but it doesn't load any Context-specific > > configuration-files anymore. Instead the script creates a new directory > > tree in whatever directory I was when I ran it: > > "selfautoparent:texmf-context/context/data/texworks" > > with empty subdirectories for the config files. > > fixed in next beta > > (upload later today) > > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun --script texworks --start doesn't work as expected
On 18-2-2011 4:59, Peter Wüsten wrote: Dear Hans, dear list, I have tried starting Texworks as I usually would via "mtxrun --script texworks --start", but it doesn't load any Context-specific configuration-files anymore. Instead the script creates a new directory tree in whatever directory I was when I ran it: "selfautoparent:texmf-context/context/data/texworks" with empty subdirectories for the config files. fixed in next beta (upload later today) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] mtxrun --find-file
On Wed, Feb 2, 2011 at 12:29 PM, Hans van der Meer wrote: > Why does --find-file gives an error: > > 106 beta: mtxrun --find-file catc-ini.mkiv > ...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to > call field '?' (a table value) > 107 beta: mtxrun --find-file catc-ini > ...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to > call field '?' (a table value) > 108 beta: a bug, I suppose. You can use $> mtxrun --find-path catc-ini.mkiv -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MTXrun
On 23-1-2011 6:43, Vedran Miletić wrote: 2011/1/23 Herbert Voss What is the meaning of MTX in the name of the script? Herbert Could be MetaTeX. indeed it refers to the hybrid usage of metapost and tex Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] MTXrun
2011/1/23 Herbert Voss > What is the meaning of MTX in the name of the script? > > Herbert > Could be MetaTeX. Regards, Vedran ___ 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] MTXrun | error, no format found with name: cont-en, aborting
On Sun, Aug 1, 2010 at 14:23, Paul Dostert wrote: > Worked... although I need to know why :-) > > What didn't work when I just installed the minimals, and what did > luatools --generate and context --make do? Apart from what Vedran told you ... this should have been fixed (but only after we have generated the zips), so that luatools --generate should run automatically when no filename database is found. (But you cannot test it unless we re-run the script to rebuild the zips.) 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] MTXrun | error, no format found with name: cont-en, aborting
2010/8/1 Paul Dostert : > Worked... although I need to know why :-) > > What didn't work when I just installed the minimals, and what did > luatools --generate and context --make do? > > Thank you! > http://wiki.contextgarden.net/Running_Mark_IV Regards, -- Vedran Miletić ___ 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] MTXrun | error, no format found with name: cont-en, aborting
Worked... although I need to know why :-) What didn't work when I just installed the minimals, and what did luatools --generate and context --make do? Thank you! 2010/8/1 Vedran Miletić : > 2010/8/1 Paul Dostert : >> I installed context via: >> >> - Download of context-setup-mswin.zip >> - unzip to c:\context >> - run of first-setup.bat (with no args, and same happens with >> --context=current) >> - After running, I go to the tex/ directory and run the setuptex.bat > > Try doing: > > luatools --generate > context --make > > Regards, > > -- > Vedran Miletić > ___ > 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] MTXrun | error, no format found with name: cont-en, aborting
2010/8/1 Paul Dostert : > I installed context via: > > - Download of context-setup-mswin.zip > - unzip to c:\context > - run of first-setup.bat (with no args, and same happens with > --context=current) > - After running, I go to the tex/ directory and run the setuptex.bat Try doing: luatools --generate context --make Regards, -- Vedran Miletić ___ 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] mtxrun error
On Sat, Jul 3, 2010 at 11:23 PM, Mojca Miklavec wrote: > Li Yanrui, > > thanks a lot for the patch and sorry for the delay. It's supposed to > be fixed now, but reports of contrary observations are always welcome. it's ok on linux 32bit -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun error
Li Yanrui, thanks a lot for the patch and sorry for the delay. It's supposed to be fixed now, but reports of contrary observations are always welcome. 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] mtxrun error
2010/7/3 luigi scarso : >> In this way the log said "ConTeXt ver: 2010.05.24 13:05 MKIV > version is defined in context.tex > \edef\contextversion{2010.05.24 13:05} > > >>fmt: 2010.7.2 int: english/english" why? > Date of format generation (in your case last time you have build your > format is 2010.7.2) > > -- > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > I had update, yesterday. sorry,I find the "context.tex" is replaced by the old one(ConTeXt ver: 2010.05.24 13:05 ) after update. ___ 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] mtxrun error
2010/7/2 luigi scarso : > On Fri, Jul 2, 2010 at 11:52 AM, Li Yanrui (李延瑞) > wrote: >> 2010/7/2 Li Yanrui (李延瑞) : >>> 2010/7/2 Li Yanrui (李延瑞) : 2010/6/30 luigi scarso : > On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU wrote: >> Latest minimals: >> >> mtxrun:9289: attempt to concatenate local 'v' (a table value) > confirmed on my linux 32 box too > it seems that the following commands can solved this problem. sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/luatools sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/mtxrun >>> >>> $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/luatools >>> $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/mtxrun >>> $ luatools --generate >>> $ sed -i 's//t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` >>> >> >> the last command should be >> >> $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` >> >> then >> >> $ context --make >> > It seems ok on my linux 32bit box > changing 't[vv.."."..v] = vv' to 't[kk] = vv' maybe more right. -- 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] mtxrun error
> In this way the log said "ConTeXt ver: 2010.05.24 13:05 MKIV version is defined in context.tex \edef\contextversion{2010.05.24 13:05} >fmt: 2010.7.2 int: english/english" why? Date of format generation (in your case last time you have build your format is 2010.7.2) -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun error
2010/7/3 views63 : > > In this way the log said "ConTeXt ver: 2010.05.24 13:05 MKIV fmt: > 2010.7.2 int: english/english" why? I used the latest. just my workaround. waitting for Hans to fix it. -- 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] mtxrun error
2010/7/2 Li Yanrui (李延瑞) : > 2010/7/2 Li Yanrui (李延瑞) : >> 2010/7/2 Li Yanrui (李延瑞) : >>> 2010/6/30 luigi scarso : On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU wrote: > Latest minimals: > > mtxrun:9289: attempt to concatenate local 'v' (a table value) confirmed on my linux 32 box too >>> >>> it seems that the following commands can solved this problem. >>> >>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/luatools >>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/mtxrun >>> >> >> $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/luatools >> $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/mtxrun >> $ luatools --generate >> $ sed -i 's//t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` >> > > the last command should be > > $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` > > then > > $ context --make > > > -- > 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 > ___ > In this way the log said "ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.7.2 int: english/english" why? I used the latest. ___ 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] mtxrun error
On Fri, 02 Jul 2010 12:17:15 +0200, luigi scarso wrote: The same for my linux 64bit box thanks Li Yanrui -- --- Martin 'golodhrim' Scholz Auf dem Sattler 4 34516 Ederbringhausen Phone: +49 6454 799623 mobile: +49 176 63301749 Fax: +49 6454 e-Mail: scholz@googlemail.com "Oook!" ___ 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] mtxrun error
On Fri, Jul 2, 2010 at 11:52 AM, Li Yanrui (李延瑞) wrote: > 2010/7/2 Li Yanrui (李延瑞) : >> 2010/7/2 Li Yanrui (李延瑞) : >>> 2010/6/30 luigi scarso : On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU wrote: > Latest minimals: > > mtxrun:9289: attempt to concatenate local 'v' (a table value) confirmed on my linux 32 box too >>> >>> it seems that the following commands can solved this problem. >>> >>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/luatools >>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/mtxrun >>> >> >> $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/luatools >> $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/mtxrun >> $ luatools --generate >> $ sed -i 's//t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` >> > > the last command should be > > $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` > > then > > $ context --make > It seems ok on my linux 32bit box -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun error
2010/7/2 Li Yanrui (李延瑞) : > 2010/7/2 Li Yanrui (李延瑞) : >> 2010/6/30 luigi scarso : >>> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU wrote: Latest minimals: mtxrun:9289: attempt to concatenate local 'v' (a table value) >>> confirmed on my linux 32 box too >>> >> >> it seems that the following commands can solved this problem. >> >> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/luatools >> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/mtxrun >> > > $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/luatools > $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/mtxrun > $ luatools --generate > $ sed -i 's//t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` > the last command should be $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` then $ context --make -- 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] mtxrun error
2010/7/2 Li Yanrui (李延瑞) : > 2010/6/30 luigi scarso : >> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU wrote: >>> Latest minimals: >>> >>> mtxrun:9289: attempt to concatenate local 'v' (a table value) >> confirmed on my linux 32 box too >> > > it seems that the following commands can solved this problem. > > sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/luatools > sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/mtxrun > $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/luatools $ sed -i 's/t\[vv.."."..v\] = kk/t\[k\] = vv/g' $TEXMFOS/bin/mtxrun $ luatools --generate $ sed -i 's//t\[vv.."."..v\] = kk/t\[k\] = vv/g' `luatools data-res.lua` -- 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] mtxrun error
On Jul 2, 2010, at 11:05 AM, Mojca Miklavec wrote: > No, maybe you have an older version that still works; the minimals > seem to be broken completely on all the systems. If anyone knows how > to fix it, I can do it until Hans is back and uploads a fixed version. > (He has some problems reading email.) > > Mojca Hm, the interesting thing is that version numbers haven't changed. My working version is MTXrun | current version: 2010.06.23 12:45 which is the latest, according to the website. Moreover, something interesting: when I run first-setup.sh, I get this version of mtxrun: grep Runner ~/context/tex/texmf-linux/bin/mtxrun logs.setprogram('MTXrun',"TDS Runner Tool 1.24",environment.arguments["verbose"] or false) However, my older, working system has this: grep Runner /mnt/shared/context/tex/texmf-linux/bin/mtxrun logs.setprogram('MTXrun',"TDS Runner Tool 1.26") Do you have this version somewhere? I could send it off-list. 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] mtxrun error
On Fri, Jul 2, 2010 at 10:20, Thomas A. Schmitz wrote: > On Jul 2, 2010, at 9:49 AM, Henning Hraban Ramm wrote: > >> confirmed on osx-intel (OSX 10.5): > > I had the same problem on OS X, but only on a 32-bit system; my 64-bit system > works normally. I copied the version of mtxrun from my 64-bit to my 32-bit > system, and now it works. Mojca, maybe an outdated version of mtxrun somehow > crept into the minimals? No, maybe you have an older version that still works; the minimals seem to be broken completely on all the systems. If anyone knows how to fix it, I can do it until Hans is back and uploads a fixed version. (He has some problems reading email.) 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] mtxrun error
On Wed, 30 Jun 2010 16:57:42 +0200, luigi scarso wrote: > On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU > wrote: >> Latest minimals: >> >> mtxrun:9289: attempt to concatenate local 'v' (a table value) > confirmed on my linux 32 box too confirmed on my linux 64bit box too -- --- Martin 'golodhrim' Scholz Auf dem Sattler 4 34516 Ederbringhausen Phone: +49 6454 799623 mobile: +49 176 63301749 Fax: +49 6454 e-Mail: scholz@googlemail.com He has not acquired a fortune; the fortune has acquired him. -- Bion ___ 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] mtxrun error
On Jul 2, 2010, at 9:49 AM, Henning Hraban Ramm wrote: > > confirmed on osx-intel (OSX 10.5): > I had the same problem on OS X, but only on a 32-bit system; my 64-bit system works normally. I copied the version of mtxrun from my 64-bit to my 32-bit system, and now it works. Mojca, maybe an outdated version of mtxrun somehow crept into the minimals? 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] mtxrun error
Am 2010-06-30 um 09:36 schrieb Alan BRASLAU: Latest minimals: mtxrun:9289: attempt to concatenate local 'v' (a table value) confirmed on osx-intel (OSX 10.5): hraban$ mtxrun --selfupdate .../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt to concatenate local 'v' (a table value) hraban$ luatools --selfupdate ...raban/Library/texmf/tex/texmf-osx-intel/bin/luatools:6039: attempt to concatenate local 'v' (a table value) or while running first-setup.sh: MTXrun | run: luatools --generate LuaTools | fileio: variable 'SELFAUTOLOC' set to '/Users/hraban/ Library/texmf/tex/texmf-osx-intel/bin' LuaTools | fileio: variable 'SELFAUTODIR' set to '/Users/hraban/ Library/texmf/tex/texmf-osx-intel' LuaTools | fileio: variable 'SELFAUTOPARENT' set to '/Users/hraban/ Library/texmf/tex' LuaTools | fileio: variable 'TEXMFCNF' set to '/Users/hraban/Library/ texmf/tex/texmf{-local,-context,}/web2c' LuaTools | fileio: loading configuration file '/Users/hraban/Library/ texmf/tex/texmf/web2c/texmfcnf.lua' ...raban/Library/texmf/tex/texmf-osx-intel/bin/luatools:6039: attempt to concatenate local 'v' (a table value) MTXrun | run: texexec --make --all --fast --xetex cont-nl cont-en .../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt to concatenate local 'v' (a table value) MTXrun | run: context --make .../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt to concatenate local 'v' (a table value) MTXrun | run: texexec --make --all --fast --pdftex cont-nl cont-en .../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt to concatenate local 'v' (a table value) MTXrun | run: texexec --make --all --fast metafun .../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt to concatenate local 'v' (a table value) MTXrun | run: mktexlsr etc. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] mtxrun error
2010/7/2 Li Yanrui (李延瑞) : > 2010/6/30 luigi scarso : >> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU wrote: >>> Latest minimals: >>> >>> mtxrun:9289: attempt to concatenate local 'v' (a table value) >> confirmed on my linux 32 box too >> > > it seems that the following commands can solved this problem. > > sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/luatools > sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/mtxrun > sorry, i'm wrong. -- 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] mtxrun error
2010/6/30 luigi scarso : > On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU wrote: >> Latest minimals: >> >> mtxrun:9289: attempt to concatenate local 'v' (a table value) > confirmed on my linux 32 box too > it seems that the following commands can solved this problem. sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/luatools sed -i 's/t\[vv.."."..v\]/t\[vv\]/g' $TEXMFOS/bin/mtxrun -- 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] mtxrun error
On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU wrote: > Latest minimals: > > mtxrun:9289: attempt to concatenate local 'v' (a table value) confirmed on my linux 32 box too -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mtxrun script broken in the latest beta
On 23-12-2009 2:08, Yanrui Li wrote: 2009/12/23 Aditya Mahajan mailto:adit...@umich.edu>> On Wed, 23 Dec 2009, Yanrui Li wrote: Hi, Under linux x86: $ context --version MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Run luatools --generate first. I do so, but it still don't work. These are my steps: will be fixed ... has to do with a change in the cnf file (combined with a too strict test in mtxrun) 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] mtxrun script broken in the latest beta
2009/12/23 Aditya Mahajan > On Wed, 23 Dec 2009, Yanrui Li wrote: > > Hi, >> >> Under linux x86: >> >> $ context --version >> MTXrun | unknown script 'context.lua' or 'mtx-context.lua' >> > > Run luatools --generate first. > > I do so, but it still don't work. These are my steps: $ rm -rf $TEXMFCACHE/* $ mtxrun --selfupdate $ luatools --selfupdate $ luatools --generate $ context --make then I get the message: MTXrun | unknown script 'context.lua' or 'mtx-context.lua' -- 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] mtxrun script broken in the latest beta
2009/12/23 Yanrui Li > Hi, > > Under linux x86: > > $ context --version > MTXrun | unknown script 'context.lua' or 'mtx-context.lua' > > After I replaced the current one with the previous one, it can work again. > > Sorry, I discovered this is only my delusion for the result after replacing the current one with the previous 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] mtxrun script broken in the latest beta
On Wed, 23 Dec 2009, Yanrui Li wrote: Hi, Under linux x86: $ context --version MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Run luatools --generate first. Aditya ___ 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] mtxrun initialization bug
Alan BRASLAU wrote: I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install. mtxrun and luatools are kind of selfcontained contrary to context that needs mtxrun so that might explain part of 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] mtxrun problem "HEXsum"
Am 2009-05-16 um 13:26 schrieb Hans Hagen: /texmf/tex/texmf-osx-intel/bin/mtxrun:1953: attempt to call field 'HEXsum' (a nil value) should be return md5.HEX(data) Yes, that seems to fix the issue. Thank you! Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] mtxrun problem "HEXsum"
Henning Hraban Ramm wrote: ## /texmf/tex/texmf-osx-intel/bin/mtxrun:1953: attempt to call field 'HEXsum' (a nil value) ## should be return md5.HEX(data) - 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] mtxrun / fonts
i tend to use --pattern, is that wrong? $ mtxrun --script fonts --list --info --pattern="*minion*" MTXrun | fontname: minionprobold MTXrun | fullname: MinionPro-Bold MTXrun | filename: /media/sdb1/Fonts/Minion Pro/MinionPro-Bold.otf MTXrun | MTXrun | fontname: minionproboldcapt MTXrun | fullname: MinionPro-BoldCapt MTXrun | filename: /media/sdb1/Fonts/Minion Pro/MinionPro-BoldCapt.otf MTXrun | . . . btw, the new output is much more intuitive. Wolfgang Schuster wrote: Hi Hans, the following produced a list with all font features for Minion Pro but it did no longer work. mtxrun --script fonts --list --info minionproregular 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 ___ ___ 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] mtxrun --noquotes on windows
It may be windows has problem to handle the space in quoted parameters? write those commands to a batch file then call by mtxrun works right. May be it is a solution. :) Andy On Fri, Apr 10, 2009 at 3:32 PM, Aditya Mahajan wrote: > On Fri, 10 Apr 2009, Andy Wong wrote: > > Yes, if leave a space between the last two quotes, mtx output seems ok. >> >> MTXrun | >> MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex" >> MTXrun | >> But it still cause vim open two file named "tabstop=8" and "test.tex" to >> edit. So it seems vim treat tabstop=8 as a file? that still a quotes >> problem, right? I also test if there no space in quoted arguments, such as >> > > I am beginning to suspect that it is a shell problem rather than a mtxrun > problem. Mtxrun passes the correct commands and quotes to the shell, but the > shell for some reason ignores that. > > > Aditya > > ___ > 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] mtxrun --noquotes on windows
On Fri, 10 Apr 2009, Andy Wong wrote: Yes, if leave a space between the last two quotes, mtx output seems ok. MTXrun | MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex" MTXrun | But it still cause vim open two file named "tabstop=8" and "test.tex" to edit. So it seems vim treat tabstop=8 as a file? that still a quotes problem, right? I also test if there no space in quoted arguments, such as I am beginning to suspect that it is a shell problem rather than a mtxrun problem. Mtxrun passes the correct commands and quotes to the shell, but the shell for some reason ignores that. Aditya ___ 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] mtxrun --noquotes on windows
Yes, if leave a space between the last two quotes, mtx output seems ok. MTXrun | MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex" MTXrun | But it still cause vim open two file named "tabstop=8" and "test.tex" to edit. So it seems vim treat tabstop=8 as a file? that still a quotes problem, right? I also test if there no space in quoted arguments, such as mtxrun --noquotes bin:vim "-u NONE -c \"help\" \"test.tex\" " This time vim will open the "test.tex" and help window as expected. If any command with space in -c parameter, vim can not correct executed. manually execute the vim command: vim -u NONE -c "set tabstop=8" "test.tex" vim open the "test.tex" only to edit as expected. Andy On Fri, Apr 10, 2009 at 2:49 PM, Aditya Mahajan wrote: > On Fri, 10 Apr 2009, Andy Wong wrote: > > I think I may not write it clear in my previous email. I run the command as >> >> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\"" >> > > If you quote the filename, then it should be > mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\" " > > Notice the space before the last quote. This will open two files test.tex > and "", but that it is ok. The last file is ignored by t-vim. > > which got the mtxrun output has spurious " before test.tex. if omit the \" >> around the test.tex, like this, >> >> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex" >> >> there are no spurious " in mtxrun output. >> > > So it is not mtxrun's fault. > > However, both will make vim open a >> new file named "tabset=8" >> > > You mean tabstop=8? > > and the test.tex to be edited. That is the >> problem. I guess under linux this command should open vim to edit the >> test.tex only instead. >> > > If vim is passed the correct command, I do not see why it should not > execute it in the same way in windows. Try one more thing. Run > > mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\" " > > mtxrun should report that it is executing > > vim -u NONE -c "set tabstop=8" "test.tex" > > Execute the above command manually on the terminal. Do you get the same > result in both cases? > > Aditya > > > > > On Fri, Apr 10, 2009 at 1:40 PM, Aditya Mahajan wrote: >> >> Hi, >>> >>> It seems that mtxrun --noquotes behaves differently on windows and linux. >>> Can someone on windows (who has vim) check the following. Run >>> >>> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex" >>> >>> You will enter in vim. Press :qa! to exit vim. What does the output on >>> the >>> terminal say? On my linux machine, I get >>> >>> MTXrun | executing: vim -u NONE -c "set tabstop=8" test.tex >>> >>> Andy Wong tested it on windows and he gets >>> >>> MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex >>> >>> Notice the spurious " before test.tex. This causes t-vim to fail on >>> windows. Do others on windows get the same behavour? I do not see a >>> reason >>> why mtxrun should behave differently on linux and windows. >>> >>> Thanks, >>> Aditya >>> >>> >>> >>> ___ >>> 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 > > ___ > ___ 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 ___