[NTG-context] mtxrun

2008-06-17 Thread Hans van der Meer
Following the article  "The luafication of TeX and Context" in the  
recent issue of the NTG-MAPS I tried the example given:
 mtxrun --script fonts
and this should return the options list for this script.
However, I get:
 101 ~: mtxrun --script fonts
 cannot open : No such file or directory
While otherwise a bare mtxrun returns info and thus was found as a  
runnable script:
 102 ~: mtxrun
 MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
MtxRun | --script  run an mtx script
In my .bashrc I had the lua scripts in the path:
103 ~: echo $PATH
..:/usr/local/texlive/texmf-context/scripts/context/lua/:..
And I had called luatools --generate to make the database plus I made  
certain the script has execute permissions:
/usr/local/texlive/texmf-context/scripts/context/lua/mtx-fonts.lua - 
rwxr-xr-x

What is wrong or what I am doing wrong?

Hans van der Meer




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


[NTG-context] MTXrun

2011-01-23 Thread Herbert Voss
What is the meaning of MTX in the name of the script?

Herbert
___
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] mtxrun

2020-02-10 Thread Rudolf Bahr

Hello ConTeXters!

LuaMetaTeX, Version 2.03.15
ConTeXt  ver: 2020.02.07 18:36 MKIV beta  fmt: 2020.2.10
works well doing my usual tasks.

Now, I put an .otf-font into ".../tex/texmf-local/", and made
   mtxrun --generate
   mtxrun --script fonts --reload
   mtxrun --script fonts --list --all --pattern=,
but didn't get the expected information on the new font from the last
command.

So I investigated the output of the first two commands in more detail
and found:

1. mtxrun --generate:
   resolvers   | resolving | warning: no lua configuration files found
   resolvers   | resolving | no texmf paths are defined (using TEXMF)

   By the way, "TEXMF" seems to be a mtxrun variable and hasn't directly
   to do with the environmental variable "TEXMF" which gets extinguished.

2. mtxrun --script fonts --reload:
   mtxrun  | the resolver databases are not present or outdated
   mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'


Please, what is to be done?

Best wishes,
Rudolf
___
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] mtxrun scripts

2023-07-18 Thread Henning Hraban Ramm

I tried some of the mtxrun scripts:


* "colors" runs into an error:

$ mtxrun --script colors --table ~/texmf/colors/icc/profiles/sgray.icc
lua error : function call: 
...-07/tex/texmf-context/scripts/context/lua/mtx-colors.lua:56: attempt 
to index a nil value (global 'colors')


… or what is meant with "table"?


* Is there a script that lists all files involved in a ConTeXt run? 
Preferably filterable by "part of the distribution" / images / sources?
I’d like to check if all used files are checked in my git repository to 
be sure the project runs elsewhere.



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

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

Re: [NTG-context] mtxrun

2008-06-17 Thread Hans Hagen
Hans van der Meer wrote:
> Following the article  "The luafication of TeX and Context" in the  
> recent issue of the NTG-MAPS I tried the example given:
>  mtxrun --script fonts
> and this should return the options list for this script.
> However, I get:
>  101 ~: mtxrun --script fonts
>  cannot open : No such file or directory
> While otherwise a bare mtxrun returns info and thus was found as a  
> runnable script:
>  102 ~: mtxrun
>  MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
> MtxRun | --script  run an mtx script
> In my .bashrc I had the lua scripts in the path:
> 103 ~: echo $PATH
> ..:/usr/local/texlive/texmf-context/scripts/context/lua/:..
> And I had called luatools --generate to make the database plus I made  
> certain the script has execute permissions:
> /usr/local/texlive/texmf-context/scripts/context/lua/mtx-fonts.lua - 
> rwxr-xr-x
> 
> What is wrong or what I am doing wrong?

make sure that you use the latest mtxrun.lua and copy it to your bin 
path as mtxrun (maybe mtxrun --selfupdate works too)

do the same with luatools

then run luatools --generate

the mtx-* scripts have to be located in the tree (if needed i can 
implement a fallback using relative paths)


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


Re: [NTG-context] mtxrun

2008-06-17 Thread Taco Hoekwater
Hans van der Meer wrote:
> Following the article  "The luafication of TeX and Context" in the  
> recent issue of the NTG-MAPS I tried the example given:
>  mtxrun --script fonts
> and this should return the options list for this script.
> However, I get:
>  101 ~: mtxrun --script fonts
>  cannot open : No such file or directory

First bet: This error is often indicatife of a file with dos
(CR+LF) line endings.




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


Re: [NTG-context] mtxrun

2008-06-17 Thread Aditya Mahajan
On Tue, 17 Jun 2008, Hans van der Meer wrote:

> Following the article  "The luafication of TeX and Context" in the
> recent issue of the NTG-MAPS I tried the example given:
> mtxrun --script fonts
> and this should return the options list for this script.
> However, I get:
> 101 ~: mtxrun --script fonts
> cannot open : No such file or directory
> While otherwise a bare mtxrun returns info and thus was found as a
> runnable script:
> 102 ~: mtxrun
> MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
>MtxRun | --script  run an mtx script
> In my .bashrc I had the lua scripts in the path:
> 103 ~: echo $PATH
>..:/usr/local/texlive/texmf-context/scripts/context/lua/:..
> And I had called luatools --generate to make the database plus I made
> certain the script has execute permissions:
> /usr/local/texlive/texmf-context/scripts/context/lua/mtx-fonts.lua -
> rwxr-xr-x
>
> What is wrong or what I am doing wrong?

With old (almost 6-8 months ago) mtxrun, I had to set LUAINPUTS to get 
mtxrun --script to work. Now it works without the LUAINPUTS variable. I 
don't remember when the change happened.

Your mtxrun says version 1.0.2, mine says 1.1.0. So, try with the 
LUAINPUTS variable, or try mtxrun --selfupdate.

Aditya
___
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
___


Re: [NTG-context] mtxrun

2008-06-18 Thread Hans van der Meer

On 17 jun 2008, at 21:47, Aditya Mahajan wrote:

> On Tue, 17 Jun 2008, Hans van der Meer wrote:
>
>> Following the article  "The luafication of TeX and Context" in the
>> recent issue of the NTG-MAPS I tried the example given:
>>mtxrun --script fonts
>> and this should return the options list for this script.
>> However, I get:
>>101 ~: mtxrun --script fonts
>>cannot open : No such file or directory
>> While otherwise a bare mtxrun returns info and thus was found as a
>> runnable script:
>>102 ~: mtxrun
>>MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
>>   MtxRun | --script  run an mtx script
>> In my .bashrc I had the lua scripts in the path:
>> 103 ~: echo $PATH
>>   ..:/usr/local/texlive/texmf-context/scripts/context/lua/:..
>> And I had called luatools --generate to make the database plus I made
>> certain the script has execute permissions:
>> /usr/local/texlive/texmf-context/scripts/context/lua/mtx-fonts.lua -
>> rwxr-xr-x
>>
>> What is wrong or what I am doing wrong?
>
> With old (almost 6-8 months ago) mtxrun, I had to set LUAINPUTS to get
> mtxrun --script to work. Now it works without the LUAINPUTS  
> variable. I
> don't remember when the change happened.
>
> Your mtxrun says version 1.0.2, mine says 1.1.0. So, try with the
> LUAINPUTS variable, or try mtxrun --selfupdate.

That is strange. I have the context distribution from 2008-05-21 and  
in it mtxrun.lua has the line: banner = "version 1.0.2 - 2007+ -  
PRAGMA ADE / CONTEXT". Is version 1.1.0 in an experimental version? (I  
keep away from beta versions, fearing something will break at the  
wrong moment -- surely one of Murphy's law will take over at a time  
when one cannot afford it ;-)

I did 'mtxrun --selfupdate', as Hans Hagen suggested, but no change.
Also I have a path variable LUAINPUTS to no avail:
103 ~: echo $LUAINPUTS
/usr/local/texlive/texmf-context/scripts/context/lua
Running 'luatools --generate' makes no difference.

Taco Hoekwater suggested the culprit might be msdos line-endings, but  
I don't have these.

Could it be the directory structure in my setup?
   /usr/local/texlive/2007/bin/powerpc-darwin/mtxrun (symlink with 'ln  
-s')
   /usr/local/texlive/texmf-context/scripts/context/lua/mtx-*.lua

So, I am still stuck with
"cannot open : No such file or directory."
on calling 'mtxrun --script fonts' etc.
The most strange of all is that 'mtxrun --script cache' and all the  
others do give me the list op options on the cache script. (mtx- 
web.lua being absent in the distribution). So only script fonts seems  
to have something wrong.

Hans van der Meer




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


Re: [NTG-context] mtxrun

2008-06-18 Thread Hans Hagen
Hans van der Meer wrote:
> On 17 jun 2008, at 21:47, Aditya Mahajan wrote:
> 
>> On Tue, 17 Jun 2008, Hans van der Meer wrote:
>>
>>> Following the article  "The luafication of TeX and Context" in the
>>> recent issue of the NTG-MAPS I tried the example given:
>>>mtxrun --script fonts
>>> and this should return the options list for this script.
>>> However, I get:
>>>101 ~: mtxrun --script fonts
>>>cannot open : No such file or directory
>>> While otherwise a bare mtxrun returns info and thus was found as a
>>> runnable script:
>>>102 ~: mtxrun
>>>MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
>>>   MtxRun | --script  run an mtx script
>>> In my .bashrc I had the lua scripts in the path:
>>> 103 ~: echo $PATH
>>>   ..:/usr/local/texlive/texmf-context/scripts/context/lua/:..
>>> And I had called luatools --generate to make the database plus I made
>>> certain the script has execute permissions:
>>> /usr/local/texlive/texmf-context/scripts/context/lua/mtx-fonts.lua -
>>> rwxr-xr-x
>>>
>>> What is wrong or what I am doing wrong?
>> With old (almost 6-8 months ago) mtxrun, I had to set LUAINPUTS to get
>> mtxrun --script to work. Now it works without the LUAINPUTS  
>> variable. I
>> don't remember when the change happened.
>>
>> Your mtxrun says version 1.0.2, mine says 1.1.0. So, try with the
>> LUAINPUTS variable, or try mtxrun --selfupdate.
> 
> That is strange. I have the context distribution from 2008-05-21 and  
> in it mtxrun.lua has the line: banner = "version 1.0.2 - 2007+ -  
> PRAGMA ADE / CONTEXT". Is version 1.1.0 in an experimental version? (I  
> keep away from beta versions, fearing something will break at the  
> wrong moment -- surely one of Murphy's law will take over at a time  
> when one cannot afford it ;-)

well, for mkiv and the luatex binary updating is the best way to go ... 
it's a progressively moving target


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


Re: [NTG-context] mtxrun

2008-06-18 Thread Taco Hoekwater
Hi Hans,

Hans van der Meer wrote:
> 
> So, I am still stuck with
> "cannot open : No such file or directory."
> on calling 'mtxrun --script fonts' etc.

I should have tried this myself instead of attempting to guess. :-(

The problem is this line in mtx-fonts.lua:

   dofile(input.find_file("font-syn.lua"))

input.find_file fails to find the file and then dofile gives the
empty error message. The standalone command luatools failed to find
the file, even though it is actually there. After a little experiment,
the problem seems to be that discovering of .lua files is controlled
by the TEXMFSCRIPTS variable (so *not* LUAINPUTS). I've adjusted
my texmf.cnf so that it now contains

  TEXMFSCRIPTS = .;$TEXMF/scripts/context//;$TEXMF/tex/context/base

and suddenly all is well again.

I think this is a side-effect of recent change in the file discovery
api. Hans?

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
___


[NTG-context] mtxrun question

2008-08-24 Thread Patrick Gundlach
Hi,

I tried to find a tfm file, so I typed in 

~$ mtxrun --locate texnansi-demofont.tfm

and I got

...k/TeX/context/minimal/tex/texmf-osx-intel/bin/mtxrun:6898: attempt
to index local 'files' (a nil value)

what does that mean? Is the syntax I've used correct?

Patrick
-- 
ConTeXt wiki and more: 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
___


Re: [NTG-context] MTXrun

2011-01-23 Thread Vedran Miletić
2011/1/23 Herbert Voss 

> What is the meaning of MTX in the name of the script?
>
> Herbert
>

Could be MetaTeX.

Regards,

Vedran
___
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] MTXrun

2011-01-23 Thread Hans Hagen

On 23-1-2011 6:43, Vedran Miletić wrote:

2011/1/23 Herbert Voss


What is the meaning of MTX in the name of the script?

Herbert



Could be MetaTeX.


indeed it refers to the hybrid usage of metapost and tex

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___


[NTG-context] mtxrun list?

2011-04-28 Thread Hans van der Meer
Executing 'mtxrun' without arguments shows the list of commands. There one 
finds:

mtxrun  | ConTeXt TDS Runner Tool 1.30
mtxrun  |
mtxrun  | --script  run an mtx script (lua prefered method) 
(--noquotes), no script gives list

Doing 'mtxrun --script' I expected to see a list of the available scripts. But 
this command prints nothing. Is this something to be repaired?

Hans van der Meer

___
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] mtxrun

2020-02-10 Thread Taco Hoekwater
Hi,

> On 10 Feb 2020, at 11:54, Rudolf Bahr  wrote:
> 
> Please, what is to be done?

This usually happens when the mtxrun script you call is not in its ’normal'
tree location. It uses its own location to find the rest of its files.

For example, one of my context trees has mtxrun in:

  ~/elvenkind/tex_2014/tex/texmf-osx-64/bin/mtxrun

and then it works fine. But If I were to move it to e.g. 

  ~/bin/mtxrun

it would (likely) fail to find any files.

Best wishes,
Taco

Taco Hoekwater
Elvenkind BV




___
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] mtxrun

2020-02-10 Thread Rudolf Bahr
On Mon, Feb 10, 2020 at 12:06:43PM +0100, Taco Hoekwater wrote:
> Hi,
> 
> > On 10 Feb 2020, at 11:54, Rudolf Bahr  wrote:
> > 
> > Please, what is to be done?
> 
> This usually happens when the mtxrun script you call is not in its ’normal'
> tree location. It uses its own location to find the rest of its files.
> 
> For example, one of my context trees has mtxrun in:
> 
>   ~/elvenkind/tex_2014/tex/texmf-osx-64/bin/mtxrun
> 
> and then it works fine. But If I were to move it to e.g. 
> 
>   ~/bin/mtxrun
> 
> it would (likely) fail to find any files.
> 
> Best wishes,
> Taco
> 
> Taco Hoekwater
> Elvenkind BV
>

Hi Taco,

thank you for your quick answer!

I didn't change at all the location of mtxrun. It "resides" in
   ~/context-lmtx/bin/mtxrun.lua
   ~/context-lmtx/bin/mtxrun
   ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua
   ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun
