Re: [NTG-context] Context install from Texlive2016 mtxrun problem

2017-02-28 Thread Geert Dobbels

Pablo,

Thanks for your reply, everything works fine now.  I left texlive on my 
system since I need it for a couple of other things, but uninstalled the 
context modules.


Geert

On 28/02/17 17:34, Pablo Rodriguez wrote:

On 02/28/2017 02:23 PM, Geert Dobbels wrote:

Hello,

After several years away from Context, I would like to start using it
again and encounter the following problem:

I am on a Fedora 25 system, 64bit machine and installed context from the
rpm repositories via dnf.  The repositories contain a Texlive 2016 version.

I installed "texlive" and "texlive-context" from those repositories, and
context works out of the box.

Hi Geert,

I’m on Fedora 25, but my laptop is old (so, mine is a 32bit machine).

When I came back to ConTeXt, I installed it from TeX Live. But after
some use (and the kind advice from different people in this list), I
decided to install the ConTeXt Suite.

It is as simple as:

time (cd && mkdir temp-ctx-install && cd temp-ctx-install &&\
rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . &&\
./first-setup.sh --modules=all && cd &&\
source temp-ctx-install/tex/setuptex && mtxrunjit --generate)

With a decent internet connection it only takes two minutes to download
(the command "time" is there to measure things ;-)).

Why do I write this? Because I had the same thoughts (“Installing a beta
version? Crazy!”). And now I don’t have any other TeX distribution
installed on my system ;-).

Since the installation is portable, you may install it besides your TeX
Live ConTeXt. Depending on your free space available, you may have
different betas in the same computer. After all, they aren’t installed
on the system.

All you have to do is to invoke (before running ConTeXt):

   source /directory-where-context-suite-is-placed/tex/setuptex

All paths will be loaded and everything will be fine.

Using the current beta, you have latest implementations available and
you avoid dealing with ancient bugs.

BTW, "mtxrun --generate" might help you with the issue you reported.
(Not tested, since I don’t want to install TeX Live :-).)

Just in case it helps,

Pablo


--
--
*_IHTS Approvals S.L._*
Geert Dobbels ge...@ihts.eu 
Zubiegi 11, E-01139 Bitoriano (Spain)  0034 945 462633
Vrijbosstraat 11, B-8020 Hertsberge (Belgium)   0032 50 580 140
ihts.eu
___
If your question is of interest to others as well, please add an 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] Context install from Texlive2016 mtxrun problem

2017-02-28 Thread Pablo Rodriguez
On 02/28/2017 02:23 PM, Geert Dobbels wrote:
> Hello,
> 
> After several years away from Context, I would like to start using it 
> again and encounter the following problem:
> 
> I am on a Fedora 25 system, 64bit machine and installed context from the 
> rpm repositories via dnf.  The repositories contain a Texlive 2016 version.
> 
> I installed "texlive" and "texlive-context" from those repositories, and 
> context works out of the box.

Hi Geert,

I’m on Fedora 25, but my laptop is old (so, mine is a 32bit machine).

When I came back to ConTeXt, I installed it from TeX Live. But after
some use (and the kind advice from different people in this list), I
decided to install the ConTeXt Suite.

It is as simple as:

time (cd && mkdir temp-ctx-install && cd temp-ctx-install &&\
rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . &&\
./first-setup.sh --modules=all && cd &&\
source temp-ctx-install/tex/setuptex && mtxrunjit --generate)

With a decent internet connection it only takes two minutes to download
(the command "time" is there to measure things ;-)).

Why do I write this? Because I had the same thoughts (“Installing a beta
version? Crazy!”). And now I don’t have any other TeX distribution
installed on my system ;-).

Since the installation is portable, you may install it besides your TeX
Live ConTeXt. Depending on your free space available, you may have
different betas in the same computer. After all, they aren’t installed
on the system.

All you have to do is to invoke (before running ConTeXt):

  source /directory-where-context-suite-is-placed/tex/setuptex

All paths will be loaded and everything will be fine.

Using the current beta, you have latest implementations available and
you avoid dealing with ancient bugs.

BTW, "mtxrun --generate" might help you with the issue you reported.
(Not tested, since I don’t want to install TeX Live :-).)

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] Context install from Texlive2016 mtxrun problem

2017-02-28 Thread Geert Dobbels

Hello,

After several years away from Context, I would like to start using it 
again and encounter the following problem:


I am on a Fedora 25 system, 64bit machine and installed context from the 
rpm repositories via dnf.  The repositories contain a Texlive 2016 version.


I installed "texlive" and "texlive-context" from those repositories, and 
context works out of the box.


The problem is with mtxrun: it seems unable to find the scripts. The 
scripts are installed in


/usr/share/texlive/texmf-dist/scripts/context/lua

When I invoke "mtxrun --script" from any place, I get a "no script name 
given" without the expected list of available scripts
wheni I invoke the same from the scripts directory, I get the list of 
available scripts as expected.


When I invoke "mtxrun --script fonts --list --all" from any directory, I 
get "unknown script 'font.lua' or mtx-font.lua'
the same comand from the directory where the scripts are located gives 
"mtx-fonts.lua:135: attempt to index global 'fonts' (a nil value)"


Is this supposed to work out of the box, or do I still have to manually 
configure some details as in older texlive versions ?
(could not find anything in the context wiki or maillist that helps me 
to solve this problem)



Geert
___
If your question is of interest to others as well, please add an 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
___