ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Umathquad again - lots of mktexlsr errors
@ 2011-06-27 18:24 Hans van der Meer
  2011-06-27 18:31 ` luigi scarso
  0 siblings, 1 reply; 11+ messages in thread
From: Hans van der Meer @ 2011-06-27 18:24 UTC (permalink / raw)
  To: NTG ConTeXt

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

The ! Math error: parameter \Umathquad\displaystyle is not set. came up again.

Therefore decided to get new beta.
Now suddenly I get on the console what seem literaly hundredsds of thousands messages 
mktexlsr: : not a directory, skipping.
Has there been an infinite loop been crept in somewhere?

Used the scripts that always worked, nothing new.

[-- Attachment #2: first-setup.sh.zip --]
[-- Type: application/zip, Size: 1918 bytes --]

[-- Attachment #3: Type: text/plain, Size: 655 bytes --]

 plus 

#!/bin/bash
curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
chmod a+x ./first-setup.sh
mkdir tex
cd tex
ln -s ~/Library/texmf texmf-local
cd ..
sh ./first-setup.sh >first-setup.log
exit

I had the impression two months ago that the offending reference causing the Umathquad should be removed shortly. Wasn't that a private euler reference in one of the developing systems? 

This is: ConTeXt  ver: 2011.06.26 13:23 MKIV  fmt: 2011.6.27  int: english/english
and it still seems to be there. Please, can this be remedied.

The problem is: I cannot find my notes on how to solve it!

Hans van der Meer

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again - lots of mktexlsr errors
  2011-06-27 18:24 Umathquad again - lots of mktexlsr errors Hans van der Meer
@ 2011-06-27 18:31 ` luigi scarso
  2011-06-27 18:42   ` Hans van der Meer
  0 siblings, 1 reply; 11+ messages in thread
From: luigi scarso @ 2011-06-27 18:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jun 27, 2011 at 8:24 PM, Hans van der Meer <H.vanderMeer@uva.nl> wrote:
> The ! Math error: parameter \Umathquad\displaystyle is not set. came up again.
>
> Therefore decided to get new beta.
> Now suddenly I get on the console what seem literaly hundredsds of thousands messages
> mktexlsr: : not a directory, skipping.
> Has there been an infinite loop been crept in somewhere?
>
> Used the scripts that always worked, nothing new.
See  email  with Subject "problem running first-setup.sh"
-- 
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again - lots of mktexlsr errors
  2011-06-27 18:31 ` luigi scarso
@ 2011-06-27 18:42   ` Hans van der Meer
  2011-06-27 19:25     ` luigi scarso
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Hans van der Meer @ 2011-06-27 18:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ok, thanks. I understand the mktexlsr stuff is nothing serious.

But the "! Math error: parameter \Umathquad\displaystyle is not set." is very serious. I tried several things, as mtxrun --generate ; context --make en". Nothing good. I thought I remembered something about an opentype font euler.otf. But putting it somewhere in one of the font folders and regenerating doesn't work either.
I getting a bit nervous now....

Hans van der Meer

On 27 jun 2011, at 20:31, luigi scarso wrote:

> On Mon, Jun 27, 2011 at 8:24 PM, Hans van der Meer <H.vanderMeer@uva.nl> wrote:
>> The ! Math error: parameter \Umathquad\displaystyle is not set. came up again.
>> 
>> Therefore decided to get new beta.
>> Now suddenly I get on the console what seem literaly hundredsds of thousands messages
>> mktexlsr: : not a directory, skipping.
>> Has there been an infinite loop been crept in somewhere?
>> 
>> Used the scripts that always worked, nothing new.
> See  email  with Subject "problem running first-setup.sh"
> -- 
> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again - lots of mktexlsr errors
  2011-06-27 18:42   ` Hans van der Meer
@ 2011-06-27 19:25     ` luigi scarso
  2011-06-27 21:18       ` Umathquad again Hans van der Meer
  2011-06-27 20:20     ` Umathquad again - lots of mktexlsr errors Hans Hagen
  2011-06-27 20:38     ` Hans Hagen
  2 siblings, 1 reply; 11+ messages in thread
From: luigi scarso @ 2011-06-27 19:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jun 27, 2011 at 8:42 PM, Hans van der Meer <H.vanderMeer@uva.nl> wrote:
> Ok, thanks. I understand the mktexlsr stuff is nothing serious.
>
> But the "! Math error: parameter \Umathquad\displaystyle is not set." is very serious. I tried several things, as mtxrun --generate ; context --make en". Nothing good. I thought I remembered something about an opentype font euler.otf.
Latest minimals has still the mktexlsr error,
but I'm not able to reproduce  "! Math error: parameter
\Umathquad\displaystyle is not set."  --- do you have an example ?
-- 
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again - lots of mktexlsr errors
  2011-06-27 18:42   ` Hans van der Meer
  2011-06-27 19:25     ` luigi scarso
@ 2011-06-27 20:20     ` Hans Hagen
  2011-06-27 20:38     ` Hans Hagen
  2 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2011-06-27 20:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 27-6-2011 8:42, Hans van der Meer wrote:
> Ok, thanks. I understand the mktexlsr stuff is nothing serious.
>
> But the "! Math error: parameter \Umathquad\displaystyle is not set." is very serious. I tried several things, as mtxrun --generate ; context --make en". Nothing good. I thought I remembered something about an opentype font euler.otf. But putting it somewhere in one of the font folders and regenerating doesn't work either.
> I getting a bit nervous now....

What is your font definition? do you define a proper math font?

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again - lots of mktexlsr errors
  2011-06-27 18:42   ` Hans van der Meer
  2011-06-27 19:25     ` luigi scarso
  2011-06-27 20:20     ` Umathquad again - lots of mktexlsr errors Hans Hagen
