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
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
,
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
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
/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
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
(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 = ادريس
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
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
).
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
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
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
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
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
=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
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
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
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
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
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
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
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
,
- 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
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
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
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
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
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
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
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
-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
/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
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
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
, 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
-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
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
:
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
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
:
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
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
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
=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
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
=$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
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
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
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
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
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
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
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
/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
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
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
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
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
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
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
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
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
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
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
:
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
\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
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
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
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
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
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
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
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
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
, 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
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
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
-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
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
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
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
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
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
,
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
.
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
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
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
: 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
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
:/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
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
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
\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
? 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
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
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
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
;
\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
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
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
\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
401 - 500 of 1321 matches
Mail list logo