Re: [NTG-context] Setting up TeXworks

2016-05-19 Thread Jean-Pierre Delange
Hi Thomas,

1. There is no great issue to install ConTeXt Standalone in /usr/local/context; 
it's only a simple advice that I gave to put context in such a directory as 
/home/Document (e.g. : on Linux Ubuntu) in order to make things clear for 
beginners; and you can install it in /opt/context if you want it. I have 
installed CTX in /home/MyComputer/context
, because the whole documentation and files I want to use are near. Under 
Windows, ConTeXt is installed in C:\users\MyComputer\Documents\context. 
As you know, ConTeXt Standalone is a bundle which is self-sufficient (it 
doesn't need any extra-package, except some more fonts). I don't have tried yet 
to work with ConTeXt and Perl/Python, because my goal is to understand ConTeXt 
step by step in order to write a documentation in French (and I am starting 
from the beginning), starting by the easiest way to code a document and ending 
by some project structures.

2. commands like 'context --generate' and 'context --make' , typed after this 
previous one: '. setuptex', allow to build all the trees that you need 
thereafter, including databases. After that, you have to set your environment 
variables (in PATH). If you don't do that, you'll see your Linux system 
complain with such enigmatic formulas as 'ConTeXt is not installed', or 'mtxrun 
is not installed. You can installed it with apt-get install mtxrun', etc. 

JP


-Mail Original -
> De: "Thomas Fehige" <tho...@fehige.de>
> À: ntg-context@ntg.nl

>experienced in the Linux world either. My French is honed on cooking 
>recipes rather than computing and coding, but I was able to follow your 
>page allright.
>
>1. I don't have my standalone ConTeXt tree anywhere under /home/... but 
>in /usr/local/context/..., as suggested on the wiki. Would that make a 
>difference?
>
>2. What do "--generate" and "--make" do? I remember having run them at 
>one occasion or other, but to no avail as to the TeXworks problem. 
>Shouldn't they be run by the installation script anyway?
>
>I had managed the fonts database stuff, thanks to the wiki and some 
>trial and error. It was time I learned about environment variables in 
>Linux and Xfce anyway.

>Cheers -- Thomas

Am 17.05.2016 um 15:22 schrieb Jean-Pierre Delange:
> And don't forget to do this before coding :
> 1) cd /home/[...]/context/tex/. setuptex
> This command answers this : "Setting "/home/JohnDoe/context/tex" as ConTeXt 
> root."
> 2) Then : cd .../context/tex/texmf-win64 (or linux64) with a x64 computer
> 3) Then type :
> context --generate
> and type : context --make
>
> 4) Finally, if you add fonts (in /usr/share/fonts, or $HOME/.fonts), don't 
> forget to reload the font database (in the same depositery as 3)); the 
> command is as follow :
> mtxrun --script fonts --reload
> In order to see which fonts are installed on your system:
> mtxrun --script fonts --list --all
> To search a font (like didot) :
> mtxrun --script fonts --list --pattern=*didot* --all
>
> All these commands are the same on windows/linux/OS X
>
> More information in French here :
> https://fr.wikibooks.org/wiki/ConTeXt
>
> Hope that ich sende nicht Eulen nach Athens !
> JP
>
> - Mail original -
> De: "Thomas Fehige" <tho...@fehige.de>
> À: ntg-context@ntg.nl
> Envoyé: Mardi 17 Mai 2016 14:39:27
> Objet: Re: [NTG-context] Setting up TeXworks
>
> Whew, I've got it running, finally.
>
> For some reason, TeXworks needs to tell mtxrun explicitly where its
> texmf-tree is located. Meaning, an additional argument is required in
> TeXworks's starter setup, which now looks like this:
>
> name: ConTeXt MkIV
> command: mtxrun
> arguments:
>   --tree=/usr/local/context/tex<-- this is the one!
>   --autogenerate
>   --script
>   context
>   $fullname
>
> In the "Paths to TeX and friends" list I have
>
>   /usr/local/context/texmf-linux-64
>   /usr/local/context/bin
>
> as the top two entries.
>
> I don't know what exactly is going on here, so I don't feel confident to
> add this to the wiki, but maybe someone else does and will.
>
> Thanks for listening -- Thomas
___
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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-19 Thread Thomas Fehige
Thanks Jean-Pierre, and no, you're not carrying owls to Athens, in 
whatever language. ;) I'm very new to ConTeXt and not all that 
experienced in the Linux world either. My French is honed on cooking 
recipes rather than computing and coding, but I was able to follow your 
page allright.


1. I don't have my standalone ConTeXt tree anywhere under /home/... but 
in /usr/local/context/..., as suggested on the wiki. Would that make a 
difference?


2. What do "--generate" and "--make" do? I remember having run them at 
one occasion or other, but to no avail as to the TeXworks problem. 
Shouldn't they be run by the installation script anyway?


I had managed the fonts database stuff, thanks to the wiki and some 
trial and error. It was time I learned about environment variables in 
Linux and Xfce anyway.


Cheers -- Thomas

