ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TeXshop
@ 2008-10-22 10:57 Willi Egger
  2008-10-22 11:13 ` TeXshop Otared Kavian
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Willi Egger @ 2008-10-22 10:57 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 10:57 TeXshop Willi Egger
@ 2008-10-22 11:13 ` Otared Kavian
  2008-10-22 13:21   ` TeXshop Hans van der Meer
  2008-10-22 15:02   ` TeXshop Willi Egger
  2008-10-22 11:28 ` TeXshop Wolfgang Schuster
  2008-10-22 13:25 ` TeXshop Otared Kavian
  2 siblings, 2 replies; 11+ messages in thread
From: Otared Kavian @ 2008-10-22 11:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 10:57 TeXshop Willi Egger
  2008-10-22 11:13 ` TeXshop Otared Kavian
@ 2008-10-22 11:28 ` Wolfgang Schuster
  2008-10-22 14:58   ` TeXshop Willi Egger
  2008-10-22 16:17   ` TeXshop Willi Egger
  2008-10-22 13:25 ` TeXshop Otared Kavian
  2 siblings, 2 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2008-10-22 11:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Oct 22, 2008 at 12:57 PM, Willi Egger <w.egger@boede.nl> 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

Why don't you use TeXworks, it already comes with the right
settings for pdfTeX, XeTeX and LuaTeX.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 11:13 ` TeXshop Otared Kavian
@ 2008-10-22 13:21   ` Hans van der Meer
  2008-10-22 15:02   ` TeXshop Willi Egger
  1 sibling, 0 replies; 11+ messages in thread
From: Hans van der Meer @ 2008-10-22 13:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 10:57 TeXshop Willi Egger
  2008-10-22 11:13 ` TeXshop Otared Kavian
  2008-10-22 11:28 ` TeXshop Wolfgang Schuster
@ 2008-10-22 13:25 ` Otared Kavian
  2008-10-22 15:13   ` TeXshop Willi Egger
  2 siblings, 1 reply; 11+ messages in thread
From: Otared Kavian @ 2008-10-22 13:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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:
>

Hi again Willi,

If you have installed ConTeXt-Miimal for MacOS X, the in principle you  
don't need at all to set environment variables as the ones you mention.
On the contrary according to my experience, you SHOULD NOT set any  
such variables…
Therefore in a Terminal window you should say:
	env | grep TEX
and then say (for instance for TEXMFCNF)
	unset TEXMFCNF
and so on for the other variables if they seem to be unwanted. Also oe  
should remove the "export…" variables from the .bashrc or any other  
shell files.

This is how I installed ConTeXt-Minimal and how I use it under  
TeXShop. (I have a MacBook Pro running under macOS X 10.5.5).

Installing and using the Minimal under Mac OS X in Ten Steps…

1) I created a folder named "context-minimal": this can sit anywhere,  
but in my case I put it in a partition of my hard drive names "OK-10.4".
So the full path to that folder is
	/Volumes/OK-10.4/context-minimal

2) In a Terminal window I said
	cd /Volumes/OK-10.4/context-minimal

3) Then in the same Terminal window I said
	rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
Please pay attention to the final "." after "first-setup.sh"…
I got the file "first-setup.sh" in the folder.

4) Then I said in the Terminal window
	sh first-setup.sh
This would take some time (depending on the speed of the Internet  
connection) and then I obtained two folders (or directories) named
	bin/
	tex/
and one morefile named "status-of-update.lua".

5) The folder "tex" contains four folders named
	texmf/
	texmf-context/
	texmf-cache/
	texmf-osx-intel/
and four files named
	setuptex
	setuptex.csh
	setuptex.bat
	setuptex.tmf
The folder "texmf-osx-intel" contains among other things a folder  
named "bin" in which the binaries are located.
The file "setuptex" is the file which upon execution under a shell  
command sets the TEXROOT variable needed for the binary "context"

6) If I want to typeset the file "basic-test.tex" with my new  
installation, I have to set up once per session the TEXROOT variable  
by saying in my Terminall window:
	source /Volumes/OK-10.4/context-minimal/tex/setuptex
