[xep-support] Re: Wrapping long URLs in table cells

Kevin Brown kevin at renderx.com
Thu Aug 10 11:01:15 PDT 2017


You create a template in your XSL that inserts zero-width space characters
at the points at which you want to wrap.
This could be between every character if you like or just after a "/".

See
https://stackoverflow.com/questions/4350788/xsl-fo-force-wrap-on-table-entri
es/33689540#33689540

There you can examine various answers to that exact question, like examining
the template in the Docbook stylesheets that does this.

Kevin Brown
(650) 327-1000 Direct
(650) 328-8008 Fax
(925) 395-1772 Mobile
skype:kbrown01
kevin at renderx.com
sales at renderx.com
http://www.renderx.com 



-----Original Message-----
From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of Mark
Giffin
Sent: Wednesday, August 09, 2017 10:35 PM
To: RenderX Community Support List <xep-support at renderx.com>
Subject: [xep-support] Wrapping long URLs in table cells

Using XEP 4.21. I have XSL-FO tables that have cells with long URLs in them
(which are also links), and the URLs get compressed so much that they are
unreadable. They stay on the same line and do not wrap. Is there a way to
get them to wrap to the next line? I tried the same files with Apache FOP
and it just wraps the URLs.

Source XML files are DITA, running through DITA Open Toolkit version 2.3.3.
But it does the same thing with OT version 1.8.5.

Thanks,
Mark

_______________________________________________
(*) To unsubscribe, please visit
http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service
http://w ww.renderx.com/terms-of-service.html



More information about the Xep-support mailing list