Am 17.05.2016 um 15:22 schrieb Jean-Pierre Delange:

And don't forget to do this before coding :
1) cd /home/[...]/context/tex/. setuptex
This command answers this : "Setting "/home/JohnDoe/context/tex" as ConTeXt 
root."
2) Then : cd .../context/tex/texmf-win64 (or linux64) with a x64 computer
3) Then type :
context --generate
and type : context --make

4) Finally, if you add fonts (in /usr/share/fonts, or $HOME/.fonts), don't 
forget to reload the font database (in the same depositery as 3)); the command 
is as follow :
mtxrun --script fonts --reload
In order to see which fonts are installed on your system:
mtxrun --script fonts --list --all
To search a font (like didot) :
mtxrun --script fonts --list --pattern=*didot* --all

All these commands are the same on windows/linux/OS X

More information in French here :
https://fr.wikibooks.org/wiki/ConTeXt

Hope that ich sende nicht Eulen nach Athens !
JP

- Mail original -
De: "Thomas Fehige" <tho...@fehige.de>
À: ntg-context@ntg.nl
Envoyé: Mardi 17 Mai 2016 14:39:27
Objet: Re: [NTG-context] Setting up TeXworks

Whew, I've got it running, finally.

For some reason, TeXworks needs to tell mtxrun explicitly where its
texmf-tree is located. Meaning, an additional argument is required in
TeXworks's starter setup, which now looks like this:

name: ConTeXt MkIV
command: mtxrun
arguments:
  --tree=/usr/local/context/tex<-- this is the one!
  --autogenerate
  --script
  context
  $fullname

In the "Paths to TeX and friends" list I have

  /usr/local/context/texmf-linux-64
  /usr/local/context/bin

as the top two entries.

I don't know what exactly is going on here, so I don't feel confident to
add this to the wiki, but maybe someone else does and will.

Thanks for listening -- Thomas

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-19 Thread Thomas Fehige

Am 17.05.2016 um 14:59 schrieb Hans Hagen:
Using --tree is quite ok for this. Maybe TeXworks sets some 
environment variable that interferes otherwise. Normally using the 
full path should also work, so


/usr/local/context/texmf-linux-64/mtxrun


Well, it isn't normal, apparently. I remember I tried that at some 
stage, but it didn't work. The problem was not finding mtxrun and 
starting it, but rather that mtxrun, once started, couldn't find some of 
its config files.


Cheers -- Thomas

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-17 Thread Jean-Pierre Delange
And don't forget to do this before coding :
1) cd /home/[...]/context/tex/. setuptex
This command answers this : "Setting "/home/JohnDoe/context/tex" as ConTeXt 
root."
2) Then : cd .../context/tex/texmf-win64 (or linux64) with a x64 computer
3) Then type : 
context --generate 
and type : context --make

4) Finally, if you add fonts (in /usr/share/fonts, or $HOME/.fonts), don't 
forget to reload the font database (in the same depositery as 3)); the command 
is as follow :
mtxrun --script fonts --reload
In order to see which fonts are installed on your system:
mtxrun --script fonts --list --all
To search a font (like didot) :
mtxrun --script fonts --list --pattern=*didot* --all

All these commands are the same on windows/linux/OS X

More information in French here :
https://fr.wikibooks.org/wiki/ConTeXt

Hope that ich sende nicht Eulen nach Athens !
JP

- Mail original -
De: "Thomas Fehige" <tho...@fehige.de>
À: ntg-context@ntg.nl
Envoyé: Mardi 17 Mai 2016 14:39:27
Objet: Re: [NTG-context] Setting up TeXworks

Whew, I've got it running, finally.

For some reason, TeXworks needs to tell mtxrun explicitly where its 
texmf-tree is located. Meaning, an additional argument is required in 
TeXworks's starter setup, which now looks like this:

name: ConTeXt MkIV
command: mtxrun
arguments:
 --tree=/usr/local/context/tex<-- this is the one!
 --autogenerate
 --script
 context
 $fullname

In the "Paths to TeX and friends" list I have

 /usr/local/context/texmf-linux-64
 /usr/local/context/bin

as the top two entries.

I don't know what exactly is going on here, so I don't feel confident to 
add this to the wiki, but maybe someone else does and will.

Thanks for listening -- Thomas

