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 | 453c646d468074e1a394a044ab59ea4f15e38660 (patch) | |
| tree | 805853dc900b8e092f3541f3d09b0af2d4e0f03c /docs/dev | |
| parent | 6f985d51be67bc9f0823102271b22ab78ccf62fc (diff) | |
| download | docutils-453c646d468074e1a394a044ab59ea4f15e38660.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/docutils@5989 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/todo.txt | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/docs/dev/todo.txt b/docs/dev/todo.txt index 2b2af99e2..2ea4c7321 100644 --- a/docs/dev/todo.txt +++ b/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 -------------- |
