ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Simplefonts and math fonts
@ 2009-11-24 13:39 Khaled Hosny
  2009-11-24 13:48 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Khaled Hosny @ 2009-11-24 13:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Though there is a \setmathfont command, it doesn't seem to work. The
following example still typeset in LM.

\usemodule[simplefonts]
\setmathfont[Asana Math]
\starttext
$\sqrt{x+y}=z$
\stoptext

Any idea?

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 8+ messages in thread

* Re: Simplefonts and math fonts
  2009-11-24 13:39 Simplefonts and math fonts Khaled Hosny
@ 2009-11-24 13:48 ` Wolfgang Schuster
  2009-11-24 14:24   ` first-setup.sh on MacOSX problem Bernhard Rosensteiner
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2009-11-24 13:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.11.2009 um 14:39 schrieb Khaled Hosny:

> Though there is a \setmathfont command, it doesn't seem to work. The
> following example still typeset in LM.
> 
> \usemodule[simplefonts]

> \setmathfont[Asana Math]
> \starttext
> $\sqrt{x+y}=z$
> \stoptext
> 
> Any idea?

For math fonts only typescripts are loaded and the typescript name
for 'Asana Math' is 'asana' (type-otf.mkiv) but when you add

  \definetypescriptsynonym[asanamath][asana]

(I will include this line in the module) before \setmathfont
your example will work. It works also without this line when
you write \setmathfont[Asana].

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


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

* first-setup.sh on MacOSX problem...
  2009-11-24 13:48 ` Wolfgang Schuster
@ 2009-11-24 14:24   ` Bernhard Rosensteiner
  2009-11-24 15:21     ` Hans Hagen
                       ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Bernhard Rosensteiner @ 2009-11-24 14:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello all,

after my new OSX installation i did first-setup.sh as always but now i get: 

This is LuaTeX, Version beta-0.40.6-2009100310 (TeX Live 2009) (INITEX)
 \write18 enabled.
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-en.tex
! I can't find file `context.tex'.
l.16 \input context.tex
                       
Please type another input file name: 

at the end of the install process. I don´t know what to do now. Interestingly in my ConTeXt folder is now a texmf-osx-64 folder with more files in it than in the texmf-osx-intel (bin and man folder in texmf-osx-64 and web2c folder in texmf-osx-intel) which was never there. Has this to do with the discussion on the mailing list about 64 bit OSX binaries? Installing into another folder as Applications  triggered the same message.

Please help

best regards
Bernhard



Am 24.11.2009 um 14:48 schrieb Wolfgang Schuster:

> 
> Am 24.11.2009 um 14:39 schrieb Khaled Hosny:
> 
>> Though there is a \setmathfont command, it doesn't seem to work. The
>> following example still typeset in LM.
>> 
>> \usemodule[simplefonts]
> 
>> \setmathfont[Asana Math]
>> \starttext
>> $\sqrt{x+y}=z$
>> \stoptext
>> 
>> Any idea?
> 
> For math fonts only typescripts are loaded and the typescript name
> for 'Asana Math' is 'asana' (type-otf.mkiv) but when you add
> 
>  \definetypescriptsynonym[asanamath][asana]
> 
> (I will include this line in the module) before \setmathfont
> your example will work. It works also without this line when
> you write \setmathfont[Asana].
> 
> 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  : 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] 8+ messages in thread

* Re: first-setup.sh on MacOSX problem...
  2009-11-24 14:24   ` first-setup.sh on MacOSX problem Bernhard Rosensteiner
@ 2009-11-24 15:21     ` Hans Hagen
  2009-11-24 15:31       ` Bernhard Rosensteiner
  2009-11-24 15:39       ` Mojca Miklavec
  2009-11-24 15:36     ` Mojca Miklavec
  2009-11-25  9:55     ` Mojca Miklavec
  2 siblings, 2 replies; 8+ messages in thread
