Summary: | latex-unicode does not install the file utf8.def | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christopher Zapart <chris.zapart> |
Component: | Current packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Modified ebuild so that it creates a symlink and executes texhash after installation. |
Description
Christopher Zapart
2005-11-30 09:36:05 UTC
Bump! Bug is still not fixed, though it was reported a year ago. Lazy package maintainer, knockknockknock!! Well, after letting off some steam, I've spent some more time looking into this issue. The README file tells us to use \usepackage[utf8x.def]{inputenc}. It works with utf8.def using miktex, though. Other distributions seem to create a symlink automatically (maybe Debian, SUSE, but I'm not 100% sure). After further investigations I found out that this behaviour depends on the latex version or package used (modern latex versions have utf8.def, while utf8x.def is provided by the latex-unicode package). It would still be better if the user was informed about this by the ebuild or if the symlink was created automatically. A small notice would be sufficient and could save the user a lot of time finding out what's wrong. At least I've wasted at least half an hour digging up information and writing about this. Created attachment 96390 [details]
Modified ebuild so that it creates a symlink and executes texhash after installation.
Modified ebuild which creates a symlink and executes texhash after installation.
Tested, works ;-)
thanks for tracking down that issue. however, that fix you proposed is really not preferred because we can't track the utf8x.def file in portage because it is done in pkg_postinst. does a simple symlink in src_install() work? that seems to be how debian has dealt with this: +latex-ucs (20041017-1) unstable; urgency=low + + * New upstream version with a few more character definitions. + * debian/rules: Converted to cdbs. + * debian/control: Added Build-Dependency console-data to get unicode name + database at build time. + * debian/control: Fixed capitalization of short descriptions. + * debian/rules: Do not ship the uni-*.def files from the orig.tar.gz, but + create them at package build time, since we may patch the config files. + * debian/rules: Added patch system for config files. + * debian/config-patches/01_HYPHEN.patch: Add HYPHEN (0x2010). (see #303752) + * Upstream changed utf8.def to utf8x.def; document this in + latex-ucs.README.Debian, add symbolic link to maintain compatibility to + already existing documents. That's perfectly normal: utf8.def is the unicode support provided by teTeX while utf8x.def and ucs.sty are extended versions of the former, supporting more characters, and provided by the latex-unicode package. |