Re: [NTG-context] about "unknown script 'context.lus' or 'max-context.lua'"

2017-09-02 Thread Jeong Dal
Dear Hans van der Meer,

According to your word, I added the PATH to texmf-dist(texlive 2017) to the 
ConTeXt(LuaTex).engine directly.
And, in the terminal, run mtxrun —generate and run luatools —generate once more.
Then ConTeXt(LuaTeX) is working fine.
Now, I can compile ConTeXt files using either texlive-2017 or minimal-beta.

Thank you again.

Best regards,

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] about "unknown script 'context.lus' or 'max-context.lua'"

2017-09-02 Thread Jeong Dal
Dear Hans van der Meer,

Thank you for your solution.
It is similar to the one of the engines, which is for ConTeXt(beta, stand 
alone) and works fine.

Thank you again.

Best regards,

Dalyoung

> On OSX there are directories used by TeXShop one of which is  
> ~/Library/Engines. The text files there contain scripts that callup a tex 
> run. In my case I have a text file called BetaCur.engine to be found in the 
> run popup button of TeXShop. In it I have:
> #!/bin/bash
> source ~/.bashrc
> mtxrun --script context "$1"
> 
> In the .bashrc file in my home directory the directory where the ConTeXt 
> files reside is given amongst other defines:
> CONTEXTROOT=$HOME/Applications/TeX-programs/directory-of-my-contextbeta-files/tex
> export CONTEXTROOT
> PATH=$PATH:$CONTEXTROOT/texmf-osx-64/bin

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] about "unknown script 'context.lus' or 'max-context.lua'"

2017-09-01 Thread Meer, Hans van der
Allthough I am working with the ConTeXt beta version, I hope you will get 
things running in TeXShop by analogy as it does for me.

On OSX there are directories used by TeXShop one of which is  
~/Library/Engines. The text files there contain scripts that callup a tex run. 
In my case I have a text file called BetaCur.engine to be found in the run 
popup button of TeXShop. In it I have:
#!/bin/bash
source ~/.bashrc
mtxrun --script context "$1"

In the .bashrc file in my home directory the directory where the ConTeXt files 
reside is given amongst other defines:
CONTEXTROOT=$HOME/Applications/TeX-programs/directory-of-my-contextbeta-files/tex
export CONTEXTROOT
PATH=$PATH:$CONTEXTROOT/texmf-osx-64/bin

I hope this will help you to customize things to your setup.

Hans van der Meer




On 1 Sep 2017, at 10:27, Jeong Dal > wrote:

Dear all,

1. Today, I installed TeXlive 2017 using MacTeX and do a simple test using 
TeXshop.

When I run a sample file using “ConTeXt(LuaTeX)”, then I got an error message:

mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'

I also did “mtxrun —generate”in the terminal which runs well.  But “luatools 
—generate” also issue the similar error message:

mtxrun  | unknown script ‘base.lua’ or 'mtx-base.lua'

However, it runs well under Stand-alone ConTeXt.
What I have to do to make TeXlive work?

2. Recently, I also installed Textadept in OS X for test, and follow the steps 
explained in the wiki.

If I open textadept in the terminal(open -a textadept), ConTeXt, lua, Python 
worked OK.
But it  issued an error message as following  when I open it directly from the 
application folder.

> mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 
> "Main.tex"
Failed to execute child process "mtxrun" (No such file or directory)
> exit status: 256

In the terminal, echo $PATH contains the folder “/Library/TeX/texbin” which 
contains all executables of TeXlive 2017.
Is there anything that I have to do more?

Thank you for reading.

Best regards,

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

maillist : ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] about "unknown script 'context.lus' or 'max-context.lua'"

2017-09-01 Thread Jeong Dal
Dear all,

1. Today, I installed TeXlive 2017 using MacTeX and do a simple test using 
TeXshop.

When I run a sample file using “ConTeXt(LuaTeX)”, then I got an error message:

mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'

I also did “mtxrun —generate”in the terminal which runs well.  But “luatools 
—generate” also issue the similar error message:

mtxrun  | unknown script ‘base.lua’ or 'mtx-base.lua'

However, it runs well under Stand-alone ConTeXt.
What I have to do to make TeXlive work?

2. Recently, I also installed Textadept in OS X for test, and follow the steps 
explained in the wiki.

If I open textadept in the terminal(open -a textadept), ConTeXt, lua, Python 
worked OK. 
But it  issued an error message as following  when I open it directly from the 
application folder.

> mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 
> "Main.tex"
Failed to execute child process "mtxrun" (No such file or directory)
> exit status: 256

In the terminal, echo $PATH contains the folder “/Library/TeX/texbin” which 
contains all executables of TeXlive 2017.
Is there anything that I have to do more?

Thank you for reading.

Best regards,

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___