@ 2011-06-27 20:38     ` Hans Hagen
  2011-06-27 21:05       ` luigi scarso
  2 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2011-06-27 20:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 27-6-2011 8:42, Hans van der Meer wrote:
> Ok, thanks. I understand the mktexlsr stuff is nothing serious.

it looks like mktexlsr has a bug

- when run with "" on windows it tries to hash /
- when run on linux with "" it loops

any unknown path does this

so, i think that maybe when there is an empty path given or in the texmf 
spec, that this problem surfaces

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again - lots of mktexlsr errors
  2011-06-27 20:38     ` Hans Hagen
@ 2011-06-27 21:05       ` luigi scarso
  2011-06-27 21:26         ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: luigi scarso @ 2011-06-27 21:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jun 27, 2011 at 10:38 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 27-6-2011 8:42, Hans van der Meer wrote:
>>
>> Ok, thanks. I understand the mktexlsr stuff is nothing serious.
>
> it looks like mktexlsr has a bug
>
> - when run with "" on windows it tries to hash /
> - when run on linux with "" it loops
>
> any unknown path does this
>
> so, i think that maybe when there is an empty path given or in the texmf
> spec, that this problem surfaces
>
> 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
> ___________________________________________________________________________________
>
imo, a shift is missed
From line 73 of mktexlsr, look at
# ADD THIS
 below

# A copy of some stuff from mktex.opt, so we can run in the presence of
# terminally damaged ls-R files.
while test $# -gt 0; do
  if test "x$1" = x--help || test "x$1" = x-help; then
    echo "$usage"
    exit 0
  elif test "x$1" = x--version || test "x$1" = x-version; then
    echo "`basename $0` $version"
    kpsewhich --version
    exit 0
  elif test "x$1" = x--verbose || test "x$1" = x-verbose; then
    verbose=true
  elif test "x$1" = x--dry-run || test "x$1" = x-n; then
    dry_run=true
  elif test "x$1" = x--quiet || test "x$1" = x--silent \
       || test "x$1" = x-quiet || test "x$1" = x-silent ; then
    verbose=false
  elif test "x$1" = x--; then
    :
  elif echo "x$1" | grep '^x-' >/dev/null; then
    echo "$progname: unknown option \`$1', try --help if you need it." >&2
    exit 1
  else
    if test ! -d "$1"; then
      echo "$progname: $1: not a directory, skipping." >&2
      shift     ## ADD THIS, otherwise a loop
      continue
    fi
    # By saving the argument in a file, we can later get it back while
    # supporting spaces in the name.  This still doesn't support
    # newlines in the directory names, but nobody ever complains about
    # that, and it seems much too much trouble to use \0 terminators.
    (umask 077
    if echo "$1" >>"$treefile"; then :; else
      echo "$progname: $treefile: could not append to arg file, goodbye." >&2
      exit 1
    fi
    )
  fi
  shift
