elfs: (Default)
[personal profile] elfs
This is mostly for me, but hopefully others might find it useful someday. TeXLive is a huge LaTeX distribution, one that far exceeds TeTeX, and it comes with XeTeX pre-installed.

I recently "upgraded" my TeTex/XeTeX system only to find that my rough typeset edition of Aimee wouldn't compile. Wondering what I was doing wrong, I ran the build against Sterlings, which is what produced the book, only to find that it wouldn't compile either! And then I tried to back out my upgrade, only to discover that the previous edition had been removed from the ports system because it was "unuseable." Arrggh! It worked for me.

Repeat after me: "Gentoo is for the developers, not for the users."

Anyway, I decided to install TeXLive, because it promised to have a complete and working XeTeX toolchain. Well, and so. But TeXLive is considered "unstable" (in Debian terms), and so you needed a whole raft of modifications. But TeXLive is being "modularized" the way X was recently modularized, and the dependency Hell is really, really annoying. In case anyone else wants to follow me down this rose-and-thorn laden path, here are the modifications you need:

To /etc/portage/package.use, add the following:
app-text/texlive png X extra xetex graphics publishers pstricks games humanities 

I can't guarantee that that'll give you everything, but it gave me everything I wanted.

Now, to /etc/portage/package.keywords, add the dependency and unmasking list. If you don't know what this does, don't do it, and live with TeTeX until this is "stable."

 # Modular Texlive build 
app-text/texlive ~x86
app-text/texlive-core ~x86
dev-texlive/texlive-basic ~x86
dev-texlive/texlive-documentation-base ~x86
dev-texlive/texlive-fontsrecommended ~x86
dev-texlive/texlive-genericrecommended ~x86
dev-texlive/texlive-langcjk ~x86
dev-texlive/texlive-langfrench ~x86
dev-texlive/texlive-langspanish ~x86
dev-texlive/texlive-latex ~x86
dev-texlive/texlive-latex3 ~x86
dev-texlive/texlive-latexrecommended ~x86
dev-texlive/texlive-metapost ~x86
dev-texlive/texlive-psutils ~x86
dev-texlive/texlive-texinfo ~x86
dev-tex/latex-beamer ~x86
dev-tex/pgf ~x86
app-text/ps2eps ~x86
dev-tex/xcolor ~x86
dev-tex/cjk-latex ~x86
app-text/dvipdfm ~x86
app-text/lcdf-typetools ~x86
dev-texlive/texlive-pstricks ~x86
dev-texlive/texlive-genericextra ~x86
dev-texlive/texlive-formatsextra ~x86
dev-texlive/texlive-publishers ~x86
dev-texlive/texlive-games ~x86
dev-texlive/texlive-xetex ~x86
app-text/xdvipdfmx ~x86
dev-texlive/texlive-latexextra ~x86
dev-texlive/texlive-mathextra ~x86
dev-texlive/texlive-bibtexextra ~x86
dev-texlive/texlive-fontsextra ~x86
dev-texlive/texlive-plainextra ~x86
dev-texlive/texlive-humanities ~x86
dev-texlive/texlive-pictures ~x86


Now just emerge texlive and go get coffee. XeLaTeX understands LaTeX and MS .otf fonts, so you should be very happy.

If not, don't blame me. As always, no warranty or promise is implied.

Date: 2008-01-06 07:57 am (UTC)
From: [identity profile] ewhac.livejournal.com
As time goes on, I'm more and more convinced that Debian's 'unstable' moniker is a term of art. I run 'unstable' on this very laptop and have nev~r^?w3_

NO CARRIER

Just kidding. As long as you don't do dist-upgrades all the time, 'unstable' is perfectly usable. TexLive is the backend dependency for LyX these days, and it works fine here.

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 28th, 2025 07:22 pm
Powered by Dreamwidth Studios