[OS X TeX] TexLive 2012 luatex test

Herbert Schulz herbs at wideopenwest.com
Fri Jul 13 14:02:48 CEST 2012


On Jul 13, 2012, at 12:09 AM, Roland Thiers wrote:

> 
> Le 12 juil. 12 à 22:53, Thomas Bohn a écrit :
> 
>> I just checked this opentype-info.tex, it is a XeTeX specific test
>> file I think. So it won't work with LuaTeX.
>> 
>> There are some LuaTeX test files:
>> 
>> /usr/local/texlive/2012/texmf-dist/tex/generic/context/luatex/
>> 
>> Which I never tried though.
>> 
>> Thomas
>> 
>> On Thu, Jul 12, 2012 at 1:34 PM, Roland Thiers <roland.thiers at canl.nc> wrote:
>>> Thanks for your help Herb and Thomas,
>>> I ran /usr/texbin/mkluatexfontdb but without effect on luatex
>>> opentype-info.tex.
>>> I'll check the install of the fonts tomorow (late here).
>>> In /usr/local/texlive/2012/texmf-dist/fonts/opentype/public/lm there are
>>> a lot of files like lmmath-regular.otf.
>>> Roland
>>> 
>>> 
>>> Le 12 juil. 12 à 21:20, Herbert Schulz a écrit :
>>> 
>>> 
>>>> Just check the install of the fonts and in-check everything else. You may
>>>> have to run luaotfload (?) again do that luatex knows about the fonts.
>>>> 
>>>> Good Luck,
>>>> Herb Schulz
>>>> 
>>>> 
>>>> On Jul 12, 2012, at 3:47 AM, Roland Thiers <roland.thiers at canl.nc> wrote:
>>>> 
>>>>> 
>>>>> 
>>>>>> 
>>>>>> On Jul 12, 2012, at 3:12 AM, Roland Thiers wrote:
>>>>>> 
>>>>>>> Bonjour,
>>>>>>> I have installed with success MacTeX on my Macbook (Léopard).
>>>>>>> After that, following the TeX Live Guide , I tried some testing.
>>>>>>> Every test succeeded, included > xetex opentype-info.tex, except
>>>>>>> one of them : >luatex opentype-info.tex.
>>>>>>> I got this message :
>>>>>>> 
>>>>>>> This is LuaTeX, Version beta-0.70.2-2012062819 (TeX Live 2012)
>>>>>>> restricted \write18 enabled.
>>>>>>> 
>>>>>>> (/usr/local/texlive/2012/texmf-dist/tex/xetex/xetexfontinfo/opentype-info.tex
>>>>>>> ! Font \testfont=Latin Modern Roman/ICU at 12pt not loadable: metric
>>>>>>> data not found or bad.
>>>>>>> 
>>>>>>> So, I followed the advice (see section 3.4.4) and I copied the
>>>>>>> texlive-fontconfig.conf file to
>>>>>>> ~/.fonts.conf and run fc-cache -fv.
>>>>>>> 
>>>>>>> But no change. I guess I misunderstood some thing !
>>>>>>> Thanks for your help. However it's not crucial for me, I use pdftex
>>>>>>> engine
>>>>>>> and everything works perfectly , olds as news documents. I am just
>>>>>>> curious about luatex.
>>>>>>> 
>>>>>>> Many thanks to all the contributors to TexLive and MacteX who do a
>>>>>>> superb job
>>>>>>> and also to all guys who ask and answer on this list !
>>>>>>> 
>>>>>>> Roland Thiers
>>>>>>> 
>>>>>>> Lycee du Grand Noumea
>>>>>> 
>>>>>> 
>>>>>> Le 12 juil. 12 à 19:22, Herbert Schulz a écrit :
>>>>>> 
>>>>>> Did you do the optional installation of the Open Type versions of the
>>>>>> Latin Modern and TeX Gyre fonts in the MacTeX installer?
>>>>>> 
>>>>> 
>>>>> Thanks for your answer !
>>>>> No, I did not. Should I do a new installation with this option ?
>>>>> 
> I tried a specific luatex test found in /usr/local/texlive/2012/texmf-dist/tex/generic/context/luatex/, as Thomas suggested, but unsuccessfully.
> I took a look on the fonts as suggested by Herb though that is quite mysterious for me ...
> The fonts of the sytem are in /Library/fonts, luatex can't find them and the tex fonts are in /usr/local/texlive/2012/texmf-dist/fonts.
> I tried to compile a short document with lualatex with some different fonts.
> luatex can't find them except if I give the exact name in setmainfont like GFSDidot.otf. Compilation perfect and pdf idem. By this way I can use the fonts .otf
> located in texmf-dist.
> Best, Roland


Howdy,

First: Have you tried to compile the sample files in /Applications/TeX/LuaTeX-and-XeTeX? Do they compile properly?

Second: If the LuaLaTeX sample files there don't compile correctly do you have a ~/Library/texlive/2012/texmf-var/luatex-cache folder? The first time you compile it should take a long time since luatex creates the fonts cache of all the fonts it finds in standard system locations.

Third: Try to remove the luatex-cache folder and compile a LuaLaTeX file again and see that the cache gets recreated.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list