Re: [NTG-context] mtxrun fails after update to ubuntu 11.04

2011-05-08 Thread Pontus Lurcock
On Sun 08 May 2011, S Barmeier wrote:

> Is there any savvy way to update to a newer release of ConTeXt
> without meddling too much with the existing texlive installation?

The best way is to install the minimals; it's a complete stand-alone
ConTeXt system that can go anywhere (including your home directory),
so you don't risk any complex interactions with existing TeX
installations.

Pont
___
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 fails after update to ubuntu 11.04

2011-05-08 Thread S Barmeier
Thank you for your reply!

mtxrun, luatools and context all --generate now, but trying to

mtxrun --script fonts --list --all

says it's missing a metatable (whatever that is):

[...]
MTXrun | fontnames: identifying tree font files with suffix afm
MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf for afm files
MTXrun | fontnames: 1691 entries found, 8 afm files checked, 8 okay
MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf-dist for afm
files
MTXrun | fontnames: 81835 entries found, 2237 afm files checked, 2237 okay
MTXrun | fontnames: identifying tree font files with suffix AFM
MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf for AFM files
MTXrun | fontnames: 1691 entries found, 0 AFM files checked, 0 okay
MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf-dist for AFM
files
MTXrun | fontnames: 81835 entries found, 0 AFM files checked, 0 okay
MTXrun | fontnames: 2245 tree files identified, 139 skipped, 100
duplicates, 2106 hash entries added, runtime 2.310 seconds
MTXrun | fontnames: identifying system font files with suffix otf
MTXrun | fontnames: adding path from OSFONTDIR: /usr/share/fonts
MTXrun | fontnames: adding path from OSFONTDIR: /usr/local/share/fonts
MTXrun | fontnames: adding path from OSFONTDIR: /usr/share/fonts
MTXrun | fontnames: adding path from OSFONTDIR: /usr/local/share/fonts
MTXrun | fontnames: globbing path
/usr/share/fonts/**.otf/usr/local/texlive/2010/bin/x86_64-linux/mtxrun:2625:
bad argument #1 to '(for generator)' (directory metatable expected, got nil)

Again, many thanks.
Severin

P.S.: Just out of curiosity: I was under the impression that the best
way to stay updated with both general TeX and ConTeXt was to run texlive
2010 and point your tlmgr to the tlcontrib repository. luatools gets
updated frequently, but the ConTeXt version is from July 2010.

Is there any savvy way to update to a newer release of ConTeXt without
meddling too much with the existing texlive installation?

On 05/08/2011 08:26 PM, Taco Hoekwater wrote:
> On 05/07/2011 02:49 PM, S Barmeier wrote:
>> Hi,
>>
>> After updating my system to ubuntu 11.04, all sorts of access
>> permissions seem to have changed. In particular, when compiling any
>> ConTeXt document, I get
>>
...
>>
>> Trying to mtxrun --script fonts --reload, it tells me
>>
>> MTXrun | resolvers: unable to save 'files' in
>> '/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/trees/1240e363db2f4c53de58379d2b0c6f6b.lua'
>>
>> (access error)
>> MTXrun | fontnames: unable to access database cache
>> MTXrun | fontnames: accessing the data table failed
>>
>> and similar errors. I've tried sudo mtxrun [...], but then the command
>> is not found.
>>
>> I hope the problem will be resolved by changing folder permissions, but
>> I'm not sure which folders are affected and which I should refrain from
>> changing.
> 
> You can change permissions of
> 
>   /usr/local/texlive/2010/texmf-cache/luatex-cache/context
> 
> and everything below it, but a nicer solution is to set TEXMFCACHE.
> 
> There are various options, but the easiest is
> 
>   set TEXMFCACHE=~/texmf-cache
> 
> in your shell's startup script (you have to create the path manually at
> first).
> 
> 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mtxrun fails after update to ubuntu 11.04

2011-05-08 Thread Taco Hoekwater

On 05/07/2011 02:49 PM, S Barmeier wrote:

Hi,

After updating my system to ubuntu 11.04, all sorts of access
permissions seem to have changed. In particular, when compiling any
ConTeXt document, I get

oad otf>  loading:
/usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf
(hash: lmmono8-regular)
load otf>  font loaded okay
load otf>  file size: 66268
load otf>  enhancing ...
load otf>  saving in cache:
/usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf
report | lua: compiling
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma
into
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tmctexluac:
cannot open
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma:
No such file or directory
luac: cannot open
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma:
No such file or directory

Trying to mtxrun --script fonts --reload, it tells me

MTXrun | resolvers: unable to save 'files' in
'/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/trees/1240e363db2f4c53de58379d2b0c6f6b.lua'
(access error)
MTXrun | fontnames: unable to access database cache
MTXrun | fontnames: accessing the data table failed

and similar errors. I've tried sudo mtxrun [...], but then the command
is not found.

I hope the problem will be resolved by changing folder permissions, but
I'm not sure which folders are affected and which I should refrain from
changing.


You can change permissions of

  /usr/local/texlive/2010/texmf-cache/luatex-cache/context

and everything below it, but a nicer solution is to set TEXMFCACHE.

There are various options, but the easiest is

  set TEXMFCACHE=~/texmf-cache

in your shell's startup script (you have to create the path manually at 
first).


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


[NTG-context] mtxrun fails after update to ubuntu 11.04

2011-05-07 Thread S Barmeier
Hi,

After updating my system to ubuntu 11.04, all sorts of access
permissions seem to have changed. In particular, when compiling any
ConTeXt document, I get

oad otf> loading:
/usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf
(hash: lmmono8-regular)
load otf> font loaded okay
load otf> file size: 66268
load otf> enhancing ...
load otf> saving in cache:
/usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf
report | lua: compiling
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma
into
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tmctexluac:
cannot open
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma:
No such file or directory
luac: cannot open
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma:
No such file or directory

Trying to mtxrun --script fonts --reload, it tells me

MTXrun | resolvers: unable to save 'files' in
'/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/trees/1240e363db2f4c53de58379d2b0c6f6b.lua'
(access error)
MTXrun | fontnames: unable to access database cache
MTXrun | fontnames: accessing the data table failed

and similar errors. I've tried sudo mtxrun [...], but then the command
is not found.

I hope the problem will be resolved by changing folder permissions, but
I'm not sure which folders are affected and which I should refrain from
changing.

Any help will be much appreciated.

Thank you,
Severin
___
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
___