Am 17.05.2016 um 13:16 schrieb Thomas Fehige:
> I tried that, no success (not very different from what I did before 
> either). Are there other tests that I could do? Can't anybody 
> interpret the messages, error and otherwise?
>
> Cheers -- Thomas
>
> Am 16.05.2016 um 17:55 schrieb Jean-Pierre Delange:
>> At the end of this website page 
>> http://lesfichesabebert.fr/index.php/Context/Instalation, there are 
>> some explanations about the TeXWorks typesetting setting. There are 
>> some screen prints which may help.
>>
>> - Mail original -
>> De: "Thomas Fehige" <tho...@fehige.de>
>> À: ntg-context@ntg.nl
>> Envoyé: Lundi 16 Mai 2016 17:46:13
>> Objet: Re: [NTG-context] Setting up TeXworks
>>
>>
>> Am 06.05.2016 um 13:39 schrieb L.S.-Soc:
>>
>>
>>
>> I've searched through the mailing list, what the initial post to this 
>> topic was, but i couldn't find it. If you're having trouble to make 
>> context compile a document, try this:
>>
>> - TeXworks tools.ini doesn't need to be edited manually. It's the 
>> file where TW saves the settings from " Edit -> Preferences -> 
>> Typesetting ".
>> - First of all make sure, that you downloaded ConTeXt by using 
>> "first-setup.exe"
>>
>> That I did. Not *.exe though, being on a Linux OS, Xubuntu to be 
>> precise.
>>
>>
>>
>> - Then, you should add the folder where context.exe (and all 
>> executables) are stored to your system paths: Use your browser to 
>> navigate to the said folder, click on the address bar and copy the 
>> full path. For me it looks like this: " 
>> F:\Sandbox\ConTeXt\tex\texmf-win64\bin "
>> - Then add this path to your windows system paths: go to your windows 
>> control panel, double click " System "-> advanced settings -> 
>> environment variables (or something like this), in the lower halfth 
>> there is a window with a point " Path " . Double click it and paste 
>> your CTX folder pretty much at the top of the section or if there is 
>> only one line, add it at the beginning, and use semikolon ( ; ) to 
>> seperate it from the rest. Save your settings and you should be good 
>> to go.
>> - to test if you did it correctly open your command line and simply 
>> enter " context.exe --version ". If command line tells you, that no 
>> context.exe was found, then you might try to add the context \bin 
>> folder to your system paths again
>>
>> Translating this into Linux, all this works fine.
>>
>>
>>
>> - if command line tells you the version of context, then you can 
>> proceed:
>>
>> - start TW, " Edit -> Preferences -> Typesetting ". There check the 
>> upper halfth for the context folder you added to your system paths. 
>> If you've added it at the beginning, it should be at the top here as 
>&

Re: [NTG-context] Setting up TeXworks

2016-05-17 Thread Hans Hagen

On 5/17/2016 2:39 PM, Thomas Fehige wrote:

Whew, I've got it running, finally.

For some reason, TeXworks needs to tell mtxrun explicitly where its
texmf-tree is located. Meaning, an additional argument is required in
TeXworks's starter setup, which now looks like this:

name: ConTeXt MkIV
command: mtxrun
arguments:
--tree=/usr/local/context/tex<-- this is the one!
--autogenerate
--script
context
$fullname

In the "Paths to TeX and friends" list I have

/usr/local/context/texmf-linux-64
/usr/local/context/bin

as the top two entries.

I don't know what exactly is going on here, so I don't feel confident to
add this to the wiki, but maybe someone else does and will.


Using --tree is quite ok for this. Maybe TeXworks sets some environment 
variable that interferes otherwise. Normally using the full path should 
also work, so


/usr/local/context/texmf-linux-64/mtxrun

don't add /usr/local/context/bin to the path as it's only used when updating

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-17 Thread Thomas Fehige

Whew, I've got it running, finally.

For some reason, TeXworks needs to tell mtxrun explicitly where its 
texmf-tree is located. Meaning, an additional argument is required in 
TeXworks's starter setup, which now looks like this:


name: ConTeXt MkIV
command: mtxrun
arguments:
--tree=/usr/local/context/tex<-- this is the one!
--autogenerate
--script
context
$fullname

In the "Paths to TeX and friends" list I have

/usr/local/context/texmf-linux-64
/usr/local/context/bin

as the top two entries.

I don't know what exactly is going on here, so I don't feel confident to 
add this to the wiki, but maybe someone else does and will.


Thanks for listening -- Thomas

Am 17.05.2016 um 13:16 schrieb Thomas Fehige:
I tried that, no success (not very different from what I did before 
either). Are there other tests that I could do? Can't anybody 
interpret the messages, error and otherwise?


Cheers -- Thomas

Am 16.05.2016 um 17:55 schrieb Jean-Pierre Delange:
At the end of this website page 
http://lesfichesabebert.fr/index.php/Context/Instalation, there are 
some explanations about the TeXWorks typesetting setting. There are 
some screen prints which may help.


- Mail original -
De: "Thomas Fehige" <tho...@fehige.de>
À: ntg-context@ntg.nl
Envoyé: Lundi 16 Mai 2016 17:46:13
Objet: Re: [NTG-context] Setting up TeXworks


Am 06.05.2016 um 13:39 schrieb L.S.-Soc:



I've searched through the mailing list, what the initial post to this 
topic was, but i couldn't find it. If you're having trouble to make 
context compile a document, try this:


- TeXworks tools.ini doesn't need to be edited manually. It's the 
file where TW saves the settings from " Edit -> Preferences -> 
Typesetting ".
- First of all make sure, that you downloaded ConTeXt by using 
"first-setup.exe"


That I did. Not *.exe though, being on a Linux OS, Xubuntu to be 
precise.




