LuaTeX error after update to ubuntu 12.04
After updating to ubuntu 12.04, my shouts of joy were smothered by the following !LuaTeX error: cannot find OpenType font file for reading () ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 70 I ran mtxrun --script fonts --reload, updated to the latest context version, ran luatools --generate and context --make and still am presented with the above error message after 10-15 minutes of paralysing processing. The compiling seems to run as always, until it reaches the last page, at which point the computer freezes and takes about 10 minutes to present me with the error. The following is another snapshot of the output which I noticed for the first time: system > logs > lua: compiling /home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/andika-r.tma into /home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/andika-r.tmc fonts > otf loading > preprocessing and caching took 73.009 seconds Any ideas where to start? Many thanks, Severin
On Sat, 2012-04-28 at 13:25 +0900, S Barmeier wrote:
After updating to ubuntu 12.04, my shouts of joy were smothered by the following
!LuaTeX error: cannot find OpenType font file for reading () ==> Fatal error occurred, no output PDF file produced!
Fuuuuuuck...and here I was planning on upgrading tomorrow morning. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
Deleting the cache worked, thank you! The first run on my book successfully compiled after 7 mins., subsequent ones now take 15 seconds (which used to be a stable 25 sec before the upgrade). In ubuntu 12.04 all font packages are renamed to fonts-*, rather than ttf-* or otf-* etc. I thought that running mtxrun --script fonts --reload would fix lookup problems, but it seems that you might want to clear the cache completely. Still, esp. with the added speed benefit, there is no reason to hold back the upgrade (from my point of view). Thanks, Severin On 04/28/2012 01:30 PM, Kip Warner wrote:
On Sat, 2012-04-28 at 13:25 +0900, S Barmeier wrote:
After updating to ubuntu 12.04, my shouts of joy were smothered by the following
!LuaTeX error: cannot find OpenType font file for reading () ==> Fatal error occurred, no output PDF file produced!
Fuuuuuuck...and here I was planning on upgrading tomorrow morning.
On Sat, Apr 28, 2012 at 02:10:33PM +0900, S Barmeier wrote:
In ubuntu 12.04 all font packages are renamed to fonts-*, rather than ttf-* or otf-* etc.
Most, but not all. ttf-ubuntu-font-family and ttf-ubuntu-title appear to be among some of the exceptions. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On Sun, Apr 29, 2012 at 01:28:42PM -0700, Kip Warner wrote:
On Sat, Apr 28, 2012 at 02:10:33PM +0900, S Barmeier wrote:
In ubuntu 12.04 all font packages are renamed to fonts-*, rather than ttf-* or otf-* etc.
Most, but not all. ttf-ubuntu-font-family and ttf-ubuntu-title appear to be among some of the exceptions.
The renaming is done slowly by Debian (a new font packages naming policy), but anyway Ubuntu family of fonts is not in Debian (the license is not considered free enough for Debian), and it seems Ubuntu is not adopting the new policy yet. Regards, Khaled
On Sat, Apr 28, 2012 at 01:25:03PM +0900, S Barmeier wrote:
After updating to ubuntu 12.04, my shouts of joy were smothered by the following
!LuaTeX error: cannot find OpenType font file for reading () ==> Fatal error occurred, no output PDF file produced!
mtx-context | fatal error: return code: 70
This usually indicates that ConTeXt is a passing a file name to the backend that does not exist on the disk, usually because the cache is outdated.
I ran mtxrun --script fonts --reload, updated to the latest context version, ran luatools --generate and context --make and still am presented with the above error message after 10-15 minutes of paralysing processing.
Since all of this does not work, I'd delete the cache completely and try again (the /home/user/texmf-cache/luatex-cache/context/*). Regards, Khaled
participants (3)
-
Khaled Hosny
-
Kip Warner
-
S Barmeier