LaTeX 用の設定を編集.
@@ -130,7 +130,7 @@ | ||
130 | 130 | latex_paper_size = 'a4' |
131 | 131 | |
132 | 132 | # The font size ('10pt', '11pt' or '12pt'). |
133 | -latex_font_size = '10pt' | |
133 | +latex_font_size = '12pt' | |
134 | 134 | |
135 | 135 | # todo: translate commented topics. |
136 | 136 | # Grouping the document tree into LaTeX files. List of tuples |
@@ -137,26 +137,26 @@ | ||
137 | 137 | # (source start file, target name, title, author, document class [howto/manual]). |
138 | 138 | _stdauthor = r'Guido van Rossum\\Fred L. Drake, Jr., editor' |
139 | 139 | latex_documents = [ |
140 | - # ('c-api/index', 'c-api.tex', | |
141 | - # 'The Python/C API', _stdauthor, 'manual'), | |
142 | - # ('distutils/index', 'distutils.tex', | |
143 | - # 'Distributing Python Modules', _stdauthor, 'manual'), | |
140 | + ('c-api/index', 'c-api.tex', | |
141 | + 'The Python/C API', _stdauthor, 'manual'), | |
142 | + ('distutils/index', 'distutils.tex', | |
143 | + 'Distributing Python Modules', _stdauthor, 'manual'), | |
144 | 144 | ('documenting/index', 'documenting.tex', |
145 | 145 | 'Documenting Python', 'Georg Brandl', 'manual'), |
146 | - # ('extending/index', 'extending.tex', | |
147 | - # 'Extending and Embedding Python', _stdauthor, 'manual'), | |
148 | - # ('install/index', 'install.tex', | |
149 | - # 'Installing Python Modules', _stdauthor, 'manual'), | |
146 | + ('extending/index', 'extending.tex', | |
147 | + 'Extending and Embedding Python', _stdauthor, 'manual'), | |
148 | + ('install/index', 'install.tex', | |
149 | + 'Installing Python Modules', _stdauthor, 'manual'), | |
150 | 150 | ('library/index', 'library.tex', |
151 | 151 | 'The Python Library Reference', _stdauthor, 'manual'), |
152 | - # ('reference/index', 'reference.tex', | |
153 | - # 'The Python Language Reference', _stdauthor, 'manual'), | |
152 | + ('reference/index', 'reference.tex', | |
153 | + 'The Python Language Reference', _stdauthor, 'manual'), | |
154 | 154 | ('tutorial/index', 'tutorial.tex', |
155 | 155 | 'Python Tutorial', _stdauthor, 'manual'), |
156 | - # ('using/index', 'using.tex', | |
157 | - # 'Using Python', _stdauthor, 'manual'), | |
158 | - # ('whatsnew/' + version, 'whatsnew.tex', | |
159 | - # 'What\'s New in Python', 'A. M. Kuchling', 'howto'), | |
156 | + ('using/index', 'using.tex', | |
157 | + 'Using Python', _stdauthor, 'manual'), | |
158 | + ('whatsnew/' + version, 'whatsnew.tex', | |
159 | + 'What\'s New in Python', 'A. M. Kuchling', 'howto'), | |
160 | 160 | ] |
161 | 161 | |
162 | 162 | # todo: translate howtos |
@@ -177,6 +177,13 @@ | ||
177 | 177 | # Documents to append as an appendix to all manuals. |
178 | 178 | latex_appendices = ['glossary', 'about', 'license', 'copyright'] |
179 | 179 | |
180 | +latex_docclass = {'manual': 'jreport'} | |
181 | +latex_elements = { | |
182 | + 'papersize': 'a4paper', | |
183 | + 'pointsize': '12pt', | |
184 | + 'classoptins': ',dvipdfm', | |
185 | + } | |
186 | + | |
180 | 187 | # Options for the coverage checker |
181 | 188 | # -------------------------------- |
182 | 189 |