done


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again
  2011-06-27 19:25     ` luigi scarso
@ 2011-06-27 21:18       ` Hans van der Meer
  2011-06-27 21:36         ` luigi scarso
  0 siblings, 1 reply; 11+ messages in thread
From: Hans van der Meer @ 2011-06-27 21:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Some more experimenting did the trick, finally. (I must not forget to document it well this time ;-)

(1) the opentypefont euler.otf in font-tree, accessible by ConTeXt.
(2) mtxrun --script fonts --reload

Then I can regenerate the format and get good ConTeXt runs again.
As to the cause of this. I dug up a mail-exchange with Taco Hoekwater, him telling me there was some leftover reference to this euler.otf font that was unnecessary. I have mailed him, to ask if he can remove that reference.

Hans van der Meer


On 27 jun 2011, at 21:25, luigi scarso wrote:

> On Mon, Jun 27, 2011 at 8:42 PM, Hans van der Meer <H.vanderMeer@uva.nl> wrote:
>> Ok, thanks. I understand the mktexlsr stuff is nothing serious.
>> 
>> But the "! Math error: parameter \Umathquad\displaystyle is not set." is very serious. I tried several things, as mtxrun --generate ; context --make en". Nothing good. I thought I remembered something about an opentype font euler.otf.
> Latest minimals has still the mktexlsr error,
> but I'm not able to reproduce  "! Math error: parameter
> \Umathquad\displaystyle is not set."  --- do you have an example ?
> -- 
> 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
> ___________________________________________________________________________________

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again - lots of mktexlsr errors
  2011-06-27 21:05       ` luigi scarso
@ 2011-06-27 21:26         ` Hans Hagen
  2011-06-27 21:59           ` luigi scarso
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2011-06-27 21:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 27-6-2011 11:05, luigi scarso wrote:

> imo, a shift is missed
>  From line 73 of mktexlsr, look at
> # ADD THIS
>   below

Can you find out what the complete path spec is that is used for the 
loop? (It looks like TEXMFDBS is used .. I wonder why not TEXMF as it 
makes no sense to use another variable.)

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again
  2011-06-27 21:18       ` Umathquad again Hans van der Meer
@ 2011-06-27 21:36         ` luigi scarso
  0 siblings, 0 replies; 11+ messages in thread
From: luigi scarso @ 2011-06-27 21:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jun 27, 2011 at 11:18 PM, Hans van der Meer <H.vanderMeer@uva.nl> wrote:
> Some more experimenting did the trick, finally. (I must not forget to document it well this time ;-)
>
> (1) the opentypefont euler.otf in font-tree, accessible by ConTeXt.
> (2) mtxrun --script fonts --reload
>
> Then I can regenerate the format and get good ConTeXt runs again.
As general rule, if you are lost:
1)  texmf-project and its' subfolders are unchanged by first-setup.sh;
you can hence copy the directory structure of texmf/fonts into texmf-project
I.e. you if you have a microsoft foo.otf, you can copy into
texmf-project/fonts/opentype/microsoft/foo.otf
and it will stay here until you delete it
3) you *must* run
mtxrun --script fonts --reload
when you install new fonts or delete old fonts into the minimals.

It's not necessary to rebuild  the format when you install the fonts.

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Umathquad again - lots of mktexlsr errors
  2011-06-27 21:26         ` Hans Hagen
@ 2011-06-27 21:59           ` luigi scarso
  0 siblings, 0 replies; 11+ messages in thread
From: luigi scarso @ 2011-06-27 21:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 753 bytes --]

On Mon, Jun 27, 2011 at 11:26 PM, Hans Hagen <pragma@wxs.nl> wrote:

> On 27-6-2011 11:05, luigi scarso wrote:
>
>  imo, a shift is missed
>>  From line 73 of mktexlsr, look at
>> # ADD THIS
>>  below
>>
>
> Can you find out what the complete path spec is that is used for the loop?
> (It looks like TEXMFDBS is used .. I wonder why not TEXMF as it makes no
> sense to use another variable.)
>
> The bug doesn't depend to TEXMFDBS: without the shift the input args are
never consumed.
The next time the while is executed, the same condition on the path  is
checked again and found true (i.e. it doesn't exist).

 The path spec are or a treefile rooted on ${TMPDIR/tmp} or, if it doesn't
exist , the paths given by
kpsewhich --show-path=ls-R


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1289 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-06-27 21:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27 18:24 Umathquad again - lots of mktexlsr errors Hans van der Meer
2011-06-27 18:31 ` luigi scarso
2011-06-27 18:42   ` Hans van der Meer
2011-06-27 19:25     ` luigi scarso
2011-06-27 21:18       ` Umathquad again Hans van der Meer
2011-06-27 21:36         ` luigi scarso
2011-06-27 20:20     ` Umathquad again - lots of mktexlsr errors Hans Hagen
2011-06-27 20:38     ` Hans Hagen
2011-06-27 21:05       ` luigi scarso
2011-06-27 21:26         ` Hans Hagen
2011-06-27 21:59           ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).