Sphinx: もしや英語だとPDFいけるんじゃないかと思ったがそんな簡単ではないようだ。

(op)hdknr@debuniid:~/.virtualenvs/op/src$ svn co http://code.djangoproject.com/svn/django/trunk/

(op)hdknr@debuniid:~/.virtualenvs/op/src$ cd trunk/docs/

(op)hdknr@debuniid:~/.virtualenvs/op/src/trunk/docs$ make latex
mkdir -p _build/latex _build/doctrees
sphinx-build -b latex -d _build/doctrees   . _build/latex
Running Sphinx v0.6.3
loading pickled environment… not found
building : all documents
updating environment: 153 added, 0 changed, 0 removed
reading sources... [100%] topics/testing
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/hdknr/.virtualenvs/op/src/trunk/docs/index.txt:: WARNING: document isn't included in any toctree
/home/hdknr/.virtualenvs/op/src/trunk/docs/releases/1.2-alpha.txt:: WARNING: document isn't included in any toctree
done
processing django.tex... contents intro/index intro/overview intro/install intro/tutorial01 intro/tutorial02 intro/tutorial03 intro/tutorial04 intro/whatsnext topics/index topics/install topics/db/index topics/db/models topics/db/queries topics/db/aggregation topics/db/managers topics/db/sql topics/db/transactions topics/http/index topics/http/urls topics/http/views topics/http/file-uploads topics/http/shortcuts topics/http/generic-views topics/http/middleware topics/http/sessions topics/forms/index topics/forms/modelforms topics/forms/formsets topics/forms/media topics/forms/modelforms topics/templates topics/generic-views topics/files topics/testing topics/auth topics/cache topics/conditional-view-processing topics/email topics/i18n topics/pagination topics/serialization topics/settings topics/signals howto/index howto/apache-auth howto/auth-remote-user howto/custom-management-commands howto/custom-model-fields howto/custom-template-tags howto/custom-file-storage howto/deployment/index howto/deployment/modwsgi howto/deployment/modpython howto/deployment/fastcgi howto/error-reporting howto/initial-data howto/jython howto/legacy-databases howto/outputting-csv howto/outputting-pdf howto/static-files faq/index faq/general faq/install faq/usage faq/help faq/models faq/admin faq/contributing ref/index ref/authbackends ref/contrib/index ref/contrib/admin/index ref/contrib/admin/actions ref/contrib/auth ref/contrib/comments/index ref/contrib/comments/models ref/contrib/comments/settings ref/contrib/comments/signals ref/contrib/comments/upgrade ref/contrib/comments/custom ref/contrib/comments/forms ref/contrib/comments/moderation ref/contrib/contenttypes ref/contrib/csrf ref/contrib/databrowse ref/contrib/flatpages ref/contrib/formtools/index ref/contrib/formtools/form-preview ref/contrib/formtools/form-wizard ref/contrib/humanize ref/contrib/localflavor ref/contrib/redirects ref/contrib/sitemaps ref/contrib/sites ref/contrib/syndication ref/contrib/webdesign ref/databases ref/django-admin ref/files/index ref/files/file ref/files/storage ref/forms/index ref/forms/api ref/forms/fields ref/forms/widgets ref/forms/validation ref/generic-views ref/middleware ref/models/index ref/models/fields ref/models/relations ref/models/options ref/models/instances ref/models/querysets ref/request-response ref/settings ref/signals ref/templates/index ref/templates/builtins ref/templates/api ref/unicode misc/index misc/api-stability misc/design-philosophies misc/distributions glossary releases/index releases/0.95 releases/0.96 releases/1.0-alpha-1 releases/1.0-alpha-2 releases/1.0-beta releases/1.0-beta-2 releases/1.0 releases/1.0-porting-guide releases/1.0.1 releases/1.0.2 releases/1.1-alpha-1 releases/1.1-beta-1 releases/1.1-rc-1 releases/1.1 internals/index internals/contributing internals/documentation internals/committers internals/release-process internals/deprecation internals/svn obsolete/index obsolete/admin-css
resolving references...
writing... /home/hdknr/.virtualenvs/op/src/trunk/docs/intro/tutorial01.txt:: WARNING: unusable reference target found: irc://irc.freenode.net/django
/home/hdknr/.virtualenvs/op/src/trunk/docs/intro/whatsnext.txt:: WARNING: unusable reference target found: irc://irc.freenode.net/django
/home/hdknr/.virtualenvs/op/src/trunk/docs/faq/help.txt:: WARNING: unusable reference target found: irc://irc.freenode.net/django
/home/hdknr/.virtualenvs/op/src/trunk/docs/faq/help.txt:: WARNING: unusable reference target found: irc://irc.freenode.net/django
/home/hdknr/.virtualenvs/op/src/trunk/docs/releases/1.1-alpha-1.txt:: WARNING: unusable reference target found: topics-forms-index
/home/hdknr/.virtualenvs/op/src/trunk/docs/releases/1.1-alpha-1.txt:: WARNING: unusable reference target found: ref-generic-views
/home/hdknr/.virtualenvs/op/src/trunk/docs/releases/1.1-alpha-1.txt:: WARNING: unusable reference target found: field-lookups
/home/hdknr/.virtualenvs/op/src/trunk/docs/releases/1.1.txt:: WARNING: unusable reference target found: topics-forms-index
/home/hdknr/.virtualenvs/op/src/trunk/docs/releases/1.1.txt:: WARNING: unusable reference target found: ref-generic-views
/home/hdknr/.virtualenvs/op/src/trunk/docs/releases/1.1.txt:: WARNING: unusable reference target found: field-lookups
/home/hdknr/.virtualenvs/op/src/trunk/docs/internals/contributing.txt:: WARNING: unusable reference target found: irc://irc.freenode.net/django
done
copying images... ref/contrib/admin/_images/article_actions.png intro/_images/admin08t.png intro/_images/admin12.png ref/contrib/admin/_images/users_changelist.png intro/_images/admin04t.png obsolete/_images/formrow.png topics/http/_images/middleware.png ref/contrib/admin/_images/article_actions_message.png intro/_images/admin10.png intro/_images/admin06t.png intro/_images/admin03t.png intro/_images/admin13t.png intro/_images/admin07.png intro/_images/admin05t.png obsolete/_images/module.png obsolete/_images/objecttools_02.png ref/contrib/admin/_images/flatfiles_admin.png ref/contrib/admin/_images/user_actions.png intro/_images/admin09.png intro/_images/admin01.png obsolete/_images/objecttools_01.png intro/_images/admin11t.png intro/_images/admin02t.png intro/_images/admin14t.png internals/_images/djangotickets.png
copying TeX support files... done
build succeeded, 13 warnings.

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.

(op)hdknr@debuniid:~/.virtualenvs/op/src/trunk/docs$ cd _build/latex/

(op)hdknr@debuniid:~/.virtualenvs/op/src/trunk/docs/_build/latex$ make all-pdf
pdflatex  'django.tex'
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./django.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(./manual.cls
Document Class: manual 2008/10/18 Document class (Sphinx manual)
(/usr/share/texmf-texlive/tex/latex/base/report.cls
Document Class: report 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo)))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def)kpathsea: Running mktextfm ecrm1000
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000
This is METAFONT, Version 2.71828 (Web2C 7.5.6)

kpathsea: Running mktexmf ecrm1000
! I can't find file `ecrm1000'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1000

Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1000

Transcript written on mfput.log.
grep: ecrm1000.log: そのようなファイルやディレクトリはありません
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000' failed to make ecrm1000.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again>
                   relax
l.100 \fontencoding\encodingdefault\selectfont

?

カテゴリー: 未分類 パーマリンク

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中