[docbook-apps] Redundant end tags been removed

2014-07-23 Thread Peter Fleck
Hi guys, I'm trying to add the below to each chunked html page. script type=text/javascript src=//s7.addthis.com/js/300/addthis_widget.js#pubid=XXX/script div class=addthis_sharing_toolbox/ What happens is that the script tag gets shortened to script type=text/javascript

Re: [docbook-apps] Redundant end tags been removed

2014-07-23 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Peter, We had a similar problem here, we did not find a solution that fit us too well (we're using DocBook 4, XHTML 1.1 Saxon 6 or Xsltproc [interchangeably]). Xsltproc always just worked, but Saxon was troubling. Despite the tone, everything

Re: [docbook-apps] Redundant end tags been removed

2014-07-23 Thread Barton Wright
Hello Peter, I’m confused why the version without the closing /script is a problem on any modern OS or browser. It’s a completely valid construction. Nevertheless, perhaps the addthis.com site is expecting some content inside the script/script pair. You could place a space or even a

[docbook-apps] Finding out if an element is processed as part of an xref text

2014-07-23 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi again, so... we are trying to create nice-looking PDF documents with nice fonts that are displayed with matching x-heights (i. e. when mixing different fonts on the same line, the height of the lowercase letters should always be the same). We

Re: [docbook-apps] Redundant end tags been removed

2014-07-23 Thread David Goss
Hi Barton, For an explanation of why self-closing tags can be an issue with browsers see this question on stack exchange: http://stackoverflow.com/questions/69913/why-dont-self-closing-script-tags-work -- David Goss , Technical Writer Frontier Science | www.fstrf.org 4033 Maple Rd,

Re: [docbook-apps] Redundant end tags been removed

2014-07-23 Thread Peter Fleck
Thanks Stefan, When I put something between the /script it works, although obviously it gets copied to each instance. However at the moment I'm happy to just getting it working. Peter On 23/07/2014 20:10, Stefan Knorr wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Peter, We

Re: [docbook-apps] Redundant end tags been removed

2014-07-23 Thread Peter Desjardins
This reminds me of a problem I saw in webhelp. I think it was solved by inserting a comment in the script tag. Then the end tag is preserved. Peter On Jul 23, 2014 7:01 PM, Peter Fleck peterfl...@gmail.com wrote: Thanks Stefan, When I put something between the /script it works, although