Angus Leeming <[EMAIL PROTECTED]> writes:

> On Monday 01 July 2002 6:00 pm, David Kastrup wrote:
> > You presumably would want to have "white space" to the left of the
> > equation cropped away.
> 
> Exactly.
> 
> > Since you would usually want to have the paragraph based stuff line
> > up, this has turned out to be about the most desirable mode of
> > operations for our application.
> 
> > I hope this makes sense.
> 
> It does. Would you entertain a "feature request" that you add an option to 
> strip off the LHS whitespace for me?

The problem is that I would not know how to do this.  This LHS
whitespace is buried within several layers of boxes.  A lot of
formatting would break if I tried to dissect formatting buried as deep
as that.  And it cannot be reassembled: for example, in a list
involving AMSLaTeX displays, often an equation number is placed into
a right-shifted hbox.  When disassembling this stuff, the shift gets
lost.

> For now, this works well enough and is pretty fast:
>       pngtopnm trial004.png | pnmcrop - > trial004.ppm

If it is just displayed equations you are bothered by, one suitable
solution for the LHS whitespace would be to use the fleqn
document-wide option when generating previews.  Of course, this
changes the veracity of the previews somewhat, but so would do other
ways of cropping.  I do remember vaguely that the implementation of
this option might actually bypass display math mode, in which case
automatic previews would not work, but a manual "preview" environment
will always do the trick.

> One more dumn question. Background and foreground colours. The gs
> docs say that these must be set as X11 resources. Is there a way of
> setting them temporarily.

See the stuff that André quoted in a separate post.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]


Reply via email to