Commands exceeding page width
C. Michael Pilato
cmpilato at red-bean.com
Tue Apr 26 12:13:52 CDT 2005
Jonathon Mah wrote:
> I've mostly got a patch that adds line breaks to commands that
> overflow the right-hand side of the PDF version of the book. Should I
> submit this, or are you waiting for, say, DocBook/FO to handle it
> automatically?
This from the ORA style guide:
Maximum line length for code varies slightly between book formats.
For standard non-Nutshell books, the maximum line length for code is
82 characters, with 86 characters available in captioned examples.
In Nutshell books, standard line length for code is 73 characters,
with 77 characters available in captioned examples. Pocket
references have even smaller code line length--check with your
editor for this information. Please keep code within the code
margins that appear in the Word template and indicate proper
linebreaks and indents for all code. Indent using spaces, not tabs.
So, them's the ORA rules. However, I believe we settled on something
slightly smaller, like a maximum line length of 78 characters. Whatever
we decide, let's put the rule into HACKING so we remember it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20050426/c8f3a2c5/attachment-0001.html>
More information about the svnbook-dev
mailing list