or alternatively
	.  /Volumes/OK-10.4/context-minimal/tex/setuptex
Please pay attention to the dot "." and the space after the dot at the  
beginning of the above line…
After that in the Terminal window (assuming that I am in the folder  
where the file "basic-test.tex" is present) I just say
	context basic-test.tex
and the file is typeset with mkiv.

7) If I want to put some macros, or files used frequently as \input, I  
may put them in the folder:
	/Volumes/OK-10.4/context-minimal/tex/texmf-context/tex/context/user

8) Also I may put more fonts in the folder
	/Volumes/OK-10.4/context-minimal/tex/texmf/fonts
in appropriate places (I did this for the fonts rsfs which were not  
present in the minimals). However after this I had to run again "first- 
setup.sh" as above.

9) Once the minimal was installed on my machine, in order to use it  
with TeXShop, I created a file named "ConTeXt-Minimal.engine"  
containing only the four lines:
	#!/bin/bash

	source /Volumes/OK-10.4/context-minimal/tex/setuptex
	context "$1"

This file is put in the directory
	/Users/kavian/Library/TeXShop/Engines
and must have the execute bit, that is one must say in a Terminal  
window:
	cd /Users/kavian/Library/TeXShop/Engines
	chmod 755 ConTeXt-Minimal.engine

10) Now in TeXShop I can add the following line at the beginning of  
any file I want to typeset with the Minimal:
	%!TEX TS-program = ConTeXt-Minimal
or else I may choose "ConTeXt-Minimal" from the pop-up menu which  
appears below the window bar of my TeX file.

I hope that the above would be useful for you and other persons.
Since on the Wiki there are already many things on the issue, I didn't  
dare to add a new page…
Mojca, if you read this, can you please tell me whether I can add a  
new item on the pages you have set up?

Best regards: OK

> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 11:28 ` TeXshop Wolfgang Schuster
@ 2008-10-22 14:58   ` Willi Egger
  2008-10-22 16:17   ` TeXshop Willi Egger
  1 sibling, 0 replies; 11+ messages in thread
From: Willi Egger @ 2008-10-22 14:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Wolfgang,

I am currently on a Mac ...

Willi
On Oct 22, 2008, at 1:28 PM, Wolfgang Schuster wrote:

> On Wed, Oct 22, 2008 at 12:57 PM, Willi Egger <w.egger@boede.nl>  
> 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
>
> Why don't you use TeXworks, it already comes with the right
> settings for pdfTeX, XeTeX and LuaTeX.
>
> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 11:13 ` TeXshop Otared Kavian
  2008-10-22 13:21   ` TeXshop Hans van der Meer
@ 2008-10-22 15:02   ` Willi Egger
  1 sibling, 0 replies; 11+ messages in thread
From: Willi Egger @ 2008-10-22 15:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 13:25 ` TeXshop Otared Kavian
@ 2008-10-22 15:13   ` Willi Egger
  0 siblings, 0 replies; 11+ messages in thread
From: Willi Egger @ 2008-10-22 15:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear Otared,

many thanks for your explanation. - It works now as a charm!

I see, that I was at the beginning almost there. The problem was  
apparently, that I did not set the executable bit.

Thanks again

Willi
On Oct 22, 2008, at 3:25 PM, Otared Kavian wrote:

