var doStem = true; //List of indexed files. fl = new Array(); fl["0"]= "ch04.html"; fl["1"]= "ch05s01.html"; fl["2"]= "ch03s02.html"; fl["3"]= "index.html"; fl["4"]= "ch02s02s01.html"; fl["5"]= "ch03s01.html"; fl["6"]= "ch01.html"; fl["7"]= "ch02.html"; fl["8"]= "ch02s01.html"; fl["9"]= "ch02s03.html"; fl["10"]= "ch03s02s01.html"; fl["11"]= "ch05.html"; fl["12"]= "ch03.html"; fl["13"]= "ch02s05.html"; fl["14"]= "ch02s04.html"; fl["15"]= "ch02s02.html"; fl["16"]= "ch05s02.html"; fil = new Array(); fil["0"]= "ch04.html@@@FAQ@@@Frequently Asked Questions..."; fil["1"]= "ch05s01.html@@@Some search words for testing@@@null"; fil["2"]= "ch03s02.html@@@Search@@@Overview design of Search mechanism..."; fil["3"]= "index.html@@@README: Web-based Help from DocBook XML@@@null"; fil["4"]= "ch02s02s01.html@@@Recommended Apache configurations@@@null"; fil["5"]= "ch03s01.html@@@Design@@@An overview of webhelp page structure..."; fil["6"]= "ch01.html@@@Introduction@@@Overview of the package..."; fil["7"]= "ch02.html@@@Using the package@@@java available in your PATH..."; fil["8"]= "ch02s01.html@@@Generating webhelp output using the Ant build.xml file@@@Installation instructions..."; fil["9"]= "ch02s03.html@@@Search indexing@@@To build the indexer, you must have installed the JDK version 1.5 or higher and set the ANT_HOME environment variable..."; fil["10"]= "ch03s02s01.html@@@New Stemmers@@@Adding new Stemmers is very simple..."; fil["11"]= "ch05.html@@@Test section@@@null"; fil["12"]= "ch03.html@@@Developer Docs@@@This chapter provides an overview of how webhelp is implemented..."; fil["13"]= "ch02s05.html@@@Adding images@@@null"; fil["14"]= "ch02s04.html@@@Adding support for other (non-CJKV) languages@@@null"; fil["15"]= "ch02s02.html@@@Using and customizing the output@@@null"; fil["16"]= "ch05s02.html@@@Some search words for testing (inflected)@@@null";
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12728 | eedwards |
Upgrade ANT doc build infrastructure to assemble PDFs: - remove non-namespaced DocBook source and add namespaced DocBook source. - add Apache FOP 1.1 - copy fonts, images, XSL into _build, establishing new asset structure. The original structure remains until all guides using it can be upgraded, and several other issues can be resolved. - updated build.xml to allow for per-target build properties. - upgraded the P4SAG to use the new infrastructure. - tweaked admonition presentation in PDFs to remove admonition graphics, and resemble closely the presentation used in the new HTML layout, including the same colors. With these changes, building PDFs involves using a shell, navigating into the guide's directory (just P4SAG for now), and executing "ant pdf". Issues still to be resolved: - PDF generation encounters several warnings about missing fonts (bold versions of Symbol and ZapfDingbats), and a couple of locations where the page content exceeds the defined content area. - Due to issues within Apache FOP, PDF generation emits a substantial amount of output that is not easily suppressed without losing important warning information. - Apache FOP's interface to ANT does not expose a way to set the font base directory. The current configuration does work under Mac OSX, but further testing on Windows will need to be done to determine if the relative paths defined continue to work. The workaround is for Windows users to customize the fop-config.xml to provide absolute system paths to the required fonts. - HTML generation needs further browser testing, and exhibits broken navigation on iOS browsers within the TOC sidebar. - A number of PDF and HTML presentation tweaks still need to be made, for example: sidebars, gui* DocBook tags, whitespace, section separation, etc. |