Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2013 23:17:22 -0700
From:      Modulok <modulok@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: LaTeX Error: File `utf8x.def' not found
Message-ID:  <CAN2%2BEpYq3WtEnGB7PtJFA-1OeaMa1TPT8cuAC1egS5xWmh27XQ@mail.gmail.com>
In-Reply-To: <20130121041248.bcf50625.freebsd@edvax.de>
References:  <CAN2%2BEpZwArRC-TJuqFbYKURBGNZc6Df4-jeEy6TnyN0Wpy_R1Q@mail.gmail.com> <20130121041248.bcf50625.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> In your LaTeX source file, you have \usepackage[utf8x]{inputenc}
> somewhere, and you're using UTF-8 characters for whatever reason.
>
> You need to install the port "latex-ucs" (in the "print" category)
> to make this work. I assume there's also a package for this.

Hmmm. LaTeX is called by sphinx to render some math in my python docs, so I'm
not sure where the utf-8 reference occurs, probably somewhere in the sphinx
framework.

I tried to install latex-ucs as suggested, which itself worked, but some of its
dependents didn't (output shown below). Also, why is teTeX a dependency? I
thought it was no longer maintained?

Thanks!
-Modulok-


Command output shown below:

# pkg_add -r latex-ucs
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/Latest/latex-ucs.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/printproto-1.0.5.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/libwww-5.4.0_4.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/tex-texmflocal-1.9.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/font-amsfonts-3.02_1.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/teTeX-texmf-3.0_8.tbz...
Done.
pkg_add: package 'teTeX-texmf-3.0_8' conflicts with latex2e-2003.12_1
pkg_add: package 'teTeX-texmf-3.0_8' conflicts with tex-3.14159_3
pkg_add: please use pkg_delete first to remove conflicting package(s)
or -f to force installation
pkg_add: pkg_add of dependency 'teTeX-texmf-3.0_8' failed!
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/texi2html-1.82,1.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/gd-2.0.35_7,1.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/libXext-1.3.0_1,1.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/libXp-1.0.1,1.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/libXt-1.0.9,1.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/libXmu-1.1.0,1.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/libXpm-3.5.9.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/libXaw-1.0.8,2.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/t1lib-5.1.2_1,1.tbz...
Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/ghostscript9-9.05_3.tbz...
Done.
pkg_add: package 'ghostscript9-9.05_3' conflicts with ghostscript9-nox11-9.05_3
pkg_add: please use pkg_delete first to remove conflicting package(s)
or -f to force installation
pkg_add: pkg_add of dependency 'ghostscript9-9.05_3' failed!
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/teTeX-base-3.0_22.tbz...
Done.
pkg_add: package 'teTeX-base-3.0_22' conflicts with latex2e-2003.12_1
pkg_add: package 'teTeX-base-3.0_22' conflicts with tex-3.14159_3
pkg_add: please use pkg_delete first to remove conflicting package(s)
or -f to force installation
pkg_add: pkg_add of dependency 'teTeX-base-3.0_22' failed!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN2%2BEpYq3WtEnGB7PtJFA-1OeaMa1TPT8cuAC1egS5xWmh27XQ>