我使用 latexpdf 和 sphinx 生成从 rst 到 pdf 的文档。
如何在每章之前删除章节标题?
-----------
CHAPTER ONE
-----------
最佳答案
如 sphinx documentation 中所述您可以更改 latex_documents
documentclass 到 howto 文档类,这将在您的部分之前摆脱“章节”。但是,这也会稍微改变整个构建的格式。
documentclass: Normally, one of 'manual' or 'howto' (provided by Sphinx). Other document classes can be given, but they must include the “sphinx” package in order to define Sphinx’ custom LaTeX commands. “howto” documents will not get appendices. Also, howtos will have a simpler title page.
只需编辑您的
conf.py
并更改 manual
至 howto
.latex_documents = [
('index', 'foo.tex', u'foo Documentation',
u'bar', 'howto'),
]
关于pdf - sphinx用latexpdf删除我pdf中的章节标题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26120632/