tmp $ mkdir sphinxtest tmp $ cd sphinxtest/ sphinxtest $ sphinx-quickstart [... answer the prompts, taking defaults where available ...] sphinxtest $ make latex sphinx-build -b latex -d _build/doctrees . _build/latex [... more build output ...] Build finished; the LaTeX files are in _build/latex. Run `make all-pdf' or `make all-ps' in that directory to run these through (pdf)latex. sphinxtest $ cd _build/latex/ latex $ make all-ps latex 'sphinxtest.tex' This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %&-line parsing enabled. entering extended mode (./sphinxtest.tex LaTeX2e <2005/12/01> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, german, ngerman, loaded. (./manual.cls Document Class: manual 2008/10/18 Document class (Sphinx manual) (/usr/share/texmf-dist/tex/latex/base/report.cls Document Class: report 2005/09/16 v1.4f Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/size10.clo))) (/usr/share/texmf-dist/tex/latex/base/inputenc.sty (/usr/share/texmf-dist/tex/latex/base/utf8.def (/usr/share/texmf-dist/tex/latex/base/t1enc.dfu) (/usr/share/texmf-dist/tex/latex/base/ot1enc.dfu) (/usr/share/texmf-dist/tex/latex/base/omsenc.dfu))) (/usr/share/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texmf-dist/tex/latex/base/t1enc.def)) (/usr/share/texmf-dist/tex/generic/babel/babel.sty (/usr/share/texmf-dist/tex/generic/babel/english.ldf (/usr/share/texmf-dist/tex/generic/babel/babel.def))) (/usr/share/texmf-dist/tex/latex/psnfss/times.sty) (./fncychap.sty) (/usr/share/texmf-dist/tex/latex/tools/longtable.sty) (./sphinx.sty (/usr/share/texmf-dist/tex/latex/base/textcomp.sty (/usr/share/texmf-dist/tex/latex/base/ts1enc.def (/usr/share/texmf-dist/tex/latex/base/ts1enc.dfu))) (/usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) (/usr/share/texmf-dist/tex/latex/fancybox/fancybox.sty Style option: `fancybox' v1.3 <2000/09/19> (tvz) ) ! LaTeX Error: File `titlesec.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: ^C! Interruption. <to be read again> } l.15 \RequirePackage {tabulary}^^M ? x No pages of output. Transcript written on sphinxtest.log. make: *** [sphinxtest.dvi] Error 1 latex $ The LaTeX module Sphinx asks for seems to be available on CTAN, but no Gentoo package exists. Maybe it is included in a default LaTeX install but in the wrong spot, but I doubt that.
Turns out tilesec is part of the texlive-latexextras package, hence I reocmmend this: latex? (dev-texlive/texlive-latexextra)
Committed the conditional dep.
Sometimes, also dev-texlive/texlive-latexrecommended is needed.