diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-06-17 21:16:27 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-06-17 21:16:27 +0000 |
| commit | d31c6fb15d38f2371d46ef690d6c5da3fbfc237f (patch) | |
| tree | 016abb640cec6a83f4768f2656cdfb576e996023 /docutils/docs/dev | |
| parent | 086f27b38f9df6834e67ff93f68102e83d9c070a (diff) | |
| download | docutils-d31c6fb15d38f2371d46ef690d6c5da3fbfc237f.tar.gz | |
Support "depth" argument of "contents" directive also with "use-latex-toc"
The docutils.transforms.parts.Contents transform is made aware of
use_latex_toc, and does the right thing for LaTeX.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5989 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs/dev')
| -rw-r--r-- | docutils/docs/dev/todo.txt | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/docutils/docs/dev/todo.txt b/docutils/docs/dev/todo.txt index 2b2af99e2..2ea4c7321 100644 --- a/docutils/docs/dev/todo.txt +++ b/docutils/docs/dev/todo.txt @@ -2048,21 +2048,9 @@ Which packages do we want to use? table of contents ^^^^^^^^^^^^^^^^^ -Problem: - when I specify a :depth: to a contents directive, this value is used but - not preserved in the doctree. - -David wrote: - - There is a setting, use_latex_toc. Unfortunately its implementation is - suboptimal. When use_latex_toc is True, the Docutils-generated ToC - shouldn't be built at all. It's a waste of time. - - Instead, the docutils.transforms.parts.Contents transform should be - made aware of use_latex_toc, and do the right thing for LaTeX. Or the - LaTeX writer should override that transform and substitute a custom - version. - +* support non-numbered sections with use-latex-toc + (now easy because of the \addtocontents lines) +* use-latex-doc by default? Default layout -------------- |