- Then, you should add the folder where context.exe (and all 
executables) are stored to your system paths: Use your browser to 
navigate to the said folder, click on the address bar and copy the 
full path. For me it looks like this: " 
F:\Sandbox\ConTeXt\tex\texmf-win64\bin "
- Then add this path to your windows system paths: go to your windows 
control panel, double click " System "-> advanced settings -> 
environment variables (or something like this), in the lower halfth 
there is a window with a point " Path " . Double click it and paste 
your CTX folder pretty much at the top of the section or if there is 
only one line, add it at the beginning, and use semikolon ( ; ) to 
seperate it from the rest. Save your settings and you should be good 
to go.
- to test if you did it correctly open your command line and simply 
enter " context.exe --version ". If command line tells you, that no 
context.exe was found, then you might try to add the context \bin 
folder to your system paths again


Translating this into Linux, all this works fine.



- if command line tells you the version of context, then you can 
proceed:


- start TW, " Edit -> Preferences -> Typesetting ". There check the 
upper halfth for the context folder you added to your system paths. 
If you've added it at the beginning, it should be at the top here as 
well. Alternatively use the arrows to push context\bin it to the very 
top


NOTE: this is important. if you have MikTeX installed for example and 
if its folder is listed above your context folder, TW will try to use 
exe files from the MikTeX folder. so make sure that context\bin is 
above anything related to tex, context or lua.


Thanks for your detailed description, but I'm afraid that's not it. 
Meanwhile I uninstalled all my texlive packets and reinstalled 
TeXworks without any of the texlive components, and reinstalled 
ConTeXt standalone strictly according to this: 
http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions 
-- and the problem persists. mtxrun is found and started allright, 
but it complains that it can't find some files, that a database is 
outdated, and that it can't find some other files and stops without a 
pdf. Below is the complete console output as shown in TeXworks. 
Calling "context test" in a terminal window works fine, though.


Cheers -- Thomas



-- 



mtxrun | forcing cache reload

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/home/thomas/texmf/web2c' from specification 'home:texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local/context/bin' from specification 'selfautoloc:'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c'


resol

Re: [NTG-context] Setting up TeXworks

2016-05-17 Thread Thomas Fehige
I tried that, no success (not very different from what I did before 
either). Are there other tests that I could do? Can't anybody interpret 
the messages, error and otherwise?


Cheers -- Thomas

Am 16.05.2016 um 17:55 schrieb Jean-Pierre Delange:

At the end of this website page 
http://lesfichesabebert.fr/index.php/Context/Instalation, there are some 
explanations about the TeXWorks typesetting setting. There are some screen 
prints which may help.

- Mail original -
De: "Thomas Fehige" <tho...@fehige.de>
À: ntg-context@ntg.nl
Envoyé: Lundi 16 Mai 2016 17:46:13
Objet: Re: [NTG-context] Setting up TeXworks


Am 06.05.2016 um 13:39 schrieb L.S.-Soc:



I've searched through the mailing list, what the initial post to this topic 
was, but i couldn't find it. If you're having trouble to make context compile a 
document, try this:

- TeXworks tools.ini doesn't need to be edited manually. It's the file where TW saves the 
settings from " Edit -> Preferences -> Typesetting ".
- First of all make sure, that you downloaded ConTeXt by using "first-setup.exe"

That I did. Not *.exe though, being on a Linux OS, Xubuntu to be precise.



- Then, you should add the folder where context.exe (and all executables) are stored to 
your system paths: Use your browser to navigate to the said folder, click on the address 
bar and copy the full path. For me it looks like this: " 
F:\Sandbox\ConTeXt\tex\texmf-win64\bin "
- Then add this path to your windows system paths: go to your windows control panel, double click " 
System "-> advanced settings -> environment variables (or something like this), in the lower 
halfth there is a window with a point " Path " . Double click it and paste your CTX folder 
pretty much at the top of the section or if there is only one line, add it at the beginning, and use 
semikolon ( ; ) to seperate it from the rest. Save your settings and you should be good to go.
- to test if you did it correctly open your command line and simply enter " 
context.exe --version ". If command line tells you, that no context.exe was found, 
then you might try to add the context \bin folder to your system paths again

Translating this into Linux, all this works fine.



- if command line tells you the version of context, then you can proceed:

- start TW, " Edit -> Preferences -> Typesetting ". There check the upper 
halfth for the context folder you added to your system paths. If you've added it at the 
beginning, it should be at the top here as well. Alternatively use the arrows to push 
context\bin it to the very top

NOTE: this is important. if you have MikTeX installed for example and if its 
folder is listed above your context folder, TW will try to use exe files from 
the MikTeX folder. so make sure that context\bin is above anything related to 
tex, context or lua.

Thanks for your detailed description, but I'm afraid that's not it. Meanwhile I 
uninstalled all my texlive packets and reinstalled TeXworks without any of the texlive 
components, and reinstalled ConTeXt standalone strictly according to this: 
http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions
 -- and the problem persists. mtxrun is found and started allright, but it complains that 
