Re: [NTG-context] texexec slow
On Thu, 23 Apr 2009 10:26:40 -0400 (EDT) Aditya Mahajan adit...@umich.edu scribit: On Thu, 23 Apr 2009, R. Bastian wrote: Hi, I am new on this list. I use pftex and would use ConTeXt installed with texlive/2007. 'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very slow. Where con I get the doc or what shall I do ? I do not know if this is related or not...but Occasionally I also find that texexec is extremely slow. (Takes about a minute to initiate and then runs fine). This happens, when my internet connection is in a bad state (which means that ping to a server also time out). In that situation texmfstart takes ages to get a response from drb. Whenever I kill the process by ^C, the interupt is in the call to drb. I do not remember the exact interupt message, but I will try to get more information when this happens the next time. If I avoid texmfstart, ie, run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs fine. Aditya ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb texfile Haha ! with this tip I get an error message from 'pdftex' : libstdc++.so.5 ... No such file ... The libstdc++6 is installed. What can I do ? ___ ___ 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] texexec slow
On Thu, 23 Apr 2009 16:55:56 +0200 R. Bastian rbast...@free.fr scribit: On Thu, 23 Apr 2009 10:26:40 -0400 (EDT) Aditya Mahajan adit...@umich.edu scribit: On Thu, 23 Apr 2009, R. Bastian wrote: Hi, I am new on this list. I use pftex and would use ConTeXt installed with texlive/2007. 'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very slow. Where con I get the doc or what shall I do ? I do not know if this is related or not...but Occasionally I also find that texexec is extremely slow. (Takes about a minute to initiate and then runs fine). This happens, when my internet connection is in a bad state (which means that ping to a server also time out). In that situation texmfstart takes ages to get a response from drb. Whenever I kill the process by ^C, the interupt is in the call to drb. I do not remember the exact interupt message, but I will try to get more information when this happens the next time. If I avoid texmfstart, ie, run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs fine. Aditya ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb texfile Haha ! with this tip I get an error message from 'pdftex' : libstdc++.so.5 ... No such file ... The libstdc++6 is installed. What can I do ? I installed libstdc++5 - now pdftex complains cant find ... 'cont-en.fmt' ___ 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] texexec slow
On Thu, 23 Apr 2009 17:10:29 +0200 R. Bastian rbast...@free.fr scribit: On Thu, 23 Apr 2009 16:55:56 +0200 R. Bastian rbast...@free.fr scribit: On Thu, 23 Apr 2009 10:26:40 -0400 (EDT) Aditya Mahajan adit...@umich.edu scribit: On Thu, 23 Apr 2009, R. Bastian wrote: Hi, I am new on this list. I use pftex and would use ConTeXt installed with texlive/2007. 'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very slow. Where con I get the doc or what shall I do ? I do not know if this is related or not...but Occasionally I also find that texexec is extremely slow. (Takes about a minute to initiate and then runs fine). This happens, when my internet connection is in a bad state (which means that ping to a server also time out). In that situation texmfstart takes ages to get a response from drb. Whenever I kill the process by ^C, the interupt is in the call to drb. I do not remember the exact interupt message, but I will try to get more information when this happens the next time. If I avoid texmfstart, ie, run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs fine. Aditya ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb texfile Haha ! with this tip I get an error message from 'pdftex' : libstdc++.so.5 ... No such file ... The libstdc++6 is installed. What can I do ? I installed libstdc++5 - now pdftex complains cant find ... 'cont-en.fmt' i dont know if it is of interest for you: - I switched back to TL2007 (now pdftex finds 'cont-en') - texexec source.tex compiles 3 min 14 sec for 1 page of pdf - pdftex -fmt cont-en compiles 1 sec and produces a dvi file Thanks for your help. ___ 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] texexec slow
Aditya Mahajan wrote: On Thu, 23 Apr 2009, R. Bastian wrote: Hi, I am new on this list. I use pftex and would use ConTeXt installed with texlive/2007. 'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb $@) is very slow. Where con I get the doc or what shall I do ? I do not know if this is related or not...but Occasionally I also find that texexec is extremely slow. (Takes about a minute to initiate and then runs fine). This happens, when my internet hm, there is some code in there for a distributed kpse server but as it is not enabled by default i wonder ... anyhow, i'll remove that code also, one can use mtxrun as dropin (but the specific aspect has a buglet) so in upcoming distributions we will use that - 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] updating ConTeXt (MacTeX)
On Mon, Mar 30, 2009 at 12:27, Mojca Miklavec wrote: 2009/3/30 Robert Blackstone wrote: In order to be able to use MkIV and Luatex I started, as a MacTeX-user, by updating ConTeXt (MacTeX: You need to update ConTeXt first.), following instructions on http://wiki.contextgarden.net/Running_Mark_IV#Updating_ConTeXt The command as given (copied and pasted in terminal) does not work: everything fails: Operation not permitted. Redoing it as Sudo does the job. But then: “luatools --generate” gives: -bash: /usr/texbin/luatools: Permission denied, “sudo luatools --generate” gives “luatools: command not found”. So I cd-ed to /usr/texbin, gave the command “sudo chmod 755 luatools” and then “luatools --generate” and got: Hello Robert, I wrote those instructions a long while ago, working on Tiger and having a whole lot of TeX binaries lying around, most probably I also did chown myname to the whole TeX tree before performing any operation described there. Can you please try if the following four operations (be careful - these are single lines that will probably break in mail) work OK for you? sudo chown -R root:wheel /usr/local/texlive/2008 sudo chmod +x /usr/local/texlive/2008/texmf-dist/scripts/context/lua/*.lua sudo chmod +x /usr/local/texlive/2008/texmf-dist/scripts/context/ruby/*.rb sudo chmod +x /usr/local/texlive/2008/texmf-dist/scripts/context/stubs/unix/* (I get some weird feedback though) LuaTools | files saved in /var/folders/fO/fONBcIHtG78WRhwbQBWB8TI/-Tmp-/luatex-cache/context/20f08ecfffa488db466c55cc8e06b650/trees/982f3cc39ab8256ee0595931d5cfd085.lua 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] substitutions: can i send this?
On Fri, 27 Mar 2009 06:05:03 -0600, Khaled Hosny khaledho...@eglug.org wrote: (I know this an old thread, but I just happen to exactly the same feature Idris was asking for) On Thu, Oct 09, 2008 at 12:53:47AM +0200, Mojca Miklavec wrote: usage: ruby scriptname.rb input.tex output.tex #!/usr/bin/env ruby subs_hash = { Mohamed = Muḥammad, Idris = ادريس, } while line = STDIN.gets subs_hash.each do |key,value| line.gsub!(Regexp.new(key), value) end puts line end Such approach has a major disadvantage, one have to take care of not altering macros and tex commands or we may end with a broken document (I have more general use case where the to be substituted strings can occur in macros as well), and we know that only TeX can read TeX :) I'm thinking in lua callback that get fed with text buffers in a similar way to OTPs, so one can use regular expressions to pre-process the text without messing with node list, think in code that replaces 2nd with 2\high{nd} etc. which would be very complex to be done at node list level. If it's not so complex, have you considered overloading font features with fea files? Now that Adobe has (finally!) completed a major overhaul of the spec, including the features neeeded for arabic, that's an option. But for your more complex needs, see the m-translate module. Maybe that can be developed further? Note that Hans has pointed out that this is NOT a core module and that it is preferable to fix the source beforehand. سلام Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] substitutions
(I know this an old thread, but I just happen to exactly the same feature Idris was asking for) On Thu, Oct 09, 2008 at 12:53:47AM +0200, Mojca Miklavec wrote: usage: ruby scriptname.rb input.tex output.tex #!/usr/bin/env ruby subs_hash = { Mohamed = Muḥammad, Idris = ادريس, } while line = STDIN.gets subs_hash.each do |key,value| line.gsub!(Regexp.new(key), value) end puts line end Such approach has a major disadvantage, one have to take care of not altering macros and tex commands or we may end with a broken document (I have more general use case where the to be substituted strings can occur in macros as well), and we know that only TeX can read TeX :) I'm thinking in lua callback that get fed with text buffers in a similar way to OTPs, so one can use regular expressions to pre-process the text without messing with node list, think in code that replaces 2nd with 2\high{nd} etc. which would be very complex to be done at node list level. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] new beta
Hi, this weeks beta ... -- a couple of bug fixes, some are still pending -- the context script can recognize files for mkii (first line directive) and listens to --pdftex and --xetex; it still calls texexec but this method can replace the texmfstart call (mtxrun is faster); it also permits integration in an editor (so that one command is used for all engines) -- there is an --update option to the context command (which will install the latest version from the website); don't confuse this with a garden minimnal update (i will gradually move all ruby goodies to lua) -- i'm currently working on the new structure macro so if there are problems, let me know; Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta: \abortinputifdefined (mkiv)
Peter Rolf wrote: The interesting thing is, that it works after the third run. After you delete all temporary files (tuo,tui) you need again three runs to get a working pdf. All I can see is, that there are multiple {docushade} (one per page) entries (donno the details). Tested with beta from yesterday. Maybe you have fixed this already? i've noticed some weird behaviour too the problem is not in context but in ruby (i use md5 calculations to determine if another pass is needed) because this is one of the area where ruby 1.9 is not downward compatible i gave it another try so .. new beta in a while Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta: \abortinputifdefined (mkiv)
Hans Hagen schrieb: Peter Rolf wrote: The interesting thing is, that it works after the third run. After you delete all temporary files (tuo,tui) you need again three runs to get a working pdf. All I can see is, that there are multiple {docushade} (one per page) entries (donno the details). Tested with beta from yesterday. Maybe you have fixed this already? i've noticed some weird behaviour too the problem is not in context but in ruby (i use md5 calculations to determine if another pass is needed) because this is one of the area where ruby 1.9 is not downward compatible i gave it another try so .. new beta in a while Looks good. Small and 'big' example work without problems. Thanks Hans! Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Es ist doch ein Trost, das Geldgier manchmal blöd macht. - Kottan in Kottan ermittelt, Folge 9: Die Einteilung - ___ 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] pinyin in context
On Mon, Mar 16, 2009 at 09:23:50PM +0100, Wolfgang Schuster wrote: Am 16.03.2009 um 17:17 schrieb Bill Long: The pinyin has 5 kind of tone for one pronunciation. As it's hard to input, and in CJK 1,2,3,4 are use to represent the tone, (the fifth is no special tone mark). In the book for children, the pinyin always show above the Chinese like the picture I upload. A solution like can be easy integrated in a ruby command because you need only a command parameter for the ruby text, e.g. \setupruby[command=\pinyin] but you're looking for something like the translate module. In fact, 2 features I need, 1. the easy way to support PinYin, both input and the format, As I mentioned, I hope the pinyin can be placed over the Chinese character it represented automatically with some environment or so. 2. automatic convert/add pinyin to Chinese Character , now I use sed to make, but I still hope there are some more easy way. To make it show correctly is an good start, but if there are some tools to automatic add PinYin , it will be more attractive. In Chinese they do have the character which have multi pronunciation, but most of them only has single pronunciation, I can try to find out some dict to translate Chinese Character into PinYin if anyone can help integrate this convert tool into context. If you can provide such a list Hans can add the information to char- def.lua, for the moment you have to rely on my \pinyin command, I have now written a new version on a word macro I found. Wolfgang \startluacode function commands.pinyin(str) str = string.gsub(str,r1,1r) str = string.gsub(str,r2,2r) str = string.gsub(str,r3,3r) str = string.gsub(str,r4,4r) str = string.gsub(str,r5,5r) str = string.gsub(str,ng1,1ng) str = string.gsub(str,ng2,2ng) str = string.gsub(str,ng3,3ng) str = string.gsub(str,ng4,4ng) str = string.gsub(str,ng5,5ng) str = string.gsub(str,n1,1n) str = string.gsub(str,n2,2n) str = string.gsub(str,n3,3n) str = string.gsub(str,n4,4n) str = string.gsub(str,n1,5n) str = string.gsub(str,ai1,a1i) str = string.gsub(str,ai2,a2i) str = string.gsub(str,ai3,a3i) str = string.gsub(str,ai4,a4i) str = string.gsub(str,ai5,a5i) str = string.gsub(str,ei1,e1i) str = string.gsub(str,ei2,e2i) str = string.gsub(str,ei3,e3i) str = string.gsub(str,ei4,e4i) str = string.gsub(str,ei5,e5i) str = string.gsub(str,ao1,a1o) str = string.gsub(str,ao2,a2o) str = string.gsub(str,ao3,a3o) str = string.gsub(str,ao4,a4o) str = string.gsub(str,ao5,a5o) str = string.gsub(str,ou1,o1u) str = string.gsub(str,ou2,o2u) str = string.gsub(str,ou3,o3u) str = string.gsub(str,ou4,o4u) str = string.gsub(str,ou5,o5u) str = string.gsub(str,uu1,v1) str = string.gsub(str,uu2,v2) str = string.gsub(str,uu3,v3) str = string.gsub(str,uu4,v4) str = string.gsub(str,uu,ü) -- is this correct? it's correct, although this character maybe rarely/never been used with this tone. str = string.gsub(str,o1,ō) str = string.gsub(str,o2,ó) str = string.gsub(str,o3,ǒ) str = string.gsub(str,o4,ò) str = string.gsub(str,e1,ē) str = string.gsub(str,e2,é) str = string.gsub(str,e3,ě) str = string.gsub(str,e4,è) str = string.gsub(str,i1,ī) str = string.gsub(str,i2,í) str = string.gsub(str,i3,ǐ) str = string.gsub(str,i4,ì) str = string.gsub(str,u1,ū) str = string.gsub(str,u2,ú) str = string.gsub(str,u3,ǔ) str = string.gsub(str,u4,ù) str = string.gsub(str,v1,ǖ) str = string.gsub(str,v2,ǘ) str = string.gsub(str,v3,ǚ) str = string.gsub(str,v4,ǜ) str = string.gsub(str,a1,ā) str = string.gsub(str,a2,á) str = string.gsub(str,a3,ǎ) str = string.gsub(str,a4,à) tex.sprint(tex.ctxcatcodes,str) end \stopluacode \def\pinyin#1{\ctxlua{commands.pinyin([[#1]])}} \starttext \definedfont[name:arialunicodems*default] \pinyin{ni2hao3} \pinyin{huai4} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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
Re: [NTG-context] pinyin in context
wolf-newjap.tex Description: Binary data wolf-jap.tex Description: Binary data js-ruby.tex Description: Binary data Am 17.03.2009 um 22:22 schrieb Bill Long: In fact, 2 features I need, 1. the easy way to support PinYin, both input and the format, As I mentioned, I hope the pinyin can be placed over the Chinese character it represented automatically with some environment or so. I attached a few old files I used to simple ruby texts but none of them is a perfect solution, if you get a proper macro it should support complex and simple ruby. 2. automatic convert/add pinyin to Chinese Character , now I use sed to make, but I still hope there are some more easy way. Arthur list can be used for this but you still ned markup to show which characters need reading and then you could also use a ruby command. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pinyin in context
Am 16.03.2009 um 17:17 schrieb Bill Long: The pinyin has 5 kind of tone for one pronunciation. As it's hard to input, and in CJK 1,2,3,4 are use to represent the tone, (the fifth is no special tone mark). In the book for children, the pinyin always show above the Chinese like the picture I upload. A solution like can be easy integrated in a ruby command because you need only a command parameter for the ruby text, e.g. \setupruby[command=\pinyin] but you're looking for something like the translate module. To make it show correctly is an good start, but if there are some tools to automatic add PinYin , it will be more attractive. In Chinese they do have the character which have multi pronunciation, but most of them only has single pronunciation, I can try to find out some dict to translate Chinese Character into PinYin if anyone can help integrate this convert tool into context. If you can provide such a list Hans can add the information to char- def.lua, for the moment you have to rely on my \pinyin command, I have now written a new version on a word macro I found. Wolfgang \startluacode function commands.pinyin(str) str = string.gsub(str,r1,1r) str = string.gsub(str,r2,2r) str = string.gsub(str,r3,3r) str = string.gsub(str,r4,4r) str = string.gsub(str,r5,5r) str = string.gsub(str,ng1,1ng) str = string.gsub(str,ng2,2ng) str = string.gsub(str,ng3,3ng) str = string.gsub(str,ng4,4ng) str = string.gsub(str,ng5,5ng) str = string.gsub(str,n1,1n) str = string.gsub(str,n2,2n) str = string.gsub(str,n3,3n) str = string.gsub(str,n4,4n) str = string.gsub(str,n1,5n) str = string.gsub(str,ai1,a1i) str = string.gsub(str,ai2,a2i) str = string.gsub(str,ai3,a3i) str = string.gsub(str,ai4,a4i) str = string.gsub(str,ai5,a5i) str = string.gsub(str,ei1,e1i) str = string.gsub(str,ei2,e2i) str = string.gsub(str,ei3,e3i) str = string.gsub(str,ei4,e4i) str = string.gsub(str,ei5,e5i) str = string.gsub(str,ao1,a1o) str = string.gsub(str,ao2,a2o) str = string.gsub(str,ao3,a3o) str = string.gsub(str,ao4,a4o) str = string.gsub(str,ao5,a5o) str = string.gsub(str,ou1,o1u) str = string.gsub(str,ou2,o2u) str = string.gsub(str,ou3,o3u) str = string.gsub(str,ou4,o4u) str = string.gsub(str,ou5,o5u) str = string.gsub(str,uu1,v1) str = string.gsub(str,uu2,v2) str = string.gsub(str,uu3,v3) str = string.gsub(str,uu4,v4) str = string.gsub(str,uu,ü) -- is this correct? str = string.gsub(str,o1,ō) str = string.gsub(str,o2,ó) str = string.gsub(str,o3,ǒ) str = string.gsub(str,o4,ò) str = string.gsub(str,e1,ē) str = string.gsub(str,e2,é) str = string.gsub(str,e3,ě) str = string.gsub(str,e4,è) str = string.gsub(str,i1,ī) str = string.gsub(str,i2,í) str = string.gsub(str,i3,ǐ) str = string.gsub(str,i4,ì) str = string.gsub(str,u1,ū) str = string.gsub(str,u2,ú) str = string.gsub(str,u3,ǔ) str = string.gsub(str,u4,ù) str = string.gsub(str,v1,ǖ) str = string.gsub(str,v2,ǘ) str = string.gsub(str,v3,ǚ) str = string.gsub(str,v4,ǜ) str = string.gsub(str,a1,ā) str = string.gsub(str,a2,á) str = string.gsub(str,a3,ǎ) str = string.gsub(str,a4,à) tex.sprint(tex.ctxcatcodes,str) end \stopluacode \def\pinyin#1{\ctxlua{commands.pinyin([[#1]])}} \starttext \definedfont[name:arialunicodems*default] \pinyin{ni2hao3} \pinyin{huai4} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pinyin in context
Bill Long wrote: so http://picasaweb.google.com/lh/sredir?uname=weilai.longtarget=ALBUMid=5313243080349643217authkey=Gv1sRgCJLO9v__gOPr_gEfeat=email is the result of \ruby{静}{\jing4} \ruby{夜}{\ye4}\ruby{思}{\si1} i.e. you want transliterations on top? is that \jing4 a convention or something specific for tex packages Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pinyin in context
Dear Hans, Can you help check if you can implement a new feature of pinyin input in context? I upload the effect I wanna get in bellow link ( what I provide last time seemed doesn't work), Please check. http://picasaweb.google.com/lh/sredir?uname=weilai.longtarget=ALBUMid=5313243080349643217authkey=Gv1sRgCJLO9v__gOPr_gEfeat=email Thanks in advance. On Wed, Mar 11, 2009 at 12:44:49PM +0800, Bill Long wrote: I input pinyin above Chinese character in bellow way: --- \documentclass{article} \usepackage[overlap, CJK]{ruby} \usepackage{pinyin} \usepackage{CJK} \begin{CJK*}{UTF8}{song} \begin{document} \renewcommand{\rubysep}{.3ex} \renewcommand{\rubysize}{.5} \ruby{静}{\jing4} \ruby{夜}{\ye4}\ruby{思}{\si1} \end{CJK*} \end{document} but it has poor line break, Does contex support pinyin ? and how to implement? Thanks. -- 卷206_55 【送王牧往吉州谒王使君叔】李嘉祐 细草绿汀洲,王孙耐薄游。年华初冠带,文体旧弓裘。 野渡花争发,春塘水乱流。使君怜小阮,应念倚门愁。 ___ 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] pinyin in context
thanks. I upload the target I wanna got in http://rhce4u.googlepages.com/yourpage%27stitle. On Wed, Mar 11, 2009 at 01:08:05PM +0800, Yue Wang wrote: post the result you want to have here so context developers can help you. 2009/3/11 Bill Long longwei...@sohu.com: I input pinyin above Chinese character in bellow way: --- \documentclass{article} \usepackage[overlap, CJK]{ruby} \usepackage{pinyin} \usepackage{CJK} \begin{CJK*}{UTF8}{song} \begin{document} \renewcommand{\rubysep}{.3ex} \renewcommand{\rubysize}{.5} \ruby{静}{\jing4} \ruby{夜}{\ye4}\ruby{思}{\si1} \end{CJK*} \end{document} but it has poor line break, Does contex support pinyin ? and how to implement? Thanks. 常思峰顶叟,石窟土为床。日日先见日,烟霞多异香。 冥心同槁木,扫雪带微阳。终必相寻去,斯人不可忘。 ___ 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 ___ -- 卷146_2 【燕歌行】陶翰 请君留楚调,听我吟燕歌。家在辽水头,边风意气多。 出身为汉将,正值戎未和。雪中凌天山,冰上渡交河。 大小百馀战,封侯竟蹉跎。归来灞陵下,故旧无相过。 雄剑委尘匣,空门垂雀罗。玉簪还赵女,宝瑟付齐娥。 昔日不为乐,时哉今奈何。 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] pinyin in context
I input pinyin above Chinese character in bellow way: --- \documentclass{article} \usepackage[overlap, CJK]{ruby} \usepackage{pinyin} \usepackage{CJK} \begin{CJK*}{UTF8}{song} \begin{document} \renewcommand{\rubysep}{.3ex} \renewcommand{\rubysize}{.5} \ruby{静}{\jing4} \ruby{夜}{\ye4}\ruby{思}{\si1} \end{CJK*} \end{document} but it has poor line break, Does contex support pinyin ? and how to implement? Thanks. -- 卷829_3 【怀香炉峰道人】贯休 常思峰顶叟,石窟土为床。日日先见日,烟霞多异香。 冥心同槁木,扫雪带微阳。终必相寻去,斯人不可忘。 ___ 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] pinyin in context
post the result you want to have here so context developers can help you. 2009/3/11 Bill Long longwei...@sohu.com: I input pinyin above Chinese character in bellow way: --- \documentclass{article} \usepackage[overlap, CJK]{ruby} \usepackage{pinyin} \usepackage{CJK} \begin{CJK*}{UTF8}{song} \begin{document} \renewcommand{\rubysep}{.3ex} \renewcommand{\rubysize}{.5} \ruby{静}{\jing4} \ruby{夜}{\ye4}\ruby{思}{\si1} \end{CJK*} \end{document} but it has poor line break, Does contex support pinyin ? and how to implement? Thanks. -- 卷829_3 【怀香炉峰道人】贯休 常思峰顶叟,石窟土为床。日日先见日,烟霞多异香。 冥心同槁木,扫雪带微阳。终必相寻去,斯人不可忘。 ___ 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] beta / cjk
Yue Wang wrote: beta is not working. failed when generating the format for mkii It still works for me. You are still using ruby 1.8, I assume? TeXExec | unable to make format due to lack of permissions Also, it seems that sometimes you get that when you are creating the formats from within a wrong starting directory. Can you try from e.g. C:\Temp ? I have had this due to lack of permissions happen to me on various occasions also, but I've never been able to pinpoint the exact cause. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta / cjk
yes, Taco, you are right. it generated plain.mem and log, metafun.men and log on the c:\Temp. On Tue, Mar 3, 2009 at 6:02 PM, Yue Wang yuleo...@gmail.com wrote: On Tue, Mar 3, 2009 at 4:37 PM, Taco Hoekwater t...@elvenkind.com wrote: Yue Wang wrote: beta is not working. failed when generating the format for mkii It still works for me. You are still using ruby 1.8, I assume? Yes. TeXExec | unable to make format due to lack of permissions Also, it seems that sometimes you get that when you are creating the formats from within a wrong starting directory. Can you try from e.g. C:\Temp ? C:\temptexexec --make TeXExec | using search method 'kpsefast' TeXExec | updating file database Cannot open C:/context/tex/texmf-project/ls-R to write. mktexlsr: Updating C:/context/tex/texmf-fonts/ls-R... mktexlsr: Updated C:/context/tex/texmf-fonts/ls-R. Cannot open C:/context/tex/texmf-local/ls-R to write. mktexlsr: Updating C:/context/tex/texmf-mswin/ls-R... mktexlsr: Updated C:/context/tex/texmf-mswin/ls-R. mktexlsr: Updating C:/context/tex/texmf-context/ls-R... mktexlsr: Updated C:/context/tex/texmf-context/ls-R. Cannot open C:/context/tex/texmf-extra/ls-R to write. mktexlsr: Updating C:/context/tex/texmf/ls-R... mktexlsr: Updated C:/context/tex/texmf/ls-R. mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex format path ./pdftex TeXExec | unable to make format due to lack of permissions TeXExec | using mp engine mpost TeXExec | using mps format path . TeXExec | generating mps format metafun warning: mpost: unimplemented option -translate-file=natural.tcx This is MetaPost, version 1.102 (kpathsea version 3.5.7) (INIMP) (c:/context/tex/texmf-context/metapost/context/base/metafun.mp (c:/context/tex/t exmf-context/metapost/context/base/mp-base.mp Preloading the plain mem file, version 0.63) (c:/context/tex/texmf-context/metap ost/context/base/mp-tool.mp) (c:/context/tex/texmf-context/metapost/context/base /mp-spec.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-core.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-page.mp) (c:/context/tex/ texmf-context/metapost/context/base/mp-text.mp) (c:/context/tex/texmf-context/me tapost/context/base/mp-txts.mp) (c:/context/tex/texmf-context/metapost/context/b ase/mp-shap.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-butt.mp) (c:/context/tex/ texmf-context/metapost/context/base/mp-char.mp) (c:/context/tex/texmf-context/me tapost/context/base/mp-step.mp) (c:/context/tex/texmf-context/metapost/context/b ase/mp-grph.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-figs.mp) (c:/context/tex/ texmf-context/metapost/context/base/mp-mlib.mp) (c:/context/tex/texmf-context/me tapost/context/base/mp-grid.mp (c:/context/tex/texmf-context/metapost/context/ba se/mp-form.mp (c:/context/tex/texmf/metapost/base/string.mp) (c:/context/tex/texmf/metapost/ba se/marith.mp (c:/context/tex/texmf/metapost/base/string.mp (c:/context/tex/t exmf-context/metapost/context/base/mp-func.mp) ) Beginning to dump on file metafun.mem (mem=metafun 2009.03.03) at most 2189 strings of total length 17786 49468 memory locations dumped; current usage is 1283136510 1792 symbolic tokens Transcript written on metafun.log. TeXExec | TeXExec | mps engine path: . TeXExec | TeXExec | mps: 03/03/2009 17:59:21 C:/temp/metafun.mem (483328) TeXExec | mps: 03/03/2009 17:59:21 C:/temp/metafun.mem (483328) TeXExec | TeXExec | runtime: 0.328 C:\tempruby --version ruby 1.8.4 (2005-12-24) [i386-mswin32] C:\temp I have had this due to lack of permissions happen to me on various occasions also, but I've never been able to pinpoint the exact cause. I use Hans's context/install/mswincontext.zip and upgrade context using the first-setup.sh inside that file. It works fine during the last few months. however, today the problem appears. I didn't change anything. so strange. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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] beta again
Hi, Hans: Thanks for the quick fix! I will try the latest beta once it appears on minimals repository. Yue Wang On Tue, Mar 3, 2009 at 5:58 PM, Hans Hagen pra...@wxs.nl wrote: Hi, - the problem with creating formats is related to changes in texexec (and other rb modules) that rely on ruby 1.8 and had to be adapted to 1.9; because incompatibilities in library calls are nicely catched (begin .. rescue ... end) we never see problems unless we explicitly issue an error message or warning which in most cases is more bound to the expected behaviour than to the method missing ... as such, i would not be surprised if more problems show up, but on the other hand, in the end only texexec remains as ruby script - the problem with hz/protruding was due to a typo in one of the lua scripts but even then, the posted example would now show the effects as one has to explicitly turn it on: \setupalign[hz,hanging] i'll upload a new beta Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta / cjk
On Tue, Mar 3, 2009 at 4:37 PM, Taco Hoekwater t...@elvenkind.com wrote: Yue Wang wrote: beta is not working. failed when generating the format for mkii It still works for me. You are still using ruby 1.8, I assume? Yes. TeXExec | unable to make format due to lack of permissions Also, it seems that sometimes you get that when you are creating the formats from within a wrong starting directory. Can you try from e.g. C:\Temp ? C:\temptexexec --make TeXExec | using search method 'kpsefast' TeXExec | updating file database Cannot open C:/context/tex/texmf-project/ls-R to write. mktexlsr: Updating C:/context/tex/texmf-fonts/ls-R... mktexlsr: Updated C:/context/tex/texmf-fonts/ls-R. Cannot open C:/context/tex/texmf-local/ls-R to write. mktexlsr: Updating C:/context/tex/texmf-mswin/ls-R... mktexlsr: Updated C:/context/tex/texmf-mswin/ls-R. mktexlsr: Updating C:/context/tex/texmf-context/ls-R... mktexlsr: Updated C:/context/tex/texmf-context/ls-R. Cannot open C:/context/tex/texmf-extra/ls-R to write. mktexlsr: Updating C:/context/tex/texmf/ls-R... mktexlsr: Updated C:/context/tex/texmf/ls-R. mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex format path ./pdftex TeXExec | unable to make format due to lack of permissions TeXExec | using mp engine mpost TeXExec | using mps format path . TeXExec | generating mps format metafun warning: mpost: unimplemented option -translate-file=natural.tcx This is MetaPost, version 1.102 (kpathsea version 3.5.7) (INIMP) (c:/context/tex/texmf-context/metapost/context/base/metafun.mp (c:/context/tex/t exmf-context/metapost/context/base/mp-base.mp Preloading the plain mem file, version 0.63) (c:/context/tex/texmf-context/metap ost/context/base/mp-tool.mp) (c:/context/tex/texmf-context/metapost/context/base /mp-spec.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-core.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-page.mp) (c:/context/tex/ texmf-context/metapost/context/base/mp-text.mp) (c:/context/tex/texmf-context/me tapost/context/base/mp-txts.mp) (c:/context/tex/texmf-context/metapost/context/b ase/mp-shap.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-butt.mp) (c:/context/tex/ texmf-context/metapost/context/base/mp-char.mp) (c:/context/tex/texmf-context/me tapost/context/base/mp-step.mp) (c:/context/tex/texmf-context/metapost/context/b ase/mp-grph.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-figs.mp) (c:/context/tex/ texmf-context/metapost/context/base/mp-mlib.mp) (c:/context/tex/texmf-context/me tapost/context/base/mp-grid.mp (c:/context/tex/texmf-context/metapost/context/ba se/mp-form.mp (c:/context/tex/texmf/metapost/base/string.mp) (c:/context/tex/texmf/metapost/ba se/marith.mp (c:/context/tex/texmf/metapost/base/string.mp (c:/context/tex/t exmf-context/metapost/context/base/mp-func.mp) ) Beginning to dump on file metafun.mem (mem=metafun 2009.03.03) at most 2189 strings of total length 17786 49468 memory locations dumped; current usage is 1283136510 1792 symbolic tokens Transcript written on metafun.log. TeXExec | TeXExec | mps engine path: . TeXExec | TeXExec | mps: 03/03/2009 17:59:21 C:/temp/metafun.mem (483328) TeXExec | mps: 03/03/2009 17:59:21 C:/temp/metafun.mem (483328) TeXExec | TeXExec | runtime: 0.328 C:\tempruby --version ruby 1.8.4 (2005-12-24) [i386-mswin32] C:\temp I have had this due to lack of permissions happen to me on various occasions also, but I've never been able to pinpoint the exact cause. I use Hans's context/install/mswincontext.zip and upgrade context using the first-setup.sh inside that file. It works fine during the last few months. however, today the problem appears. I didn't change anything. so strange. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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] beta again
It's working fine now, thanks a lot, Hans! On Tue, Mar 3, 2009 at 6:05 PM, Yue Wang yuleo...@gmail.com wrote: Hi, Hans: Thanks for the quick fix! I will try the latest beta once it appears on minimals repository. Yue Wang On Tue, Mar 3, 2009 at 5:58 PM, Hans Hagen pra...@wxs.nl wrote: Hi, - the problem with creating formats is related to changes in texexec (and other rb modules) that rely on ruby 1.8 and had to be adapted to 1.9; because incompatibilities in library calls are nicely catched (begin .. rescue ... end) we never see problems unless we explicitly issue an error message or warning which in most cases is more bound to the expected behaviour than to the method missing ... as such, i would not be surprised if more problems show up, but on the other hand, in the end only texexec remains as ruby script - the problem with hz/protruding was due to a typo in one of the lua scripts but even then, the posted example would now show the effects as one has to explicitly turn it on: \setupalign[hz,hanging] i'll upload a new beta Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ruby 1.9
Hi, Akira reported problems with context and ruby 1.9 and it looks like there are some upward incompatible changes in ruby (even syntax) so i need some time to figure that out. In the meantime ... just avoid using texexec with ruby 1.9 Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] startup script stubs (for unix)
On Fri, Feb 13, 2009 at 7:40 PM, frantisek holop min...@obiit.org wrote: hmm, on Fri, Feb 13, 2009 at 04:52:49PM +0100, Mojca Miklavec said that That folder is not meant to be a replacement for binaries. It's just a folder where files can be taken from and put somewhere else afterwards. They don't have the x bit set because zip on windows doesn't handle permission bits. ok, i have a lot of catching up to do because of the enormous volume of mail hitting this list, but let me ask this. all i want is a simple alias/shell_script/stub/whatever to run context on a .tex file. that's all. as someone coming from latex (a long time ago) and running commands like latex doc.tex or pdflatex doc.tex i always expected that to be context doc.tex. when i started using context, it was texexec doc.tex. as a user i don't mind what's in the background, perl, shell, ruby or a bone fide binary, all i'd like to do is have an official (as opposed to hand rolled/home made) context command that runs everything that is needed to process the .tex file. That's texexec and it's official on any TeX distribution, the only problem is that it doesn't work so well in older distributions. Any recent distribution has a properly working texexec command. But if you want to fiddle with home-made distribution, you need to be ready for using home-made solutions. That's all. There is also a more recent command context which uses luatex engine in the background. But I would not recommend you to try to enable it on the ancient distribution until you figure out all the other bits and pieces. You need to configure way too many files ... and you probably don't want to do every time when you reinstall the system if you do that often. It's much easier to install the minimals. is there something like that? if not, will be? :] Sure, there is - as explained above. It's just that nobody cares about tetex any more and nobody will provide support for tetex. But if you like it (for a reason - LaTeX hardly changes if you don't use XeTeX, TikZ etc.) it's perfectly fine if you configure it to use the most recent ConTeXt. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] startup script stubs (for unix)
hello gang, after almost a year of traveling i am back. anybody missed me? :] thought so. i have made the openbsd installation of context on top of texexec3 wiki page on the context wiki because i frequently reinstall my notebook and start from scratch with all my software. i realize by now texlive is the new thing but before i make context minimal work on openbsd i still prefer to bring up to date context on the much less bloated base of tetex3. my biggest gripe at the moment always at the end the ruby scripts... but this is something that could be easily changed. i personally find the following instructions the most helpful: http://wiki.contextgarden.net/TeTeX_3.0_installation#Ruby_scripts at the moment, the directory /usr/local/share/texmf-local/scripts/context/stubs/unix/ contains a bunch of scripts that are nice but unusable because 1. they dont have the x bit set 2. most of them contain something like texmfstart somescript $@ while texmfstart itself is not defined anywhere it would be really nice if these stubs could be just dropped as replacements for any current scripts and work out of the box. i am not sure my proposed solution is a good one, because frankly, except texexec i have never used any of the other scripts.. but looking at the afore-quoted wikipage it seems to me that the author favoured the approach of calling all the other sripts using texexec. the beauty of this is that no other scripts need to be installed. so what do you people think about the following approach: stub for texmfstart to be put under /usr/local/bin/texmfstart: #!/bin/sh ruby `kpsewhich --format=texmfscripts texmfstart.rb` $@ stub for texexe to be put under /usr/local/bin/texexec: #!/bin/sh SCRIPTNAME=`basename $0` if [ X$SCRIPTNAME = Xtexexec ]; then exec texmfstart texexec.rb $@ else exec texmfstart $SCRIPTNAME $@ fi and all the other script stubs could be removed i guess... -f -- good words cost no more than bad. ___ 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] startup script stubs (for unix)
On Wed, Feb 11, 2009 at 12:20 AM, frantisek holop wrote: hello gang, after almost a year of traveling i am back. anybody missed me? :] thought so. Hello Frantisek, Just a quick note ... not too many people on the list might be able to follow since there are probably not too many tetex3 users around, and the page you refer to is old as earth, so keep using whatever fits you best. Did you want to suggest changes on the webpage or did you want to ask if some procedure works? (I fully understand why you want to keep using tetex.) i have made the openbsd installation of context on top of texexec3 wiki page on the context wiki because i frequently reinstall my notebook and start from scratch with all my software. i realize by now texlive is the new thing but before i make context minimal work on openbsd i still prefer to bring up to date context on the much less bloated base of tetex3. my biggest gripe at the moment always at the end the ruby scripts... but this is something that could be easily changed. i personally find the following instructions the most helpful: http://wiki.contextgarden.net/TeTeX_3.0_installation#Ruby_scripts at the moment, the directory /usr/local/share/texmf-local/scripts/context/stubs/unix/ contains a bunch of scripts that are nice but unusable because 1. they dont have the x bit set 2. most of them contain something like texmfstart somescript $@ while texmfstart itself is not defined anywhere That folder is not meant to be a replacement for binaries. It's just a folder where files can be taken from and put somewhere else afterwards. They don't have the x bit set because zip on windows doesn't handle permission bits. Concerning texmfstart: it's now part of texlive and it's part of minimals. You cannot expect recent binaries to be already part of an ancient tex distribution. Hans probably won't add texmfstart to that folder since distribution is supposed to take care of that. If you need a simple command to fetch all in one run, just do (single line in case it gets broken): rsync -av rsync://contextgarden.net/minimals/current/bin/context/linux/bin/ /usr/local/bin/ it would be really nice if these stubs could be just dropped as replacements for any current scripts and work out of the box. Is there any other problem apart from the executable bit (that Hans is not able to fix comfortably)? i am not sure my proposed solution is a good one, because frankly, except texexec i have never used any of the other scripts.. but looking at the afore-quoted wikipage it seems to me that the author favoured the approach of calling all the other sripts using texexec. You mean texmfstart? the beauty of this is that no other scripts need to be installed. so what do you people think about the following approach: stub for texmfstart to be put under /usr/local/bin/texmfstart: #!/bin/sh ruby `kpsewhich --format=texmfscripts texmfstart.rb` $@ At the moment this file is a literal copy of texmfstart.rb. It's like a chicken-and-egg problem. Hans wants to get rid of kpathsea, but by copying the file one doesn't always get the latest texmfstart (one needs to make sure that it's always up-to-date). The ruby `kpsewhich ... approach is also OK. stub for texexe to be put under /usr/local/bin/texexec: #!/bin/sh SCRIPTNAME=`basename $0` if [ X$SCRIPTNAME = Xtexexec ]; then exec texmfstart texexec.rb $@ else exec texmfstart $SCRIPTNAME $@ fi and all the other script stubs could be removed i guess... You don't need to copy other files/stubs if you don't need them, but some people depend on existence of some tools like ctxtools (which is easier to use than texmfstart ctxtools). If you don't need other scripts, just ignore them. (The scripts described on tetex installation page are probably not used my many people. But those pages need to be fixed and unified somehow.) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] startup script stubs (for unix)
hmm, on Fri, Feb 13, 2009 at 04:52:49PM +0100, Mojca Miklavec said that That folder is not meant to be a replacement for binaries. It's just a folder where files can be taken from and put somewhere else afterwards. They don't have the x bit set because zip on windows doesn't handle permission bits. ok, i have a lot of catching up to do because of the enormous volume of mail hitting this list, but let me ask this. all i want is a simple alias/shell_script/stub/whatever to run context on a .tex file. that's all. as someone coming from latex (a long time ago) and running commands like latex doc.tex or pdflatex doc.tex i always expected that to be context doc.tex. when i started using context, it was texexec doc.tex. as a user i don't mind what's in the background, perl, shell, ruby or a bone fide binary, all i'd like to do is have an official (as opposed to hand rolled/home made) context command that runs everything that is needed to process the .tex file. is there something like that? if not, will be? :] -f -- the 4th world war will be fought with sticks and rocks. ___ 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] Context doesn't work
On Tue, Dec 9, 2008 at 1:53 PM, Michael Talbot-Wilson [EMAIL PROTECTED] wrote: I've installed Context and attempted $ texexec fig3_2.tex The response is: the file 'texexec.rb' is not found Try to install ruby 1.8 -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context doesn't work
On Wed, Dec 10, 2008 at 9:57 AM, luigi scarso [EMAIL PROTECTED]wrote: On Tue, Dec 9, 2008 at 1:53 PM, Michael Talbot-Wilson [EMAIL PROTECTED] wrote: I've installed Context and attempted $ texexec fig3_2.tex The response is: the file 'texexec.rb' is not found Try to install ruby 1.8 ahh sorry, I mean Do you have ruby 1.8 ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] context minimals on OpenSolaris 2008.11
Hello list members and ConTeXt gods, this question is more technical than TeXnical but none the less ConTeXt releated. Today I am investigating if I can replace linux with OpenSolaris, so I am testing every, even exotic, software that I use on my linux box on OpenSolaris. Looking into first-setup.sh there seem to be support for Solaris on Intel hardware called sunos-intel. But if I try to install ConTeXt it doesn't work: [EMAIL PROTECTED]:~/context$ ./first-setup.sh /usr/bin/rsync /usr/bin/ruby receiving file list ... rsync: link_stat /setup/sunos-intel/bin (in minimals) failed: No such file or directory (2) done sent 4 bytes received 9 bytes 26.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files could not be transferred (code 23) at main.c(1385) [receiver=2.6.9] ./first-setup.sh: line 68: mtxrun: not found Next I tried to build the binaries myself by checking out the sources from Subversion: svn co http://svn.contextgarden.net/minimals-src/build-binaries And running ./build-binaries.sh afterwards. But this doesn't work either: [EMAIL PROTECTED]:~/context/build-binaries$ ./build-binaries.sh [ ... tons of make output removed ... ] ar cru ../kpathsea/.libs/libkpathsea.a tex-file.o absolute.o atou.o cnf.o concat.o concat3.o concatn.o db.o debug.o dir.o elt-dirs.o expand.o extend-fname.o file-p.o find-suffix.o fn.o fontmap.o getopt.o getopt1.o hash.o kdefault.o line.o magstep.o make-suffix.o path-elt.o pathsearch.o proginit.o progname.o readable.o rm-suffix.o str-list.o str-llist.o tex-glyph.o tex-hush.o tex-make.o tilde.o truncate.o uppercasify.o variable.o version.o xbasename.o xcalloc.o xdirname.o xfopen.o xfseek.o xfseeko.o xftell.o xftello.o xgetcwd.o xmalloc.o xopendir.o xputenv.o xrealloc.o xstat.o xstrdup.o error.o filename.o home.o lookcmd.o string.o system.o time.o user.o volume.o ranlib ../kpathsea/.libs/libkpathsea.a creating ../kpathsea/libkpathsea.la (cd ../kpathsea/.libs rm -f libkpathsea.la ln -s ../libkpathsea.la libkpathsea.la) ./ctangle ctangle make: ./ctangle: Command not found make: *** [ctangle.c] Error 127 cp: cannot stat `build/texk/web2c/mpdir/mpost': No such file or directory Reverted 'VERSIONS' -e Sorry, there have been some failures: - build of xetex on sunos-intel - build of luatex on sunos-intel - build of metapost on sunos-intel -n No svn commit! Please press enter to continue! There are three executables named ctangle in the minimals directory: [EMAIL PROTECTED]:~/context/build-binaries$ find . -name ctangle ./src/current/pdftex/build/texk/web2c/ctangle ./src/current/luatex/build/texk/web2c/ctangle ./src/current/xetex/Work/texk/web2c/ctangle How should I proceed from here? What is the status of Solaris support for context minimals? Kind regards, Michael Krauss -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger ___ 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] context minimals on OpenSolaris 2008.11
On Mon, Nov 24, 2008 at 2:52 PM, Michael Krauß wrote: Hello list members and ConTeXt gods, this question is more technical than TeXnical but none the less ConTeXt releated. Today I am investigating if I can replace linux with OpenSolaris, so I am testing every, even exotic, software that I use on my linux box on OpenSolaris. Looking into first-setup.sh there seem to be support for Solaris on Intel hardware called sunos-intel. But if I try to install ConTeXt it doesn't work: Well, Hans wanted to try it out, but gave up too soon because of some compilation problems. I didn't remove the few lines that I added, but there are no binaries available either. If you are willing to compile them (or rather keep compiling them every now to keep dependencies satisfied), we can finish adding support for open solaris. [EMAIL PROTECTED]:~/context$ ./first-setup.sh /usr/bin/rsync /usr/bin/ruby receiving file list ... rsync: link_stat /setup/sunos-intel/bin (in minimals) failed: No such file or directory (2) done Sure. We have no binaries at the moment. Next I tried to build the binaries myself by checking out the sources from Subversion: svn co http://svn.contextgarden.net/minimals-src/build-binaries And running ./build-binaries.sh afterwards. But this doesn't work either: [EMAIL PROTECTED]:~/context/build-binaries$ ./build-binaries.sh [ ... tons of make output removed ... ] ar cru ../kpathsea/.libs/libkpathsea.a tex-file.o absolute.o atou.o cnf.o concat.o concat3.o concatn.o db.o debug.o dir.o elt-dirs.o expand.o extend-fname.o file-p.o find-suffix.o fn.o fontmap.o getopt.o getopt1.o hash.o kdefault.o line.o magstep.o make-suffix.o path-elt.o pathsearch.o proginit.o progname.o readable.o rm-suffix.o str-list.o str-llist.o tex-glyph.o tex-hush.o tex-make.o tilde.o truncate.o uppercasify.o variable.o version.o xbasename.o xcalloc.o xdirname.o xfopen.o xfseek.o xfseeko.o xftell.o xftello.o xgetcwd.o xmalloc.o xopendir.o xputenv.o xrealloc.o xstat.o xstrdup.o error.o filename.o home.o lookcmd.o string.o system.o time.o user.o volume.o ranlib ../kpathsea/.libs/libkpathsea.a creating ../kpathsea/libkpathsea.la (cd ../kpathsea/.libs rm -f libkpathsea.la ln -s ../libkpathsea.la libkpathsea.la) ./ctangle ctangle make: ./ctangle: Command not found make: *** [ctangle.c] Error 127 cp: cannot stat `build/texk/web2c/mpdir/mpost': No such file or directory If I'm not mistaken then pdftex, xetex and luatex have been compiled without problems? The process would probably not run out of the box before a new svn repository gets created and you would need an account in order to be able to commit anyway, but you can check if files like: - src/current/pdftex/build/texk/web2c/pdftex - src/current/xetex/Work/texk/web2c/xetex - src/current/luatex/build/texk/web2c/luatex exist. There are three executables named ctangle in the minimals directory: [EMAIL PROTECTED]:~/context/build-binaries$ find . -name ctangle ./src/current/pdftex/build/texk/web2c/ctangle ./src/current/luatex/build/texk/web2c/ctangle ./src/current/xetex/Work/texk/web2c/ctangle Taco has been modifying the make scripts some time ago. I would ask him. I did have some problems to build binaries on contextgarden, but I thought that these problems have been solved. In general adding any ctangle to build path should help (at the time when you build metapost it doesn't see the ctangle binary of pdftex/xetex/luatex), but maybe there was a tiny overlook somewhere. Taco has ctangle all over on his machine, so he would not notice if that was a problem. How should I proceed from here? What is the status of Solaris support for context minimals? None exists, but we can add it if one (you?) promisses to run the building script every now and then. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] can't find file `core-swd'
On 11/6/2008 4:02 PM, Lars Huttar wrote: On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again. It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. to be read again \relax l.228 \loadmkiifile{core-swd} The preceding output was: Let me add a little more preceding output: (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii loading : Context Core Macros / Sectioning ... systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] ) However, when I do a search, I see that there is a file core-swd.mkii. Its path is context/tex/texmf-context/tex/context/base (I kid you not -- tex and context each show up three times in the path!) Can anybody suggest how to fix the problem? Just for kicks, I tried the following. The prompt said Please type another input file name: so I entered core-swd.mkii (i.e. I added the .mkii suffix). This seemed to satisfy the processor ... until the same error happened again a little while later (with the same preceding output). This happened about 4 times total. Was that a legitimate solution? Or should it really be looking for a core-swd.tex file? Thanks, Lars Wolfgang Schuster wrote: Can your try this: mtxrun --selfupdate luatools --selfupdate context --generate context --make en Wolfgang I guess I should first delete the core-swd.tex that I got from cache? (Did that...) mtxrun gives command not found... So I added context/bin to the PATH. Then I ran mtxrun again and got /usr/bin/env: texlua: No such file or directory. Later I found http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation which said to add something like source [dir...]/context/tex/setuptex [dir...]/context/tex to the system startup script. (It would be helpful to add a prominent link to http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation from the instructions at http://minimals.contextgarden.net/setup/, labeled Please see more complete instructions here. There is currently a link between those two pages, but it is labeled These might eventually become a new minimal ConTeXt distribution which doesn't suggest that you need to visit the link to supplement the installation instructions already given.) After adding the above source line, the four commands you asked me to try run without obvious errors. No base/core-swd.tex file appears. Is there something specific I should look for to tell whether the above commands solved my problem? Should I run first-setup.sh again? Thanks, Lars ___ 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] can't find file `core-swd'
On Tue, Nov 11, 2008 at 8:32 PM, Lars Huttar [EMAIL PROTECTED] wrote: On 11/6/2008 4:02 PM, Lars Huttar wrote: On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh. ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again. It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. to be read again \relax l.228 \loadmkiifile{core-swd} The preceding output was: Let me add a little more preceding output: (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii loading : Context Core Macros / Sectioning ... systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] ) However, when I do a search, I see that there is a file core-swd.mkii. Its path is context/tex/texmf-context/tex/context/base (I kid you not -- tex and context each show up three times in the path!) Can anybody suggest how to fix the problem? Just for kicks, I tried the following. The prompt said Please type another input file name: so I entered core-swd.mkii (i.e. I added the .mkii suffix). This seemed to satisfy the processor ... until the same error happened again a little while later (with the same preceding output). This happened about 4 times total. Was that a legitimate solution? Or should it really be looking for a core-swd.tex file? Thanks, Lars Wolfgang Schuster wrote: Can your try this: mtxrun --selfupdate luatools --selfupdate context --generate context --make en Wolfgang I guess I should first delete the core-swd.tex that I got from cache? (Did that...) mtxrun gives command not found... So I added context/bin to the PATH. Then I ran mtxrun again and got /usr/bin/env: texlua: No such file or directory. Later I found http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation which said to add something like source [dir...]/context/tex/setuptex [dir...]/context/tex to the system startup script. (It would be helpful to add a prominent link to http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation from the instructions at http://minimals.contextgarden.net/setup/, labeled Please see more complete instructions here. There is currently a link between those two pages, but it is labeled These might eventually become a new minimal ConTeXt distribution which doesn't suggest that you need to visit the link to supplement the installation instructions already given.) After adding the above source line, the four commands you asked me to try run without obvious errors. No base/core-swd.tex file appears. Is there something specific I should look for to tell whether the above commands solved my problem? Should I run first-setup.sh again? Thanks, Lars ___ 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 ___ I write how I setup my minimals-beta on a linux box ubuntu 8.04 1) mkdir -p /opt/luatex/minimals-beta 2) cd /opt/luatex/minimals-beta 2a) Now put here first-setup.sh (see contextgarden.net/minimals) 3) ./first-setup.sh 4) cd tex **IMPORTANT** 5) . setuptex = 6) context --generate 7) context --make 8)Every time I start a mkiv session as first step I do cd /opt/luatex/minimals-beta/tex . setuptext to ensure correct initilization of env. variables. 9a)context --generate 9b)context --make to unsure a clean session. 10) always use context to make pdf; ie compile yours files with context basic-test.tex If you open first-setup.sh and change this line near the end mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --context=beta --tree=$PWD/tex $@ in mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --tree=$PWD/tex $@ and then 1) mkdir -p /opt/luatex/minimals 2)... and so on you can then end with a minimals installation (actually minimalsBIRTHDAY) Actually I have minimals-beta, minimals and tl2008 completly unrelated so each installations has is own fonts etc etc. It's ok, because minimals and minimals-beta are not so huge and I
Re: [NTG-context] can't find file `core-swd'
On 11/11/2008 1:32 PM, Lars Huttar wrote: On 11/6/2008 4:02 PM, Lars Huttar wrote: On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again. It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. to be read again \relax l.228 \loadmkiifile{core-swd} The preceding output was: Let me add a little more preceding output: (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii loading : Context Core Macros / Sectioning ... systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] ) However, when I do a search, I see that there is a file core-swd.mkii. Its path is context/tex/texmf-context/tex/context/base (I kid you not -- tex and context each show up three times in the path!) Can anybody suggest how to fix the problem? Just for kicks, I tried the following. The prompt said Please type another input file name: so I entered core-swd.mkii (i.e. I added the .mkii suffix). This seemed to satisfy the processor ... until the same error happened again a little while later (with the same preceding output). This happened about 4 times total. Was that a legitimate solution? Or should it really be looking for a core-swd.tex file? Thanks, Lars Wolfgang Schuster wrote: Can your try this: mtxrun --selfupdate luatools --selfupdate context --generate context --make en Wolfgang I guess I should first delete the core-swd.tex that I got from cache? (Did that...) mtxrun gives command not found... So I added context/bin to the PATH. Then I ran mtxrun again and got /usr/bin/env: texlua: No such file or directory. Later I found http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation which said to add something like source [dir...]/context/tex/setuptex [dir...]/context/tex to the system startup script. (It would be helpful to add a prominent link to http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation from the instructions at http://minimals.contextgarden.net/setup/, labeled Please see more complete instructions here. There is currently a link between those two pages, but it is labeled These might eventually become a new minimal ConTeXt distribution which doesn't suggest that you need to visit the link to supplement the installation instructions already given.) After adding the above source line, the four commands you asked me to try run without obvious errors. No base/core-swd.tex file appears. Is there something specific I should look for to tell whether the above commands solved my problem? Should I run first-setup.sh again? I ran first-setup.sh again, because that was where I first encountered the error I can't find file `core-swd'. It gave the same error again, even after running the four commands you suggested, Wolfgang. I don't know the setup well enough to know whether this means that the problem was not solved, or whether it means that the problem was solved by the four commands but was unsolved by first-setup.sh. Lars ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] can't find file `core-swd'
Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again. It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. to be read again \relax l.228 \loadmkiifile{core-swd} The preceding output was: systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] ) However, when I do a search, I see that there is a file core-swd.mkii. Its path is context/tex/texmf-context/tex/context/base (I kid you not -- tex and context each show up three times in the path!) Can anybody suggest how to fix the problem? Thanks, Lars ___ 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] can't find file `core-swd'
On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again. It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. to be read again \relax l.228 \loadmkiifile{core-swd} The preceding output was: Let me add a little more preceding output: (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii loading : Context Core Macros / Sectioning ... systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] ) However, when I do a search, I see that there is a file core-swd.mkii. Its path is context/tex/texmf-context/tex/context/base (I kid you not -- tex and context each show up three times in the path!) Can anybody suggest how to fix the problem? Just for kicks, I tried the following. The prompt said Please type another input file name: so I entered core-swd.mkii (i.e. I added the .mkii suffix). This seemed to satisfy the processor ... until the same error happened again a little while later (with the same preceding output). This happened about 4 times total. Was that a legitimate solution? Or should it really be looking for a core-swd.tex file? Thanks, Lars ___ 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] can't find file `core-swd'
Am 06.11.2008 um 23:02 schrieb Lars Huttar: On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first- setup.sh . ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again. It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. to be read again \relax l.228 \loadmkiifile{core-swd} The preceding output was: Let me add a little more preceding output: (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii loading : Context Core Macros / Sectioning ... systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] ) However, when I do a search, I see that there is a file core- swd.mkii. Its path is context/tex/texmf-context/tex/context/base (I kid you not -- tex and context each show up three times in the path!) Can anybody suggest how to fix the problem? Just for kicks, I tried the following. The prompt said Please type another input file name: so I entered core-swd.mkii (i.e. I added the .mkii suffix). This seemed to satisfy the processor ... until the same error happened again a little while later (with the same preceding output). This happened about 4 times total. Was that a legitimate solution? Or should it really be looking for a core-swd.tex file? Can your try this: mtxrun --selfupdate luatools --selfupdate context --generate context --make en Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] can't find file `core-swd'
On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again. It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. to be read again \relax l.228 \loadmkiifile{core-swd} The preceding output was: systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] ) However, when I do a search, I see that there is a file core-swd.mkii. Its path is context/tex/texmf-context/tex/context/base Just to clarify, since I wasn't explicit: there is no core-swd.tex file in the context/base folder. Googling core-swd context gives results that indicate there used to be a core-swd.tex file there. I could use the google cached copy, although I suppose there was some reason why it was removed? After using the google cached copy, and rerunning the first-setup script, the script ends without obvious errors: TeXExec | runtime: 14.383196 make | done state | saved Can anyone confirm that using the cached core-swd.tex indeed solved the problem, rather than merely masking it? Maybe core-swd.tex was rightfully removed, and the correct fix would be to remove the reference to it in the other file? Thanks, Lars Can anybody suggest how to fix the problem? Thanks, Lars ___ 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] can't find file `core-swd'
Am 06.11.2008 um 23:25 schrieb Lars Huttar: On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first- setup.sh . ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again. It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. to be read again \relax l.228 \loadmkiifile{core-swd} The preceding output was: systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] ) However, when I do a search, I see that there is a file core- swd.mkii. Its path is context/tex/texmf-context/tex/context/base Just to clarify, since I wasn't explicit: there is no core-swd.tex file in the context/base folder. Googling core-swd context gives results that indicate there used to be a core-swd.tex file there. I could use the google cached copy, although I suppose there was some reason why it was removed? After using the google cached copy, and rerunning the first-setup script, the script ends without obvious errors: TeXExec | runtime: 14.383196 make | done state | saved Can anyone confirm that using the cached core-swd.tex indeed solved the problem, rather than merely masking it? Maybe core-swd.tex was rightfully removed, and the correct fix would be to remove the reference to it in the other file? core-swd.tex is removed in the last beta and the old file was saved under the name core-swd.mkii Generate the formats with texexec --make --all and it should work. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] TeXshop
Hi all, is there anybody who has TeXshop running with the COnTeXt minimals? I tried to make a new engine which looks up to now as stated her under. however I get an error message: MtxRun | unknown script 'context.lua' or 'mtx-context.lua' My interpretation is, that underway the path to the lua scripts is 'forgotten' Kind regards Willi #!/bin/bash #PATH=$PATH: /Applications/lua/tex #. /Applications/lua/tex/setuptex /Applications/lua/tex export PATH=``$PATH:/opt/local/bin:/opt/local/sbin:/Applications/lua/ tex/texmf-osx-intel/bin:/bin:/sbin:/usr/bin:/usr/sbin:/'' export TEXROOT=/Applications/lua/tex export TEXMFPROJECT=$TEXROOT/texmf-project export TEXMFLOCAL=$TEXROOT/texmf-local export TEXMFVAR=$TMP/texmf-var export VARTEXMF=$TEXMFVAR export TEXMFOS=$TEXROOT/texmf-osx-intel/bin export TEXMFCONTEXT=$TEXROOT/texmf-context export TEXMFCACHE=$TEXROOT/texmf-cache export TEXFORMATS=$TEXMFOS/web2c/$engine export TEXMFFONTS=$TEXROOT/texmf-fonts export CTXMINIMAL=yes export MPMEMS=$TEXMFOS/web2c/$engine export HOMETEXMF=/nonexist export RUBYLIB=``$RUBYLIB:$TEXMFCONTEXT/scripts/context/ruby``'' export LUATEXDIR=$TEXMFCONTEXT/scripts/context/lua export TEXMFCNF=``$TEXROOT/texmf{-local,-context,}/web2c'' export TEXMFMAIN=$TEXROOT/texmf export TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} export TEXMFDBS={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} unset CTXDEVTXPATH CTXDEVMPPATH CTXDEVMFPATH unset CTXDEVPLPATH CTXDEVRBPATH CTXDEVPYPATH CTXDEVJVPATH unset TEXINPUTS MPINPUTS MFINPUTS context ''$1'' ___ 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] TeXshop
Hi Willi, Yes I did install mkiv through the ConTeXt Minimals (thanks to Luigi Scarso) and I invoke that installation in TeXShop: everything works fine. However I have not added any environment variables as you have done in your .bashrc. saying env | grep TEX in a Terminal window returns for me: __CF_USER_TEXT_ENCODING=0x1F5:0:0 which has nothing to do with any TeX related variable. I think in order to use mkiv with the minimals you have to unset all the environment variables you have in your .bashrc. Right now I have to run to take an exam with my students… as soon as I have time I'll send you the whole procedure. Best regards: OK On 22 oct. 08, at 12:57, Willi Egger wrote: Hi all, is there anybody who has TeXshop running with the COnTeXt minimals? I tried to make a new engine which looks up to now as stated her under. however I get an error message: MtxRun | unknown script 'context.lua' or 'mtx-context.lua' My interpretation is, that underway the path to the lua scripts is 'forgotten' Kind regards Willi #!/bin/bash #PATH=$PATH: /Applications/lua/tex #. /Applications/lua/tex/setuptex /Applications/lua/tex export PATH=``$PATH:/opt/local/bin:/opt/local/sbin:/Applications/lua/ tex/texmf-osx-intel/bin:/bin:/sbin:/usr/bin:/usr/sbin:/'' export TEXROOT=/Applications/lua/tex export TEXMFPROJECT=$TEXROOT/texmf-project export TEXMFLOCAL=$TEXROOT/texmf-local export TEXMFVAR=$TMP/texmf-var export VARTEXMF=$TEXMFVAR export TEXMFOS=$TEXROOT/texmf-osx-intel/bin export TEXMFCONTEXT=$TEXROOT/texmf-context export TEXMFCACHE=$TEXROOT/texmf-cache export TEXFORMATS=$TEXMFOS/web2c/$engine export TEXMFFONTS=$TEXROOT/texmf-fonts export CTXMINIMAL=yes export MPMEMS=$TEXMFOS/web2c/$engine export HOMETEXMF=/nonexist export RUBYLIB=``$RUBYLIB:$TEXMFCONTEXT/scripts/context/ruby``'' export LUATEXDIR=$TEXMFCONTEXT/scripts/context/lua export TEXMFCNF=``$TEXROOT/texmf{-local,-context,}/web2c'' export TEXMFMAIN=$TEXROOT/texmf export TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} export TEXMFDBS={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} unset CTXDEVTXPATH CTXDEVMPPATH CTXDEVMFPATH unset CTXDEVPLPATH CTXDEVRBPATH CTXDEVPYPATH CTXDEVJVPATH unset TEXINPUTS MPINPUTS MFINPUTS context ''$1'' ___ 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] TeXshop
In order to run luatex in my TeXShop (MacOSX10.5.5) I did put the following code into ~/Library/TeXShop/Engines/LuaTeX.engine #!/bin/bash export TEXLIVE=/usr/local/texlive export TEXHOME=$TEXLIVE/2008 export TEXBIN=$TEXHOME/bin/universal-darwin export TEXCONTEXT=$TEXLIVE/texmf-local export OSFONTDIR=~/Library/Fonts;/Library/Fonts;/System/Library/Fonts export TEXPRIVATE=/Users/hans/Library/texmf export TEXMFCACHE=/Users/hans/Library/Caches export TEXMF={$TEXPRIVATE,$TEXLIVE/texmf-local,$TEXHOME/texmf, $TEXHOME/texmf-config,$TEXHOME/texmf-dist,$TEXHOME/texmf-var} $TEXBIN/mtxrun --script context $1 Also having set in $TEXBIN a softlink (ln -s) to mtxrun.lua in the context distribution, here put into texmf-local. Maybe there are one or two variables superfluous here, but it least it works. And to have luatex in TeXworks I call as a program the above engine script (courtesy Taco Hoekwater) Hans van der Meer On 22 okt 2008, at 13:13, Otared Kavian wrote: Hi Willi, Yes I did install mkiv through the ConTeXt Minimals (thanks to Luigi Scarso) and I invoke that installation in TeXShop: everything works fine. However I have not added any environment variables as you have done in your .bashrc. saying env | grep TEX in a Terminal window returns for me: __CF_USER_TEXT_ENCODING=0x1F5:0:0 which has nothing to do with any TeX related variable. I think in order to use mkiv with the minimals you have to unset all the environment variables you have in your .bashrc. Right now I have to run to take an exam with my students… as soon as I have time I'll send you the whole procedure. Best regards: OK On 22 oct. 08, at 12:57, Willi Egger wrote: Hi all, is there anybody who has TeXshop running with the COnTeXt minimals? I tried to make a new engine which looks up to now as stated her under. however I get an error message: MtxRun | unknown script 'context.lua' or 'mtx-context.lua' My interpretation is, that underway the path to the lua scripts is 'forgotten' Kind regards Willi #!/bin/bash #PATH=$PATH: /Applications/lua/tex #. /Applications/lua/tex/setuptex /Applications/lua/tex export PATH=``$PATH:/opt/local/bin:/opt/local/sbin:/Applications/lua/ tex/texmf-osx-intel/bin:/bin:/sbin:/usr/bin:/usr/sbin:/'' export TEXROOT=/Applications/lua/tex export TEXMFPROJECT=$TEXROOT/texmf-project export TEXMFLOCAL=$TEXROOT/texmf-local export TEXMFVAR=$TMP/texmf-var export VARTEXMF=$TEXMFVAR export TEXMFOS=$TEXROOT/texmf-osx-intel/bin export TEXMFCONTEXT=$TEXROOT/texmf-context export TEXMFCACHE=$TEXROOT/texmf-cache export TEXFORMATS=$TEXMFOS/web2c/$engine export TEXMFFONTS=$TEXROOT/texmf-fonts export CTXMINIMAL=yes export MPMEMS=$TEXMFOS/web2c/$engine export HOMETEXMF=/nonexist export RUBYLIB=``$RUBYLIB:$TEXMFCONTEXT/scripts/context/ruby``'' export LUATEXDIR=$TEXMFCONTEXT/scripts/context/lua export TEXMFCNF=``$TEXROOT/texmf{-local,-context,}/web2c'' export TEXMFMAIN=$TEXROOT/texmf export TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} export TEXMFDBS={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} unset CTXDEVTXPATH CTXDEVMPPATH CTXDEVMFPATH unset CTXDEVPLPATH CTXDEVRBPATH CTXDEVPYPATH CTXDEVJVPATH unset TEXINPUTS MPINPUTS MFINPUTS context ''$1'' ___ 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 ___
Re: [NTG-context] TeXshop
-context export TEXMFCACHE=$TEXROOT/texmf-cache export TEXFORMATS=$TEXMFOS/web2c/$engine export TEXMFFONTS=$TEXROOT/texmf-fonts export CTXMINIMAL=yes export MPMEMS=$TEXMFOS/web2c/$engine export HOMETEXMF=/nonexist export RUBYLIB=``$RUBYLIB:$TEXMFCONTEXT/scripts/context/ruby``'' export LUATEXDIR=$TEXMFCONTEXT/scripts/context/lua export TEXMFCNF=``$TEXROOT/texmf{-local,-context,}/web2c'' export TEXMFMAIN=$TEXROOT/texmf export TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} export TEXMFDBS={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} unset CTXDEVTXPATH CTXDEVMPPATH CTXDEVMFPATH unset CTXDEVPLPATH CTXDEVRBPATH CTXDEVPYPATH CTXDEVJVPATH unset TEXINPUTS MPINPUTS MFINPUTS context ''$1'' ___ 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] TeXshop
Hi Otared, Thanks for your answer, looking forward to that! Willi On Oct 22, 2008, at 1:13 PM, Otared Kavian wrote: Hi Willi, Yes I did install mkiv through the ConTeXt Minimals (thanks to Luigi Scarso) and I invoke that installation in TeXShop: everything works fine. However I have not added any environment variables as you have done in your .bashrc. saying env | grep TEX in a Terminal window returns for me: __CF_USER_TEXT_ENCODING=0x1F5:0:0 which has nothing to do with any TeX related variable. I think in order to use mkiv with the minimals you have to unset all the environment variables you have in your .bashrc. Right now I have to run to take an exam with my students… as soon as I have time I'll send you the whole procedure. Best regards: OK On 22 oct. 08, at 12:57, Willi Egger wrote: Hi all, is there anybody who has TeXshop running with the COnTeXt minimals? I tried to make a new engine which looks up to now as stated her under. however I get an error message: MtxRun | unknown script 'context.lua' or 'mtx-context.lua' My interpretation is, that underway the path to the lua scripts is 'forgotten' Kind regards Willi #!/bin/bash #PATH=$PATH: /Applications/lua/tex #. /Applications/lua/tex/setuptex /Applications/lua/tex export PATH=``$PATH:/opt/local/bin:/opt/local/sbin:/Applications/lua/ tex/texmf-osx-intel/bin:/bin:/sbin:/usr/bin:/usr/sbin:/'' export TEXROOT=/Applications/lua/tex export TEXMFPROJECT=$TEXROOT/texmf-project export TEXMFLOCAL=$TEXROOT/texmf-local export TEXMFVAR=$TMP/texmf-var export VARTEXMF=$TEXMFVAR export TEXMFOS=$TEXROOT/texmf-osx-intel/bin export TEXMFCONTEXT=$TEXROOT/texmf-context export TEXMFCACHE=$TEXROOT/texmf-cache export TEXFORMATS=$TEXMFOS/web2c/$engine export TEXMFFONTS=$TEXROOT/texmf-fonts export CTXMINIMAL=yes export MPMEMS=$TEXMFOS/web2c/$engine export HOMETEXMF=/nonexist export RUBYLIB=``$RUBYLIB:$TEXMFCONTEXT/scripts/context/ruby``'' export LUATEXDIR=$TEXMFCONTEXT/scripts/context/lua export TEXMFCNF=``$TEXROOT/texmf{-local,-context,}/web2c'' export TEXMFMAIN=$TEXROOT/texmf export TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} export TEXMFDBS={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} unset CTXDEVTXPATH CTXDEVMPPATH CTXDEVMFPATH unset CTXDEVPLPATH CTXDEVRBPATH CTXDEVPYPATH CTXDEVJVPATH unset TEXINPUTS MPINPUTS MFINPUTS context ''$1'' _ __ 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 ___
Re: [NTG-context] TeXshop
:/'' export TEXROOT=/Applications/lua/tex export TEXMFPROJECT=$TEXROOT/texmf-project export TEXMFLOCAL=$TEXROOT/texmf-local export TEXMFVAR=$TMP/texmf-var export VARTEXMF=$TEXMFVAR export TEXMFOS=$TEXROOT/texmf-osx-intel/bin export TEXMFCONTEXT=$TEXROOT/texmf-context export TEXMFCACHE=$TEXROOT/texmf-cache export TEXFORMATS=$TEXMFOS/web2c/$engine export TEXMFFONTS=$TEXROOT/texmf-fonts export CTXMINIMAL=yes export MPMEMS=$TEXMFOS/web2c/$engine export HOMETEXMF=/nonexist export RUBYLIB=``$RUBYLIB:$TEXMFCONTEXT/scripts/context/ruby``'' export LUATEXDIR=$TEXMFCONTEXT/scripts/context/lua export TEXMFCNF=``$TEXROOT/texmf{-local,-context,}/web2c'' export TEXMFMAIN=$TEXROOT/texmf export TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} export TEXMFDBS={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} unset CTXDEVTXPATH CTXDEVMPPATH CTXDEVMFPATH unset CTXDEVPLPATH CTXDEVRBPATH CTXDEVPYPATH CTXDEVJVPATH unset TEXINPUTS MPINPUTS MFINPUTS context ''$1'' _ __ 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 ___
Re: [NTG-context] substitutions
On Wed, Oct 8, 2008 at 2:41 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: I would like to be able to do things like Mohamed - Muḥammad which would save me a lot of time in proofreading, editing, etc. It's easy to write a simple ruby/perl(or even lua) script that will do such changes for you *before* typesetting articles. That's probably much better, since you also want to have clean sources at some point. Of course, writing the list of substitutions still needs to be done by you, but that's in either case. If you need that, write kind-of-specification how you would like to use such a command. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] substitutions
On Wed, 08 Oct 2008 08:46:21 -0600, Mojca Miklavec [EMAIL PROTECTED] wrote: On Wed, Oct 8, 2008 at 2:41 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: I would like to be able to do things like Mohamed - Muḥammad which would save me a lot of time in proofreading, editing, etc. It's easy to write a simple ruby/perl(or even lua) script that will do such changes for you *before* typesetting articles. That's probably much better, since you also want to have clean sources at some point. Yes, but the above is just one kind of example. Indeed, what I am thinking of is just an extension of the kind of configurability texies like to do. For your average user -- or a secretary -- we don't want to have to point them to lua or ruby etc... Of course, writing the list of substitutions still needs to be done by you, but that's in either case. If you need that, write kind-of-specification how you would like to use such a command. Maybe I misunderstand... I could see something like I mentioned in the original mail \definesubstitution{string1}{string2} or even a database approach: \definesubstitutions[ string1,string1'| string2,string2'| string3,string3' ] Here is another example. I generally prefer an en-dash padded with spaces -- and with a no-break space after -- to an em-dash for parenthetical constructions. So I would like to do, eg \definesubstitution{emdash}{ endash~} Again, this saves time in extensive editing, and I can stay in TeX without fiddling so much with scripting, CTRL-F/H/R etc. It maintains control in case I change my mind and want to revert etc. For long documents and projects this gets unwieldy pretty fast and I end up with lots of typos etc. I guess we could get really funky and add a regular expressions engine using lua: \definesubstitution[regex]{string1}{string2} And I'm sure Hans, Taco, and other programmers can think of other nifty macros... But the basic functionality would suffice for now :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] substitutions
On Wed, Oct 8, 2008 at 2:41 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: I would like to be able to do things like Mohamed - Muḥammad Before you get the mkiv code you can start collecting wrong words :) Mojca usage: ruby scriptname.rb input.tex output.tex #!/usr/bin/env ruby subs_hash = { Mohamed = Muḥammad, Idris = ادريس, } while line = STDIN.gets subs_hash.each do |key,value| line.gsub!(Regexp.new(key), value) end puts line end ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] t-vim problem
Hi Aditya, I am using t-vim 2008.09.15, but the following sample runs problem with the hightlighting file name. \usemodule[vim] \starttext \definevimtyping [RUBY] [syntax=ruby] \startRUBY #! /usr/bin/ruby # This is my first ruby program puts Hello World \stopRUBY \stoptext The message is saying: ! I can't find file `untitled-1-vimsyntax.tmp-vimsyntax.tmp'. to be read again \relax \dodotypevimfile ...\input #2-vimsyntax.tmp\relax \egroup \@@vsafter l.8 \stopRUBY Please type another input file name: I checked the directory. The file should be named to untitled-1-vimsyntax.tmp instead of untitled-1-vimsyntax.tmp-vimsyntax.tmp. Can you show me how to figure out such a problem? Thanks. -- Zhaopeng XING Tinbergen Institute ___ 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] t-vim problem
On Tue, 7 Oct 2008, Zhaopeng Xing wrote: Hi Aditya, I am using t-vim 2008.09.15, but the following sample runs problem with the hightlighting file name. \usemodule[vim] \starttext \definevimtyping [RUBY] [syntax=ruby] \startRUBY #! /usr/bin/ruby # This is my first ruby program puts Hello World \stopRUBY \stoptext The message is saying: ! I can't find file `untitled-1-vimsyntax.tmp-vimsyntax.tmp'. to be read again \relax \dodotypevimfile ...\input #2-vimsyntax.tmp\relax \egroup \@@vsafter l.8 \stopRUBY Please type another input file name: I thought that I had corrected this. Are you using a recent mtxrun? Type in mtxrun --help. Does the third line say MtxRun | --execute run a script or program (--noquotes) I checked the directory. The file should be named to untitled-1-vimsyntax.tmp instead of untitled-1-vimsyntax.tmp-vimsyntax.tmp. The filenaming is correct. t-vim writes a file called \jobname-\number-vimsyntax.tmp and then 2context.vim writes a file with filename-vimsyntax.tmp, so in effect t-vim is looking for a file called \jobname-\number-vimsyntax.tmp-vimsyntax.tmp. This slightly confusing naming scheme is so that --purge does remove all the temporary files. Can you show me how to figure out such a problem? Thanks. Which OS are you using? 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] t-vim problem
2008/10/7 Aditya Mahajan [EMAIL PROTECTED] On Tue, 7 Oct 2008, Zhaopeng Xing wrote: Hi Aditya, I am using t-vim 2008.09.15, but the following sample runs problem with the hightlighting file name. \usemodule[vim] \starttext \definevimtyping [RUBY] [syntax=ruby] \startRUBY #! /usr/bin/ruby # This is my first ruby program puts Hello World \stopRUBY \stoptext The message is saying: ! I can't find file `untitled-1-vimsyntax.tmp-vimsyntax.tmp'. to be read again \relax \dodotypevimfile ...\input #2-vimsyntax.tmp\relax \egroup \@@vsafter l.8 \stopRUBY Please type another input file name: I thought that I had corrected this. Are you using a recent mtxrun? Type in mtxrun --help. Does the third line say MtxRun | --execute run a script or program (--noquotes) Yes, it is. I am using the latest minimal and t-vim is installed in texmf-local. I checked the directory. The file should be named to untitled-1-vimsyntax.tmp instead of untitled-1-vimsyntax.tmp-vimsyntax.tmp. The filenaming is correct. t-vim writes a file called \jobname-\number-vimsyntax.tmp and then 2context.vim writes a file with filename-vimsyntax.tmp, so in effect t-vim is looking for a file called \jobname-\number-vimsyntax.tmp-vimsyntax.tmp. This slightly confusing naming scheme is so that --purge does remove all the temporary files. I do not know exactly the inside mechanism. When the message asked me about the file name, I input \jobname-\number-vimsyntax.tmp and it works. So I think that the file name should be \jobname-\number-vimsyntax.tmp. Can you show me how to figure out such a problem? Thanks. Which OS are you using? I am using Archlinux on a Thinkpad T43. The vi program works fine. 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 ___ -- Zhaopeng XING Tinbergen Institute ___ 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] t-vim problem
I am sorry for a hurry reply. The module requires vim but I only install vi on my laptop. Sorry for my carelessness and Thank you for your attention. 2008/10/7 Zhaopeng Xing [EMAIL PROTECTED] The attachment is my test file and logs. Thanks. 2008/10/7 Zhaopeng Xing [EMAIL PROTECTED] 2008/10/7 Aditya Mahajan [EMAIL PROTECTED] On Tue, 7 Oct 2008, Zhaopeng Xing wrote: Hi Aditya, I am using t-vim 2008.09.15, but the following sample runs problem with the hightlighting file name. \usemodule[vim] \starttext \definevimtyping [RUBY] [syntax=ruby] \startRUBY #! /usr/bin/ruby # This is my first ruby program puts Hello World \stopRUBY \stoptext The message is saying: ! I can't find file `untitled-1-vimsyntax.tmp-vimsyntax.tmp'. to be read again \relax \dodotypevimfile ...\input #2-vimsyntax.tmp\relax \egroup \@@vsafter l.8 \stopRUBY Please type another input file name: I thought that I had corrected this. Are you using a recent mtxrun? Type in mtxrun --help. Does the third line say MtxRun | --execute run a script or program (--noquotes) Yes, it is. I am using the latest minimal and t-vim is installed in texmf-local. I checked the directory. The file should be named to untitled-1-vimsyntax.tmp instead of untitled-1-vimsyntax.tmp-vimsyntax.tmp. The filenaming is correct. t-vim writes a file called \jobname-\number-vimsyntax.tmp and then 2context.vim writes a file with filename-vimsyntax.tmp, so in effect t-vim is looking for a file called \jobname-\number-vimsyntax.tmp-vimsyntax.tmp. This slightly confusing naming scheme is so that --purge does remove all the temporary files. I do not know exactly the inside mechanism. When the message asked me about the file name, I input \jobname-\number-vimsyntax.tmp and it works. So I think that the file name should be \jobname-\number-vimsyntax.tmp. Can you show me how to figure out such a problem? Thanks. Which OS are you using? I am using Archlinux on a Thinkpad T43. The vi program works fine. 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 ___ -- Zhaopeng XING Tinbergen Institute -- Zhaopeng XING Tinbergen Institute -- Zhaopeng XING Tinbergen Institute ___ 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] Miktex
Am Tue, 30 Sep 2008 22:38:38 -0700 schrieb David Arnold: I saw your note on blog.miktex.org: If you still want to run ConTeXt on MikTeX while it has been removed, you may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7 \miktex\bin with the content: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby \texmfstart.rb %* and extract www.pragma-ade.com/context/current/cont-tmf.zip into C: \Program Files\MiKTeX 2.7. Then, update filename database and generate formats, and everything should work again. I followed this advice, installed texmfstart.bat, unzipped cont- tmf.zip properly, updated the filename database, then got stuck. At the dos prompt: $ texmfstart --help Worked just fine. However, $ texmfstart texexec --help Did not work. Can you please try what happens if you install MikTeX in some folder with no spaces in base path? I'll give your idea of no spaces a try tomorrow. Meanwhile if you can think of anything less drastic, as I have to do this on 20 different machines, You could try to unzip cont-tmf.zip in a separate root without spaces. E.g. C:\contextfiles\... Then add C:\contextfiles as a new root. -- Ulrike Fischer ___ 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] Miktex
On Wed, Oct 1, 2008 at 1:57 AM, David Arnold wrote: Mojca, I saw your note on blog.miktex.org: If you still want to run ConTeXt on MikTeX while it has been removed, you may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7\miktex\bin with the content: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb %* However, $ texmfstart texexec --help Did not work Does removing the quotation marks around argument help? @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb %* 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Miktex
I'll check when I get to school. D. On Oct 1, 2008, at 10:45 AM, Mojca Miklavec wrote: On Wed, Oct 1, 2008 at 1:57 AM, David Arnold wrote: Mojca, I saw your note on blog.miktex.org: If you still want to run ConTeXt on MikTeX while it has been removed, you may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7 \miktex\bin with the content: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby \texmfstart.rb %* However, $ texmfstart texexec --help Did not work Does removing the quotation marks around argument help? @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby \texmfstart.rb %* 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Miktex 2.7 --- Remove quotes from %*
Mojca, OK. Removed quotes, so texmfstart.bat now reads: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb %* This now works: $ C:\temptexmfstart texexec --help TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | --checkcheck versions TeXExec | --figures generate overview of figures TeXExec | --listing list of file content TeXExec | --make make formats TeXExec | --modules generate module documentation TeXExec | --mpgraphicprocess mp file to stand-alone graphics TeXExec | --mpstatic process mp/ctx file to stand-alone graphics TeXExec | --mptexprocess mp file TeXExec | --mpxtex process mpx file TeXExec | --pdfarrange impose pages (booklets) TeXExec | --pdfcombine combine multiple pages TeXExec | --pdfcopy copy pages from file(s) TeXExec | --pdfselectselect pages from file(s) TeXExec | --pdfsplit split file in pages TeXExec | --pdftrim trim pages from file(s) TeXExec | --process process file TeXExec | TeXExec | --help --all shows all switches However, I cannot make the formats. Going to Miktex 2.7-Settings-Formats, attempting to build cont-en results in, even though I've copied cont-en.ini into the directory expected by Miktex 2.7. Creating the cont-en.pdftex format file... Running pdftex... This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) entering extended mode (C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini) ! Emergency stop. * cont-en.ini No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.ini. initexmf.EXE: The operation failed for some reason. So, here is where I stand. D. ___ 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] Miktex 2.7 --- Remove quotes from %*
Am 01.10.2008 um 21:42 schrieb [EMAIL PROTECTED]: Mojca, OK. Removed quotes, so texmfstart.bat now reads: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby \texmfstart.rb %* This now works: $ C:\temptexmfstart texexec --help TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | --checkcheck versions TeXExec | --figures generate overview of figures TeXExec | --listing list of file content TeXExec | --make make formats TeXExec | --modules generate module documentation TeXExec | --mpgraphicprocess mp file to stand-alone graphics TeXExec | --mpstatic process mp/ctx file to stand-alone graphics TeXExec | --mptexprocess mp file TeXExec | --mpxtex process mpx file TeXExec | --pdfarrange impose pages (booklets) TeXExec | --pdfcombine combine multiple pages TeXExec | --pdfcopy copy pages from file(s) TeXExec | --pdfselectselect pages from file(s) TeXExec | --pdfsplit split file in pages TeXExec | --pdftrim trim pages from file(s) TeXExec | --process process file TeXExec | TeXExec | --help --all shows all switches However, I cannot make the formats. Going to Miktex 2.7-Settings- Formats, attempting to build cont-en results in, even though I've copied cont-en.ini into the directory expected by Miktex 2.7. Creating the cont-en.pdftex format file... Running pdftex... This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) entering extended mode (C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini) ! Emergency stop. * cont-en.ini No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.ini. initexmf.EXE: The operation failed for some reason. So, here is where I stand. Can't you just use the standaline version from Hans, it includes Perl and Scite too. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Miktex 2.7 --- Remove quotes from %*
On Wed, Oct 1, 2008 at 9:42 PM, [EMAIL PROTECTED] wrote: Mojca, OK. Removed quotes, so texmfstart.bat now reads: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb %* This now works: $ C:\temptexmfstart texexec --help TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD However, I cannot make the formats. Going to Miktex 2.7-Settings-Formats, attempting to build cont-en results in, even though I've copied cont-en.ini into the directory expected by Miktex 2.7. Creating the cont-en.pdftex format file... Running pdftex... This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) entering extended mode (C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini) ! Emergency stop. * cont-en.ini No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.ini. initexmf.EXE: The operation failed for some reason. Can you please check/compare the values with the sones below? I did not put any ini file anywhere, though I had some issues with formats (restarting the program helped). http://wiki.contextgarden.net/MikTeX#Make_formats Make formats * Go to Start Menu - MikTeX 2.7 - Settings - Formats - New ... Format key: ConTeXt (could be anything) Format name:cont-en (could be anything) Compiler: pdftex Input file name:cont-en.tex Description:ConTeXt format (could be anything) (uncheck) Exclude this format ... * Choose the newly created format and Build it. * For mptopdf uncheck the box for excluding as well. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Miktex 2.7 --- Remove quotes from %*
Mojca, Ouch! Ignore my last email. You had: Input file name: cont-en.tex But I had: Input file name: cont-en.ini I'll have to pay more attention. I'll try this again tomorrow. D. On Oct 1, 2008, at 1:14 PM, Mojca Miklavec wrote: On Wed, Oct 1, 2008 at 9:42 PM, [EMAIL PROTECTED] wrote: Mojca, OK. Removed quotes, so texmfstart.bat now reads: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby \texmfstart.rb %* This now works: $ C:\temptexmfstart texexec --help TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD However, I cannot make the formats. Going to Miktex 2.7-Settings- Formats, attempting to build cont-en results in, even though I've copied cont-en.ini into the directory expected by Miktex 2.7. Creating the cont-en.pdftex format file... Running pdftex... This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) entering extended mode (C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini) ! Emergency stop. * cont-en.ini No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.ini. initexmf.EXE: The operation failed for some reason. Can you please check/compare the values with the sones below? I did not put any ini file anywhere, though I had some issues with formats (restarting the program helped). http://wiki.contextgarden.net/MikTeX#Make_formats Make formats * Go to Start Menu - MikTeX 2.7 - Settings - Formats - New ... Format key: ConTeXt (could be anything) Format name: cont-en (could be anything) Compiler: pdftex Input file name: cont-en.tex Description: ConTeXt format (could be anything) (uncheck) Exclude this format ... * Choose the newly created format and Build it. * For mptopdf uncheck the box for excluding as well. 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 : 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] Miktex 2.7 --- Remove quotes from %*
Wolfgang, Thanks. I am aware of this option. But my students are using Latex, so we need Miktex. What I need is to get mptopdf running in Miktex. D. On Oct 1, 2008, at 12:53 PM, Wolfgang Schuster wrote: Am 01.10.2008 um 21:42 schrieb [EMAIL PROTECTED]: Mojca, OK. Removed quotes, so texmfstart.bat now reads: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby \texmfstart.rb %* This now works: $ C:\temptexmfstart texexec --help TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | --checkcheck versions TeXExec | --figures generate overview of figures TeXExec | --listing list of file content TeXExec | --make make formats TeXExec | --modules generate module documentation TeXExec | --mpgraphicprocess mp file to stand-alone graphics TeXExec | --mpstatic process mp/ctx file to stand-alone graphics TeXExec | --mptexprocess mp file TeXExec | --mpxtex process mpx file TeXExec | --pdfarrange impose pages (booklets) TeXExec | --pdfcombine combine multiple pages TeXExec | --pdfcopy copy pages from file(s) TeXExec | --pdfselectselect pages from file(s) TeXExec | --pdfsplit split file in pages TeXExec | --pdftrim trim pages from file(s) TeXExec | --process process file TeXExec | TeXExec | --help --all shows all switches However, I cannot make the formats. Going to Miktex 2.7-Settings- Formats, attempting to build cont-en results in, even though I've copied cont-en.ini into the directory expected by Miktex 2.7. Creating the cont-en.pdftex format file... Running pdftex... This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) entering extended mode (C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini) ! Emergency stop. * cont-en.ini No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.ini. initexmf.EXE: The operation failed for some reason. So, here is where I stand. Can't you just use the standaline version from Hans, it includes Perl and Scite too. 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 ___
[NTG-context] Miktex
Mojca, I saw your note on blog.miktex.org: If you still want to run ConTeXt on MikTeX while it has been removed, you may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7 \miktex\bin with the content: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb %* and extract www.pragma-ade.com/context/current/cont-tmf.zip into C: \Program Files\MiKTeX 2.7. Then, update filename database and generate formats, and everything should work again. Mojca I followed this advice, installed texmfstart.bat, unzipped cont- tmf.zip properly, updated the filename database, then got stuck. At the dos prompt: $ texmfstart --help Worked just fine. However, $ texmfstart texexec --help Did not work. What am I missing? If I recall I'll need to do: $ texmfstart texexec --make --all Or some such thing. David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ 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] Miktex
On Wed, Oct 1, 2008 at 1:57 AM, David Arnold wrote: Mojca, I saw your note on blog.miktex.org: If you still want to run ConTeXt on MikTeX while it has been removed, you may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7\miktex\bin with the content: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb %* and extract www.pragma-ade.com/context/current/cont-tmf.zip into C:\Program Files\MiKTeX 2.7. Then, update filename database and generate formats, and everything should work again. Mojca I followed this advice, installed texmfstart.bat, unzipped cont-tmf.zip properly, updated the filename database, then got stuck. At the dos prompt: $ texmfstart --help Worked just fine. However, $ texmfstart texexec --help Did not work. What am I missing? If I recall I'll need to do: $ texmfstart texexec --make --all Or some such thing. Can you please try what happens if you install MikTeX in some folder with no spaces in base path? 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Miktex
Mojca, I a hopeless mac user at home now. I used to be pretty good with miktex, even working with hans to test the settings that now exist in the texexec.rme file, back in the days when we made that an .ini file in Miktex. But no longer. It's our school machines I am trying to configure, PC's with Windows XP. I got to a point today where I selected the formats tab in the Miktex Settings gui, and tried to build cont-en there. It objected that it could not find cont-en.ini in tex/something or other so I tried moving cont-en.ini from the context distribution to tex/ something or other and updating the filename database to no avail. I'll give your idea of no spaces a try tomorrow. Meanwhile if you can think of anything less drastic, as I have to do this on 20 different machines, Thanks so much. David. On Sep 30, 2008, at 5:15 PM, Mojca Miklavec wrote: On Wed, Oct 1, 2008 at 1:57 AM, David Arnold wrote: Mojca, I saw your note on blog.miktex.org: If you still want to run ConTeXt on MikTeX while it has been removed, you may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7 \miktex\bin with the content: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby \texmfstart.rb %* and extract www.pragma-ade.com/context/current/cont-tmf.zip into C: \Program Files\MiKTeX 2.7. Then, update filename database and generate formats, and everything should work again. Mojca I followed this advice, installed texmfstart.bat, unzipped cont- tmf.zip properly, updated the filename database, then got stuck. At the dos prompt: $ texmfstart --help Worked just fine. However, $ texmfstart texexec --help Did not work. What am I missing? If I recall I'll need to do: $ texmfstart texexec --make --all Or some such thing. Can you please try what happens if you install MikTeX in some folder with no spaces in base path? 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 : 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] Context on Miktex
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Arnold schrieb: All, On http://blog.miktex.org/post/2008/05/ConTeXt-support.aspx I read that Miktex version of Context is broken. I also read Mojca's workaround, pasted below. Has anyone tried this and does it work? Any conflicts or difficulties? Second question: Can I get mptopdf to work in the Miktex tree without installing Context? Mojca's workaround: May 31. 2008 00:37 If you still want to run ConTeXt on MikTeX while it has been removed, you may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7\miktex\bin with the content: @echo off ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb %* and extract www.pragma-ade.com/context/current/cont-tmf.zip http://www.pragma-ade.com/context/current/cont-tmf.zip into C:\Program Files\MiKTeX 2.7. Then, update filename database and generate formats, and everything should work again. Mojca Mojca David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ 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 ___ Hi David, I had the same problem and now totaly switched from miktex to texlive. Texlive has context in a new version in it and up to date a online installer so that you only need about 2 MB for the first download and the rest will come by launching the installer. My advice would be to switch away from miktex to texlive it now has the same onlineupdatefunktion as miktex. Greetings Martin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI1ZmYyi7jREQ9xVsRAg7hAJoC0Tess/lXGkmSNBrpzM82IMUWegCgg+Zf 14VhnMx9Yqr16mMaEtQZRLU= =xtMm -END 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem finding files (cygwin-related?)
On Thu, 18 Sep 2008, Jelle Huisman wrote: Hi all, I try to help a colleague who has successfully installed ConTeXt using the Windows installer and has started typesetting some documents. His installation has problems finding files. Using something like \input ./path/to/file.tex works OK, but this doesn't: \externalfigure[./path/to/file.pdf] He gets a figure ./path/to/file.pdf can not be found-error, while the same code works OK with my local Windows in a VMware virtual machine. He happens to have cygwin installed (I don't have it) and I was wondering whether that is the course of his problems? How does cygwin interfere with finding the /path/to/the picture file? Can I solve this by escaping the path in some special way? Or would moving the picture to the current directory help? Is he trying to compile the file on cygwin or on cmd.exe? Was ruby installed for windows or for cygwin? Was another tex package installed on cygwin which may be interfering with context binaries (cygwin resets the paths when it is started). 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] problem finding files (cygwin-related?)
Hi Aditya, Is he trying to compile the file on cygwin or on cmd.exe? Both don't work. Was ruby installed for windows or for cygwin? For cygwin. Was another tex package installed on cygwin which may be interfering with context binaries (cygwin resets the paths when it is started). No. We'll try to remove the path to the cygwin commands and install standalone ruby for windows. Any other suggestions? Thanks, Jelle ___ 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] problem finding files (cygwin-related?)
On Thu, 18 Sep 2008, Jelle Huisman wrote: Hi Aditya, Is he trying to compile the file on cygwin or on cmd.exe? Both don't work. Was ruby installed for windows or for cygwin? For cygwin. Was another tex package installed on cygwin which may be interfering with context binaries (cygwin resets the paths when it is started). No. We'll try to remove the path to the cygwin commands and install standalone ruby for windows. Any other suggestions? I had a hard time getting texexec to work with cygwin ruby? Although I do not think that finding images is related to ruby. Try installing windows ruby and run everything from cmd.exe. (And check the paths carefully). This way you eliminate cygwin from the picture (It is installed by not in the path). If the problem persists, then others on windows should be able to reproduce it. 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] problem finding files (cygwin-related?)
Hi Aditya, I had a hard time getting texexec to work with cygwin ruby? Although I do not think that finding images is related to ruby. Try installing windows ruby and run everything from cmd.exe. (And check the paths carefully). This way you eliminate cygwin from the picture (It is installed by not in the path). This is what we did and that solved it. Thanks! Jelle ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] installation of ConTeXt
Hi, Do I really have to install ruby? I downloaded it, but can't find anything like install, setup or something like this. Even the readme is not very helpful at all. And another question: for using Ruby - and therefore ConTeXt - do I need cygwin? Regards, Juergen ___ 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] installation of ConTeXt
Goebel, Juergen wrote: Hi, Do I really have to install ruby? I downloaded it, but can't find anything like install, setup or something like this. Even the readme is not very helpful at all. And another question: for using Ruby - and therefore ConTeXt - do I need cygwin? no, try to avoid cygwin just download ruby (mswin version), unzip/install it in say c:\ruby and then add c:\ruby\bin to your windows path - 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] installation of ConTeXt
On Thu, Sep 11, 2008 at 4:08 PM, Goebel, Juergen wrote: Hi, Do I really have to install ruby? I downloaded it, but can't find anything like install, setup or something like this. There are two alternatives for installing ruby. Take this one: http://rubyinstaller.rubyforge.org/wiki/wiki.pl?RubyInstaller Even the readme is not very helpful at all. And another question: for using Ruby - and therefore ConTeXt - do I need cygwin? No. It does more harm than good. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] installation of ConTeXt
Mojca Miklavec wrote: There are two alternatives for installing ruby. Take this one: http://rubyinstaller.rubyforge.org/wiki/wiki.pl?RubyInstaller Thanks, I'll give it a try (installation is already running). Juergen ___ 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] The windows minimal exe installer
btw, I think Windows users are not command line experts. I think the minimal installer can add more options. for example, which distribution to choose (MKIV or XeTeX or pdfTeX), which fonts to be download (TeXGyre, Kurier, Iwona...) according to the distribution (in MKIV and XeTeX, download otf, otherwise download type1 format). and if the user download MKII version, we should automatically check ruby, if not present, install it for the user. On Sun, Sep 7, 2008 at 12:28 PM, Yue Wang [EMAIL PROTECTED] wrote: Hi, For automatic environment setup, I think there are two values should be changed for better directory support: TEXMFCNF -- ...\texmf\web2c (why did it find texmf-local/context on my machine ?) TEXMF --- {...} // add values like texmf-fonts, texmf-project, texmf-extra, etc. defined in setuptex.bat. Yue Wang ___ 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] The windows minimal exe installer
On Sun, Sep 7, 2008 at 6:33 AM, Yue Wang wrote: btw, I think Windows users are not command line experts. I think the minimal installer can add more options. for example, which distribution to choose (MKIV or XeTeX or pdfTeX), Isn't that available already? (No windows to test.) which fonts to be download (TeXGyre, Kurier, Iwona...) according to the distribution We need to split fonts first. (in MKIV and XeTeX, download otf, otherwise download type1 format). That's already working (should be at least). and if the user download MKII version, we should automatically check ruby, if not present, install it for the user. Installer has just been fixed two days ago or so. It's a good thing that we already get bug reports/feature requests :) :) :) We're also collecting them on https://launchpad.net/context Installing ruby is something that's up to Vyatcheslav to implement. Mojca On Sun, Sep 7, 2008 at 12:28 PM, Yue Wang [EMAIL PROTECTED] wrote: Hi, For automatic environment setup, I think there are two values should be changed for better directory support: TEXMFCNF -- ...\texmf\web2c (why did it find texmf-local/context on my machine ?) TEXMF --- {...} // add values like texmf-fonts, texmf-project, texmf-extra, etc. defined in setuptex.bat. Vyatcheslav? ___ 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] mswincontext.zip
I followed these directions exactly and scite is working out of the box on mswincontext.zip. To remove RubyGems from a single Ruby installation, from the site_ruby/1.8 directory of that installation, remove: * rubygems.rb (file) * rubygems (directory) If you do not have RubyGems installed in other Ruby installation directories, you can also remove the following files from whatever command directory is listed in your PATH: * gem * gemwhich * gem_server * gem_mirror * generate_yaml_index.rb And if you are removing RubyGems completely, don't forget to remove the RUBYOPT environment variable from your environment. Without actually trying it, I think that will do it. D. I also added import metapost in scite, but not all of the menu items on the tool menu work, in fact most of them don't work. Ctrl+6 doesn't open the console, I can't get gsview to work instead of gv, etc. D. On Aug 28, 2008, at 12:35 AM, Hans Hagen wrote: [EMAIL PROTECTED] wrote: I found all my gems problems were coming from an environment variable which pointed to rubygems. After I deleted it all the probs went away. You will nedd to search using set as I have forgotten the variable ah, if we know that variable we can delete it in the startup script - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : 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] mswincontext.zip
On Wed, Aug 27, 2008 at 2:27 AM, [EMAIL PROTECTED] wrote: All, A bit frustrated as I cannot seem to get a mswincontext scite combination going. I gave up on: http://pragma-ade.com/context/install/mswintex.zip. I got absolutely nowhere with the installation and trying to connect scite. So, I just downloaded: http://pragma-ade.com/context/install/mswincontext.zip After extracting to c:\context, I ran the file first-setup.bat, which proceeded to install a lot of files. Was this a correct thing to do? Where did you get the first-setup.bat from? I assume that it downloaded a copy of what you already had to some other directory. It's not needed, but we need to fix some things in first-setup.bat (and rename it). Strange, as the distribution size was already huge. It would really help to have a readme.txt in this distribution with installation directions. After first-setup was complete, I ran cscite.bat. Scite opened. Good! I entered the usual test file: \starttext Hello, World! \stoptext And saved as test.tex. Then I tried Tools-Compile, which resulted in this error mesage: texmfstart concheck test.tex ruby: no such file to load--ubygems (LoadError) Apparetly a problem with ruby. Try to follow Idris' advice. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mswincontext.zip
[EMAIL PROTECTED] wrote: All, A bit frustrated as I cannot seem to get a mswincontext scite combination going. I gave up on: http://pragma-ade.com/context/install/mswintex.zip. I got absolutely nowhere with the installation and trying to connect scite. mswintex is just a zipped minimal So, I just downloaded: http://pragma-ade.com/context/install/mswincontext.zip that one has also scite, perl and ruby + some more After extracting to c:\context, I ran the file first-setup.bat, which proceeded to install a lot of files. Was this a correct thing to do? Strange, as the distribution size was already huge. It would really help to have a readme.txt in this distribution with installation directions. After first-setup was complete, I ran cscite.bat. Scite opened. Good! I entered the usual test file: \starttext Hello, World! \stoptext And saved as test.tex. one option is to let setuptex be executed when you open a cmd prompt and then start scite from that (it's what i do here, since i do much on the console) then scite knows in which env it lives Then I tried Tools-Compile, which resulted in this error mesage: texmfstart concheck test.tex ruby: no such file to load--ubygems (LoadError) might be some conflict between the ruby in the zip and the installed one; this gems stuff overloads the 'require' function in an incompatible way (as idris suggested, get rid of gems) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mswincontext.zip
Hans, Idris, The only thing I know about Ruby is you used to install it in Windows so that Context thru Miktex would work. So, how do I get rid of the gems? D. On Aug 27, 2008, at 4:31 AM, Hans Hagen wrote: [EMAIL PROTECTED] wrote: All, A bit frustrated as I cannot seem to get a mswincontext scite combination going. I gave up on: http://pragma-ade.com/context/ install/mswintex.zip. I got absolutely nowhere with the installation and trying to connect scite. mswintex is just a zipped minimal So, I just downloaded: http://pragma-ade.com/context/install/ mswincontext.zip that one has also scite, perl and ruby + some more After extracting to c:\context, I ran the file first-setup.bat, which proceeded to install a lot of files. Was this a correct thing to do? Strange, as the distribution size was already huge. It would really help to have a readme.txt in this distribution with installation directions. After first-setup was complete, I ran cscite.bat. Scite opened. Good! I entered the usual test file: \starttext Hello, World! \stoptext And saved as test.tex. one option is to let setuptex be executed when you open a cmd prompt and then start scite from that (it's what i do here, since i do much on the console) then scite knows in which env it lives Then I tried Tools-Compile, which resulted in this error mesage: texmfstart concheck test.tex ruby: no such file to load--ubygems (LoadError) might be some conflict between the ruby in the zip and the installed one; this gems stuff overloads the 'require' function in an incompatible way (as idris suggested, get rid of gems) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mswintex.zip versus mswincontext.zip
Hans et al, For our students, I need to have Miktex and at least one of these distributions (mswintex.zip or mswincontext.zip) coexisting side by side. I've got Miktex installed and working with the Texniccener IDE for student use. Now, I need to get context and metapost working properly (no longer any mptopdf in the Miktex distro). Students don't deal well with DOS boxes and terminals at first (they can grow into them), so what I need is a scite icon on the desktop, that when clicked, will open and work (for context and metapost). I had already loaded mswintex.zip on each machine in our lab, run first-setup.bat. I also installed Scite by downloading from the scintilla site. I finally figured out that you need to import context in the Globals, though (the http://pragma-ade.com/general/manuals/ mscite-p.pdf said it should work in user as well, which I could not get to work. So, as I understand it now, the difference is the mswincontext.zip comes with perl and ruby, but we already have perl and ruby installed. If I get rid of the gems (how?) then I should be able to make progress? What I need is students to have both scite and texniccenter running at the same time. What are my best options? Thanks. D. ___ 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] mswincontext.zip
Hi David, On Wed, 27 Aug 2008 07:33:22 -0600, David Arnold [EMAIL PROTECTED] wrote: The only thing I know about Ruby is you used to install it in Windows so that Context thru Miktex would work. So, how do I get rid of the gems? From memory: 1. Uninstall Ruby completely; 2. Reinstall and choose custom install if that is available; 3. Uncheck the RubyGems option; That's it! setuptex.bat and the scripts that depend on it (like cscite.bat and my npp.bat) should work now. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Some Progress on Installing mswincontext.zip
All, As Idris and Hans expected, Ruby was the culprit. I had installed Ruby before downloading mswincontext.zip, as that was what I used to do in the old days with a Miktex installation. After following exactly these directions: http:// blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/173018 Scite now works on context documents. I tried to add metapost.properties to the global with import metapost. I can Build a file, but the Go command does not work because I don't have gv installed. So I opened metapost.properties and tried changing the gv command to gsview32 (and even tried c: \Program Files\ghostgum\gsview\gsview32.exe), but neither worked. Any suggestions how I can get the go command to work? Secondly, what would I do to compile a metapost file in scite directly into PDF? I am aware of context way with processMPbuffer and other assorted tricks, and I am aware of mptopdf, but what I am looking for is to configure Scite to compile the metapost file and open it in acrobat reader. Here is the test file I am trying to compile. beginfig(1); numeric u; 10u=4in; drawdblarrow (-5u,0)--(5u,0); drawdblarrow (0,-5u)--(0,5u); endfig; end. David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ 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] mswincontext.zip
I found all my gems problems were coming from an environment variable which pointed to rubygems. After I deleted it all the probs went away. You will nedd to search using set as I have forgotten the variable On Thu, Aug 28, 2008 at 1:25 AM, Idris Samawi Hamid [EMAIL PROTECTED]wrote: Hi David, On Wed, 27 Aug 2008 07:33:22 -0600, David Arnold [EMAIL PROTECTED] wrote: The only thing I know about Ruby is you used to install it in Windows so that Context thru Miktex would work. So, how do I get rid of the gems? From memory: 1. Uninstall Ruby completely; 2. Reinstall and choose custom install if that is available; 3. Uncheck the RubyGems option; That's it! setuptex.bat and the scripts that depend on it (like cscite.bat and my npp.bat) should work now. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- regards Geoff Moyle Knowledge Engineer is est non super exaro pinguis era sono Commercial-in-Confidence This is a private communication and contains material which is commercial in confidence, copyright, and contains or refers to trade secrets. The contents of this document may not be redistributed without the express permission of the author. These conditions are not intended to apply to a posting to a public mailing list : should these conditions appear inadvertently on such a posting, please advise. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mswincontext.zip
All, A bit frustrated as I cannot seem to get a mswincontext scite combination going. I gave up on: http://pragma-ade.com/context/install/mswintex.zip. I got absolutely nowhere with the installation and trying to connect scite. So, I just downloaded: http://pragma-ade.com/context/install/mswincontext.zip After extracting to c:\context, I ran the file first-setup.bat, which proceeded to install a lot of files. Was this a correct thing to do? Strange, as the distribution size was already huge. It would really help to have a readme.txt in this distribution with installation directions. After first-setup was complete, I ran cscite.bat. Scite opened. Good! I entered the usual test file: \starttext Hello, World! \stoptext And saved as test.tex. Then I tried Tools-Compile, which resulted in this error mesage: texmfstart concheck test.tex ruby: no such file to load--ubygems (LoadError) Any suggestions? D. ___ 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] mswincontext.zip
Hi, On Tue, 26 Aug 2008 18:27:37 -0600, [EMAIL PROTECTED] wrote: All, A bit frustrated as I cannot seem to get a mswincontext scite combination going. I gave up on: http://pragma-ade.com/context/install/mswintex.zip. I got absolutely nowhere with the installation and trying to connect scite. So, I just downloaded: http://pragma-ade.com/context/install/mswincontext.zip After extracting to c:\context, I ran the file first-setup.bat, which proceeded to install a lot of files. Was this a correct thing to do? Not sure, but I did not do it :-) Strange, as the distribution size was already huge. It would really help to have a readme.txt in this distribution with installation directions. After first-setup was complete, I ran cscite.bat. Scite opened. Good! I entered the usual test file: \starttext Hello, World! \stoptext And saved as test.tex. Then I tried Tools-Compile, which resulted in this error mesage: texmfstart concheck test.tex ruby: no such file to load--ubygems (LoadError) Reinstall Ruby without RubyGems. That worked for me. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mswincontext.zip
Idris, Thanks. I'm a Mac person at home now, so I'll have to wait until tomorrow to give this a try on a windows machine at school. What I'll try (unless I get further advice from this list) is download mswincontext.zip again, uninstall it, and NOT run first-setup.bat. Regarding Ruby, I am looking at this page: http://www.ruby-lang.org/ en/downloads/, where it seems like I have two options: http://rubyforge.org/frs/download.php/29263/ruby186-26.exe And: ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.8.7-i386- mswin32.zip Not sure I see anything on this page about without RubyGems. Any advice? D. On Aug 26, 2008, at 6:08 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi, On Tue, 26 Aug 2008 18:27:37 -0600, [EMAIL PROTECTED] wrote: All, A bit frustrated as I cannot seem to get a mswincontext scite combination going. I gave up on: http://pragma-ade.com/context/install/mswintex.zip. I got absolutely nowhere with the installation and trying to connect scite. So, I just downloaded: http://pragma-ade.com/context/install/mswincontext.zip After extracting to c:\context, I ran the file first-setup.bat, which proceeded to install a lot of files. Was this a correct thing to do? Not sure, but I did not do it :-) Strange, as the distribution size was already huge. It would really help to have a readme.txt in this distribution with installation directions. After first-setup was complete, I ran cscite.bat. Scite opened. Good! I entered the usual test file: \starttext Hello, World! \stoptext And saved as test.tex. Then I tried Tools-Compile, which resulted in this error mesage: texmfstart concheck test.tex ruby: no such file to load--ubygems (LoadError) Reinstall Ruby without RubyGems. That worked for me. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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] SciTE in ConTeXt setup
Hi Idris, I open a terminal window and type scite as follows (incl. terminal window output messages): Setting /opt/context/tex as TEXROOT. [EMAIL PROTECTED]:/opt/context/tex$ scite then SciTE launches but not in the way I expected. did you use the cscite script to launch scite or the setuptex script? Uh ? What are these scripts ? Best, Alan On Sat, Aug 23, 2008 at 3:53 AM, Idris Samawi Hamid [EMAIL PROTECTED]wrote: Hi Alan, On Fri, 22 Aug 2008 14:16:26 -0600, Alan Stone [EMAIL PROTECTED] wrote: Launching texexec --check from the SciTE output window gives sh: texexec: not found Exit code: 127 ruby, tidy, xsltproc, gv and rxvt are installed texexec.rb is in /opt/context/tex/texmf-context/scripts/context/ruby What's missing ? Not presently on linux etc. but did you use the cscite script to launch scite or the setuptex script? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Miktex still broken
The context in Miktex is still broken. Has anyone got experience installing the standalone version of context on windows alongside Miktex? As I have quite some legacy LaTeX-files I have Miktex 2.7, standalone Context, and a Context minimals installation on my system. They co-exist nicely on my system: Rather than pointing my path environment variable to any of those installations permanently I use batch-files to initialize whatever system I'd like to work with. These are the batch files I use; your paths will vary: - for running Miktex: REM setupmiktex.bat @echo off set PATH=C:\Programme\MiKTeX\2.7\miktex\bin;%PATH% C:\Programme\PSPad editor\PSPad.exe - for running the ConTeXt maximals (aka ConTeXt standalone): REM cstart.bat @echo off usr\local\context\cscite.bat usr\local\context - for running the minimals: REM setupminimals.bat @ECHO OFF E:\programme\contextminimal\context\tex\setuptex.bat E:\programme\contextminimal\context\tex you'll also have to add a line at the bottom of setuptex.bat, under :done call c:\ruby\scite\scite.exe or whatever editor you use. And one specific question, will the mptopdf command work in this dual installation? I think so; at least running mptopdf -v from a console window invoked from the editor made mptopdf tell me there was no file called '-v' to process ;-) Cheers, Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] SciTE in ConTeXt setup
Hi, I've switched from Linux (Ubuntu 8.04 LTS Desktop Edition) running from within Windows XP + VirtualBox to a stand-alone Ubuntu installation. Installed - ConTeXt minimals in /opt/context - SciTE through the Synaptic Package Manager, and followed the SciTE in ConTeXt manual instructions : * Re. §2: Installing SciTE Copied - /opt/context/tex/texmf-context/context/data/*.properties files and - /opt/context/tex/texmf-context/scripts/context/lua/scite-ctx.lua to /usr/share/scite Then - included the line 'import context.properties' at the end of /home/(username)/.SciTEUser.properties * Re: §3: The TeX lexer Put context.properties in the same path as SciTEUser.properties - and to add import context.properties ( instead of import context - see pg 4 ): done already in the previous step FYI, doing so, context.properties is then in /usr/share/scite *and* /home/(username) !? Launching SciTE from a terminal window... Setting /opt/context/tex as TEXROOT. (username)@home:/opt/context/tex$ scite launches SciTE however syntax highlighting doesn't work Setting /opt/context/tex as TEXROOT. [EMAIL PROTECTED]:/opt/context/tex$ export declare -x COLORTERM=gnome-terminal declare -x CTXMINIMAL=yes declare -x DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GagB6b6HXV,guid=66e95a0ba305ba645af20dad48aeff98 declare -x DESKTOP_SESSION=default declare -x DESKTOP_STARTUP_ID= declare -x DISPLAY=:0.0 declare -x GDMSESSION=default declare -x GDM_LANG=en_US.UTF-8 declare -x GDM_XSERVER_LOCATION=local declare -x GNOME_DESKTOP_SESSION_ID=Default declare -x GNOME_KEYRING_PID=6056 declare -x GNOME_KEYRING_SOCKET=/tmp/keyring-uBnsHP/socket declare -x GPG_AGENT_INFO=/tmp/seahorse-OHgHbT/S.gpg-agent:6110:1 declare -x GTK_RC_FILES=/etc/gtk/gtkrc:/home/alan/.gtkrc-1.2-gnome2 declare -x HISTCONTROL=ignoreboth declare -x HOME=/home/alan declare -x HOMETEXMF=/nonexist declare -x LANG=en_US.UTF-8 declare -x LESSCLOSE=/usr/bin/lesspipe %s %s declare -x LESSOPEN=| /usr/bin/lesspipe %s declare -x LOGNAME=alan declare -x LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: declare -x MPMEMS=\$TEXMFOS/web2c{/\$engine,} declare -x OLDPWD=/opt/context/tex declare -x PATH=/opt/context/tex/texmf-linux/bin:/opt/context/tex/texmf-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games declare -x PWD=/opt/context/tex declare -x RUBYLIB=/opt/context/tex/texmf-context/scripts/context/ruby:/opt/context/tex/texmf-context/scripts/context/ruby: declare -x SESSION_MANAGER=local/home:/tmp/.ICE-unix/6057 declare -x SHELL=/bin/bash declare -x SHLVL=2 declare -x SSH_AUTH_SOCK=/tmp/keyring-uBnsHP/ssh declare -x TERM=xterm declare -x TEXFORMATS=\$TEXMFOS/web2c{/\$engine,} declare -x TEXMF={\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFOS,\$TEXMFCONTEXT,\$TEXMFEXTRA,!!\$TEXMFMAIN} declare -x TEXMFCACHE=/opt/context/tex/texmf-cache declare -x TEXMFCNF=\$TEXROOT/texmf{-local,-context,}/web2c declare -x TEXMFCONTEXT=/opt/context/tex/texmf-context declare -x TEXMFDBS={\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFOS,\$TEXMFCONTEXT,\$TEXMFEXTRA,!!\$TEXMFMAIN} declare -x TEXMFEXTRA=/opt/context/tex/texmf-extra declare -x TEXMFFONTS=/opt/context/tex/texmf-fonts declare -x TEXMFLOCAL=/opt/context/tex/texmf-local declare -x TEXMFMAIN=/opt/context/tex/texmf declare -x TEXMFOS=/opt/context/tex/texmf-linux declare -x TEXMFPROJECT=/opt/context/tex/texmf-project declare -x TEXMFVAR=/texmf-var declare -x TEXROOT=/opt/context/tex declare -x USER=alan declare -x USERNAME=alan declare -x VARTEXMF=/texmf-var declare -x WINDOWID=52437808 declare -x WINDOWPATH=7 declare -x XAUTHORITY=/home/alan/.Xauthority declare -x XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/ declare -x XDG_SESSION_COOKIE=9ecb3383cfbad7bac2c96be048adcf2a-1219428246.634999-1846302211 [EMAIL PROTECTED]:/opt/context/tex$ texexec --check TeXExec | current distribution: web2c TeXExec | context source date: unknown TeXExec | format path: /opt/context/tex/texmf-linux/web2c
Re: [NTG-context] SciTE in ConTeXt setup
2008/8/22, Alan Stone [EMAIL PROTECTED]: I've switched from Linux (Ubuntu 8.04 LTS Desktop Edition) running from within Windows XP + VirtualBox to a stand-alone Ubuntu installation. from the SciTE output window gives sh: texexec: not found Exit code: 127 ruby, tidy, xsltproc, gv and rxvt are installed texexec.rb is in /opt/context/tex/texmf-context/scripts/context/ruby What's missing ? Try launching Scite from a console. Regards -- Diego Depaoli ___ 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] SciTE in ConTeXt setup
Hi Alan, On Fri, 22 Aug 2008 14:16:26 -0600, Alan Stone [EMAIL PROTECTED] wrote: Launching texexec --check from the SciTE output window gives sh: texexec: not found Exit code: 127 ruby, tidy, xsltproc, gv and rxvt are installed texexec.rb is in /opt/context/tex/texmf-context/scripts/context/ruby What's missing ? Not presently on linux etc. but did you use the cscite script to launch scite or the setuptex script? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texmfstart texexec
Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 13 Aug 2008 15:26:02 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid ادريس سماوي حامد wrote: Could there be something screwy in cscite.bat? Or setuptex.bat? what does echo %PATH% report? \testecho %PATH% C:\ConTeXt\goodies\bin;C:\ConTeXt\xmllib\bin;C:\ConTeXt\gs\bin;C:\ConTeXt\ruby\bin;C:\ConTeXt\tex\texmf-mswin\bin; [followed by the rest of my global environment variables, including the presets following] C:\ConTeXt;C:\ConTeXt\tex;C:\ConTeXt\tex\texmf-mswin\bin;C:\ConTeXt\tex\texmf-project\bin\miktex-bin; C:\ConTeXt\tex\texmf-project\bin\fptex-bin;C:\ConTeXt\tex\texmf-context\scripts\context\ruby; ^ old C:\ConTeXt\tex\texmf-local\scripts\context\stubs\mswin;C:\ruby\bin;C:\Perl\bin\; i wonder if c:\ruby\bin is the problem; can you run ruby texmfstart,rb ? (this while script becoming a exe is quite painful and fragile, which is why i always run things by stub) also, if you use luatex ... you can adapt the scite properties files (user ones) to use 'context' instead of 'texexec' Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texmfstart texexec
On Thu, 14 Aug 2008 02:15:39 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 13 Aug 2008 15:26:02 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid ادريس سماوي حامد wrote: Could there be something screwy in cscite.bat? Or setuptex.bat? what does echo %PATH% report? \testecho %PATH% C:\ConTeXt\goodies\bin;C:\ConTeXt\xmllib\bin;C:\ConTeXt\gs\bin;C:\ConTeXt\ruby\bin;C:\ConTeXt\tex\texmf-mswin\bin; [followed by the rest of my global environment variables, including the presets following] C:\ConTeXt;C:\ConTeXt\tex;C:\ConTeXt\tex\texmf-mswin\bin;C:\ConTeXt\tex\texmf-project\bin\miktex-bin; C:\ConTeXt\tex\texmf-project\bin\fptex-bin;C:\ConTeXt\tex\texmf-context\scripts\context\ruby; ^ old Those are some old aleph utilites for making ocp's, ofm's etc. cobbled from ancient versions of miktex and fptex -- sometimes the miktex binary would work but not the fptex binary and vice versa -) C:\ConTeXt\tex\texmf-local\scripts\context\stubs\mswin;C:\ruby\bin;C:\Perl\bin\; i wonder if c:\ruby\bin is the problem; can you run ruby texmfstart,rb ? ruby: No such file or directory -- texmfstart.rb (LoadError) (this while script becoming a exe is quite painful and fragile, which is why i always run things by stub) there is no texmfstart.bat in \scripts\context\stubs\mswin Is there another way? also, if you use luatex ... you can adapt the scite properties files (user ones) to use 'context' instead of 'texexec' luatex/context.cmd is working, it's just that I want to be able to compile the pdftex format for testing, legacy files, etc. Otherwise I am gradually moving everything over to luatex. For the record, going back to my backup context works. texmfstart.exe and the scripts seem the same. The only difference I can see is going from texmf-local to -context. I wonder what's triggering this. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texmfstart texexec
Hi Mojca, On Thu, 14 Aug 2008 02:06:59 -0600, Mojca Miklavec [EMAIL PROTECTED] wrote: But for texmfstart.exe texexec I keep getting ruby: no such file to load -- ubygems (LoadError) texmfstart --locate texexec.rb gives me /texmf-context/scripts/context/ruby/texexec.rb Any ideas on what's wrong? I would say it's a broken ruby installation, or some other file is broken, but I cannot find anything in ConTeXt, maybe in standalone ConTeXt environment ... I tried moving all setuptex.bat variables to the global XP environment variables. Then I could make a pdftex format without cscite.bat. But I could not run any pdftex files because texexec keeps looking for the format in -local/web2c/pdftex instead of -mswin\web2c\pdftex. I've removed those global variables and again trying to get setuptex/cscite.bat/pdftex working. Can you try to find a string ubygems in some .rb file? It should be rubygems at most, but I have no idea where this is comming from. That is weird indeed. Thnx and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texmfstart texexec
Hi Hans, Mojca, and all, I uninstalled ruby and reinstalled: no joy. Then I uninstalled ruby and reinstalled without installing RubyGems. Believe it or not that worked! I can compile the format and run mkii now. This still leaves open the question as to how RubyGems and cscite.bat (which is the source of npp.bat for notepad++) are interfering with each other in the new minimals/maximal (what is ubygems without the r anyway?). Might be worth investigating at some point... Thnx and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texmfstart texexec
Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Hans, Mojca, and all, I uninstalled ruby and reinstalled: no joy. Then I uninstalled ruby and reinstalled without installing RubyGems. Believe it or not that worked! I can compile the format and run mkii now. This still leaves open the question as to how RubyGems and cscite.bat (which is the source of npp.bat for notepad++) are interfering with each other in the new minimals/maximal (what is ubygems without the r anyway?). Might be worth investigating at some point... it's because those gems packages overload some library location mechanisms (they kind of dictate a structure and ignore the fact that one might want to ship script with libs in a different way); texexec cus coul dnot operate in such an environment without installers which would add another level of complexity the same is true for lua and luarocks which also can sit in the way; however, this does not hurt luatex because we have an isolated environment here Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Lastest Build on TeXlive 2008 and MikTeX 2.7
Mojca Miklavec mojca.miklavec.lists at gmail.com writes: Yes, it's perfectly fine if you just install this one into local tree (or maybe even into global - at least that's what I do). The rest is far less important. You only need to be aware that once you update a package in global tree, the local tree will still have precedence. Mojca Ok so I'm trying to install cont-tmf.zip on a Fedora 9 box with TexLive 2008 into my local ~/texmf/. $ kpsexpand '$TEXMFHOME' /home/mohamed/texmf $ ls ~/texmf/ bibtex cont-ext.zip cont-img.zip cont-ppc.zip doc metapost tex web2c context cont-fnt.zip cont-mpd.zip cont-tmf.zip fonts scripts tpm $ su -c 'texhash' Password: texhash: Updating /etc/texmf/ls-R... texhash: Updating /usr/local/share/texmf/ls-R... texhash: Updating /usr/share/texmf/ls-R... texhash: Updating /var/lib/texmf/ls-R... texhash: Done. But when I try to typeset; \starttext hello \stoptext I get this error; $ texexec start.tex /usr/bin/texmfstart:1838: warning: Insecure world writable dir /home/mohamed/Desktop/scala-2.7.1.final/bin in PATH, mode 040777 /home/mohamed/texmf/scripts/context/ruby/base/system.rb:16: warning: Insecure world writable dir /home/mohamed/Desktop/scala-2.7.1.final/bin in PATH, mode 040777 TeXExec | processing document 'start.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file start.top TeXExec | using randomseed 93 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %-line parsing enabled. (/home/mohamed/texmf/web2c/natural.tcx) entering extended mode (./start.tex ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2008.7.12 int: english/english language: language en is active system : cont-new loaded (/home/mohamed/texmf/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! FormatVersion : 2007.01.12 15:56 MKII FilesVersion: 2008.08.05 18:47 TeXUtil | unable to locate start.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | TeX run 2 TeXExec | writing option file start.top TeXExec | using randomseed 93 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %-line parsing enabled. (/home/mohamed/texmf/web2c/natural.tcx) entering extended mode (./start.tex ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2008.7.12 int: english/english language: language en is active system : cont-new loaded (/home/mohamed/texmf/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! FormatVersion : 2007.01.12 15:56 MKII FilesVersion: 2008.08.05 18:47 TeXUtil | unable to locate start.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 0.397965 -- Thanks Mohamed Bana ___ 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] texmfstart texexec
Dear gang, On Tue, 12 Aug 2008 15:59:20 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid ? ? wrote: Dear gang, I am upgrading my system to the latest mswincontext distro. After some hiccups, context.cmd finds its target script, so I can generate the mkiv format But for texmfstart.exe texexec I keep getting ruby: no such file to load -- ubygems (LoadError) hm, some rubygems interaction; i really dislike these 'package managers overloading the module loaders' texmfstart --locate texexec.rb gives me /texmf-context/scripts/context/ruby/texexec.rb Any ideas on what's wrong? some messy ruby in your path you can make a small bat file that starts texmfstart @echo off setlocal ruby c:\pathtoscript\texmfstart.rb %* endlocal might work or (what i have here) just add scripts/context/ruby to your PATH variable and associate .rb with ruby Still no luck. Here is some info: ruby 1.8.4 (2005-12-24) [i386-mswin32] \texmf-context\scripts\context\rubytexmfstart texexec ruby: no such file to load -- ubygems (LoadError) I ran the above in the directory with the scripts. Is there a setup or ini file where I need to change the path? I compared my old setuptex.bat with the new one. No real clues yet. \texmf-context\scripts\context\ruby is in the PATH, rebooted Any ideas? What has changed since the last mswincontext, other that the switch from -local/ to -context/? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texmfstart texexec
Hi Hans, I think I found a clue: If I start a command shell (no scite or npp or other editor) and do setuptex c:\context\tex texmfstart texexec I get TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | --checkcheck versions TeXExec | --figures generate overview of figures TeXExec | --listing list of file content TeXExec | --make make formats TeXExec | --modules generate module documentation TeXExec | --mpgraphicprocess mp file to stand-alone graphics TeXExec | --mpstatic process mp/ctx file to stand-alone graphics TeXExec | --mptexprocess mp file TeXExec | --mpxtex process mpx file TeXExec | --pdfarrange impose pages (booklets) TeXExec | --pdfcombine combine multiple pages TeXExec | --pdfcopy copy pages from file(s) TeXExec | --pdfselectselect pages from file(s) TeXExec | --pdfsplit split file in pages TeXExec | --pdftrim trim pages from file(s) TeXExec | --process process file TeXExec | TeXExec | --help --all shows all switches If I click on cscite.bat scite opens. Then I do CTRL-6 for a window. then I do texmfstart texexec getting ruby: no such file to load -- ubygems (LoadError) Even setuptex c:\context\tex texmfstart texexec in scite gives me ruby: no such file to load -- ubygems (LoadError) Could there be something screwy in cscite.bat? Or setuptex.bat? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texmfstart texexec
On Wed, 13 Aug 2008 15:26:02 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid ادريس سماوي حامد wrote: Could there be something screwy in cscite.bat? Or setuptex.bat? what does echo %PATH% report? \testecho %PATH% C:\ConTeXt\goodies\bin;C:\ConTeXt\xmllib\bin;C:\ConTeXt\gs\bin;C:\ConTeXt\ruby\bin;C:\ConTeXt\tex\texmf-mswin\bin; [followed by the rest of my global environment variables, including the presets following] C:\ConTeXt;C:\ConTeXt\tex;C:\ConTeXt\tex\texmf-mswin\bin;C:\ConTeXt\tex\texmf-project\bin\miktex-bin; C:\ConTeXt\tex\texmf-project\bin\fptex-bin;C:\ConTeXt\tex\texmf-context\scripts\context\ruby; C:\ConTeXt\tex\texmf-local\scripts\context\stubs\mswin;C:\ruby\bin;C:\Perl\bin\; ... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___