禁用文档的目录

发布于 2024-07-26 09:54:50 字数 99 浏览 12 评论 0原文

我正在使用 DocBook 4.5,想要自定义是否生成目录。 我正在查看 XSD,但找不到禁用它的方法。 我找到了定制它的方法。

有人能指出我正确的方向吗?

I am using DocBook 4.5 and wanted to customize whether or not the table of contents is generated. I was looking over the XSD but couldn't find a way to disable it. I found ways to customize it.

Could someone point me in the right direction?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

[浮城] 2024-08-02 09:54:50

Docbook 2Docbook 5toc 元素文档说:

“在现实生活中,目录通常由演示系统自动生成,不必在文档源中明确表示。”

那么下一个问题是,您使用哪种演示系统?


Since you're using FOP (which I haven't used too much), I get the impression from this documentation that you can just pass generate.toc=nop on the command line to suppress building a table of contents. See also this Google groups page.

In both Docbook 2 and Docbook 5 the toc element documenation says:

"In real life, tocs are usually generated automatically by the presentation system and never have to be represented explicitly in the document source."

So the next question is, which presentation system are you using?


Since you're using FOP (which I haven't used too much), I get the impression from this documentation that you can just pass generate.toc=nop on the command line to suppress building a table of contents. See also this Google groups page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文