it can't find some files, that a database is outdated, and that it can't find some other 
files and stops without a pdf. Below is the complete console output as shown in TeXworks. 
Calling "context test" in a terminal window works fine, though.

Cheers -- Thomas



--

mtxrun | forcing cache reload

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/home/thomas/texmf/web2c' from specification 'home:texmf/web2c'

resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local/context/bin' from specification 'selfautoloc:'

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c'

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-dist/web2c' from specification 
'selfautoloc:/share/texmf-dist/web2c'

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf/web2c' from specification 
'selfautoloc:/share/texmf/web2c'

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf-local/web2c' from specification 
'selfautoloc:/texmf-local/web2c'

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf-dist/web2c' from specification 
'selfautoloc:/texmf-dist/web2c'

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf/web2c' from specification 
'selfautoloc:/texmf

Re: [NTG-context] Setting up TeXworks

2016-05-16 Thread Jean-Pierre Delange
At the end of this website page 
http://lesfichesabebert.fr/index.php/Context/Instalation, there are some 
explanations about the TeXWorks typesetting setting. There are some screen 
prints which may help.

- Mail original -
De: "Thomas Fehige" <tho...@fehige.de>
À: ntg-context@ntg.nl
Envoyé: Lundi 16 Mai 2016 17:46:13
Objet: Re: [NTG-context] Setting up TeXworks


Am 06.05.2016 um 13:39 schrieb L.S.-Soc: 



I've searched through the mailing list, what the initial post to this topic 
was, but i couldn't find it. If you're having trouble to make context compile a 
document, try this: 

- TeXworks tools.ini doesn't need to be edited manually. It's the file where TW 
saves the settings from " Edit -> Preferences -> Typesetting ". 
- First of all make sure, that you downloaded ConTeXt by using 
"first-setup.exe" 

That I did. Not *.exe though, being on a Linux OS, Xubuntu to be precise. 



- Then, you should add the folder where context.exe (and all executables) are 
stored to your system paths: Use your browser to navigate to the said folder, 
click on the address bar and copy the full path. For me it looks like this: " 
F:\Sandbox\ConTeXt\tex\texmf-win64\bin " 
- Then add this path to your windows system paths: go to your windows control 
panel, double click " System "-> advanced settings -> environment variables (or 
something like this), in the lower halfth there is a window with a point " Path 
" . Double click it and paste your CTX folder pretty much at the top of the 
section or if there is only one line, add it at the beginning, and use 
semikolon ( ; ) to seperate it from the rest. Save your settings and you should 
be good to go. 
- to test if you did it correctly open your command line and simply enter " 
context.exe --version ". If command line tells you, that no context.exe was 
found, then you might try to add the context \bin folder to your system paths 
again 

Translating this into Linux, all this works fine. 



- if command line tells you the version of context, then you can proceed: 

- start TW, " Edit -> Preferences -> Typesetting ". There check the upper 
halfth for the context folder you added to your system paths. If you've added 
it at the beginning, it should be at the top here as well. Alternatively use 
the arrows to push context\bin it to the very top 

NOTE: this is important. if you have MikTeX installed for example and if its 
folder is listed above your context folder, TW will try to use exe files from 
the MikTeX folder. so make sure that context\bin is above anything related to 
tex, context or lua. 

Thanks for your detailed description, but I'm afraid that's not it. Meanwhile I 
uninstalled all my texlive packets and reinstalled TeXworks without any of the 
texlive components, and reinstalled ConTeXt standalone strictly according to 
this: 
http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions
 -- and the problem persists. mtxrun is found and started allright, but it 
complains that it can't find some files, that a database is outdated, and that 
it can't find some other files and stops without a pdf. Below is the complete 
console output as shown in TeXworks. Calling "context test" in a terminal 
window works fine, though. 

Cheers -- Thomas 



--
 

mtxrun | forcing cache reload 

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/home/thomas/texmf/web2c' from specification 'home:texmf/web2c' 

resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local/context/bin' from specification 'selfautoloc:' 

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c' 

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-dist/web2c' from specification 
'selfautoloc:/share/texmf-dist/web2c' 

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf/web2c' from specification 
'selfautoloc:/share/texmf/web2c' 

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf-local/web2c' from specification 
'selfautoloc:/texmf-local/web2c' 

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf-dist/web2c' from specification 
'selfautoloc:/texmf-dist/web2c' 

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf/web2c' from specification 
'selfautoloc:/texmf/web2c' 

resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local/context' from specification 'selfautodir:' 

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/c

Re: [NTG-context] Setting up TeXworks

2016-05-16 Thread Thomas Fehige

Am 06.05.2016 um 13:39 schrieb L.S.-Soc:


I've searched through the mailing list, what the initial post to this 
topic was, but i couldn't find it. If you're having trouble to make 
context compile a document, try this:


- TeXworks tools.ini doesn't need to be edited manually. It's the file 
where TW saves the settings from " Edit -> Preferences -> Typesetting ".
- First of all make sure, that you downloaded ConTeXt by using 
"first-setup.exe"