> 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:
>>
>
> Hi again Willi,
>
> If you have installed ConTeXt-Miimal for MacOS X, the in principle you
> don't need at all to set environment variables as the ones you  
> mention.
> On the contrary according to my experience, you SHOULD NOT set any
> such variables…
> Therefore in a Terminal window you should say:
> 	env | grep TEX
> and then say (for instance for TEXMFCNF)
> 	unset TEXMFCNF
> and so on for the other variables if they seem to be unwanted. Also oe
> should remove the "export…" variables from the .bashrc or any other
> shell files.
>
> This is how I installed ConTeXt-Minimal and how I use it under
> TeXShop. (I have a MacBook Pro running under macOS X 10.5.5).
>
> Installing and using the Minimal under Mac OS X in Ten Steps…
>
> 1) I created a folder named "context-minimal": this can sit anywhere,
> but in my case I put it in a partition of my hard drive names  
> "OK-10.4".
> So the full path to that folder is
> 	/Volumes/OK-10.4/context-minimal
>
> 2) In a Terminal window I said
> 	cd /Volumes/OK-10.4/context-minimal
>
> 3) Then in the same Terminal window I said
> 	rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
> Please pay attention to the final "." after "first-setup.sh"…
> I got the file "first-setup.sh" in the folder.
>
> 4) Then I said in the Terminal window
> 	sh first-setup.sh
> This would take some time (depending on the speed of the Internet
> connection) and then I obtained two folders (or directories) named
> 	bin/
> 	tex/
> and one morefile named "status-of-update.lua".
>
> 5) The folder "tex" contains four folders named
> 	texmf/
> 	texmf-context/
> 	texmf-cache/
> 	texmf-osx-intel/
> and four files named
> 	setuptex
> 	setuptex.csh
> 	setuptex.bat
> 	setuptex.tmf
> The folder "texmf-osx-intel" contains among other things a folder
> named "bin" in which the binaries are located.
> The file "setuptex" is the file which upon execution under a shell
> command sets the TEXROOT variable needed for the binary "context"
>
> 6) If I want to typeset the file "basic-test.tex" with my new
> installation, I have to set up once per session the TEXROOT variable
> by saying in my Terminall window:
> 	source /Volumes/OK-10.4/context-minimal/tex/setuptex
> or alternatively
> 	.  /Volumes/OK-10.4/context-minimal/tex/setuptex
> Please pay attention to the dot "." and the space after the dot at the
> beginning of the above line…
> After that in the Terminal window (assuming that I am in the folder
> where the file "basic-test.tex" is present) I just say
> 	context basic-test.tex
> and the file is typeset with mkiv.
>
> 7) If I want to put some macros, or files used frequently as \input, I
> may put them in the folder:
> 	/Volumes/OK-10.4/context-minimal/tex/texmf-context/tex/context/user
>
> 8) Also I may put more fonts in the folder
> 	/Volumes/OK-10.4/context-minimal/tex/texmf/fonts
> in appropriate places (I did this for the fonts rsfs which were not
> present in the minimals). However after this I had to run again  
> "first-
> setup.sh" as above.
>
> 9) Once the minimal was installed on my machine, in order to use it
> with TeXShop, I created a file named "ConTeXt-Minimal.engine"
> containing only the four lines:
> 	#!/bin/bash
>
> 	source /Volumes/OK-10.4/context-minimal/tex/setuptex
> 	context "$1"
>
> This file is put in the directory
> 	/Users/kavian/Library/TeXShop/Engines
> and must have the execute bit, that is one must say in a Terminal
> window:
> 	cd /Users/kavian/Library/TeXShop/Engines
> 	chmod 755 ConTeXt-Minimal.engine
>
> 10) Now in TeXShop I can add the following line at the beginning of
> any file I want to typeset with the Minimal:
> 	%!TEX TS-program = ConTeXt-Minimal
> or else I may choose "ConTeXt-Minimal" from the pop-up menu which
> appears below the window bar of my TeX file.
>
> I hope that the above would be useful for you and other persons.
> Since on the Wiki there are already many things on the issue, I didn't
> dare to add a new page…
> Mojca, if you read this, can you please tell me whether I can add a
> new item on the pages you have set up?
>
> Best regards: OK
>
>> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 11:28 ` TeXshop Wolfgang Schuster
  2008-10-22 14:58   ` TeXshop Willi Egger
@ 2008-10-22 16:17   ` Willi Egger
  2008-10-22 16:47     ` TeXshop Otared Kavian
  1 sibling, 1 reply; 11+ messages in thread
From: Willi Egger @ 2008-10-22 16:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Wolfgang

I would like to give the TEXworks application also a try.

