Bug 616123
| Summary: | RFE: expose DocBook bridgehead.in.toc option | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Douglas Silas <dhensley> |
| Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.6 | CC: | jfearn, mmcallis, publican-list, rlandman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | publican-2.2-0.fc13 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-10-08 20:43:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Douglas Silas
2010-07-19 17:41:03 UTC
Publican doesn't control how these things works, it just exposes some of the _many_ configuration options DocBook has. It's possible this already works in DocBook but isn't exposed by Publican. Dues to limitations in how the config files work we have to replace dots in the DocBook parameters with underscores, so generate_section_toc_level is in reality the DocBook parameter generate.section.toc.level There are other TOC parameters in DocBook, we can expose the ones you need. You might want to take a look at generate.section.toc.level and toc.max.depth at http://docbook.sourceforge.net/release/xsl/current/doc/html/toc_index.html If these aren't enough then you will need to open a discussion with the DocBook team about modifying their style sheets. If they are what you need then we can expose the ones you need via the config file. Thanks Jeff. I will take a look at the other DocBook parameters soon, and reply. Cheers, Silas Jeff, I don't think any (combination) of the exposable options would allow us to have a main TOC level of 1, and a chapter TOC level of 2. generate.section.toc.level only controls where a TOC is generated, not the actual level in those generated TOCs (and sub-TOCs). toc.max.depth seems to only control the maximum depth level for all TOCs. It seems equivalent to toc_section_depth (but I wonder why). toc_section_depth controls the maximum level for all TOCs (main and in sections). However, I am very interested in this parameter: bridgehead.in.toc I sometimes use bridgeheads instead of creating 4th level sections (for example: 11.4.2.1. Site Configuration), and I think having unnumbered bridgehead entries in the TOCs would be very useful. 4th-level section numbers are hideous and only rarely necessary, while bridgehead entries would look much nicer. Could you expose this option? Thanks, Silas DocBook doesn't allow us to control main and division TOC levels independently; this would be a feature request in DocBook itself: http://sourceforge.net/tracker/?group_id=21935&atid=384107 However, we could take a look at exposing bridgehead.in.toc, so I'm updating the summary to reflect this. Added bridgehead_in_toc parameter to publican.cfg, defaults to 0.
Fixed in build: 2.1-%{?dist}.t141
Thanks! publican-2.2-0.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/publican-2.2-0.fc13 publican-2.2-0.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/publican-2.2-0.fc12 publican-2.2-0.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/publican-2.2-0.fc14 publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |