1

I just installed the new Version of the Lucida OpenType fonts which has been released some days ago. Compiling the lucidaot.tex file, which is part of the package with XeLaTeX is no problem. But compiling with LuaLaTeX is a mess, because it never finished. I asked Karl Berry about this and he also saw the "infinite loop" problem with lualatex.

I am running TeXLive2016, LuLaTeX Version 0.95.0, I rebuild the database with luaotfload-tool --update --force without any success. My operating system is Mac OSX 10.12.2 (Sierra).

  • if you think its a latex bug you can contact us by mail (but I don't have the font...) – David Carlisle Jan 22 '17 at 12:13
  • David, I don't think it is a LaTeX bug because XeLaTeX has no problem. Based on the answer of Herbert it seems that I have to wait for an update of LuaLaTeX. – Ulrich Jan 22 '17 at 13:42
  • It's a luaotfload problem in 0.95 of LuaTeX. The font database it builds has truncated file names for many fonts so LuaTeX can't find the font. From the answer below it appears that version 1 of LuaTeX has solved that problem. – Herb Schulz Jan 22 '17 at 16:56
  • @Herb, if this is the reason then I don't understand why there is no fix in texlive2016. – Ulrich Jan 22 '17 at 17:01
  • @Ulrich TeX Live only updates binaries during the freeze, so here TL'16 -> TL'17. – Joseph Wright Jan 22 '17 at 17:57
1

I have no problem with LuaTeX 1.0.1 and luaotfload.sty v2.7, and fontspec-luatex.sty v2.5a and the following preamble for the font setting. Running Linux with the Lucida fonts in my personal directory ~/.fonts/Lucida/:

\documentclass[11pt]{article}

\usepackage{unicode-math}  % support opentype math fonts
\defaultfontfeatures{Ligatures=TeX,Scale=.92}
\setmainfont[% main rm
      ItalicFont=LucidaBrightOT-Italic,
        BoldFont=LucidaBrightOT-Demi,
  BoldItalicFont=LucidaBrightOT-DemiItalic,
  ]{LucidaBrightOT}
%
\setsansfont[% main sans
      ItalicFont=LucidaSansOT-Italic,
        BoldFont=LucidaSansOT-Demi,
  BoldItalicFont=LucidaSansOT-DemiItalic,
  ]{LucidaSansOT}
%
\setmonofont[% main typewriter
      ItalicFont=LucidaSansTypewriterOT-Oblique,
        BoldFont=LucidaSansTypewriterOT-Bold,
  BoldItalicFont=LucidaSansTypewriterOT-BoldOblique,
  ]{LucidaSansTypewriterOT}
%
\setmathfont{LucidaBrightMathOT}
\setmathfont[version=bold]{LucidaBrightMathOT-Demibold}
%
% The specialized one-off fonts:
\newfontface\LucidaBlackletter{LucidaBlackletterOT}
\newfontface\LucidaCalligraphy{LucidaCalligraphyOT-Italic}
\newfontface\LucidaHandwriting{LucidaHandwritingOT-Italic}
%
% GrandeMono and Console fonts for an example:
\newfontface\LucidaGrandeMono{LucidaGrandeMonoDK}
\newfontface\LucidaConsole{LucidaConsoleDK}

However, at page 7 it needs some time on my system until compilation goes on. The created pdf is here: http://perce.de/pub/lucidaot.pdf

I also have script which copies the relevant parts of luatex from the ConTeXt minimals into a TeXLive tree. There was a problem in the past with luaotfload and a error message "wrong luatex version". In the files luaotfload-tool.lua and luaotfload-main.lua the line

 luaotfload.min_luatex_version     = { 0, 95, 0 }

should be

 luaotfload.min_luatex_version     = { 1, 0, 0 }   

and here is the script. You have to edit the following lines, if needed:

 #!/bin/bash
 MINIMAL=/opt/context
 TO=/usr/local/texlive/current
 FROM=$MINIMAL

If all that fails, then you can revert everything on TeXLive side with

 tlmgr --reinstall install luatex
 tlmgr --reinstall install luaotfload

and here is the bash script: http://perce.de/pub/cpCTX2TL.sh

  • Herbert, then I have to wait until this version isavailable via the tlmgr update process? Or can I Install this in advance. By the way, with your preamble it is still compiling since 30 minutes. – Ulrich Jan 22 '17 at 13:51
  • @Ulrich There are builds of LuaTeX v1 available but they will not be added to TL'16. – Joseph Wright Jan 22 '17 at 13:56
  • @Joseph, ok, then I will stay with pdflatex and XeLaTeX. Thanks for the comments. – Ulrich Jan 22 '17 at 14:03
  • @Ulrich David C. and I have been running LuaTeX v1+ for some time (W32TeX binaries), as has anyone using MiKTeX. It's also available from the ConTeXt Minimal's set up for Unix systems ... – Joseph Wright Jan 22 '17 at 14:14
  • @Ulrich: I have a script which copies the needed files from Context minimals into my TeXLive system – user2478 Jan 22 '17 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.