On Thursday 04 April 2002 1:47 pm, Herbert Voss wrote:
> Angus Leeming wrote:
> > On Thursday 04 April 2002 1:24 pm, Herbert Voss wrote:
> >>Lars Gullik Bjønnes wrote:
> >>>| Sorry, you've lost me. What good would that be? Perhaps some sample
> >>>| code? I learn best through examples.
> >>>
> >>>First you decide what the form om a valid bb string is:
> >>
> >>but graphicx also accepts bb=1cm 1cm 1cm 1cm;
> >>
> >>why not doing it in the same way than in ControlGraphics
> >>
> >>         std::ifstream is(bb.c_str());
> >>         string a, b, c, d;
> >>         is >> a >> b >> c >> d;
> >>         if (!isValidLength(a) || !isValidLength(b) ||
> >>             !isValidLength(c) || !isValidLength(d))
>
> this looks better to me
>
>           if !(isValidLength(a) && isValidLength(b) &&
>                isValidLength(c) && isValidLength(d))
>
> Herbert

Incidentally, Herbert, LyX no longer reads the bounding box of this eps file. 
It used to! Care to have a look?

Angus

Attachment: time_40.eps.bz2
Description: BZip2 compressed data

Reply via email to