That I did. Not *.exe though, being on a Linux OS, Xubuntu to be precise.

- Then, you should add the folder where context.exe (and all 
executables) are stored to your system paths: Use your browser to 
navigate to the said folder, click on the address bar and copy the 
full path. For me it looks like this: " 
F:\Sandbox\ConTeXt\tex\texmf-win64\bin "
- Then add this path to your windows system paths: go to your windows 
control panel, double click " System "-> advanced settings -> 
environment variables (or something like this), in the lower halfth 
there is a window with a point " Path ". Double click it and paste 
your CTX folder pretty much at the top of the section or if there is 
only one line, add it at the beginning, and use semikolon ( ; ) to 
seperate it from the rest. Save your settings and you should be good 
to go.
- to test if you did it correctly open your command line and simply 
enter " context.exe --version ". If command line tells you, that no 
context.exe was found, then you might try to add the context \bin 
folder to your system paths again


Translating this into Linux, all this works fine.


- if command line tells you the version of context, then you can proceed:

- start TW, " Edit -> Preferences -> Typesetting ". There check the 
upper halfth for the context folder you added to your system paths. If 
you've added it at the beginning, it should be at the top here as 
well. Alternatively use the arrows to push context\bin it to the very top


NOTE: this is important. if you have MikTeX installed for example and 
if its folder is listed above your context folder, TW will try to use 
exe files from the MikTeX folder. so make sure that context\bin is 
above anything related to tex, context or lua.


Thanks for your detailed description, but I'm afraid that's not it. 
Meanwhile I uninstalled all my texlive packets and reinstalled TeXworks 
without any of the texlive components, and reinstalled ConTeXt 
standalone strictly according to this: 
http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions 
-- and the problem persists. mtxrun is found and started allright, but 
it complains that it can't find some files, that a database is outdated, 
and that it can't find some other files and stops without a pdf. Below 
is the complete console output as shown in TeXworks. Calling "context 
test" in a terminal window works fine, though.


Cheers -- Thomas

-- 



mtxrun | forcing cache reload

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/home/thomas/texmf/web2c' from specification 'home:texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local/context/bin' from specification 'selfautoloc:'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-dist/web2c' from specification 
'selfautoloc:/share/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf/web2c' from specification 
'selfautoloc:/share/texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf-local/web2c' from specification 
'selfautoloc:/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf-dist/web2c' from specification 
'selfautoloc:/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf/web2c' from specification 
'selfautoloc:/texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local/context' from specification 'selfautodir:'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/share/texmf-local/web2c' from specification 
'selfautodir:/share/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/share/texmf-dist/web2c' from specification 
'selfautodir:/share/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/share/texmf/web2c' from specification 
'selfautodir:/share/texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 

Re: [NTG-context] Setting up TeXworks

2016-05-15 Thread Thomas Fehige
Now I uninstalled the texlive version of ConTeXt and did a total new 
install of the standalone version. That did not help at all. There's 
something wrong happening within the mtxrun.


I added a new "compiler" to TeXworks that only executes the command 
printenv and it lists the following environment settings:


TEXROOT=/usr/local/context/tex

PATH=/usr/local/context/texmf-linux-64:/usr/local/context/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/context/texmf-linux-64/bin 



OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts;/home/thomas/.local/share/fonts 



They look pretty correct to me. But still mtxrun complains:

--

... resolvers | resolving | warning: no lua configuration files found

resolvers | resolving | no texmf paths are defined (using TEXMF)

resolvers | resolving |

mtxrun | the resolver databases are not present or outdated

...

resolvers | resolving | warning: no lua configuration files found

resolvers | resolving | no texmf paths are defined (using TEXMF)

...

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

--

Clueless greetings -- Thomas

Am 09.05.2016 um 13:02 schrieb Thomas Fehige:
To prevent misunderstandings: This is /not/ the solution, the problem 
remains that the newly installed standalone mtxrun doesn't find 
certain configuration files and complains about an outdated something 
or other, /when started from within TeXworks/, while everything works 
fine from the command line.


Am 07.05.2016 um 12:49 schrieb Thomas Fehige:

Am 06.05.2016 um 10:04 schrieb Mojca Miklavec:
Can you check the paths in the fourth tab (= Typesetting) of 
Preferences/Settings? It is possible that you have more than one 
version of ConTeXt installed and that you see different paths in the 
Terminal than in the GUI. Mojca


Yes I have two versions of ConTeXt. I have TeXlive from the Ubuntu 
repository and now the newer version as standalone. I added the paths 
to the new version at the top of that list in TeXwoks' preferences. 
And it does find and run the new version of mtxrun.


Cheers -- Thomas
___ 

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  : http://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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-09 Thread Thomas Fehige
To prevent misunderstandings: This is /not/ the solution, the problem 
remains that the newly installed standalone mtxrun doesn't find certain 
configuration files and complains about an outdated something or other, 
/when started from within TeXworks/, while everything works fine from 
the command line.


