Re: [docbook-apps] How to insert JavaScript near end of HTML without chunking?

2011-05-19 Thread Mark Craig
Thanks very much for insistingm Peter and David. That's much better. Regards, Mark On Thu, May 19, 2011 at 5:28 PM, Mark Craig wrote: > Aha, . I'll try that. > > Regards, > Mark > > On Thu, May 19, 2011 at 5:20 PM, David Cramer wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >>

Re: [docbook-apps] How to insert JavaScript near end of HTML without chunking?

2011-05-19 Thread Mark Craig
Aha, . I'll try that. Regards, Mark On Thu, May 19, 2011 at 5:20 PM, David Cramer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > It appears he was using an xinclude to pull in the script (rather than a > processing instruction as suggested in Bob's book). The xinclude will be > re

Re: [docbook-apps] How to insert JavaScript near end of HTML without chunking?

2011-05-19 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It appears he was using an xinclude to pull in the script (rather than a processing instruction as suggested in Bob's book). The xinclude will be resolved for all formats, so would break fo. The PI however would be ignored/discarded by the fo xsls. Da

Re: [docbook-apps] How to insert JavaScript near end of HTML without chunking?

2011-05-19 Thread Mark Craig
Hello Peter, It's not actually a customization for HTML specifically. Maybe I need to reread the docs? When I include the Google Analytics script in the document with XInclude, the resulting content is in the source. Then the docbkx-tools Maven plugin runs HTML, EPUB, PDF, RTF, and man page gener

Re: [docbook-apps] How to insert JavaScript near end of HTML without chunking?

2011-05-19 Thread Peter Desjardins
I've never used docbkx-tools, maybe I'm misunderstanding your publishing process. I'm surprised that a customization for HTML has any effect on your FO. Peter On Thu, May 19, 2011 at 9:45 AM, Mark Craig wrote: > Hello, thanks for your suggestion. > This is what I tried after I found user.footer.

Re: [docbook-apps] How to insert JavaScript near end of HTML without chunking?

2011-05-19 Thread Mark Craig
Hello again, Well... this seems to work, though it doesn't feel right. I put this as one of the tasks for the maven-antrun-plugin of the POM: