[Doc-SIG] Long verbatim blocks

Bob Ternosky rternosk@bearcat.appliedtheory.com
Fri, 15 Jun 2001 15:28:34 -0400


>Guido van Rossum <mailto:guido@digicool.com> writes:
  >>Bob Ternosky <mailto:rternosk@appliedtheory.com> writes:
    >> I'm using the python-docs TeX setup/build process and I'm having a
    >> problem with long verbatim blocks. I have a code block that is
    >> longer than a page and upon generation of PDF or PS, the text runs
    >> off the page instead of page breaking (the HTML output looks fine).
  >
  >This is just a wild guess, but it sounds like the TeX macros basically
  >don't provide for breaking up long blocks -- it's as if you had an
  >embedded image larger than the page, it just gives up.
  >
  >What I tend to do in such cases is break the verbatim block up at
  >natural boundaries such as blank lines.
  >
  >There is no easy answer -- all publishers and toolsuites typically
  >struggle with this one way or the other. 

Sigh...that's what I was afraid of.

  >What would you do if you had to include a word that didn't fit on a
  >line?

Same thing. Break it up.

Thanks again.

-- 
Bob Ternosky
rternosk@appliedtheory.com