[comp.text.tex] TeX capacity exceeded, sorry buffer size=1024

xiaofei@acsu.buffalo.edu (Xiaofei Wang) (09/30/90)

When I LaTeX a file using emTeX, it only goes to four pages and then stopped
w/ the message like,

!TeX capacity exceeded, sorry [buffer size=1024]

Then I transfer the file to mainframe and LaTeX over there, there is no
problem, it is only 16 pages. And then I transfer back the .DVI file
and I am able to view it and print it.

I am looking for the solution of this problem. Any help would be greatly 
appreciated.

ken@cs.rochester.edu (Ken Yap) (10/02/90)

|When I LaTeX a file using emTeX, it only goes to four pages and then stopped
|w/ the message like,
|
|!TeX capacity exceeded, sorry [buffer size=1024]
|
|Then I transfer the file to mainframe and LaTeX over there, there is no
|problem, it is only 16 pages. And then I transfer back the .DVI file
|and I am able to view it and print it.

The system you transfered your file from had a much more generous line
buffer. There's probably a long line in the text (possibly due to a
caption or a citation) that you need to shorten.

Another common cause of buffer overflow is not paying attention to
newline conventions. If you transfer your file from Unix to MS-DOS in
binary mode this may happen, but right at the beginning.  MS-DOS is
looking for the CR-LF pair to end the line and doesn't find one.