Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399781 - dev-texlive/texlive-luatex not installing needed eu2enc.def
Summary: dev-texlive/texlive-luatex not installing needed eu2enc.def
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 449298
  Show dependency tree
 
Reported: 2012-01-22 22:28 UTC by clemenswaechter
Modified: 2013-02-18 11:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Lualatex test file (luatext.tex,112 bytes, text/plain)
2012-01-22 22:28 UTC, clemenswaechter
Details
Output from lualatex run (lualatex.out,6.26 KB, text/plain)
2012-01-22 22:29 UTC, clemenswaechter
Details
Output from emerge --info (emerge.info,4.71 KB, text/plain)
2012-01-22 22:30 UTC, clemenswaechter
Details

Note You need to log in before you can comment on or make changes to this bug.
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