Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307397 - polyglossia from dev-texlive/texlive-xetex requires etoolbox from dev-texlive/texlive-latexextra
Summary: polyglossia from dev-texlive/texlive-xetex requires etoolbox from dev-texliv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 314795
  Show dependency tree
 
Reported: 2010-03-01 23:50 UTC by Dragomir Penev
Modified: 2010-04-23 13:53 UTC (History)
2 users (show)

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


Attachments
Sample .tex file using polyglossia (test.tex,296 bytes, text/plain)
2010-03-01 23:52 UTC, Dragomir Penev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dragomir Penev 2010-03-01 23:50:31 UTC
Polyglossia (the xetex babelfish replacement) requires etoolbox.sty (provided by dev-texlive/texlive-latexextra) to run, but is not in xetex dependencies. If not emerged (by hand or pulled by texlive with extra use flag), trying to use xetex with polyglossia will fail. Happens in both texlive 2008 and 2009

Reproducible: Always

Steps to Reproduce:
1. emerge texlive with xetex and without latexextra
2. xelatex test.tex
Actual Results:  
mortagon@jotunheim tex % xelatex test
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 2009)
entering extended mode
(./test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, bulgarian, russian, ukrainian, ukenglish, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty

! LaTeX Error: File `etoolbox.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:

Expected Results:  
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 2009)
entering extended mode
(./test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, bulgarian, russian, ukrainian, ukenglish, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
(/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/share/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-dist/tex/latex/tools/calc.sty)
(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texmf-dist/tex/generic/xkeyval/keyval.tex)))
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/share/texmf-dist/tex/xelatex/euenc/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/share/texmf-dist/tex/xelatex/fontspec/fontspec.cfg)))
(/usr/share/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf)
No file test.aux.
[1] (./test.aux)
** WARNING ** Could not open config file "dvipdfmx.cfg".
 )
Output written on test.pdf (1 page).
Transcript written on test.log.


jotunheim ~ # emerge --info     
Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-gentoo-2.0.1
Timestamp of tree: Mon, 01 Mar 2010 01:00:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -O2 -pipe -fomit-frame-pointer -w"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8-sse3 -O2 -pipe -fomit-frame-pointer -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,--as-needed"
LINGUAS="bg bg_BG en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://muspelheim/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran galago gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kpathsea ldap libnotify mad matroska mikmod mmx mng modules mono mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit ppds pppd pulseaudio python quicktime readline reflection sdl session spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb vdpau vim-syntax vorbis x264 xml xorg xulrunner xv xvid zlib zsh zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="bg bg_BG en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Dragomir Penev 2010-03-01 23:52:23 UTC
Created attachment 221711 [details]
Sample .tex file using polyglossia

Compiles with texlive-latexextra and does not otherwise.
Comment 2 Alexis Ballier gentoo-dev 2010-04-23 13:53:44 UTC
dep added, thanks