Bug 967677
Summary: | RFE - ability to export a book from a CSP map with file-per-chapter instead of file-per-topic | ||
---|---|---|---|
Product: | [Community] PressGang CCMS | Reporter: | Misty Stanley-Jones <misty> |
Component: | CSProcessor | Assignee: | pressgang-ccms-dev |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.1 | CC: | lcarlon, lnewson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 0.33.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-01 01:12:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Misty Stanley-Jones
2013-05-28 01:02:09 UTC
You can actually do this already by building with the "--server" hidden option. Awesome! Why in the world is it called --server ? And why hidden? It's called --server because we use it for builds done on a server (ie docbuilder), to save time during the publican build, which is also why it's a hidden parameter. For this RFE though, I'd make it visible and make it something more relevant, maybe "--flatten". As for the server part it really should be a configuration component anyways and I did have plans to move it there. Why not something like --file-per-chapter? By the way, does this still work if you have an article (one file for the whole article) or a part (one file per chapter, and one file per part with xi:includes to each chapter)? Parts will work as you mentioned. I'm fairly sure articles won't work though, but I'd have to verify that. In saying that, that is a bug and should also be fixed though for this RFE. Added properly in 0.33.0 We've used the "--flatten" parameter, since it really flattens parts, chapters, appendixes and prefaces and so "--flatten" goes better with the existing "--flatten-topics" option (which flattens the topics folder to remove subdirectories). I've also fixed the bug with articles so that now when using "--flatten" the Article will be flattened down to just the one file (excluding standard Publican files). 0.33.0 has now been released. Documented. |