MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: PageWidth mystery

  • To: mathgroup at
  • Subject: [mg26149] Re: PageWidth mystery
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 30 Nov 2000 01:03:56 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <8v7kk9$> <8vfr9p$> <8vvorp$>
  • Sender: owner-wri-mathgroup at


it was not clear that you are *not* working with the FrontEnd.
MakeBoxes[] is clearly useless in the commandline interace.
The FrontEnd interpret the boxes and typeset it.

The Kernel alone has no information about the width of characters
and can't make any use of boxes and new lines.

But you should be able to open a OutputStream[] and set the
PageWidth option and replace this option dynamical when you 
write the data to this stream.


> IE, MakeBoxes works only as an explicit wrapper, it is not called
> automatically like Format[], and I still cannot see how I could cause
> it to actually break lines, instead of just inserting \[NewLine] where
> a line break should be.
> Replacing "\[NewLine]" by "\00n" gives a different, funny but still
> wrong result.
> With the above script I could of course use sed, but in an interactive
> front end?

  • Prev by Date: how to print symbols?
  • Next by Date: Re: finding the k-nearest neighbour
  • Previous by thread: Re: PageWidth mystery
  • Next by thread: Simplifying things