Article View: comp.text.tex
Article #363Re: TeX too small, what now? <Solution>
From: John Hudson
Date: Thu, 23 Jul 1992 15:25
Date: Thu, 23 Jul 1992 15:25
35 lines
1926 bytes
1926 bytes
In article <Brr3As.J8z@ux1.cso.uiuc.edu> hudson@ux1.cso.uiuc.edu (John Hudson) writes: >When I include a large postscript file TeX (LaTeX) complains . . . > >Unable to read an entire line---bufsize=3000 >Please ask a wizard to enlarge me. > >What need to be done? . . . > >John Hudson >Chemical Engineering Thanks to the many who replied either here or by mail. As most of you pointed out, the problem is that unix expects lines to end with a \cr\lf combo while pc's generally output only the \lf in order to make text processing done more easily. In my case, the epsf file (included into TeX by epsf and psfig, btw) was generated on a Mac. My solution (a painful one) was to use ResEdit to change the file type from EPSF to TEXT. I then used MSWord or other to read in the file and save as Text with Line Breaks (making sure that the lines are not broken before the \lf). btw, I looked at dos2unix available on wuarchive, but it seemed to only _remove_ the \lf not replace it with \cr\lf. Also, Fetch (ftp program for macs) has a nice feature in tranferring text files called 'Wrapped Text' which breaks long lines. The only problem with this approach is that long comment lines (yes, some are more than 255 chars!) are cut and the ps interpretter thinks the part that is cut as a new line is postscript. I am still looking for a better solution -- may hack the dos2unix.c source. It would be worth it for the number of these figures I need to do. Thanks again for the response. John Hudson
Technical Details
Message-ID:
<BruLIC.Ez0@ux1.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!decwrl!sdd.hp.com!ux1.cso.uiuc.edu!hudsonReferences:
<Brr3As.J8z@ux1.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!decwrl!sdd.hp.com!ux1.cso.uiuc.edu!hudson From: hudson@ux1.cso.uiuc.edu (John Hudson) Newsgroups: comp.text.tex Subject: Re: TeX too small, what now? <Solution> Message-ID: <BruLIC.Ez0@ux1.cso.uiuc.edu> Date: 23 Jul 92 15:25:10 GMT References: <Brr3As.J8z@ux1.cso.uiuc.edu> Organization: University of Illinois at Urbana-Champaign Lines: 35