These are similar locations as you are using.

Best wishes,
Rudolf
___
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] mtxrun

2020-02-10 Thread Rudolf Bahr
On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote:
> 
> Hello ConTeXters!
> 
> LuaMetaTeX, Version 2.03.15
> ConTeXt  ver: 2020.02.07 18:36 MKIV beta  fmt: 2020.2.10
> works well doing my usual tasks.
> 
> Now, I put an .otf-font into ".../tex/texmf-local/", and made
>mtxrun --generate
>mtxrun --script fonts --reload
>mtxrun --script fonts --list --all --pattern=,
> but didn't get the expected information on the new font from the last
> command.
> 
> So I investigated the output of the first two commands in more detail
> and found:
> 
> 1. mtxrun --generate:
>resolvers   | resolving | warning: no lua configuration files found
>resolvers   | resolving | no texmf paths are defined (using TEXMF)
> 
>By the way, "TEXMF" seems to be a mtxrun variable and hasn't directly
>to do with the environmental variable "TEXMF" which gets extinguished.
> 
> 2. mtxrun --script fonts --reload:
>mtxrun  | the resolver databases are not present or outdated
>mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'
> 
> 
> Please, what is to be done?
> 


In context luatex, current version: 2020.01.30 14:13, I'm getting the awaited
information!

Rudolf
___
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] mtxrun

2020-02-11 Thread Rudolf Bahr
On Mon, Feb 10, 2020 at 01:03:38PM +0100, Bahr Rudolf wrote:
> On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote:
> > 
> > Hello ConTeXters!
> > 
> > LuaMetaTeX, Version 2.03.15
> > ConTeXt  ver: 2020.02.07 18:36 MKIV beta  fmt: 2020.2.10
> > works well doing my usual tasks.
> > 
> > Now, I put an .otf-font into ".../tex/texmf-local/", and made
> >mtxrun --generate
> >mtxrun --script fonts --reload
> >mtxrun --script fonts --list --all --pattern=,
> > but didn't get the expected information on the new font from the last
> > command.
> > 
> > So I investigated the output of the first two commands in more detail
> > and found:
> > 
> > 1. mtxrun --generate:
> >resolvers   | resolving | warning: no lua configuration files found
> >resolvers   | resolving | no texmf paths are defined (using TEXMF)
> > 
> >By the way, "TEXMF" seems to be a mtxrun variable and hasn't directly
> >to do with the environmental variable "TEXMF" which gets extinguished.
> > 
> > 2. mtxrun --script fonts --reload:
> >mtxrun  | the resolver databases are not present or outdated
> >mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'
> > 
> > 
> > Please, what is to be done?
> > 
> 
> 
> In context luatex, current version: 2020.01.30 14:13, I'm getting the awaited
> information!



With
LuaMetaTeX, Version 2.03.15
ConTeXt  ver: 2020.02.10 18:37 MKIV beta  fmt: 2020.2.11
I'm getting the same results:

1. mtxrun --generate:
   resolvers   | resolving | variable 'TEXMFCNF' set to ''
   resolvers   | resolving | variable 'TEXMF' set to ''

   resolvers   | resolving | warning: no lua configuration files found
   resolvers   | resolving | no texmf paths are defined (using TEXMF)

2. mtxrun --script fonts --reload
   resolvers   | resolving | warning: no lua configuration files found
   resolvers   | resolving | no texmf paths are defined (using TEXMF)

   mtxrun  | the resolver databases are not present or outdated
   mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'


BTW, running "context --make" after wiping "~/context-lmtx/tex/texmf-cache"
and running "mtxrun --generate" gives:
   mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
   
Rudolf
___
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] mtxrun

2020-02-11 Thread Hans Hagen

On 2/11/2020 11:56 AM, Rudolf Bahr wrote:

On Mon, Feb 10, 2020 at 01:03:38PM +0100, Bahr Rudolf wrote:

On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote:


Hello ConTeXters!

LuaMetaTeX, Version 2.03.15
ConTeXt  ver: 2020.02.07 18:36 MKIV beta  fmt: 2020.2.10
works well doing my usual tasks.

Now, I put an .otf-font into ".../tex/texmf-local/", and made
mtxrun --generate
mtxrun --script fonts --reload
mtxrun --script fonts --list --all --pattern=,
but didn't get the expected information on the new font from the last
command.

So I investigated the output of the first two commands in more detail
and found:

1. mtxrun --generate:
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)

By the way, "TEXMF" seems to be a mtxrun variable and hasn't directly
to do with the environmental variable "TEXMF" which gets extinguished.

2. mtxrun --script fonts --reload:
mtxrun  | the resolver databases are not present or outdated
mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'


Please, what is to be done?




In context luatex, current version: 2020.01.30 14:13, I'm getting the awaited
information!




With
LuaMetaTeX, Version 2.03.15
ConTeXt  ver: 2020.02.10 18:37 MKIV beta  fmt: 2020.2.11
I'm getting the same results:

1. mtxrun --generate:
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''

resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)

2. mtxrun --script fonts --reload
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)

mtxrun  | the resolver databases are not present or outdated
mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'


BTW, running "context --make" after wiping "~/context-lmtx/tex/texmf-cache"
and running "mtxrun --generate" gives:
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

Are you mixing mkiv and lmtx?

In mkiv:

   windows:

 luatex.exe
 mtxrun.exe (small stub)
 context.exe (small stub)
 mtxrun.lua

   unix:

 luatex
 mtxrun   (== mtxrun.lua without suffix)
 context  (== mtxrun --script context)

In lmtx all platforms have the same approach:

   windows:

 luametatex.exe
 mtxrun.exe  (copy of luametatex.exe or link to it)
 context.exe (copy of luametatex.exe or link to it)
 mtxrun.lua
 context.lua

   unix:

 luatex
 mtxrun  (copy of luametatex or link to it)
 context (copy of luametatex or link to it)
 mtxrun.lua
 context.lua

so it's either one or the other incarnation of the mtxrun file

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] mtxrun

2020-02-11 Thread Rudolf Bahr
On Tue, Feb 11, 2020 at 01:07:23PM +0100, Hans Hagen wrote:
> On 2/11/2020 11:56 AM, Rudolf Bahr wrote:
> > On Mon, Feb 10, 2020 at 01:03:38PM +0100, Bahr Rudolf wrote:
> > > On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote:
> > > > 
> > > > Hello ConTeXters!
> > > > 
> > > > LuaMetaTeX, Version 2.03.15
> > > > ConTeXt  ver: 2020.02.07 18:36 MKIV beta  fmt: 2020.2.10
> > > > works well doing my usual tasks.
> > > > 
> > > > Now, I put an .otf-font into ".../tex/texmf-local/", and made
> > > > mtxrun --generate
> > > > mtxrun --script fonts --reload
> > > > mtxrun --script fonts --list --all --pattern=,
> > > > but didn't get the expected information on the new font from the last
> > > > command.
> > > > 
> > > > So I investigated the output of the first two commands in more detail
> > > > and found:
> > > > 
> > > > 1. mtxrun --generate:
> > > > resolvers   | resolving | warning: no lua configuration files 
> > > > found
> > > > resolvers   | resolving | no texmf paths are defined (using 
> > > > TEXMF)
> > > > 
> > > > By the way, "TEXMF" seems to be a mtxrun variable and hasn't 
> > > > directly
> > > > to do with the environmental variable "TEXMF" which gets 
> > > > extinguished.
> > > > 
> > > > 2. mtxrun --script fonts --reload:
> > > > mtxrun  | the resolver databases are not present or outdated
> > > > mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'
> > > > 
> > > > 
> > > > Please, what is to be done?
> > > > 
> > > 
> > > 
> > > In context luatex, current version: 2020.01.30 14:13, I'm getting the 
> > > awaited
> > > information!
> > 
> > 
> > 
> > With
> > LuaMetaTeX, Version 2.03.15
> > ConTeXt  ver: 2020.02.10 18:37 MKIV beta  fmt: 2020.2.11
> > I'm getting the same results:
> > 
> > 1. mtxrun --generate:
> > resolvers   | resolving | variable 'TEXMFCNF' set to ''
> > resolvers   | resolving | variable 'TEXMF' set to ''
> > 
> > resolvers   | resolving | warning: no lua configuration files found
> > resolvers   | resolving | no texmf paths are defined (using TEXMF)
> > 
> > 2. mtxrun --script fonts --reload
> > resolvers   | resolving | warning: no lua configuration files found
> > resolvers   | resolving | no texmf paths are defined (using TEXMF)
> > 
> > mtxrun  | the resolver databases are not present or outdated
> > mtxrun  | unknown script 'fonts.lua' or 'mtx-fonts.lua'
> > 
> > 
> > BTW, running "context --make" after wiping "~/context-lmtx/tex/texmf-cache"
> > and running "mtxrun --generate" gives:
> > mtxrun  | unknown script 'mtx-context.lua' or 
> > 'mtx-mtx-context.lua'

> Are you mixing mkiv and lmtx?
> ...
> ... 
> so it's either one or the other incarnation of the mtxrun file


Sorry, I don't understand what you mean.

How should it be possible to mix mkiv and lmtx, when I install "LuaMetaTeX 
2.03.15"
and "ConTeXt 2020.02.10 MKIV beta" in my linux directory "~/context-lmtx", 
correct
the PATH variable after installation, do not forget a "source" on ".bashrc" and 
then
invoke in my directory "context-lmtx" following programs:

mtxrun --generate
mtxrun --script fonts --reload

with the above presented errors?

BTW, if it's important, "~/context-lmtx/tex/texmf-cache/" contains only
"luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e".

Rudolf
___
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] mtxrun

2020-02-11 Thread Pablo Rodriguez
On 2/11/20 4:23 PM, Rudolf Bahr wrote:
>
> How should it be possible to mix mkiv and lmtx, when I install "LuaMetaTeX 
> 2.03.15"
> and "ConTeXt 2020.02.10 MKIV beta" in my linux directory "~/context-lmtx", 
> correct
> the PATH variable after installation, do not forget a "source" on ".bashrc" 
> and then
> invoke in my directory "context-lmtx" following programs:
>
> mtxrun --generate

Hi Rudolf,

how did you install ConTeXt? Did you download the proper file from
http://pragma-ade.nl/install.htm?

What is the output from "whereis mtxrun && whereis context"?

Try adding "export PATH=$PATH:~/context/tex/texmf-linux-64/bin/"
(correct the path where required) and try again.

