Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302071 - dev-python/sphinx LaTeX output needs titlesec.sty which isn't available
Summary: dev-python/sphinx LaTeX output needs titlesec.sty which isn't available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-24 15:00 UTC by Tobias Klausmann (RETIRED)
Modified: 2010-05-13 06:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2010-01-24 15:00:36 UTC
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.
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2010-01-24 15:04:32 UTC
Turns out tilesec is part of the texlive-latexextras package, hence I reocmmend this:

latex? (dev-texlive/texlive-latexextra)

Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-01-24 15:15:26 UTC
Committed the conditional dep.
Comment 3 Domen Kožar 2010-05-13 06:45:50 UTC
Sometimes, also dev-texlive/texlive-latexrecommended is needed.