DocBooks's Table's Cell Long Line

Questions about XML that are not covered by the other forums should go here.
dinodc
Posts: 19
Joined: Fri Apr 18, 2014 1:07 am
Contact:

DocBooks's Table's Cell Long Line

Post by dinodc » Tue May 20, 2014 7:32 pm

How can I wrap a long name with DocBook's Table's Cell? In Oxygen Author, I tired a few things within the Text and Author tab. We're using the docbook_custom.xml as our CSS, I believe. I see Can someone help? For instance the name could be Demo_Sprint5_XXXXXPlan.xml. That name will run into the other cells.

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: DocBooks's Table's Cell Long Line

Post by sorin_ristache » Wed May 21, 2014 10:06 am

Hello,

In Author mode the table cell will be extended automatically in order to accommodate the long text in that cell. Do you mean the long name overflows to the next cell in the Docbook PDF output or maybe other output format (XHTML, etc)? In the PDF output for example the long text will be wrapped only if it can be split as any other text in the language of the Docbook XML document (the default language is English), according to the hyphenation patterns of that language.

In your example, for the PDF output, the text Demo_Sprint5_XXXXXPlan.xml does not contain a whitespace, a hyphen or other separator character that could enable hyphenation to break the text, so it can't be wrapped in PDF output.


Regards,
Sorin

Post Reply