Issue Details (XML | Word | Printable)

Key: DERBY-2275
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: scott hutinger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

XSLT changes for PDF output

Created: 26/Jan/07 05:23 PM   Updated: 20/Mar/07 09:40 PM
Return to search
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 10.3.1.4

Time Tracking:
Not Specified

File Attachments:
  Size
GZip Archive Licensed for inclusion in ASF works header1.patch.gz 2007-01-26 05:25 PM scott hutinger 1 kB
GZip Archive Licensed for inclusion in ASF works header2.patch.gz 2007-01-26 07:57 PM scott hutinger 1 kB
Environment: any

Resolution Date: 26/Jan/07 10:24 PM


 Description  « Hide
patch for dita2fo-shell.xsl
- adds copyright to title page
- header is now the document title instead of "Copyright"
- Table of contents header has derby version and name of document on the header

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
scott hutinger added a comment - 26/Jan/07 05:25 PM
patch in lib, so cd lib then patch -p0 < header1.patch (after gunzipping it)

Jean T. Anderson added a comment - 26/Jan/07 05:59 PM
This is great --thanks for doing this, Scott. A couple notes ....

1) I don't think the copyright is needed on the title page.

2) The Tools, Admin, and Reference guides don't output the specific version on the title page or toc page -- they output "Version 10" instead of "Version 10.2". I really like the "10.2" -- I think that's helpful. (Getting Started, Working With Derby, and the Developers Guide all output the specific version in both places.)

Thanks again for working on this.

scott hutinger added a comment - 26/Jan/07 07:57 PM
replaces header1.patch, as it backs out of placement of (c) on the title page.

scott hutinger added a comment - 26/Jan/07 08:00 PM
header2.patch (diff) replaces in whole header1.patch. In other words, don't apply header1.patch, just header2.patch.
header2.patch does not place (c) on the title page.
same method of using patch.

Jean T. Anderson added a comment - 26/Jan/07 10:11 PM
I tested header2.patch and the resulting pdf's look good. Regarding the Version 10 vs. Version 10.2 tag that gets output, the version gets set in the vrmlist variables of each book's ditamap. Scott posted details at:
http://mail-archives.apache.org/mod_mbox/db-derby-dev/200701.mbox/%3c45BA5BE8.8020809@wiu.edu%3e

I also did an 'ant all' to verify that changes to the lib/dita2fo-shell.xsl still result in a successful build.

But I don't know DITA markup. If anybody who knows DITA has time to check this patch, that'd be great.

Andrew McIntyre added a comment - 26/Jan/07 10:16 PM
The changes look fine to me. +1 to commit.

Jean T. Anderson added a comment - 26/Jan/07 10:24 PM
Committed to the trunk revision 500385. Thanks for the contribution, Scott!