I’m on Linux64 and I’m not experiencing these issues. And I remove the
contents of tex/texmf-cache/ regularly (I only invoke "mtxrun
--generate" after that).

> BTW, if it's important, "~/context-lmtx/tex/texmf-cache/" contains only
> "luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e".

This is what I have there. These seem to be the standard cache contents.

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
___


Re: [NTG-context] mtxrun

2020-02-11 Thread Rudolf Bahr
On Tue, Feb 11, 2020 at 04:57:15PM +0100, Pablo Rodriguez wrote:
> On 2/11/20 4:23 PM, Rudolf Bahr wrote:
> >
> > How should it be possible to mix mkiv and lmtx, when I install "LuaMetaTeX 
> > 2.03.15"
> > and "ConTeXt 2020.02.10 MKIV beta" in my linux directory "~/context-lmtx", 
> > correct
> > the PATH variable after installation, do not forget a "source" on ".bashrc" 
> > and then
> > invoke in my directory "context-lmtx" following programs:
> >
> > mtxrun --generate
> 
> Hi Rudolf,
> 
> how did you install ConTeXt? Did you download the proper file from
> http://pragma-ade.nl/install.htm?
> 
> What is the output from "whereis mtxrun && whereis context"?
> 
> Try adding "export PATH=$PATH:~/context/tex/texmf-linux-64/bin/"
> (correct the path where required) and try again.
> 
> I’m on Linux64 and I’m not experiencing these issues. And I remove the
> contents of tex/texmf-cache/ regularly (I only invoke "mtxrun
> --generate" after that).
> 
> > BTW, if it's important, "~/context-lmtx/tex/texmf-cache/" contains only
> > "luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e".
> 
> This is what I have there. These seem to be the standard cache contents.
> 
> Just in case it helps,
> 
> Pablo


Hello Pablo!

Thank you for your answer!

"whereis mtxrun" gives:
   ~/context-lmtx/bin/mtxrun.lua
   ~/context-lmtx/bin/mtxrun
   ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua
   ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun

and "whereis context":
   ~/context-lmtx/tex/texmf-linux-64/bin/context.lua
   ~/context-lmtx/tex/texmf-linux-64/bin/context

I think, you'll get similar results. These are the informations according to
my PATH variable. And in that PATH there are no links to "~/context-luatex",
my directory of the other context installation.

And as so often I wiped again "texmf-cache":
   cd ~/context-lmtx/tex/
   rm -r texmf-cache/*
So, only the empty directory "texmf-cache/" remains.

And now:
   mtxrun --generate
gives again the error statements as written earlier.

Best wishes,
Rudolf
___
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] mtxrun

2020-02-11 Thread Hans Hagen

On 2/11/2020 6:26 PM, Rudolf Bahr wrote:


"whereis mtxrun" gives:
~/context-lmtx/bin/mtxrun.lua
~/context-lmtx/bin/mtxrun
~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua
~/context-lmtx/tex/texmf-linux-64/bin/mtxrun
i assume that you run the last one in this list, which is a copy of or 
link to the luametatex binary in the texmf-linux-64/bin path


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] mtxrun

2020-02-11 Thread Aditya Mahajan

On Tue, 11 Feb 2020, Rudolf Bahr wrote:


On Tue, Feb 11, 2020 at 04:57:15PM +0100, Pablo Rodriguez wrote:

On 2/11/20 4:23 PM, Rudolf Bahr wrote:
>
> How should it be possible to mix mkiv and lmtx, when I install "LuaMetaTeX 
2.03.15"
> and "ConTeXt 2020.02.10 MKIV beta" in my linux directory "~/context-lmtx", 
correct
> the PATH variable after installation, do not forget a "source" on ".bashrc" 
and then
> invoke in my directory "context-lmtx" following programs:
>
> mtxrun --generate

Hi Rudolf,

how did you install ConTeXt? Did you download the proper file from
http://pragma-ade.nl/install.htm?

What is the output from "whereis mtxrun && whereis context"?

Try adding "export PATH=$PATH:~/context/tex/texmf-linux-64/bin/"
(correct the path where required) and try again.

I’m on Linux64 and I’m not experiencing these issues. And I remove the
contents of tex/texmf-cache/ regularly (I only invoke "mtxrun
--generate" after that).

> BTW, if it's important, "~/context-lmtx/tex/texmf-cache/" contains only
> "luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e".

This is what I have there. These seem to be the standard cache contents.

Just in case it helps,

Pablo



Hello Pablo!

Thank you for your answer!

"whereis mtxrun" gives:
  ~/context-lmtx/bin/mtxrun.lua
  ~/context-lmtx/bin/mtxrun
  ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua
  ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun

and "whereis context":
  ~/context-lmtx/tex/texmf-linux-64/bin/context.lua
  ~/context-lmtx/tex/texmf-linux-64/bin/context

I think, you'll get similar results. These are the informations according to
my PATH variable. And in that PATH there are no links to "~/context-luatex",
my directory of the other context installation.

And as so often I wiped again "texmf-cache":
  cd ~/context-lmtx/tex/
  rm -r texmf-cache/*
So, only the empty directory "texmf-cache/" remains.

And now:
  mtxrun --generate
gives again the error statements as written earlier.


What is the output of

~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate

(please paste the complete output; your previous message did not show if 
SELFAUTOPARENT was being set correctly).


Aditya___
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] mtxrun

2020-02-11 Thread Rudolf Bahr

On Tue, Feb 11, 2020 at 07:38:54PM +0100, Hans Hagen wrote:
> On 2/11/2020 6:26 PM, Rudolf Bahr wrote:
> 
> > "whereis mtxrun" gives:
> > ~/context-lmtx/bin/mtxrun.lua
> > ~/context-lmtx/bin/mtxrun
> > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua
> > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun
> i assume that you run the last one in this list, which is a copy of or link
> to the luametatex binary in the texmf-linux-64/bin path


Hans, thank you for your answer!

So I run explicitly the second one:
   ~/context-lmtx/bin/mtxrun --generate
but I got the same error.

Now I wiped totally my directory "~/context-lmtx/" and made a new installation
by a newly loaded zip-file from "http://pragma-ade.nl/install.htm"; (64 bit 
Linux),
I canceled the context concerning parts of the PATH variable in .bashrc and 
took over
the suggested PATH of installation process with a following "source .bashrc" of 
course:
   LuaMetaTeX, Version 2.03.15
   ConTeXt  ver: 2020.02.11 16:41 MKIV beta  fmt: 2020.2.11

Sorry, "~/context-lmtx/bin/mtxrun --generate" again resulted in:
   resolvers   | resolving | variable 'SELFAUTOLOC' set to 'bin'
   resolvers   | resolving | variable 'SELFAUTODIR' set to '.'
   resolvers   | resolving | variable 'SELFAUTOPARENT' set to '..'
   resolvers   | resolving | variable 'TEXMFCNF' set to ''
   resolvers   | resolving | variable 'TEXMF' set to ''
   resolvers   | resolving | variable 'TEXOS' set to '.'
   ...
   ...
   resolvers   | resolving | warning: no lua configuration files found
   resolvers   | resolving | no texmf paths are defined (using TEXMF)

"mtxrun --generate" run outside the installation directory gets the same result:
   resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/home/sam/context-lmtx/bin'
   resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/home/sam/context-lmtx'
   resolvers   | resolving | variable 'SELFAUTOPARENT' set to '/home/sam'
   resolvers   | resolving | variable 'TEXMFCNF' set to ''
   resolvers   | resolving | variable 'TEXMF' set to ''
   resolvers   | resolving | variable 'TEXOS' set to 'context-lmtx'
   ...
   ...
   resolvers   | resolving | warning: no lua configuration files found
   resolvers   | resolving | no texmf paths are defined (using TEXMF)
   

I assume, as the last line indicates, the error is here: variable 'TEXMF' set 
to ''.
Am I right in that this variable has nothing to do with an environment variable?

Rudolf
___
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] mtxrun

2020-02-11 Thread Aditya Mahajan

On Tue, 11 Feb 2020, Rudolf Bahr wrote:



On Tue, Feb 11, 2020 at 07:38:54PM +0100, Hans Hagen wrote:

On 2/11/2020 6:26 PM, Rudolf Bahr wrote:

> "whereis mtxrun" gives:
> ~/context-lmtx/bin/mtxrun.lua
> ~/context-lmtx/bin/mtxrun
> ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua
> ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun
i assume that you run the last one in this list, which is a copy of or link
to the luametatex binary in the texmf-linux-64/bin path



Hans, thank you for your answer!

So I run explicitly the second one:
  ~/context-lmtx/bin/mtxrun --generate
but I got the same error.


This is the wrong binary. As Hans said (and also what I wrote in my 
message) is that you have to run the one in 
~/context-lmtx/tex/texmf-linux-64/bin/



Sorry, "~/context-lmtx/bin/mtxrun --generate" again resulted in:
  resolvers   | resolving | variable 'SELFAUTOLOC' set to 'bin'
  resolvers   | resolving | variable 'SELFAUTODIR' set to '.'
  resolvers   | resolving | variable 'SELFAUTOPARENT' set to '..'


I would suggest that you run these commands from outside the 
~/context-lmtx directory, so that the above variables show the full path 
rather than the relative path.



"mtxrun --generate" run outside the installation directory gets the same result:
  resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/home/sam/context-lmtx/bin'
  resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/home/sam/context-lmtx'
  resolvers   | resolving | variable 'SELFAUTOPARENT' set to '/home/sam'
  resolvers   | resolving | variable 'TEXMFCNF' set to ''
  resolvers   | resolving | variable 'TEXMF' set to ''
  resolvers   | resolving | variable 'TEXOS' set to 'context-lmtx'


This shows that the wrong binary is being used. You are using the binary 
in /home/sam/context-lmtx/bin when you should use 
/home/sam/context-lmtx/tex/texmf-linux-64/bin.


Aditya
___
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] mtxrun

2020-02-11 Thread Rudolf Bahr
On Tue, Feb 11, 2020 at 01:39:54PM -0500, Aditya Mahajan wrote:

> What is the output of
> 
> ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate
> 
> (please paste the complete output; your previous message did not show if
> SELFAUTOPARENT was being set correctly).


Hi Aditya!

Thank you for your answer!

The output of ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate is big,
so I append it here by the file "Aditya-I".
It's made by
   LuaMetaTeX, Version 2.03.15
   ConTeXt  ver: 2020.02.11 16:41 MKIV beta  fmt: 2020.2.11

Just for fun (but perhaps it will help anyway) I append the corresponding 
output of
~/context-luatex/tex/texmf-linux-64/bin/mtxrun --generate
as the file "Aditya-II".
This is made by
   luatex version of context 2020.01.30 14:13

Best wishes,

Rudolf
sam@nan:~$ ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate
resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/home/sam/context-lmtx/tex/texmf-linux-64/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/home/sam/context-lmtx/tex/texmf-linux-64'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/home/sam/context-lmtx/tex'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'texmf-linux-64'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context-lmtx/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context-lmtx/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context-lmtx/tex/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/sam/context-lmtx/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving | found regular configuration file 
'/home/sam/context-lmtx/tex/texmf/web2c/texmfcnf.lua'
resolvers   | resolving |
resolvers   | resolving | loading configuration file 
'selfautoparent:/texmf/web2c/texmfcnf.lua'
resolvers   | resolving |
resolvers   | resolving | locating list of 'home:texmf' (runtime) 
(tree:///home:texmf)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 
'tree', argument 'tree:///home:texmf'
resolvers   | trees | locator 'home:texmf' not found
resolvers   | resolving | locating list of 'selfautoparent:texmf-project' 
(cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 
'file', argument 'selfautoparent:texmf-project'
resolvers   | files | file locator 'selfautoparent:texmf-project' found as 
'/home/sam/context-lmtx/tex/texmf-project'
resolvers   | resolving | hash 'selfautoparent:texmf-project' appended
resolvers   | resolving | locating list of 'selfautoparent:texmf-fonts' 
(cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 
'file', argument 'selfautoparent:texmf-fonts'
resolvers   | files | file locator 'selfautoparent:texmf-fonts' found as 
'/home/sam/context-lmtx/tex/texmf-fonts'
resolvers   | resolving | hash 'selfautoparent:texmf-fonts' appended
resolvers   | resolving | locating list of 'selfautoparent:texmf-local' 
(cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 
'file', argument 'selfautoparent:texmf-local'
resolvers   | files | file locator 'selfautoparent:texmf-local' found as 
'/home/sam/context-lmtx/tex/texmf-local'
resolvers   | resolving | hash 'selfautoparent:texmf-local' appended
resolvers   | resolving | locating list of 'selfautoparent:texmf-modules' 
(cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 
'file', argument 'selfautoparent:texmf-modules'
resolvers   | files | file locator 'selfautoparent:texmf-modules' found as 
'/home/sam/context-lmtx/tex/texmf-modules'
resolvers   | resolving | hash 'selfautoparent:texmf-modules' appended
resolvers   | resolving | locating list of 'selfautoparent:texmf-context' 
(cached)
resolvers   | methods | resolving, method 'locators', how 'uri', handler 
'file', argument 'selfautoparent:texmf-context'
resolvers   | files | file locator 'selfautoparent:texmf-context' found as 
'/home/sam/context-lmtx/tex/texmf-contex

Re: [NTG-context] mtxrun

2020-02-11 Thread Aditya Mahajan

On Wed, 12 Feb 2020, Rudolf Bahr wrote:


On Tue, Feb 11, 2020 at 01:39:54PM -0500, Aditya Mahajan wrote:


What is the output of

~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate

(please paste the complete output; your previous message did not show if
SELFAUTOPARENT was being set correctly).



Hi Aditya!

Thank you for your answer!

The output of ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate is big,
so I append it here by the file "Aditya-I".
It's made by
  LuaMetaTeX, Version 2.03.15
  ConTeXt  ver: 2020.02.11 16:41 MKIV beta  fmt: 2020.2.11


That shows that texmfcnf.lua file was found and resolved. So, `context 
filename` should work now. Just to be sure, you can try:


~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
context filename


where filename is the name of a sample tex file.

Aditya
___
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] mtxrun

2020-02-11 Thread Rudolf Bahr
On Tue, Feb 11, 2020 at 03:57:27PM -0500, Aditya Mahajan wrote:
> On Tue, 11 Feb 2020, Rudolf Bahr wrote:
> 
> > 
> > On Tue, Feb 11, 2020 at 07:38:54PM +0100, Hans Hagen wrote:
> > > On 2/11/2020 6:26 PM, Rudolf Bahr wrote:
> > > 
> > > > "whereis mtxrun" gives:
> > > > ~/context-lmtx/bin/mtxrun.lua
> > > > ~/context-lmtx/bin/mtxrun
> > > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun.lua
> > > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun
> > > i assume that you run the last one in this list, which is a copy of or 
> > > link
> > > to the luametatex binary in the texmf-linux-64/bin path
> > 
> > 
> > Hans, thank you for your answer!
> > 
> > So I run explicitly the second one:
> >   ~/context-lmtx/bin/mtxrun --generate
> > but I got the same error.
> 
> This is the wrong binary. As Hans said (and also what I wrote in my message)
> is that you have to run the one in ~/context-lmtx/tex/texmf-linux-64/bin/
> 
> > Sorry, "~/context-lmtx/bin/mtxrun --generate" again resulted in:
> >   resolvers   | resolving | variable 'SELFAUTOLOC' set to 'bin'
> >   resolvers   | resolving | variable 'SELFAUTODIR' set to '.'
> >   resolvers   | resolving | variable 'SELFAUTOPARENT' set to '..'
> 
> I would suggest that you run these commands from outside the ~/context-lmtx
> directory, so that the above variables show the full path rather than the
> relative path.
> 
> > "mtxrun --generate" run outside the installation directory gets the same 
> > result:
> >   resolvers   | resolving | variable 'SELFAUTOLOC' set to 
> > '/home/sam/context-lmtx/bin'
> >   resolvers   | resolving | variable 'SELFAUTODIR' set to 
> > '/home/sam/context-lmtx'
> >   resolvers   | resolving | variable 'SELFAUTOPARENT' set to '/home/sam'
> >   resolvers   | resolving | variable 'TEXMFCNF' set to ''
> >   resolvers   | resolving | variable 'TEXMF' set to ''
> >   resolvers   | resolving | variable 'TEXOS' set to 'context-lmtx'
> 
> This shows that the wrong binary is being used. You are using the binary in
> /home/sam/context-lmtx/bin when you should use
> /home/sam/context-lmtx/tex/texmf-linux-64/bin.
> 
> Aditya


Thanks to Hans and Aditya!

Using the binaries in /context-lmtx/tex/texmf-linux-64/bin/ instead of
~/context-lmtx/bin/mtxrun brings the awaited result!

Remains the question why has it been possible to use the wrong binaries? How 
could
a context user know where the "good" binaries reside?
I put the PATH sequence of the official installation process as proposed into
my PATH variable and was using "mtxrun".

I shall eliminate the error causing context parts in my PATH variable. I'd 
suggest
to correct the proposed completion of PATH variable at the end of the 
installation
process. The knowledge about that has only been possible after a series of 
mails with
Pablo, Hans and Aditya.

Thanks again!

Rudolf
___
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] mtxrun

2020-02-12 Thread Rudolf Bahr
On Wed, Feb 12, 2020 at 12:24:21AM -0500, Aditya Mahajan wrote:
> On Wed, 12 Feb 2020, Rudolf Bahr wrote:
> 
> > On Tue, Feb 11, 2020 at 01:39:54PM -0500, Aditya Mahajan wrote:
> > 
> > > What is the output of
> > > 
> > > ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate
> > > 
> > > (please paste the complete output; your previous message did not show if
> > > SELFAUTOPARENT was being set correctly).
> > 
> > 
> > Hi Aditya!
> > 
> > Thank you for your answer!
> > 
> > The output of ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --generate is 
> > big,
> > so I append it here by the file "Aditya-I".
> > It's made by
> >   LuaMetaTeX, Version 2.03.15
> >   ConTeXt  ver: 2020.02.11 16:41 MKIV beta  fmt: 2020.2.11
> 
> That shows that texmfcnf.lua file was found and resolved. So, `context
> filename` should work now. Just to be sure, you can try:
> 
> ~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context
> filename
> 
> where filename is the name of a sample tex file.
> 
> Aditya

Hi Aditya!

Thank you for your hint and your help in general!

When you wrote before:
   "This is the wrong binary. As Hans said (and also what I wrote in my 
message) 
   is that you have to run the one in ~/context-lmtx/tex/texmf-linux-64/bin/",
I noticed having misunderstood Hans what he meant with:
   "i assume that you run the last one in this list, ..."
I thought he pointed to my error and didn't understand I should try the last one
in the list instead.

Anyway, thanks to you, Taco, Pablo and Hans for helping me to solve my problem!

Rudolf
___
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] mtxrun

2020-02-14 Thread Luca Donetti
> > So I run explicitly the second one:
> >   ~/context-lmtx/bin/mtxrun --generate
> > but I got the same error.
>
> This is the wrong binary. As Hans said (and also what I wrote in my
> message) is that you have to run the one in
> ~/context-lmtx/tex/texmf-linux-64/bin/
>
>


> This shows that the wrong binary is being used. You are using the binary
> in /home/sam/context-lmtx/bin when you should use
> /home/sam/context-lmtx/tex/texmf-linux-64/bin.
>
>
I ran into a similar problem in the past because the installation script
install.sh says the following, among other things:
"If you want to run ConTeXt everywhere, you need to adapt the path, like:

  [lmtx path]/bin:[lmtx path]/tex/texmf-linux-64/bin:[the rest of my path]"

Doing as suggested, when mtxrun is launched the first binary is used
because  [lmtx path]/bin comes first in the PATH. My question is then how
do you usually run mtxrun:
1) always writing the full path of the correct executable,
2) avoid putting [lmtx path]/bin in PATH,
3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in
the PATH

I'm asking here because option 1 is correct but not very handy, while 2)
and 3) are different from what the installer says and they seemed to give
other problems when I tried them.

Thank you in advance,
LD
___
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] mtxrun

2020-02-14 Thread Aditya Mahajan

On Fri, 14 Feb 2020, Luca Donetti wrote:


So I run explicitly the second one:
  ~/context-lmtx/bin/mtxrun --generate
but I got the same error.


This is the wrong binary. As Hans said (and also what I wrote in my
message) is that you have to run the one in
~/context-lmtx/tex/texmf-linux-64/bin/






This shows that the wrong binary is being used. You are using the binary
in /home/sam/context-lmtx/bin when you should use
/home/sam/context-lmtx/tex/texmf-linux-64/bin.



I ran into a similar problem in the past because the installation script
install.sh says the following, among other things:
"If you want to run ConTeXt everywhere, you need to adapt the path, like:

 [lmtx path]/bin:[lmtx path]/tex/texmf-linux-64/bin:[the rest of my path]"

Doing as suggested, when mtxrun is launched the first binary is used
because  [lmtx path]/bin comes first in the PATH. My question is then how
do you usually run mtxrun:
1) always writing the full path of the correct executable,
2) avoid putting [lmtx path]/bin in PATH,
3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in
the PATH

I'm asking here because option 1 is correct but not very handy, while 2)
and 3) are different from what the installer says and they seemed to give
other problems when I tried them.


I always follow 2. I don't think that [lmtx path]/bin should ever be in 
the PATH except when updating the installation.


Aditya
___
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] mtxrun

2020-02-14 Thread Rudolf Bahr
On Fri, Feb 14, 2020 at 08:59:57PM +0100, Luca Donetti wrote:
> > > So I run explicitly the second one:
> > >   ~/context-lmtx/bin/mtxrun --generate
> > > but I got the same error.
> >
> > This is the wrong binary. As Hans said (and also what I wrote in my
> > message) is that you have to run the one in
> > ~/context-lmtx/tex/texmf-linux-64/bin/



Hi Luca,

> 1) always writing the full path of the correct executable,

I don't know which operating system you're using. On linux instead of writing
the full path I'm using the command "alias" in my ".bashrc" file. So, Adityas
proposal on mtxrun (Date: Wed, 12 Feb 2020 00:24:21 -0500 (EST)) becomes:

alias context='~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate 
--script
  context'
with 'context-lmtx' being the directory, where I installed context.
With this you invoke your context file with "context your-file.tex"
I cancelled all context stuff in my PATH variable. Don't forget to 'source 
~/.bashrc'
afterwards. 

> 2) avoid putting [lmtx path]/bin in PATH,

Yes, this could be a solution too, in my opinion.

> 3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in
> the PATH
> 
> I'm asking here because option 1 is correct but not very handy, while 2)
> and 3) are different from what the installer says and they seemed to give
> other problems when I tried them.

I hope this helps you! At least in the case you're using linux.

Best wishes,

Rudolf
___
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] mtxrun

2020-02-15 Thread Floris van Manen


On 15-02-2020 06:40, Rudolf Bahr wrote:
> I hope this helps you! At least in the case you're using linux.

it appears as that many of the files in the two path are sort of identical:

~/data/context

$ md5sum bin/mtxrun tex/texmf-linux-64/bin/luametatex
b95ca64fabcb3f09edd861c4b87671cc  bin/mtxrun
b95ca64fabcb3f09edd861c4b87671cc  tex/texmf-linux-64/bin/luametatex

$ md5sum bin/mtxrun.lua tex/texmf-linux-64/bin/mtxrun.lua
4d73c3608cc2463e80c59942b3db7158  bin/mtxrun.lua
4d73c3608cc2463e80c59942b3db7158  tex/texmf-linux-64/bin/mtxrun.lua


There is probably a reason for it ;-)
.F


pEpkey.asc
Description: application/pgp-keys
___
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] mtxrun

2020-02-15 Thread Luca Donetti
Thank you Aditya,

> My question is then how
> > do you usually run mtxrun:
> > 1) always writing the full path of the correct executable,
> > 2) avoid putting [lmtx path]/bin in PATH,
> > 3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in
> > the PATH
> >
>
> I always follow 2. I don't think that [lmtx path]/bin should ever be in
> the PATH except when updating the installation.
>
> Then I will go with option 2), and report back if I encounter any problem.
If this works well, then it could be useful to change the message shown at
the end of the installation process, as Rudolf already suggested in this
thread.

By the way, you seem to imply that [lmtx path]/bin should be in the PATH
during updates. I didn't know that and I'm sure I've updated several times
without it: I have different environments to be able to switch between
different versions of context (lmtx, the old one, that from texlive...), I
never check which one I'm in before updating lmtx and the installer does
not complain.

LD
___
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] mtxrun

2020-02-15 Thread Luca Donetti
> Hi Luca,
>
> > 1) always writing the full path of the correct executable,
>
> I don't know which operating system you're using. On linux instead of
> writing
> the full path I'm using the command "alias" in my ".bashrc" file. So,
> Adityas
> proposal on mtxrun (Date: Wed, 12 Feb 2020 00:24:21 -0500 (EST)) becomes:
>
> alias context='~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate
> --script
>   context'
> with 'context-lmtx' being the directory, where I installed context.
> With this you invoke your context file with "context your-file.tex"
> I cancelled all context stuff in my PATH variable. Don't forget to 'source
> ~/.bashrc'
> afterwards.
>
>
Hi Rudolf, thank you for your suggestion.
I'm on linux but I'd prefer not to use this method, because I use context
both from the command line and from my editor (emacs with auctex) and I
have scripts that change my environment to be able to switch between
different context versions (lmtx, texlive, ...). In any case, I'll think
about this solution and it could be useful to other people, too.

LD
___
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] mtxrun

2020-02-15 Thread Aditya Mahajan

On Sat, 15 Feb 2020, Floris van Manen wrote:


On 15-02-2020 06:40, Rudolf Bahr wrote:

I hope this helps you! At least in the case you're using linux.


it appears as that many of the files in the two path are sort of identical:

~/data/context

$ md5sum bin/mtxrun tex/texmf-linux-64/bin/luametatex
b95ca64fabcb3f09edd861c4b87671cc  bin/mtxrun
b95ca64fabcb3f09edd861c4b87671cc  tex/texmf-linux-64/bin/luametatex

$ md5sum bin/mtxrun.lua tex/texmf-linux-64/bin/mtxrun.lua
4d73c3608cc2463e80c59942b3db7158  bin/mtxrun.lua
4d73c3608cc2463e80c59942b3db7158  tex/texmf-linux-64/bin/mtxrun.lua


There is probably a reason for it ;-)


But mtxrun looks for location of texmfcnf file based on its location, so 
which file is invoked makes a difference.


Aditya
___
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] mtxrun error

2010-06-30 Thread Alan BRASLAU
Latest minimals:

mtxrun:9289: attempt to concatenate local 'v' (a table value)

Alan
___
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] mtxrun error

2013-02-09 Thread Alessandro Perucchi
Hello,

I wanted to check all the fonts recognised by context on my laptop.

So I did 

$ mtxrun --script fonts --list '*'

system  | logs | lua: compiling 
/Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma
 into 
/Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc
system  | logs | fatal error in "unknown"
fonts   | names | warnings are disabled (tracker 'fonts.warnings')
fonts   | names | identifying tree font files with suffix otf
fonts   | names | scanning /Users/ptitvert/context/tex/texmf-project 
for otf files
fonts   | names | 6 entries found, 0 otf files checked, 0 okay
fonts   | names | scanning /Users/ptitvert/context/tex/texmf-fonts for 
otf files
fonts   | names | 6 entries found, 0 otf files checked, 0 okay
fonts   | names | scanning /Users/ptitvert/context/tex/texmf-local for 
otf files
fonts   | names | 6 entries found, 0 otf files checked, 0 okay
fonts   | names | scanning /Users/ptitvert/context/tex/texmf-modules 
for otf files
fonts   | names | 978 entries found, 0 otf files checked, 0 okay
fonts   | names | scanning /Users/ptitvert/context/tex/texmf-context 
for otf files
fonts   | names | 2167 entries found, 1 otf files checked, 1 okay
...
fonts   | names | identifying system font files with suffix otf
fonts   | names | adding path from OSFONTDIR: 
/Users/ptitvert/Library/Fonts
fonts   | names | adding path from OSFONTDIR: /Library/Fonts
fonts   | names | adding path from OSFONTDIR: /System/Library/Fonts
fonts   | names | globbing path /Users/ptitvert/Library/Fonts/**.otf
fonts   | names | globbing path /Library/Fonts/**.otf
fonts   | names | globbing path /System/Library/Fonts/**.otfAssertion 
failed: (kpse->program_name), function kpathsea_cnf_get, file 
../../../source/texk/kpathsea/cnf.c, line 255.
Abort


Im using

$ context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file: 
/Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.02.05 22:32

I've also tried the "current" I get another error:

$ mtxrun --script fonts --list '*'
/Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index 
field 'loaders' (a nil value)

$ context --version
/Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index 
field 'loaders' (a nil value)

Keep in mind that in both case I've done a plain install

./first-setup.sh --modules=all --context=beta

and 

./first-setup.sh --modules=all --context=current

And I'm using Mac OS X 10.8.2

Sincerely yours,
Alessandro

___
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] mtxrun / fonts

2009-05-13 Thread Wolfgang Schuster

Hi Hans,

the following produced a list with all font features for Minion Pro  
but it did no longer work.


mtxrun --script fonts --list --info minionproregular

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
___


[NTG-context] mtxrun problem

2009-05-15 Thread Henning Hraban Ramm
As far as I skimmed the discussions of the last days, this didn't show  
up yet:


In my LilyPond module I call the programm like so:

\def\LP{mtxrun --ifchanged="\lily!filename.tmp" --exec bin:lilypond - 
dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete- 
intermediate-files "\lily!filename.tmp"}
\def\PDF{texmfstart --ifchanged="\lily!filename.eps" pstopdf "\lily! 
filename.eps"}


\executesystemcommand{\LP}
\executesystemcommand{\PDF}

The former definition results in this call:

mtxrun --ifchanged="c_whatshallwedo-lilypond-1.tmp" --exec  
bin:lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts - 
ddelete-intermediate-files "c_whatshallwedo-lilypond-1.tmp"


The .tmp file exists and contains the right LilyPond code.
But I get an error like this from the LP call:


.../texmf/tex/texmf-osx-intel/bin/mtxrun:1953: attempt to call field  
'HEXsum' (a nil value)



Line 1953 is:

return md5.HEXsum(data)

Looks like a bug in mtxrun to me - or in Lua's md5 module.

http://www.keplerproject.org/md5/manual.html#lua_api says, there'd be  
only "sum" and "sumhexa" methods.
Replacing "HEXsum" with "sum" works, "sumhexa" gives the same error as  
above.



The PDF call gives:

MTXrun | file 'c_whatshallwedo-lilypond-1.eps' is unchanged

Even if the .eps file doesn't exist at all.


There are no .md5 files like before. I guess that's right?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] mtxrun question

2008-08-24 Thread Wolfgang Schuster

Am 24.08.2008 um 12:44 schrieb Patrick Gundlach:

> Hi,
>
> I tried to find a tfm file, so I typed in
>
> ~$ mtxrun --locate texnansi-demofont.tfm
>
> and I got
>
> ...k/TeX/context/minimal/tex/texmf-osx-intel/bin/mtxrun:6898: attempt
> to index local 'files' (a nil value)
>
> what does that mean? Is the syntax I've used correct?

Update the script with "mtxrun --selfupdate".

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
___


Re: [NTG-context] mtxrun question

2008-08-24 Thread Patrick Gundlach
Hi,

>> ...k/TeX/context/minimal/tex/texmf-osx-intel/bin/mtxrun:6898: attempt
>> to index local 'files' (a nil value)
>>
>> what does that mean? Is the syntax I've used correct?
>
> Update the script with "mtxrun --selfupdate".

That's cool, it works nicely. Thanks!

Patrick
-- 
ConTeXt wiki and more: 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
___


Re: [NTG-context] mtxrun question

2008-08-26 Thread Hans Hagen
Patrick Gundlach wrote:
> Hi,
> 
>>> ...k/TeX/context/minimal/tex/texmf-osx-intel/bin/mtxrun:6898: attempt
>>> to index local 'files' (a nil value)
>>>
>>> what does that mean? Is the syntax I've used correct?
>> Update the script with "mtxrun --selfupdate".
> 
> That's cool, it works nicely. Thanks!

there's also

luatools --selfupdate



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


[NTG-context] mtxrun TEXINPUTS bug

2008-10-13 Thread Alan BRASLAU
With
  $ export TEXINPUTS=".:/home/local/tex//:"
mtxrun fails
  $ mtxrun --script fonts --list
  cannot open : No such file or directory
as it looks to open /home/local/tex/font-syn.lua
rather than /usr/share/texmf/tex/context/base/font-syn.lua
(after succeeding to find /usr/share/texmf/scripts/context/lua/mtx-fonts.lua).

Must be a simple script error, but I have not found the bug

- using Debian/unstable :
MtxRun | current version  : 2008.05.21 15:21
LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT
This is LuaTeX, Version snapshot-0.28.0-2008070709

-- 
Alan Braslau

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


[NTG-context] mtxrun --find-file

2011-02-02 Thread Hans van der Meer
Why does --find-file gives an error:

106 beta: mtxrun --find-file catc-ini.mkiv
...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to call 
field '?' (a table value)
107 beta: mtxrun --find-file catc-ini
...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to call 
field '?' (a table value)
108 beta: 

Hans van der Meer

___
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] mtxrun list?

2011-04-30 Thread taco

Hans van der Meer wrote:

Executing 'mtxrun' without arguments shows the list of commands. There one 
finds:

mtxrun  | ConTeXt TDS Runner Tool 1.30
mtxrun  |
mtxrun  | --script  run an mtx script (lua prefered method) 
(--noquotes), no script gives list

Doing 'mtxrun --script' I expected to see a list of the available scripts. But 
this command prints nothing. Is this something to be repaired?


No, there is no such list. Having such a list would be comparable to

  $ kpsewhich --format=tex

returning a list of all tex files in your tree to choose from: mtxrun
can run *any* lua script, including anything in the current directory.

However, the 'canonical' mtxrun scripts all live in scripts/context/lua,
and have names like mtx-

[NTG-context] mtxrun font patterns

2020-01-07 Thread Henning Hraban Ramm

I just recognized that mtxrun’s pattern matching is a bit off.

E.g. if I look for

mtxrun --script fonts --list --all --pattern=roboto

I get

roboto   robotorobotoregular 
Roboto-Regular.ttf
robotocondensednormalrobotocondensed   robotocondenseditalic 
RobotoCondensed-Italic.ttf
robotocondensedregular   robotocondensed   robotocondensedlight 
RobotoCondensed-Light.ttf
robotoitalic robotorobotoblackitalic 
Roboto-BlackItalic.ttf
robotomononormal robotomonorobotomonoitalic 
RobotoMono-Italic.ttf
robotomonoregularrobotomonorobotomonolight 
RobotoMono-Light.ttf
robotonormal robotorobotoitalic 
Roboto-Italic.ttf
robotoregularrobotorobotoblack 
Roboto-Black.ttf
robotoslablight  robotoslabrobotoslabextralight 
RobotoSlab-ExtraLight.ttf
robotoslabnormal robotoslabrobotoslabregular 
RobotoSlab-Regular.ttf
robotoslabregularrobotoslabrobotoslabblack 
RobotoSlab-Black.ttf


But I’ve several more faces installed. ConTeXt finds them with

mtxrun --script fonts --list --all --pattern=robot
(ROBOT, not ROBOTO)

as

roboto   robotorobotoregular 
   Roboto-Regular.ttf
robotoblack  robotorobotoblack 
   Roboto-Black.ttf
robotoblackitalicrobotorobotoblackitalic 
   Roboto-BlackItalic.ttf
robotobold   robotorobotobold 
   Roboto-Bold.ttf
robotobolditalic robotorobotobolditalic 
   Roboto-BoldItalic.ttf
robotocondensed  robotocondensed   robotocondensedregular 
   RobotoCondensed-Regular.ttf
robotocondensedbold  robotocondensed   robotocondensedbold 
   RobotoCondensed-Bold.ttf
robotocondensedbolditalicrobotocondensed   robotocondensedbolditalic 
   RobotoCondensed-BoldItalic.ttf
robotocondenseditalicrobotocondensed   robotocondenseditalic 
   RobotoCondensed-Italic.ttf
robotocondensedlight robotocondensed   robotocondensedlight 
   RobotoCondensed-Light.ttf
robotocondensedlightitalic   robotocondensed 
robotocondensedlightitalic   RobotoCondensed-LightItalic.ttf
robotocondensednormalrobotocondensed   robotocondenseditalic 
   RobotoCondensed-Italic.ttf
robotocondensedregular   robotocondensed   robotocondensedregular 
   RobotoCondensed-Regular.ttf
robotoitalic robotorobotoitalic 
   Roboto-Italic.ttf
robotolight  robotorobotolight 
   Roboto-Light.ttf
robotolightitalicrobotorobotolightitalic 
   Roboto-LightItalic.ttf
robotomedium robotorobotomedium 
   Roboto-Medium.ttf
robotomediumitalic   robotorobotomediumitalic 
   Roboto-MediumItalic.ttf
robotomono   robotomonorobotomonoregular 
   RobotoMono-Regular.ttf
robotomonobold   robotomonorobotomonobold 
   RobotoMono-Bold.ttf
robotomonobolditalic robotomonorobotomonobolditalic 
   RobotoMono-BoldItalic.ttf
robotomonoitalic robotomonorobotomonoitalic 
   RobotoMono-Italic.ttf
robotomonolight  robotomonorobotomonolight 
   RobotoMono-Light.ttf
robotomonolightitalicrobotomonorobotomonolightitalic 
   RobotoMono-LightItalic.ttf
robotomonomedium robotomonorobotomonomedium 
   RobotoMono-Medium.ttf
robotomonomediumitalic   robotomonorobotomonomediumitalic 
   RobotoMono-MediumItalic.ttf
robotomononormal robotomonorobotomonoitalic 
   RobotoMono-Italic.ttf
robotomonoregularrobotomonorobotomonoregular 
   RobotoMono-Regular.ttf
robotomonothin   robotomonorobotomonothin 
   RobotoMono-Thin.ttf
robotomonothinitalic robotomonorobotomonothinitalic 
   RobotoMono-ThinItalic.ttf
robotonormal robotorobotoitalic 
   Roboto-Italic.ttf
robotoregularrobotorobotoregular 
   Roboto-Regular.ttf
robotoslabblack  robotoslabrobotoslabblack 
   RobotoSlab-Black.ttf
robotoslabbold   robotoslabrobotoslabbold 
   RobotoSlab-Bold.ttf
robotoslabextrabold  robotoslabrobotoslabextrabold 
   RobotoSlab-ExtraBold.ttf
robotoslabextralight robotoslabrobotoslabextralight 
   RobotoSlab-ExtraLight.ttf
robotoslablight  robotoslabrobotoslablight 
   RobotoSlab-Light.ttf
robotoslabmedium robotoslabrobotoslabmedium 
   RobotoSlab-Medium.ttf
robotoslabnormal robotoslabrobotoslabregular 
   RobotoSlab-Regular.ttf
robotoslabregularrobotoslabrobotoslabregular 
   RobotoSlab-Regular.ttf
robotoslabsemibold   robotoslabrobotoslabsemibold 
   RobotoSlab-SemiBold.ttf
robotoslabthin  

[NTG-context] mtxrun exit code

2020-05-29 Thread Hans van der Meer
I am producing a series of files in a shell script with mtxrun --autogenerate 
--script context input
Doing exit mtxrun... shows there is no exit number to test in the shell, or to 
ste a shell variable to that value.

I can set a global macro \ExitStatus to an exit value depending on success or 
failure, pass that on to mtxrun as exit statusd and test that in the script.

For example:
\starttext
  \xmlprocessbuffer{notes}{notes}{}
  \doif{\ExitStatus}{notok}{"let mtxrun return value 1 as error in UNIX"}
\stoptext

After that it would be possible in the shell script to delete the pdf produced, 
what is my intention in this case.

Is this an option or is there presently another (standard) procedure to 
communicate from ConTeXt to the shell.

dr. Hans van der Meer


___
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] mtxrun error

2010-06-30 Thread luigi scarso
On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU  wrote:
> Latest minimals:
>
> mtxrun:9289: attempt to concatenate local 'v' (a table value)
confirmed on my linux 32 box too

-- 
luigi
___
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] mtxrun error

2010-07-01 Thread 李延瑞
2010/6/30 luigi scarso :
> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU  wrote:
>> Latest minimals:
>>
>> mtxrun:9289: attempt to concatenate local 'v' (a table value)
> confirmed on my linux 32 box too
>

it seems that the following commands can solved this problem.

sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/luatools
sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/mtxrun



-- 
Best regards,

Li Yanrui (李延瑞)
___
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] mtxrun error

2010-07-01 Thread 李延瑞
2010/7/2 Li Yanrui (李延瑞) :
> 2010/6/30 luigi scarso :
>> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU  wrote:
>>> Latest minimals:
>>>
>>> mtxrun:9289: attempt to concatenate local 'v' (a table value)
>> confirmed on my linux 32 box too
>>
>
> it seems that the following commands can solved this problem.
>
> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/luatools
> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/mtxrun
>

sorry, i'm wrong.


-- 
Best regards,

Li Yanrui (李延瑞)
___
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] mtxrun error

2010-07-02 Thread Henning Hraban Ramm

Am 2010-06-30 um 09:36 schrieb Alan BRASLAU:


Latest minimals:

mtxrun:9289: attempt to concatenate local 'v' (a table value)



confirmed on osx-intel (OSX 10.5):


hraban$ mtxrun --selfupdate
.../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt  
to concatenate local 'v' (a table value)

hraban$ luatools --selfupdate
...raban/Library/texmf/tex/texmf-osx-intel/bin/luatools:6039: attempt  
to concatenate local 'v' (a table value)


or while running first-setup.sh:

MTXrun | run: luatools --generate
LuaTools | fileio: variable 'SELFAUTOLOC' set to '/Users/hraban/ 
Library/texmf/tex/texmf-osx-intel/bin'
LuaTools | fileio: variable 'SELFAUTODIR' set to '/Users/hraban/ 
Library/texmf/tex/texmf-osx-intel'
LuaTools | fileio: variable 'SELFAUTOPARENT' set to '/Users/hraban/ 
Library/texmf/tex'
LuaTools | fileio: variable 'TEXMFCNF' set to '/Users/hraban/Library/ 
texmf/tex/texmf{-local,-context,}/web2c'
LuaTools | fileio: loading configuration file '/Users/hraban/Library/ 
texmf/tex/texmf/web2c/texmfcnf.lua'
...raban/Library/texmf/tex/texmf-osx-intel/bin/luatools:6039: attempt  
to concatenate local 'v' (a table value)

MTXrun | run: texexec --make --all --fast --xetex cont-nl cont-en
.../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt  
to concatenate local 'v' (a table value)

MTXrun | run: context --make
.../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt  
to concatenate local 'v' (a table value)

MTXrun | run: texexec --make --all --fast --pdftex cont-nl cont-en
.../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt  
to concatenate local 'v' (a table value)

MTXrun | run: texexec --make --all --fast metafun
.../hraban/Library/texmf/tex/texmf-osx-intel/bin/mtxrun:9289: attempt  
to concatenate local 'v' (a table value)

MTXrun | run: mktexlsr

etc.




Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] mtxrun error

2010-07-02 Thread Thomas A. Schmitz

On Jul 2, 2010, at 9:49 AM, Henning Hraban Ramm wrote:

> 
> confirmed on osx-intel (OSX 10.5):
> 

I had the same problem on OS X, but only on a 32-bit system; my 64-bit system 
works normally. I copied the version of mtxrun from my 64-bit to my 32-bit 
system, and now it works. Mojca, maybe an outdated version of mtxrun somehow 
crept into the minimals?

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] mtxrun error

2010-07-02 Thread Martin 'golodhrim' Scholz
On Wed, 30 Jun 2010 16:57:42 +0200, luigi scarso wrote:

> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU 
> wrote:
>> Latest minimals:
>>
>> mtxrun:9289: attempt to concatenate local 'v' (a table value)
> confirmed on my linux 32 box too

confirmed on my linux 64bit box too



-- 
---
Martin 'golodhrim' Scholz
Auf dem Sattler 4
34516 Ederbringhausen
Phone: +49 6454 799623
mobile: +49 176 63301749
Fax: +49 6454 
e-Mail: scholz@googlemail.com

He has not acquired a fortune; the fortune has acquired him.
-- Bion

___
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] mtxrun error

2010-07-02 Thread Mojca Miklavec
On Fri, Jul 2, 2010 at 10:20, Thomas A. Schmitz wrote:
> On Jul 2, 2010, at 9:49 AM, Henning Hraban Ramm wrote:
>
>> confirmed on osx-intel (OSX 10.5):
>
> I had the same problem on OS X, but only on a 32-bit system; my 64-bit system 
> works normally. I copied the version of mtxrun from my 64-bit to my 32-bit 
> system, and now it works. Mojca, maybe an outdated version of mtxrun somehow 
> crept into the minimals?

No, maybe you have an older version that still works; the minimals
seem to be broken completely on all the systems. If anyone knows how
to fix it, I can do it until Hans is back and uploads a fixed version.
(He has some problems reading email.)

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
___


Re: [NTG-context] mtxrun error

2010-07-02 Thread Thomas A. Schmitz

On Jul 2, 2010, at 11:05 AM, Mojca Miklavec wrote:

> No, maybe you have an older version that still works; the minimals
> seem to be broken completely on all the systems. If anyone knows how
> to fix it, I can do it until Hans is back and uploads a fixed version.
> (He has some problems reading email.)
> 
> Mojca

Hm, the interesting thing is that version numbers haven't changed. My working 
version is 
MTXrun | current version: 2010.06.23 12:45
which is the latest, according to the website. Moreover, something interesting: 
when I run first-setup.sh, I get this version of mtxrun:

grep Runner ~/context/tex/texmf-linux/bin/mtxrun 
logs.setprogram('MTXrun',"TDS Runner Tool 
1.24",environment.arguments["verbose"] or false)

However, my older, working system has this:

grep Runner /mnt/shared/context/tex/texmf-linux/bin/mtxrun 
logs.setprogram('MTXrun',"TDS Runner Tool 1.26")

Do you have this version somewhere? I could send it off-list.

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] mtxrun error

2010-07-02 Thread 李延瑞
2010/7/2 Li Yanrui (李延瑞) :
> 2010/6/30 luigi scarso :
>> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU  wrote:
>>> Latest minimals:
>>>
>>> mtxrun:9289: attempt to concatenate local 'v' (a table value)
>> confirmed on my linux 32 box too
>>
>
> it seems that the following commands can solved this problem.
>
> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/luatools
> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/mtxrun
>

$ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/luatools
$ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/mtxrun
$ luatools --generate
$ sed -i  's//t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`

-- 
Best regards,

Li Yanrui (李延瑞)
___
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] mtxrun error

2010-07-02 Thread 李延瑞
2010/7/2 Li Yanrui (李延瑞) :
> 2010/7/2 Li Yanrui (李延瑞) :
>> 2010/6/30 luigi scarso :
>>> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU  wrote:
 Latest minimals:

 mtxrun:9289: attempt to concatenate local 'v' (a table value)
>>> confirmed on my linux 32 box too
>>>
>>
>> it seems that the following commands can solved this problem.
>>
>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/luatools
>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/mtxrun
>>
>
> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/luatools
> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/mtxrun
> $ luatools --generate
> $ sed -i  's//t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`
>

the last command should be

$ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`

then

$ context --make


-- 
Best regards,

Li Yanrui (李延瑞)
___
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] mtxrun error

2010-07-02 Thread luigi scarso
On Fri, Jul 2, 2010 at 11:52 AM, Li Yanrui (李延瑞)  wrote:
> 2010/7/2 Li Yanrui (李延瑞) :
>> 2010/7/2 Li Yanrui (李延瑞) :
>>> 2010/6/30 luigi scarso :
 On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU  wrote:
> Latest minimals:
>
> mtxrun:9289: attempt to concatenate local 'v' (a table value)
 confirmed on my linux 32 box too

>>>
>>> it seems that the following commands can solved this problem.
>>>
>>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/luatools
>>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/mtxrun
>>>
>>
>> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/luatools
>> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/mtxrun
>> $ luatools --generate
>> $ sed -i  's//t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`
>>
>
> the last command should be
>
> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`
>
> then
>
> $ context --make
>
It seems ok on my linux 32bit box

-- 
luigi
___
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] mtxrun error

2010-07-02 Thread Martin 'golodhrim' Scholz
On Fri, 02 Jul 2010 12:17:15 +0200, luigi scarso wrote:

The same for my linux 64bit box
thanks Li Yanrui



-- 
---
Martin 'golodhrim' Scholz
Auf dem Sattler 4
34516 Ederbringhausen
Phone: +49 6454 799623
mobile: +49 176 63301749
Fax: +49 6454 
e-Mail: scholz@googlemail.com

"Oook!"

___
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] mtxrun error

2010-07-02 Thread views63
2010/7/2 Li Yanrui (李延瑞) :
> 2010/7/2 Li Yanrui (李延瑞) :
>> 2010/7/2 Li Yanrui (李延瑞) :
>>> 2010/6/30 luigi scarso :
 On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU  wrote:
> Latest minimals:
>
> mtxrun:9289: attempt to concatenate local 'v' (a table value)
 confirmed on my linux 32 box too

>>>
>>> it seems that the following commands can solved this problem.
>>>
>>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/luatools
>>> sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/mtxrun
>>>
>>
>> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/luatools
>> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/mtxrun
>> $ luatools --generate
>> $ sed -i  's//t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`
>>
>
> the last command should be
>
> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`
>
> then
>
> $ context --make
>
>
> --
> Best regards,
>
> Li Yanrui (李延瑞)
> ___
> 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
> ___
>

In this way the log said "ConTeXt  ver: 2010.05.24 13:05 MKIV  fmt:
2010.7.2  int: english/english" why? I used the latest.
___
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] mtxrun error

2010-07-02 Thread 李延瑞
2010/7/3 views63 :
>
> In this way the log said "ConTeXt  ver: 2010.05.24 13:05 MKIV  fmt:
> 2010.7.2  int: english/english" why? I used the latest.


just my workaround. waitting for Hans to fix it.

-- 
Best regards,

Li Yanrui (李延瑞)
___
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] mtxrun error

2010-07-02 Thread luigi scarso
> In this way the log said "ConTeXt  ver: 2010.05.24 13:05 MKIV
version is defined in context.tex
\edef\contextversion{2010.05.24 13:05}


>fmt: 2010.7.2  int: english/english" why?
Date of format generation (in your case  last time you have build your
format is 2010.7.2)

-- 
luigi
___
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] mtxrun error

2010-07-02 Thread 李延瑞
2010/7/2 luigi scarso :
> On Fri, Jul 2, 2010 at 11:52 AM, Li Yanrui (李延瑞)  
> wrote:
>> 2010/7/2 Li Yanrui (李延瑞) :
>>> 2010/7/2 Li Yanrui (李延瑞) :
 2010/6/30 luigi scarso :
> On Wed, Jun 30, 2010 at 9:36 AM, Alan BRASLAU  wrote:
>> Latest minimals:
>>
>> mtxrun:9289: attempt to concatenate local 'v' (a table value)
> confirmed on my linux 32 box too
>

 it seems that the following commands can solved this problem.

 sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/luatools
 sed -i 's/t\[vv.."."..v\]/t\[vv\]/g'  $TEXMFOS/bin/mtxrun

>>>
>>> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/luatools
>>> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  $TEXMFOS/bin/mtxrun
>>> $ luatools --generate
>>> $ sed -i  's//t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`
>>>
>>
>> the last command should be
>>
>> $ sed -i  's/t\[vv.."."..v\] = kk/t\[k\] = vv/g'  `luatools data-res.lua`
>>
>> then
>>
>> $ context --make
>>
> It seems ok on my linux 32bit box
>

changing 't[vv.."."..v] = vv' to 't[kk] = vv' maybe more right.


-- 
Best regards,

Li Yanrui (李延瑞)
___
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] mtxrun error

2010-07-02 Thread views63
2010/7/3 luigi scarso :
>> In this way the log said "ConTeXt  ver: 2010.05.24 13:05 MKIV
> version is defined in context.tex
> \edef\contextversion{2010.05.24 13:05}
>
>
>>fmt: 2010.7.2  int: english/english" why?
> Date of format generation (in your case  last time you have build your
> format is 2010.7.2)
>
> --
> luigi
> ___
> 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  had update, yesterday. sorry,I find the "context.tex" is replaced
by the old one(ConTeXt  ver: 2010.05.24 13:05 ) after update.
___
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] mtxrun error

2010-07-03 Thread Mojca Miklavec
Li Yanrui,

thanks a lot for the patch and sorry for the delay. It's supposed to
be fixed now, but reports of contrary observations are always welcome.

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
___


Re: [NTG-context] mtxrun error

2010-07-03 Thread luigi scarso
On Sat, Jul 3, 2010 at 11:23 PM, Mojca Miklavec
 wrote:
> Li Yanrui,
>
> thanks a lot for the patch and sorry for the delay. It's supposed to
> be fixed now, but reports of contrary observations are always welcome.
it's ok on linux 32bit
-- 
luigi
___
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] mtxrun error

2013-02-17 Thread Alessandro Perucchi
Hello,

Apparently nobody is interested in correcting this error on Mac OS X :-D

Well I've found that in the folder /System/Library/Fonts all the .otf are not 
able to be found by the mtxrun --script fonts --reload

In my case here are the fonts on my system which are not able to be processed:

AppleSDGothicNeo-Bold.otf
AppleSDGothicNeo-Regular.otf
ヒラギノ明朝 ProN W3.otf
ヒラギノ明朝 ProN W6.otf
ヒラギノ角ゴ ProN W3.otf
ヒラギノ角ゴ ProN W6.otf

I've tried to remove everything and it works.
Then I add one by one, and each one of them cause the error.

Somebody has had this kind of problems?

I've tested also with:

$ context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file: 
/Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.02.13 18:06


Sincerely yours,
Alessandro

On 9 Feb, 2013, at 20:21, Alessandro Perucchi  wrote:

> Hello,
> 
> I wanted to check all the fonts recognised by context on my laptop.
> 
> So I did 
> 
> $ mtxrun --script fonts --list '*'
> 
> system  | logs | lua: compiling 
> /Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma
>  into 
> /Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc
> system  | logs | fatal error in "unknown"
> fonts   | names | warnings are disabled (tracker 'fonts.warnings')
> fonts   | names | identifying tree font files with suffix otf
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-project 
> for otf files
> fonts   | names | 6 entries found, 0 otf files checked, 0 okay
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-fonts 
> for otf files
> fonts   | names | 6 entries found, 0 otf files checked, 0 okay
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-local 
> for otf files
> fonts   | names | 6 entries found, 0 otf files checked, 0 okay
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-modules 
> for otf files
> fonts   | names | 978 entries found, 0 otf files checked, 0 okay
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-context 
> for otf files
> fonts   | names | 2167 entries found, 1 otf files checked, 1 okay
> ...
> fonts   | names | identifying system font files with suffix otf
> fonts   | names | adding path from OSFONTDIR: 
> /Users/ptitvert/Library/Fonts
> fonts   | names | adding path from OSFONTDIR: /Library/Fonts
> fonts   | names | adding path from OSFONTDIR: /System/Library/Fonts
> fonts   | names | globbing path /Users/ptitvert/Library/Fonts/**.otf
> fonts   | names | globbing path /Library/Fonts/**.otf
> fonts   | names | globbing path /System/Library/Fonts/**.otfAssertion 
> failed: (kpse->program_name), function kpathsea_cnf_get, file 
> ../../../source/texk/kpathsea/cnf.c, line 255.
> Abort
> 
> 
> Im using
> 
> $ context --version
> 
> mtx-context | ConTeXt Process Management 0.60
> mtx-context |
> mtx-context | main context file: 
> /Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv
> mtx-context | current version: 2013.02.05 22:32
> 
> I've also tried the "current" I get another error:
> 
> $ mtxrun --script fonts --list '*'
> /Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index 
> field 'loaders' (a nil value)
> 
> $ context --version
> /Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index 
> field 'loaders' (a nil value)
> 
> Keep in mind that in both case I've done a plain install
> 
> ./first-setup.sh --modules=all --context=beta
> 
> and 
> 
> ./first-setup.sh --modules=all --context=current
> 
> And I'm using Mac OS X 10.8.2
> 
> Sincerely yours,
> Alessandro
> 
> ___
> 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] mtxrun error

2013-02-17 Thread Alessandro Perucchi
Hello,

Apparently nobody is interested in correcting this error on Mac OS X :-D

Well I've found that in the folder /System/Library/Fonts all the .otf are not 
able to be found by the mtxrun --script fonts --reload

In my case here are the fonts on my system which are not able to be processed:

AppleSDGothicNeo-Bold.otf
AppleSDGothicNeo-Regular.otf
ヒラギノ明朝 ProN W3.otf
ヒラギノ明朝 ProN W6.otf
ヒラギノ角ゴ ProN W3.otf
ヒラギノ角ゴ ProN W6.otf

I've tried to remove everything and it works.
Then I add one by one, and each one of them cause the error.

Somebody has had this kind of problems?

I've tested also with:

$ context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file: 
/Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.02.13 18:06


Sincerely yours,
Alessandro

On 9 Feb, 2013, at 20:21, Alessandro Perucchi  wrote:

> Hello,
> 
> I wanted to check all the fonts recognised by context on my laptop.
> 
> So I did 
> 
> $ mtxrun --script fonts --list '*'
> 
> system  | logs | lua: compiling 
> /Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma
>  into 
> /Users/ptitvert/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc
> system  | logs | fatal error in "unknown"
> fonts   | names | warnings are disabled (tracker 'fonts.warnings')
> fonts   | names | identifying tree font files with suffix otf
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-project 
> for otf files
> fonts   | names | 6 entries found, 0 otf files checked, 0 okay
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-fonts 
> for otf files
> fonts   | names | 6 entries found, 0 otf files checked, 0 okay
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-local 
> for otf files
> fonts   | names | 6 entries found, 0 otf files checked, 0 okay
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-modules 
> for otf files
> fonts   | names | 978 entries found, 0 otf files checked, 0 okay
> fonts   | names | scanning /Users/ptitvert/context/tex/texmf-context 
> for otf files
> fonts   | names | 2167 entries found, 1 otf files checked, 1 okay
> ...
> fonts   | names | identifying system font files with suffix otf
> fonts   | names | adding path from OSFONTDIR: 
> /Users/ptitvert/Library/Fonts
> fonts   | names | adding path from OSFONTDIR: /Library/Fonts
> fonts   | names | adding path from OSFONTDIR: /System/Library/Fonts
> fonts   | names | globbing path /Users/ptitvert/Library/Fonts/**.otf
> fonts   | names | globbing path /Library/Fonts/**.otf
> fonts   | names | globbing path /System/Library/Fonts/**.otfAssertion 
> failed: (kpse->program_name), function kpathsea_cnf_get, file 
> ../../../source/texk/kpathsea/cnf.c, line 255.
> Abort
> 
> 
> Im using
> 
> $ context --version
> 
> mtx-context | ConTeXt Process Management 0.60
> mtx-context |
> mtx-context | main context file: 
> /Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv
> mtx-context | current version: 2013.02.05 22:32
> 
> I've also tried the "current" I get another error:
> 
> $ mtxrun --script fonts --list '*'
> /Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index 
> field 'loaders' (a nil value)
> 
> $ context --version
> /Users/ptitvert/context/tex/texmf-osx-64/bin/mtxrun:15228: attempt to index 
> field 'loaders' (a nil value)
> 
> Keep in mind that in both case I've done a plain install
> 
> ./first-setup.sh --modules=all --context=beta
> 
> and 
> 
> ./first-setup.sh --modules=all --context=current
> 
> And I'm using Mac OS X 10.8.2
> 
> Sincerely yours,
> Alessandro
> 
> ___
> 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] mtxrun error

2013-02-17 Thread Philipp Gesang
Hi Alessandro!

·

> Apparently nobody is interested in correcting this error on Mac OS X :-D

Afaict it’s not OSX related.

> Well I've found that in the folder /System/Library/Fonts all the .otf are not 
> able to be found by the mtxrun --script fonts --reload
> 
> In my case here are the fonts on my system which are not able to be processed:
> 
> AppleSDGothicNeo-Bold.otf
> AppleSDGothicNeo-Regular.otf
> ヒラギノ明朝 ProN W3.otf
> ヒラギノ明朝 ProN W6.otf
> ヒラギノ角ゴ ProN W3.otf
> ヒラギノ角ゴ ProN W6.otf
> 
> I've tried to remove everything and it works.
> Then I add one by one, and each one of them cause the error.
> 
> Somebody has had this kind of problems?

See:

http://www.ntg.nl/pipermail/ntg-context/2013/071471.html

Regards
Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpSxyhNrXOwZ.pgp
Description: PGP signature
___
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] mtxrun error

2013-02-18 Thread Hans Hagen

On 2/17/2013 9:07 PM, Philipp Gesang wrote:

Hi Alessandro!

·


Apparently nobody is interested in correcting this error on Mac OS X :-D


Afaict it’s not OSX related.


no .. binary so you have to wait till a new luatex release shows up (it 
only affects a few fonts)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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] mtxrun / fonts

2009-05-13 Thread Mohamed Bana

i tend to use --pattern, is that wrong?

$ mtxrun --script fonts --list --info --pattern="*minion*"
MTXrun | fontname: minionprobold
MTXrun | fullname: MinionPro-Bold
MTXrun | filename: /media/sdb1/Fonts/Minion Pro/MinionPro-Bold.otf
MTXrun |
MTXrun | fontname: minionproboldcapt
MTXrun | fullname: MinionPro-BoldCapt
MTXrun | filename: /media/sdb1/Fonts/Minion Pro/MinionPro-BoldCapt.otf
MTXrun |
.
.
.


btw, the new output is much more intuitive.

Wolfgang Schuster wrote:

Hi Hans,

the following produced a list with all font features for Minion Pro but 
it did no longer work.


mtxrun --script fonts --list --info minionproregular

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
___


[NTG-context] mtxrun problem "HEXsum"

2009-05-15 Thread Henning Hraban Ramm
(Sorry for double-posting, but my first message didn't show up yet,  
maybe it's lost. This one is corrected anyway.)


As far as I skimmed the discussions of the last days, this didn't show  
up yet:


In my LilyPond module I call the program like so:

\def\LP{mtxrun --ifchanged="\lily!filename.tmp" --exec bin:lilypond - 
dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete- 
intermediate-files "\lily!filename.tmp"}
\def\PDF{mtxrun --ifchanged="\lily!filename.eps" pstopdf "\lily! 
filename.eps"}


\executesystemcommand{\LP}
\executesystemcommand{\PDF}

The former definition results in this call:

mtxrun --ifchanged="c_whatshallwedo-lilypond-1.tmp" --exec  
bin:lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts - 
ddelete-intermediate-files "c_whatshallwedo-lilypond-1.tmp"


The .tmp file exists and contains the right LilyPond code.
But I get an error like this from the LP call:

##
.../texmf/tex/texmf-osx-intel/bin/mtxrun:1953: attempt to call field  
'HEXsum' (a nil value)

##

Line 1953 is:

return md5.HEXsum(data)

Looks like a bug in mtxrun to me.
Lua MD5 docs at http://www.keplerproject.org/md5/manual.html#lua_api  
say, there'd be only "sum" and "sumhexa" methods.
Replacing "HEXsum" with "sum" works (.md5 files are written),  
"sumhexa" gives the same error as above.


But it seems LilyPond is called now every time, ignoring the checksum,  
so simply "sum" at that one place isn't enough.



Further, the PDF call gives:

MTXrun | file 'c_whatshallwedo-lilypond-1.eps' is unchanged

Even if the .eps file doesn't exist at all.



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___
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
___


[NTG-context] mtxrun initialization bug

2009-05-20 Thread Alan BRASLAU
I did a fresh install of the minimals today and observed a fleeting, obscure 
mtxrun bug:
$ context myfile
did not find the script mtx-context.lua
$ mtxrun --script /usr/local/context/tex/texmf-context/\
scripts/context/lua/mtx-context.lua myfile
ran fine, as now does all subsequent runs of "context myfile".
So something gets initialized, but is not found by default.
You will only notice this upon a (totally) fresh install.

Alan

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


Re: [NTG-context] mtxrun --find-file

2011-02-02 Thread luigi scarso
On Wed, Feb 2, 2011 at 12:29 PM, Hans van der Meer  wrote:
> Why does --find-file gives an error:
>
> 106 beta: mtxrun --find-file catc-ini.mkiv
> ...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to 
> call field '?' (a table value)
> 107 beta: mtxrun --find-file catc-ini
> ...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to 
> call field '?' (a table value)
> 108 beta:
a bug, I suppose.
You can use
$> mtxrun --find-path catc-ini.mkiv

-- 
luigi
___
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] mtxrun font patterns

2020-01-08 Thread Hans Hagen

On 1/7/2020 11:33 PM, Henning Hraban Ramm wrote:

I just recognized that mtxrun’s pattern matching is a bit off.

E.g. if I look for

mtxrun --script fonts --list --all --pattern=roboto

I get

roboto   roboto    robotoregular Roboto-Regular.ttf
robotocondensednormal    robotocondensed   robotocondenseditalic 
RobotoCondensed-Italic.ttf
robotocondensedregular   robotocondensed   robotocondensedlight 
RobotoCondensed-Light.ttf
robotoitalic roboto    robotoblackitalic 
Roboto-BlackItalic.ttf
robotomononormal robotomono    robotomonoitalic 
RobotoMono-Italic.ttf
robotomonoregular    robotomono    robotomonolight 
RobotoMono-Light.ttf

robotonormal roboto    robotoitalic Roboto-Italic.ttf
robotoregular    roboto    robotoblack Roboto-Black.ttf
robotoslablight  robotoslab    robotoslabextralight 
RobotoSlab-ExtraLight.ttf
robotoslabnormal robotoslab    robotoslabregular 
RobotoSlab-Regular.ttf
robotoslabregular    robotoslab    robotoslabblack 
RobotoSlab-Black.ttf


But I’ve several more faces installed. ConTeXt finds them with

mtxrun --script fonts --list --all --pattern=robot
(ROBOT, not ROBOTO)

as

roboto   roboto    robotoregular
Roboto-Regular.ttf
robotoblack  roboto    robotoblack
Roboto-Black.ttf
robotoblackitalic    roboto    robotoblackitalic
Roboto-BlackItalic.ttf
robotobold   roboto    robotobold
Roboto-Bold.ttf
robotobolditalic roboto    robotobolditalic
Roboto-BoldItalic.ttf
robotocondensed  robotocondensed   robotocondensedregular
RobotoCondensed-Regular.ttf
robotocondensedbold  robotocondensed   robotocondensedbold
RobotoCondensed-Bold.ttf
robotocondensedbolditalic    robotocondensed   robotocondensedbolditalic 
    RobotoCondensed-BoldItalic.ttf
robotocondenseditalic    robotocondensed   robotocondenseditalic
RobotoCondensed-Italic.ttf
robotocondensedlight robotocondensed   robotocondensedlight
RobotoCondensed-Light.ttf
robotocondensedlightitalic   robotocondensed 
robotocondensedlightitalic   RobotoCondensed-LightItalic.ttf
robotocondensednormal    robotocondensed   robotocondenseditalic
RobotoCondensed-Italic.ttf
robotocondensedregular   robotocondensed   robotocondensedregular
RobotoCondensed-Regular.ttf
robotoitalic roboto    robotoitalic
Roboto-Italic.ttf
robotolight  roboto    robotolight
Roboto-Light.ttf
robotolightitalic    roboto    robotolightitalic
Roboto-LightItalic.ttf
robotomedium roboto    robotomedium
Roboto-Medium.ttf
robotomediumitalic   roboto    robotomediumitalic
Roboto-MediumItalic.ttf
robotomono   robotomono    robotomonoregular
RobotoMono-Regular.ttf
robotomonobold   robotomono    robotomonobold
RobotoMono-Bold.ttf
robotomonobolditalic robotomono    robotomonobolditalic
RobotoMono-BoldItalic.ttf
robotomonoitalic robotomono    robotomonoitalic
RobotoMono-Italic.ttf
robotomonolight  robotomono    robotomonolight
RobotoMono-Light.ttf
robotomonolightitalic    robotomono    robotomonolightitalic
RobotoMono-LightItalic.ttf
robotomonomedium robotomono    robotomonomedium
RobotoMono-Medium.ttf
robotomonomediumitalic   robotomono    robotomonomediumitalic
RobotoMono-MediumItalic.ttf
robotomononormal robotomono    robotomonoitalic
RobotoMono-Italic.ttf
robotomonoregular    robotomono    robotomonoregular
RobotoMono-Regular.ttf
robotomonothin   robotomono    robotomonothin
RobotoMono-Thin.ttf
robotomonothinitalic robotomono    robotomonothinitalic
RobotoMono-ThinItalic.ttf
robotonormal roboto    robotoitalic
Roboto-Italic.ttf
robotoregular    roboto    robotoregular
Roboto-Regular.ttf
robotoslabblack  robotoslab    robotoslabblack
RobotoSlab-Black.ttf
robotoslabbold   robotoslab    robotoslabbold
RobotoSlab-Bold.ttf
robotoslabextrabold  robotoslab    robotoslabextrabold
RobotoSlab-ExtraBold.ttf
robotoslabextralight robotoslab    robotoslabextralight
RobotoSlab-ExtraLight.ttf
robotoslablight  robotoslab    robotoslablight
RobotoSlab-Light.ttf
robotoslabmedium robotoslab    robotoslabmedium
RobotoSlab-Medium.ttf
robotoslabnormal robotoslab    robotoslabregular
RobotoSlab-Regular.ttf
robotoslabregular    robotoslab    robotoslabregular
RobotoSlab-Regular.ttf
robotoslabsemibold   robotoslab    robotoslabsemibold
Rob

Re: [NTG-context] mtxrun exit code

2020-05-29 Thread Marco Patzer
On Fri, 29 May 2020 11:20:22 +0200
Hans van der Meer  wrote:

> I am producing a series of files in a shell script with mtxrun
> --autogenerate --script context input Doing exit mtxrun... shows
> there is no exit number to test in the shell

The exit code from mtxrun works here:

printf '%s\n' '\bye' > good.tex && mtxrun --autogenerate --script context 
good.tex; echo $?
0

printf '%s\n' '\by' > bad.tex && mtxrun --autogenerate --script context 
bad.tex; echo $?
1

Marco
___
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] mtxrun server help broken

2012-11-20 Thread Thomas A. Schmitz


Hi all,

with current minimals, the help server appears to be broken. Running

 mtxrun --script server --start --auto

the server starts up, but when I click on "help," I get a page with the 
helpful hint


ConTeXt Help Information
no definition
some error

There is no error message on the terminal.

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
___


[NTG-context] mtxrun --noquotes on windows

2009-04-10 Thread Aditya Mahajan

Hi,

It seems that mtxrun --noquotes behaves differently on windows and linux. 
Can someone on windows (who has vim) check the following. Run


mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"

You will enter in vim. Press :qa! to exit vim. What does the output on the 
terminal say? On my linux machine, I get


MTXrun | executing: vim -u NONE -c "set tabstop=8" test.tex

Andy Wong tested it on windows and he gets

MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex

Notice the spurious " before test.tex. This causes t-vim to fail on 
windows. Do others on windows get the same behavour? I do not see a reason 
why mtxrun should behave differently on linux and windows.


Thanks,
Aditya

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


Re: [NTG-context] mtxrun problem "HEXsum"

2009-05-16 Thread Hans Hagen

Henning Hraban Ramm wrote:


##
/texmf/tex/texmf-osx-intel/bin/mtxrun:1953: attempt to call field 
'HEXsum' (a nil value)

##


should be

return md5.HEX(data)


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


Re: [NTG-context] mtxrun problem "HEXsum"

2009-05-16 Thread Henning Hraban Ramm

Am 2009-05-16 um 13:26 schrieb Hans Hagen:

/texmf/tex/texmf-osx-intel/bin/mtxrun:1953: attempt to call  
field 'HEXsum' (a nil value)

should be

   return md5.HEX(data)



Yes, that seems to fix the issue. Thank you!


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] mtxrun initialization bug

2009-05-21 Thread Hans Hagen

Alan BRASLAU wrote:
I did a fresh install of the minimals today and observed a fleeting, obscure 
mtxrun bug:

$ context myfile
did not find the script mtx-context.lua
$ mtxrun --script /usr/local/context/tex/texmf-context/\
scripts/context/lua/mtx-context.lua myfile
ran fine, as now does all subsequent runs of "context myfile".
So something gets initialized, but is not found by default.
You will only notice this upon a (totally) fresh install.


mtxrun and luatools are kind of selfcontained contrary to context that 
needs mtxrun so that might explain part of it



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


[NTG-context] mtxrun error with script pattern

2024-07-15 Thread Marcus Vinicius Mesquita
Dear List

When using:

mtxrun --script pattern --convert --path=./source --destination=./patterns

with the file hyph-pt.tex v. 1.4 proposed by Leo Araujo and Aline Benevides,
(see: 
https://github.com/hyphenation/tex-hyphen/pull/62/commits/79f4327c7c94c435cfcb73ea61c001a525fc818e)

I got the following message:

…
mtx-patterns| converting language pt, file hyph-pt
mtx-patterns| using tex file hyph-pt.txt
lua error : function call:
...t/tex/texmf-context/scripts/context/lua/mtx-patterns.lua:331: bad
argument #1 to 'for iterator' (table expected, got string)

I tried also using the old version 1.3 and got the same message.

How can this error be corrected?
I'm using context version: 2024.06.21 23:45

Kind regards

Marcus Vinicius


-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
corpo nem seus membros, por ser descanso da alma, primavera do
coração, distração do aflito, entretenimento do solitário, e viático
do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] mtxrun uses 'nil' for platform

2018-04-15 Thread Vladimir Lomov
Hello list,
recent update of context suite (beta) changed something in the code of
'mtxrun' so now it shows me a warning:
  ${CONTEXT}/bin/mtxrun:20683: attempt to concatenate a nil value (field 
'platform')
I didn't notice this warning earilier.

The line 20683 in 'mtxrun' is
local texos="texmf-"..os.platform

To check the return of 'os.platform' I made small lua script and run it
as
  mtxrun --script SCRIPT --platform=linux-64
It returned 'nil nil'. Is this expected behavior?

% SCRIPT.lua
--- 8< 
local plat=os.platform
local plat2=os.getenv("MTX_PLATFORM")
print("platform = ", plat)
print("platform2 = ", plat2)
--- 8< 

---
WBR, Vladimir Lomov


-- 
Hacking's just another word for nothing left to kludge.
___
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] mtxrun fails to install fonts

2018-07-03 Thread Stanislav Sokolenko

Dear list,

I have what seems to be an OS- or ConTeXt version-specific issue with 
mtxrun installing fonts.


I've been trying to add new truetype fonts (specifically Archivo ttf 
files) on Arch Linux using the following command:


export OSFONTDIR=~/.fonts//; mtxrun --script font --reload

And I've been using the following to check the installation:

mtxrun --script font --list --all --pattern=*archi*

It seems like a relatively new version of ConTeXt on Arch Linux 
(2018.04.04 00:51) recognizes but does not install the ttf files located 
in ~/.fonts/. The (shortened) output is:


fonts   | names | identifying system font files with suffix 'ttf'
fonts   | names | globbing path '/home/stanislav/.fonts/**.ttf'
fonts   | names | identifying system font files with suffix 'TTF'
fonts   | names | globbing path '/home/stanislav/.fonts/**.TTF'
fonts   | names | 8 system files identified, 0 skipped, 0 
duplicates, 8 hash entries added, runtime 0.006 seconds


But when I check the installation, no Archivo files are found.

Strangely, an older installation on Linux Mint (2015.05.18 12:26) has no 
problems with the same ttf files:


fonts   | names | globbing path '/home/stanislav/.fonts/**.ttf'
fonts   | names | identifying system font files with suffix 'TTF'
fonts   | names | globbing path '/home/stanislav/.fonts/**.TTF'
fonts   | names | 8 system files identified, 0 skipped, 0 
duplicates, 8 hash entries added, runtime 0.000 seconds


And the check:

mtxrun --script font --list --all --pattern=*archi*

archivo archivomedium 
/home/stanislav/.fonts/typecatcher/Archivo_500.ttf
archivobold archivobold 
/home/stanislav/.fonts/typecatcher/Archivo_700.ttf
archivobolditalic   archivobolditalic 
/home/stanislav/.fonts/typecatcher/Archivo_700italic.ttf
archivodemi archivosemibold 
/home/stanislav/.fonts/typecatcher/Archivo_600.ttf
archivoitalic   archivoitalic 
/home/stanislav/.fonts/typecatcher/Archivo_italic.ttf
archivomedium   archivomedium 
/home/stanislav/.fonts/typecatcher/Archivo_500.ttf
archivomediumitalic archivomediumitalic 
/home/stanislav/.fonts/typecatcher/Archivo_500italic.ttf
archivonormal   archivoitalic 
/home/stanislav/.fonts/typecatcher/Archivo_italic.ttf
archivoregular  archivoregular 
/home/stanislav/.fonts/typecatcher/Archivo_regular.ttf
archivosemibold archivosemibold 
/home/stanislav/.fonts/typecatcher/Archivo_600.ttf
archivosemibolditalic   archivosemibolditalic 
/home/stanislav/.fonts/typecatcher/Archivo_600italic.ttf


I've been searching for a couple of days and I'm at a loss. Is there a 
way to check why the identified system files aren't being installed?


Thanks,

Stan

___
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] mtxrun --script server help broken

2013-07-03 Thread Thomas A. Schmitz

Hi,

was trying to use the help server this morning while I was offline, and 
it doesn't work, AFAICS. Here's the error:


mtx-server  | running at port: 31415
mtx-server  | document root: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua

mtx-server  | main index file: unknown
mtx-server  | scripts subpath: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua
mtx-server  | context services: 
http://localhost:31415/mtx-server-ctx-startup.lua

mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /mtx-server-ctx-startup.lua HTTP/1.1
mtx-server  | requested url: /mtx-server-ctx-startup.lua
mtx-server  | requested action: /mtx-server-ctx-startup.lua
mtx-server  | performing action: /mtx-server-ctx-startup.lua
mtx-server  | locating script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
mtx-server  | loading script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua

mtx-server  | return type: function
mtx-server  | saving script: function
mtx-server  | running script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua

mtx-server  | time spent with client: 0.000 seconds
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /favicon.ico HTTP/1.1
mtx-server  | requested url: /favicon.ico
mtx-server  | requested action: /favicon.ico
mtx-server  | performing action: /favicon.ico
mtx-server  | requested file '/favicon.ico'
mtx-server  | handling error 404: Not Found
mtx-server  | time spent with client: 0.000 seconds
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /mtx-server-ctx-help.lua HTTP/1.1
mtx-server  | requested url: /mtx-server-ctx-help.lua
mtx-server  | requested action: /mtx-server-ctx-help.lua
mtx-server  | performing action: /mtx-server-ctx-help.lua
mtx-server  | locating script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua
mtx-server  | loading script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua

mtx-server  | return type: nil
mtx-server  | handling error 404: Not Found
mtx-server  | time spent with client: 0.000 seconds
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /favicon.ico HTTP/1.1
mtx-server  | requested url: /favicon.ico
mtx-server  | requested action: /favicon.ico
mtx-server  | performing action: /favicon.ico
mtx-server  | requested file '/favicon.ico'
mtx-server  | handling error 404: Not Found
mtx-server  | time spent with client: 0.000 seconds

From time to time, it's wonderful to have offline help (and I still 
miss Patrick's emacs etexshow...)


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
___


[NTG-context] mtxrun can’t find the scripts

2008-04-16 Thread Olivier Guéry
Hello,

I still can't run
mtxrun --scripts fonts --mtxrun --reload the output give me :
MtxRun | unknown script: fonts

I tried with my context installation in /usr/share/texmf and with
context minimal.

Digging in my directories, I supose that thoses scripts are the mtx-*
in $LOCALTEX/scripts/context/lua
I can't run any of them (assuming that the syntax is mtxrun --scripts
{the name of the script without the « mtx- » prefix and « .lua »
sufix}).

I tried do chmod +x them… nothing

I haven't see problems in the install process… (exept that I must run,
ctxtools --update and texexec --make --all --{pdf,xe,lu}tex being
root, but my user don't have write rights on these directories, so…)
Any idear ?

Cheers,
Olivier.

-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
Olivier [EMAIL PROTECTED] http://nemolivier.blogspot.com
___
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
___


[NTG-context] mtxrun issue in new beta

2011-02-02 Thread Florian Wobbe
Hi,

I get
  mtxrun:12090: bad argument #1 to 'gsub' (string expected, got nil)
with texexec (mtxrun --usekpse) in current beta.

Best,
Florian

___
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] mtxrun --script metapost and fonts?

2011-05-10 Thread Michal Kvasnička
Hallo.

I've got a problem with metapost -> pdf translation. Since mptopdf is still
broken in the last ConTeXt beta in the minimal distribution, I use "mtxrun
--script metapost --split". It works well, only it ignores font setting. My
code is like this:


verbatimtex
  \definetypeface [times] [rm] [serif] [times] [default] [encoding=ec]
  \definetypeface [times] [mm] [math] [times] [default]  [encoding=ec]
  \setupbodyfont [times,10pt]
etex;

beginfig(1);
  label(btex A $a_i$ etex,origin);
endfig;

end.


I believe that the code in the verbatimtex ... etex environment should
switch the major font to Times (it works with "texexec --mptex"). However,
it is ignored by the "mtxrun --script metapost --split" script---Computer
Modern in 12pt is used instead of Times in 10pt. Is there any way around
this problem? Many thanks for your help.

Best wishes,
Michal Kvasnicka
___
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] mtxrun fontloader in recent standalone

2020-04-22 Thread Benjamin Buchmuller
I’ve just updated to the most recent standalone 

ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 2020.4.22 (LuaTeX 1.11.1)

and I’m running now into troubles with system font indexing:

mtxrun --script fonts --reload

locates fonts in macOS directories appropriately (*.afm fonts placed in 
.../tex/texmf-fonts are not found, but at the moment I don’t care too much), 
however it resolves only to a single font variant for *.ttc instead of all 
variants:

mtxrun --script fonts --list --all --pattern=helvetica

helvetica helvetica
helveticalightoblique /System/Library/Fonts/Helvetica.ttc   
 6
helveticalightoblique helvetica
helveticalightoblique /System/Library/Fonts/Helvetica.ttc   
 6
helveticaneuedeskinterfaceheavy   helveticaneuedeskinterface   
helveticaneuedeskinterfaceheavy   
/System/Library/Fonts/HelveticaNeueDeskInterface.ttc   10
helveticaneuethinitalic   helveticaneue
helveticaneuethinitalic   /System/Library/Fonts/HelveticaNeue.ttc   
 14

As a consequence, when I run

\definefontfamily[mainface][ss][Helvetica Neue]
\setupbodyfont[mainface, 12pt, sans]

I get the light oblique variant instead of the regular one. I have tried to fix 
this via a 

\definefontfamily[mainface][ss][Helvetica Neue][tf=style:normal]

but apparently I understand too little about this setup altogether …

Thanks already for any suggestions!


Benjamin
___
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] mtxrun server help broken

2012-11-20 Thread Sietse Brouwer
> with current minimals, the help server appears to be broken. Running
>
>  mtxrun --script server --start --auto
>
> the server starts up, but when I click on "help," I get a page with [an error]

Already present in 2012.11.08 12:14, too.
--Sietse
___
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] mtxrun server help broken

2012-11-21 Thread Hans Hagen

On 11/20/2012 2:42 PM, Sietse Brouwer wrote:

with current minimals, the help server appears to be broken. Running

  mtxrun --script server --start --auto

the server starts up, but when I click on "help," I get a page with [an error]


Already present in 2012.11.08 12:14, too.



should work again

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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] mtxrun server help broken

2012-11-21 Thread Thomas A. Schmitz

On 11/21/2012 05:10 PM, Hans Hagen wrote:

with current minimals, the help server appears to be broken. Running

  mtxrun --script server --start --auto

the server starts up, but when I click on "help," I get a page with
[an error]


Already present in 2012.11.08 12:14, too.



should work again


nope, afraid I get the same error with 2012.11.21 16:11.

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] mtxrun server help broken

2012-11-21 Thread Hans Hagen

On 11/21/2012 5:14 PM, Thomas A. Schmitz wrote:

On 11/21/2012 05:10 PM, Hans Hagen wrote:

with current minimals, the help server appears to be broken. Running

  mtxrun --script server --start --auto

the server starts up, but when I click on "help," I get a page with
[an error]


Already present in 2012.11.08 12:14, too.



should work again


nope, afraid I get the same error with 2012.11.21 16:11.


oh, it's the help one .. i fixed the font one

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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] mtxrun server help broken

2012-11-23 Thread Thomas A. Schmitz

On 11/21/2012 05:14 PM, Thomas A. Schmitz wrote:

nope, afraid I get the same error with 2012.11.21 16:11.

Thomas


OK, it works again with 2012.11.22 18:09. I'm just wondering: the help 
information is always at the very bottom of the list of commands, so one 
has to scroll all the way down (and there's no obvious way of seeing 
that something has happened at all unless one scrolls down) - has this 
always been the case? I seem to remember that it would open a frame in 
the main window, but I may be wrong.


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] mtxrun --noquotes on windows

2009-04-10 Thread Andy Wong
I think I may not write it clear in my previous email. I run the command as

mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\""

which got the mtxrun output has spurious " before test.tex. if omit the \"
around the test.tex, like this,

 mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"

there are no spurious " in mtxrun output. However, both will make vim open a
new file named "tabset=8" and the test.tex to be edited. That is the
problem. I guess under linux this command should open vim to edit the
test.tex only instead.


Andy


On Fri, Apr 10, 2009 at 1:40 PM, Aditya Mahajan  wrote:

> Hi,
>
> It seems that mtxrun --noquotes behaves differently on windows and linux.
> Can someone on windows (who has vim) check the following. Run
>
> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"
>
> You will enter in vim. Press :qa! to exit vim. What does the output on the
> terminal say? On my linux machine, I get
>
> MTXrun | executing: vim -u NONE -c "set tabstop=8" test.tex
>
> Andy Wong tested it on windows and he gets
>
> MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex
>
> Notice the spurious " before test.tex. This causes t-vim to fail on
> windows. Do others on windows get the same behavour? I do not see a reason
> why mtxrun should behave differently on linux and windows.
>
> Thanks,
> Aditya
>
>
> ___
> 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
___


Re: [NTG-context] mtxrun --noquotes on windows

2009-04-10 Thread Aditya Mahajan

On Fri, 10 Apr 2009, Andy Wong wrote:


I think I may not write it clear in my previous email. I run the command as

mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\""


If you quote the filename, then it should be

mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\" "

Notice the space before the last quote. This will open two files test.tex 
and "", but that it is ok. The last file is ignored by t-vim.



which got the mtxrun output has spurious " before test.tex. if omit the \"
around the test.tex, like this,

mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"

there are no spurious " in mtxrun output.


So it is not mtxrun's fault.


However, both will make vim open a
new file named "tabset=8"


You mean tabstop=8?


and the test.tex to be edited. That is the
problem. I guess under linux this command should open vim to edit the
test.tex only instead.


If vim is passed the correct command, I do not see why it should not 
execute it in the same way in windows. Try one more thing. Run


mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\" "

mtxrun should report that it is executing

vim -u NONE -c "set tabstop=8" "test.tex"

Execute the above command manually on the terminal. Do you get the same result 
in both cases?

Aditya




On Fri, Apr 10, 2009 at 1:40 PM, Aditya Mahajan  wrote:


Hi,

It seems that mtxrun --noquotes behaves differently on windows and linux.
Can someone on windows (who has vim) check the following. Run

mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"

You will enter in vim. Press :qa! to exit vim. What does the output on the
terminal say? On my linux machine, I get

MTXrun | executing: vim -u NONE -c "set tabstop=8" test.tex

Andy Wong tested it on windows and he gets

MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex

Notice the spurious " before test.tex. This causes t-vim to fail on
windows. Do others on windows get the same behavour? I do not see a reason
why mtxrun should behave differently on linux and windows.

Thanks,
Aditya


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


Re: [NTG-context] mtxrun --noquotes on windows

2009-04-10 Thread Andy Wong
Yes, if leave a space between the last two quotes, mtx output seems ok.

MTXrun |
MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex"
MTXrun |
But it still cause vim open two file named "tabstop=8" and "test.tex" to
edit. So it seems vim treat tabstop=8 as a file? that still a quotes
problem, right? I also test if there no space in quoted arguments, such as

mtxrun --noquotes bin:vim "-u NONE -c \"help\" \"test.tex\" "

This time vim will open the "test.tex" and  help window as expected. If any
command with space in -c parameter, vim can not correct executed.

manually execute the vim command:

vim -u NONE -c "set tabstop=8" "test.tex"

vim open the "test.tex" only to edit as expected.
Andy
On Fri, Apr 10, 2009 at 2:49 PM, Aditya Mahajan  wrote:

> On Fri, 10 Apr 2009, Andy Wong wrote:
>
> I think I may not write it clear in my previous email. I run the command as
>>
>> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\""
>>
>
> If you quote the filename, then it should be
>
 mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\" "
>
> Notice the space before the last quote. This will open two files test.tex
> and "", but that it is ok. The last file is ignored by t-vim.
>
> which got the mtxrun output has spurious " before test.tex. if omit the \"
>> around the test.tex, like this,
>>
>> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"
>>
>> there are no spurious " in mtxrun output.
>>
>
> So it is not mtxrun's fault.
>
> However, both will make vim open a
>> new file named "tabset=8"
>>
>
> You mean tabstop=8?
>
>  and the test.tex to be edited. That is the
>> problem. I guess under linux this command should open vim to edit the
>> test.tex only instead.
>>
>
> If vim is passed the correct command, I do not see why it should not
> execute it in the same way in windows. Try one more thing. Run
>
> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\" "
>
> mtxrun should report that it is executing
>
> vim -u NONE -c "set tabstop=8" "test.tex"
>
> Execute the above command manually on the terminal. Do you get the same
> result in both cases?
>
> Aditya
>
>
>
>
> On Fri, Apr 10, 2009 at 1:40 PM, Aditya Mahajan  wrote:
>>
>> Hi,
>>>
>>> It seems that mtxrun --noquotes behaves differently on windows and linux.
>>> Can someone on windows (who has vim) check the following. Run
>>>
>>> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"
>>>
>>> You will enter in vim. Press :qa! to exit vim. What does the output on
>>> the
>>> terminal say? On my linux machine, I get
>>>
>>> MTXrun | executing: vim -u NONE -c "set tabstop=8" test.tex
>>>
>>> Andy Wong tested it on windows and he gets
>>>
>>> MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex
>>>
>>> Notice the spurious " before test.tex. This causes t-vim to fail on
>>> windows. Do others on windows get the same behavour? I do not see a
>>> reason
>>> why mtxrun should behave differently on linux and windows.
>>>
>>> Thanks,
>>> Aditya
>>>
>>>
>>>
>>> ___
>>> 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
___


Re: [NTG-context] mtxrun --noquotes on windows

2009-04-10 Thread Aditya Mahajan

On Fri, 10 Apr 2009, Andy Wong wrote:


Yes, if leave a space between the last two quotes, mtx output seems ok.

MTXrun |
MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex"
MTXrun |
But it still cause vim open two file named "tabstop=8" and "test.tex" to
edit. So it seems vim treat tabstop=8 as a file? that still a quotes
problem, right? I also test if there no space in quoted arguments, such as


I am beginning to suspect that it is a shell problem rather than a mtxrun 
problem. Mtxrun passes the correct commands and quotes to the shell, but 
the shell for some reason ignores that.


Aditya
___
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
___


  1   2   >