Page 1 of 1

DocBooks's Table's Cell Long Line

Posted: Tue May 20, 2014 7:32 pm
by dinodc
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.

Re: DocBooks's Table's Cell Long Line

Posted: Wed May 21, 2014 10:06 am
by sorin_ristache
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