Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399781

Summary: dev-texlive/texlive-luatex not installing needed eu2enc.def
Product: Gentoo Linux Reporter: clemenswaechter
Component: New packagesAssignee: Alexis Ballier <aballier>
Status: RESOLVED FIXED    
Severity: normal CC: neil, tex
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 449298    
Attachments: Lualatex test file
Output from lualatex run
Output from emerge --info

Description clemenswaechter 2012-01-22 22:28:31 UTC
Created attachment 299577 [details]
Lualatex test file

Steps to reproduce:
1. Upgrade to texlive 2011
(use flags: X cjk extra graphics linguas_de linguas_en linguas_eu linguas_ja luatex png truetype xml in my case)

2. Try to use the fontspec package

\documentclass[10pt]{article}

\usepackage{fontspec}
\fontspec{Verdana}

\begin{document}

Test

\end{document}

(compile with lualatex)

3. Expected result: "Test" typeset with the Verdana font
Actual result:
! Package fontenc Error: Encoding file `eu2enc.def' not found.
(fontenc)                You might have misspelt the name of the encoding.

See the fontenc package documentation for explanation.

As far as I could find out the file was included in the texlive-luatex package
as of 2009 but I could not get emerge to install the file with the 2011 version
and I could not stop lualatex from complaining.

Any help would be appreciated.
Comment 1 clemenswaechter 2012-01-22 22:29:32 UTC
Created attachment 299579 [details]
Output from lualatex run
Comment 2 clemenswaechter 2012-01-22 22:30:16 UTC
Created attachment 299581 [details]
Output from emerge --info
Comment 3 Alexis Ballier gentoo-dev 2012-02-14 13:34:27 UTC
fyi:
dev-texlive/texlive-xetex-2011 (/usr/share/texmf-dist/tex/latex/euenc/eu2enc.def)
Comment 4 Max Klinger 2012-04-18 14:48:24 UTC
I was also bitten by this and while it is true that dev-tex/luatex warns you about not being complete, it is not obvious that you need to install xetex on your system to have a complete luatex. The texlive on my system is almost complete, i installed over 100 packages from the relevant parts and i miss only 5 exotic ones plus languages i don't use. The only mainstream package i lacked was xetex since i don't use it.

It's not clear to me what would be the right way to do it, but the current situation feels wrong to me. Maybe the relevant file should be included upon a new fontspec use flag in texlive-core or there should be a luatex use flag or something like this. 

My 2 Cents
Comment 5 Alexis Ballier gentoo-dev 2013-02-18 11:17:56 UTC
+  18 Feb 2013; Alexis Ballier <aballier@gentoo.org> texlive-luatex-2012.ebuild:
+  Rdepend on texlive-xetex for fontspec-luatex that needs eu2enc.def, bug
+  #399781
+


because: you need texlive-luatex to use lua(la)tex and then you will have eu2enc.def installed by texlive-xetex