I downloaded the libraries and the executable r167 as provided from  
the TUG-site.

The libraries were put into /Library/Frameworks (local)
The other libraries into /opt/local/lib (there is no such folder as / 
usr/local/lib

The application does not start. i.e. the lion blinks up when clicked,  
in the applicationsbar a triangel show up for a moment and then  
vanishes... So I am stummied.

Is it the version which is faulty?

kind regards

Willi

On Oct 22, 2008, at 1:28 PM, Wolfgang Schuster wrote:

> On Wed, Oct 22, 2008 at 12:57 PM, Willi Egger <w.egger@boede.nl>  
> 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
>
> Why don't you use TeXworks, it already comes with the right
> settings for pdfTeX, XeTeX and LuaTeX.
>
> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 16:17   ` TeXshop Willi Egger
@ 2008-10-22 16:47     ` Otared Kavian
  2008-10-23 10:00       ` TeXshop Taco Hoekwater
  0 siblings, 1 reply; 11+ messages in thread
From: Otared Kavian @ 2008-10-22 16:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1138 bytes --]

Hi Wolfgang and Willi,

As soon as I saw Wolfgang's message about TeXworks, I tried to install  
and use it, but without success (I even didn't figure out what Willi  
says about the libraries and so on).
Maybe, in the sense of Mac OS X, it is not yet an application?

I am stymmied too…

Best regards: OK
On 22 oct. 08, at 18:17, Willi Egger wrote:

> Hi Wolfgang
>
> I would like to give the TEXworks application also a try.
>
> I downloaded the libraries and the executable r167 as provided from
> the TUG-site.
>
> The libraries were put into /Library/Frameworks (local)
> The other libraries into /opt/local/lib (there is no such folder as /
> usr/local/lib
>
> The application does not start. i.e. the lion blinks up when clicked,
> in the applicationsbar a triangel show up for a moment and then
> vanishes... So I am stummied.
>
> Is it the version which is faulty?
>
> kind regards
>
> Willi
>
> On Oct 22, 2008, at 1:28 PM, Wolfgang Schuster wrote:
>>> […]
>>
>> Why don't you use TeXworks, it already comes with the right
>> settings for pdfTeX, XeTeX and LuaTeX.
>>
>> Wolfgang
>>



[-- Attachment #1.2: Type: text/html, Size: 1835 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: TeXshop
  2008-10-22 16:47     ` TeXshop Otared Kavian
@ 2008-10-23 10:00       ` Taco Hoekwater
  0 siblings, 0 replies; 11+ messages in thread
From: Taco Hoekwater @ 2008-10-23 10:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Hi Guys,

Otared Kavian wrote:
> Hi Wolfgang and Willi,
> 
> As soon as I saw Wolfgang's message about TeXworks, I tried to install 
> and use it, but without success (I even didn't figure out what Willi 
> says about the libraries and so on).
> Maybe, in the sense of Mac OS X, it is not yet an application?
> 
> I am stymmied too…

This discussion a bit offtopic for the context list. TeXworks has its
own mailing list where questions such as this should be asked, and I
am 100% sure that Jonathan will be both happy to hear that people are
actually trying to use the program and will be glad to help out anyone
that runs into problems.

Just go to http://tug.org/texworks/, and follow the "mailing list" link.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-10-23 10:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-22 10:57 TeXshop Willi Egger
2008-10-22 11:13 ` TeXshop Otared Kavian
2008-10-22 13:21   ` TeXshop Hans van der Meer
2008-10-22 15:02   ` TeXshop Willi Egger
2008-10-22 11:28 ` TeXshop Wolfgang Schuster
2008-10-22 14:58   ` TeXshop Willi Egger
2008-10-22 16:17   ` TeXshop Willi Egger
2008-10-22 16:47     ` TeXshop Otared Kavian
2008-10-23 10:00       ` TeXshop Taco Hoekwater
2008-10-22 13:25 ` TeXshop Otared Kavian
2008-10-22 15:13   ` TeXshop Willi Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).