null+****@clear*****
null+****@clear*****
2011年 5月 8日 (日) 14:22:32 JST
Kouhei Sutou 2011-05-08 05:22:32 +0000 (Sun, 08 May 2011)
New Revision: a640c99f86cebbcaf0a3dbc341c35fc6a2c6a6fe
Log:
[doc][pdf] make PDF language customizable.
Modified files:
doc/source/conf.py
Modified: doc/source/conf.py (+4 -2)
===================================================================
--- doc/source/conf.py 2011-05-08 05:12:22 +0000 (3d243f3)
+++ doc/source/conf.py 2011-05-08 05:22:32 +0000 (b694202)
@@ -253,9 +253,11 @@ pdf_documents = [
u'groonga %s document' % (release,),
u'groonga project')
]
-pdf_stylesheets = ['sphinx', 'kerning', 'a4', 'styles/pdf/ja']
+print dir()
+if 'language' in dir():
+ pdf_language = language
+ pdf_stylesheets = ['sphinx', 'kerning', 'a4', 'styles/pdf/%s' % pdf_language]
pdf_font_path = ['/usr/share/fonts']
-pdf_language = 'ja'
pdf_fit_mode = "shrink"
pdf_inline_footnotes = True
pdf_break_level = 2