From: Hans Hagen @ 2009-11-24 15:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Bernhard Rosensteiner wrote:
> Hello all,
> 
> after my new OSX installation i did first-setup.sh as always but now i get: 
> 
> This is LuaTeX, Version beta-0.40.6-2009100310 (TeX Live 2009) (INITEX)
>  \write18 enabled.
> (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-en.tex
> ! I can't find file `context.tex'.
> l.16 \input context.tex
>                        
> Please type another input file name: 
> 
> at the end of the install process. I don´t know what to do now. Interestingly in my ConTeXt folder is now a texmf-osx-64 folder with more files in it than in the texmf-osx-intel (bin and man folder in texmf-osx-64 and web2c folder in texmf-osx-intel) which was never there. Has this to do with the discussion on the mailing list about 64 bit OSX binaries? Installing into another folder as Applications  triggered the same message.

could b , i had the same problem a wile ago and symlinking the bin path 
helped

Hans

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


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

* Re: first-setup.sh on MacOSX problem...
  2009-11-24 15:21     ` Hans Hagen
@ 2009-11-24 15:31       ` Bernhard Rosensteiner
  2009-11-24 15:39       ` Mojca Miklavec
  1 sibling, 0 replies; 8+ messages in thread
From: Bernhard Rosensteiner @ 2009-11-24 15:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

thanks for your advice. I solved the problem 5 minutes ago: i used the context file version in texmf-osx-64\bin and suddenly some "mysterious" command line magic happened (only the first time i did context...)   and LuaTeX 0.45 worked.

best regards
Bernhard

Am 24.11.2009 um 16:21 schrieb Hans Hagen:

> Bernhard Rosensteiner wrote:
>> Hello all,
>> after my new OSX installation i did first-setup.sh as always but now i get: This is LuaTeX, Version beta-0.40.6-2009100310 (TeX Live 2009) (INITEX)
>> \write18 enabled.
>> (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-en.tex
>> ! I can't find file `context.tex'.
>> l.16 \input context.tex
>>                       Please type another input file name: at the end of the install process. I don´t know what to do now. Interestingly in my ConTeXt folder is now a texmf-osx-64 folder with more files in it than in the texmf-osx-intel (bin and man folder in texmf-osx-64 and web2c folder in texmf-osx-intel) which was never there. Has this to do with the discussion on the mailing list about 64 bit OSX binaries? Installing into another folder as Applications  triggered the same message.
> 
> could b , i had the same problem a wile ago and symlinking the bin path helped
> 
> Hans
> 
> -----------------------------------------------------------------
>                                          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  : 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] 8+ messages in thread

* Re: first-setup.sh on MacOSX problem...
  2009-11-24 14:24   ` first-setup.sh on MacOSX problem Bernhard Rosensteiner
  2009-11-24 15:21     ` Hans Hagen
@ 2009-11-24 15:36     ` Mojca Miklavec
  2009-11-25  9:55     ` Mojca Miklavec
  2 siblings, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2009-11-24 15:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Nov 24, 2009 at 15:24, Bernhard Rosensteiner wrote:
