Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 0.17
-
Component/s: Docbook Plugin
-
Labels:None
-
Number of attachments :
Description
A common problem in this book is a program listing that exceeds the length of the page. Open up the PDF, and you'll see some examples of a program listing that includes a code sample trailing off the edge. Not only is this frustrating to the user, it looks rookie. Fix it.
Write a plugin goal that takes a max char limit and tests every single programlisting and screen element in the DocBook document. If it finds a line that exceeds the lenght it should either:
1. Exit with an error
2. Look for an attribute that would force the tool to wrap the line to a defined maximum