Am 07.05.2016 um 12:49 schrieb Thomas Fehige:

Am 06.05.2016 um 10:04 schrieb Mojca Miklavec:
Can you check the paths in the fourth tab (= Typesetting) of 
Preferences/Settings? It is possible that you have more than one 
version of ConTeXt installed and that you see different paths in the 
Terminal than in the GUI. Mojca


Yes I have two versions of ConTeXt. I have TeXlive from the Ubuntu 
repository and now the newer version as standalone. I added the paths 
to the new version at the top of that list in TeXwoks' preferences. 
And it does find and run the new version of mtxrun.


Cheers -- Thomas
___ 

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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-07 Thread Thomas Fehige

Am 06.05.2016 um 10:04 schrieb Mojca Miklavec:
Can you check the paths in the fourth tab (= Typesetting) of 
Preferences/Settings? It is possible that you have more than one 
version of ConTeXt installed and that you see different paths in the 
Terminal than in the GUI. Mojca


Yes I have two versions of ConTeXt. I have TeXlive from the Ubuntu 
repository and now the newer version as standalone. I added the paths to 
the new version at the top of that list in TeXwoks' preferences. And it 
does find and run the new version of mtxrun.


Cheers -- Thomas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-06 Thread L.S.-Soc



Am 06.05.2016 um 10:04 schrieb Mojca Miklavec:

On 3 May 2016 at 11:22, Thomas Fehige wrote:

OK, that helps. Everything is fine from the command line. I seem to be
overlooking something as to the setup of TeXworks, though. I copied the
programme calls from the tools.ini that came with the ConTeXt standalone
version into the present tools.ini that lives in my personal TeXworks config
folder. Now TW starts mtxrun allright, but the run crashes with

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

Can you check the paths in the fourth tab (= Typesetting) of
Preferences/Settings?

It is possible that you have more than one version of ConTeXt
installed and that you see different paths in the Terminal than in the
GUI.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


I've searched through the mailing list, what the initial post to this 
topic was, but i couldn't find it. If you're having trouble to make 
context compile a document, try this:


- TeXworks tools.ini doesn't need to be edited manually. It's the file 
where TW saves the settings from " Edit -> Preferences -> Typesetting ".
- First of all make sure, that you downloaded ConTeXt by using 
"first-setup.exe"


- Then, you should add the folder where context.exe (and all 
executables) are stored to your system paths: Use your browser to 
navigate to the said folder, click on the address bar and copy the full 
path. For me it looks like this: " F:\Sandbox\ConTeXt\tex\texmf-win64\bin "
- Then add this path to your windows system paths: go to your windows 
control panel, double click " System "-> advanced settings -> 
environment variables (or something like this), in the lower halfth 
there is a window with a point " Path ". Double click it and paste your 
CTX folder pretty much at the top of the section or if there is only one 
line, add it at the beginning, and use semikolon ( ; ) to seperate it 
from the rest. Save your settings and you should be good to go.
- to test if you did it correctly open your command line and simply 
enter " context.exe --version ". If command line tells you, that no 
context.exe was found, then you might try to add the context \bin folder 
to your system paths again

- if command line tells you the version of context, then you can proceed:

- start TW, " Edit -> Preferences -> Typesetting ". There check the 
upper halfth for the context folder you added to your system paths. If 
you've added it at the beginning, it should be at the top here as well. 
Alternatively use the arrows to push context\bin it to the very top


NOTE: this is important. if you have MikTeX installed for example and if 
its folder is listed above your context folder, TW will try to use exe 
files from the MikTeX folder. so make sure that context\bin is above 
anything related to tex, context or lua.


- then in the lower halfth create a new processing tool by clikcking on 
the plus:


- call it CTX mkiv or something
- in the program field either search for your context.exe, or if added 
to the system paths correctly, simply enter context.exe in the Program field
- for arguments add:$fullname(this parses the 
filename to context compiler)
- if you want to use the sync code <-> pdf feature, also add another 
argument:--synctex=-1


that's it. there is the option to make this the default profile at the 
bottom of the Typesetting window.


Now you can test it: paste

\starttext
Hello World!
\stoptext

into a new file and save it somewhere. then use your freshly set up 
processing tool. after compilation the pdf viewer should pop up.



I hope that helps, Seba
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-06 Thread Mojca Miklavec
On 3 May 2016 at 11:22, Thomas Fehige wrote:
>
> OK, that helps. Everything is fine from the command line. I seem to be
> overlooking something as to the setup of TeXworks, though. I copied the
> programme calls from the tools.ini that came with the ConTeXt standalone
> version into the present tools.ini that lives in my personal TeXworks config
> folder. Now TW starts mtxrun allright, but the run crashes with
>
> mtxrun | unknown script 'context.lua' or 'mtx-context.lua'

Can you check the paths in the fourth tab (= Typesetting) of
Preferences/Settings?

It is possible that you have more than one version of ConTeXt
installed and that you see different paths in the Terminal than in the
GUI.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Setting up TeXworks

2016-05-06 Thread Thomas Fehige

