生成目录 [英] Generating table of contents
问题描述
我几个月前在 Mathematica 新闻组上发布了这个,但没有得到有用的回应.我想我会尝试一下.
I posted this one a couple of months ago on the Mathematica newsgroup, but got no usable response. I thought I'd give SO a try.
问题是:我似乎找不到生成目录的方法我正在处理的 Mathematica 文档.有谁知道这个功能藏身之处?
The question was: I don't seem to be able to find the method to generate the table of contents of a Mathematica document I'm working on. Anyone knows this feauture's hideout?
David Annetts 为我指明了 AuthorTools 的方向,这是一个旧的 v5.1仍然隐藏在 Mathematica 中的实用程序包.然而,它不适用于我的文档 (v7).有什么线索吗?
David Annetts pointed me in the direction of the AuthorTools, an old v5.1 utility package that's still hidden in Mathematica. However, it doesn't work on my document (v7). Any clue?
编辑
TOC 应包含正确的节号(如果样式表中存在)和列表页码(这需要考虑页面大小设置).
Edit
The TOC should contain correct section numbers (if present in the stylesheet) and list page numbers (this requires taking page size settings into account).
推荐答案
也许在看 Yuri Kandrashkin 的包的代码,侧边栏,有用吗?
Perhaps looking at the code of Yuri Kandrashkin's package, Sidebar, will be useful?
这篇关于生成目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!