Simplefonts and math fonts
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
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
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 ___________________________________________________________________________________
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 -----------------------------------------------------------------
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 ___________________________________________________________________________________
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
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
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
participants (5)
-
Bernhard Rosensteiner
-
Hans Hagen
-
Khaled Hosny
-
Mojca Miklavec
-
Wolfgang Schuster