Am 29.04.2016 um 11:05 schrieb Wolfgang Schuster:

You need a newer context version.


OK, that helps. Everything is fine from the command line. I seem to be 
overlooking something as to the setup of TeXworks, though. I copied the 
programme calls from the _tools.ini_ that came with the ConTeXt 
standalone version into the present _tools.ini_ that lives in my 
personal TeXworks config folder. Now TW starts _mtxrun_ allright, but 
the run crashes with


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

Cheers -- Thomas


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Setting up TeXworks

2016-05-03 Thread Thomas Fehige

Am 03.05.2016 um 12:21 schrieb Mojca Miklavec:

On 3 May 2016 at 11:51, Thomas Fehige  wrote:

Am 29.04.2016 um 11:05 schrieb Wolfgang Schuster:

You need a newer context version.


OK, thank you, that helped. Everything is fine from the command line.

I seem to be overlooking something as to the setup of TeXworks, though. I
copied the programme calls from the tools.ini that came with the ConTeXt
standalone version into the present tools.ini that lives in my personal
TeXworks config folder. I also added /usr/local/context/bin to the "paths
for TeX and friends" in the TW preferences window.

Now TW starts the correct mtxrun, but the run crashes with, after a lot of
file searching:

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

Try to run (the correct) "mtxrun --generate" either from the command
line (or from TW just before you start ConTeXt if the command line
doesn't help).

That wasn't it. Below is the logfile. The command issued by TeXworks 
should be


mtxrun --autogenerate --script context my_extensions001.tex

A file "texmfcnf.lua" is found at three places:

/usr/share/texlive/texmf-dist/web2c/texmfcnf.lua (last modified: 
25/03/2016)

/usr/share/texmf/web2c/texmfcnf.lua (last modified: 25/03/2016)
/usr/local/context/tex/texmf/web2c/texmfcnf.lua (last modified: 
28.11.2012)


The last one is the one I installed this morning.

Cheers -- Thomas

 logfile --

mtxrun | forcing cache reload

resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/home/thomas/texmf/web2c' from specification 'home:texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local/context/bin' from specification 'selfautoloc:'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf-dist/web2c' from specification 
'selfautoloc:/share/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/share/texmf/web2c' from specification 
'selfautoloc:/share/texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf-local/web2c' from specification 
'selfautoloc:/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf-dist/web2c' from specification 
'selfautoloc:/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/bin/texmf/web2c' from specification 
'selfautoloc:/texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local/context' from specification 'selfautodir:'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/share/texmf-local/web2c' from specification 
'selfautodir:/share/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/share/texmf-dist/web2c' from specification 
'selfautodir:/share/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/share/texmf/web2c' from specification 
'selfautodir:/share/texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/texmf-local/web2c' from specification 
'selfautodir:/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/texmf-dist/web2c' from specification 
'selfautodir:/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/context/texmf/web2c' from specification 
'selfautodir:/texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification 
'$SELFAUTOGRANDPARENT/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on weird path 
'/usr/local' from specification 'selfautoparent:'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/share/texmf-local/web2c' from specification 
'selfautoparent:/share/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/share/texmf-dist/web2c' from specification 
'selfautoparent:/share/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/share/texmf/web2c' from specification 
'selfautoparent:/share/texmf/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/local/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'


resolvers | resolving | looking for 'texmfcnf.lua' on given path 

Re: [NTG-context] Setting up TeXworks

2016-05-03 Thread Mojca Miklavec
On 3 May 2016 at 11:51, Thomas Fehige  wrote:
> Am 29.04.2016 um 11:05 schrieb Wolfgang Schuster:
>
> You need a newer context version.
>
>
> OK, thank you, that helped. Everything is fine from the command line.
>
> I seem to be overlooking something as to the setup of TeXworks, though. I
> copied the programme calls from the tools.ini that came with the ConTeXt
> standalone version into the present tools.ini that lives in my personal
> TeXworks config folder. I also added /usr/local/context/bin to the "paths
> for TeX and friends" in the TW preferences window.
>
> Now TW starts the correct mtxrun, but the run crashes with, after a lot of
> file searching:
>
> mtxrun | unknown script 'context.lua' or 'mtx-context.lua'

Try to run (the correct) "mtxrun --generate" either from the command
line (or from TW just before you start ConTeXt if the command line
doesn't help).

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Setting up TeXworks

2016-05-03 Thread Thomas Fehige

Am 29.04.2016 um 11:05 schrieb Wolfgang Schuster:

You need a newer context version.


OK, thank you, that helped. Everything is fine from the command line.

I seem to be overlooking something as to the setup of TeXworks, though. 
I copied the programme calls from the _tools.ini_ that came with the 
ConTeXt standalone version into the present _tools.ini_ that lives in my 
personal TeXworks config folder. I also added _/usr/local/context/bin_ 
to the "paths for TeX and friends" in the TW preferences window.


Now TW starts the correct _mtxrun_, but the run crashes with, after a 
lot of file searching:


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


 Cheers -- Thomas


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___