> Hello all,
>
> after my new OSX installation i did first-setup.sh as always but now i get:
>
> This is LuaTeX, Version beta-0.40.6-2009100310 (TeX Live 2009) (INITEX)
>  \write18 enabled.
> (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-en.tex
> ! I can't find file `context.tex'.
> l.16 \input context.tex
>
> Please type another input file name:

You are getting luatex from TeX Live. At what point do you get that
warning? You should definitely get this if you don't initialize the
minimals (that is - if you don't use ". setuptex" or don't add PATH to
binaries).

I admit that I made some changes a few hours ago, so it would be very
helpful to know what sequence of commands exactly you use and when
exactly this happens.

> at the end of the install process.

You mean even before first-setup.sh finishes the job? If this is the
case ... One thing that might happen is that you use some random
intermediate version of first-setup.sh that doesn't pass --engine= to
mtx-update or that mtx-update forgets to respect that option.

I should reboot my computer in order to test.

> Interestingly in my ConTeXt folder is now a texmf-osx-64 folder with more files in it than in the texmf-osx-intel (bin and man folder in texmf-osx-64 and web2c folder in texmf-osx-intel)

bin and man should be present in both. It's weird that they are
missing in osx-intel. web2c is generated during "texexec --make ...",
so if formats are not made that can explain it.

> which was never there. Has this to do with the discussion on the mailing list about 64 bit OSX binaries? Installing into another folder as Applications  triggered the same message.

That's quite possible. I guess that
    uname -m
returns i386 on your machine, that you are running Snow Leopard, have
MacTeX or TeX Live installed. But I would not expect the minimals to
hang with that message.

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
___________________________________________________________________________________

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

* Re: first-setup.sh on MacOSX problem...
  2009-11-24 15:21     ` Hans Hagen
  2009-11-24 15:31       ` Bernhard Rosensteiner
@ 2009-11-24 15:39       ` Mojca Miklavec
  1 sibling, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2009-11-24 15:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Nov 24, 2009 at 16:21, Hans Hagen wrote:
> Bernhard Rosensteiner wrote:
>>
>> Hello all,
>>
>> after my new OSX installation i did first-setup.sh as always but now i
>> get:
>> This is LuaTeX, Version beta-0.40.6-2009100310 (TeX Live 2009) (INITEX)
>>  \write18 enabled.
>> (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-en.tex
>> ! I can't find file `context.tex'.
>> l.16 \input context.tex
>>                       Please type another input file name:
>> at the end of the install process. I don´t know what to do now.
>> Interestingly in my ConTeXt folder is now a texmf-osx-64 folder with more
>> files in it than in the texmf-osx-intel (bin and man folder in texmf-osx-64
>> and web2c folder in texmf-osx-intel) which was never there. Has this to do
>> with the discussion on the mailing list about 64 bit OSX binaries?
>> Installing into another folder as Applications  triggered the same message.
>
> could b , i had the same problem a wile ago and symlinking the bin path
> helped

But we're not going to suggest that to users. If that happens to be a
side-effect of mtxrun not being aware of that platform juggling, we
need to fix it ASAP. (I cannot test now.)

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
___________________________________________________________________________________

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

* Re: first-setup.sh on MacOSX problem...
  2009-11-24 14:24   ` first-setup.sh on MacOSX problem Bernhard Rosensteiner
  2009-11-24 15:21     ` Hans Hagen
  2009-11-24 15:36     ` Mojca Miklavec
@ 2009-11-25  9:55     ` Mojca Miklavec
  2 siblings, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2009-11-25  9:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Nov 24, 2009 at 15:24, Bernhard Rosensteiner wrote:
> Hello all,
>
> after my new OSX installation i did first-setup.sh as always but now i get:
>
> This is LuaTeX, Version beta-0.40.6-2009100310 (TeX Live 2009) (INITEX)
>  \write18 enabled.
> (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-en.tex
> ! I can't find file `context.tex'.
> l.16 \input context.tex
>
> Please type another input file name:

Just a notice to all Snow Leopard users. I managed to reproduce the
problem (I was sure there would be a problem, but people claimed that
it worked that way). The easiest temporary patch is to remove --make
in mtxrun call in first-setup.sh (and then make formats manually), but
I will try to fix it.

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
___________________________________________________________________________________

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

end of thread, other threads:[~2009-11-25  9:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 13:39 Simplefonts and math fonts Khaled Hosny
2009-11-24 13:48 ` Wolfgang Schuster
2009-11-24 14:24   ` first-setup.sh on MacOSX problem Bernhard Rosensteiner
2009-11-24 15:21     ` Hans Hagen
2009-11-24 15:31       ` Bernhard Rosensteiner
2009-11-24 15:39       ` Mojca Miklavec
2009-11-24 15:36     ` Mojca Miklavec
2009-11-25  9:55     ` Mojca Miklavec

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).