Opened 21 years ago
Closed 21 years ago
#808 closed defect (fixed)
Automate the generation of appendix information
Reported by: | Matthew Burgess | Owned by: | |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | minor | Keywords: | |
Cc: |
Description
Appendices A & B can be automated with judicious use of XSL stylesheets and relevant XML tags in the source files. See thread starting at http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2004-April/044402.html and patches/HTML output tarballs at http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2004-April/044404.html
Attachments (1)
Change History (8)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
Another testcase.
HTML: http://www.lfs-es.org/newindex/index.html XML: http://www.lfs-es.org/newindex/newindex.tar.bz2 Changed the <span> tags for <div> and added this code to the CSS: div.item {
font-weight: bold; width: 12pc; float: left;
} div.secitem {
width: 9.5pc; float: left;
}
comment:3 by , 21 years ago
Here is a full render and sources of the new Index and other stuff: http://www.lfs-es.org/newxml
comment:4 by , 21 years ago
Ready to go. Pluss apply the patch the following is needed:
- Remove appendixa/appendixa.xml and appendixb/appendixb.xml
- Adapt prologue/organization.xml to the new structure
comment:5 by , 21 years ago
I think I've got my understanding right, but confirmation would be appreciated.
This is a content related fix (i.e. removing XML source), whereas bug 812 is
the layout related fix for the same area. I assume they're independent of each other (i.e. I don't *need* to apply both patches at the same time - although in all likelihood both patches will be applied very closely to each other)?
comment:6 by , 21 years ago
Severity: | normal → minor |
---|
Not, Bug 812 is related to the TOC rendering, i.e, the "Table of contects" section in index.html. Both the Index and the TOC issues are different things and are controled by different templates. The only bug that actually require changes in the XML is this. The others could be postponed comment out the relates templates until we will have a good CSS stylesheet to improve their look with grapphical browser.
A new testcase is ready. HTML: http://www.lfs-es.org/newindex/index.html XML: http://www.lfs-es.org/newindex/newindex.tar.bz2 This version contain more pages indexed to catch all the possible variations that I can find in the current book.