Yeah, I had that on my list of things to look into. They're produced by this code in "unstable/latent-contract/defthing.rkt":

(define (def/value def val . pre-flows)
  (apply s.nested
         (s.tabular #:style (s.style 'boxed '())
                    (list (list (s.nested def))
                          (list (s.tabular #:style def/value-table-style
                                           (list (list "=" val))))))
         pre-flows))

(define def/value-table-style
  (s.style 'boxed
           (list
            (s.table-columns
             (list
              (s.style 'plain
                       (list 'top
                             (s.attributes '((width . "0%")))))
              (s.style 'plain
                       (list 'top 'left
                             (s.attributes '((width . "100%"))))))))))

I'm not sure why the tabular with "= val" in it isn't getting the boxed style like everything else.

Neil ⊥

On 12/21/2013 03:20 PM, Sam Tobin-Hochstadt wrote:
That same documentation has a strange rendering issue with the `= #t`
in the various blue boxes. In particular, unlike here:
http://docs.racket-lang.org/plot/params.html?q=z-far#%28def._%28%28lib._plot%2Fmain..rkt%29._plot-z-far-axis~3f%29%29
they're not in the blue boxes.  I've CC'ed Matthew B. in case this is
something he knows more about.

Sam

On Sat, Dec 21, 2013 at 5:13 PM, Neil Toronto <neil.toro...@gmail.com> wrote:
Some plots in the documentation are missing a polygon. I think it's
platform-specific, because I can't reproduce the problem.

Examples:

First example plot in "1.5 Renderer and Plot Bounds" (look for a light green
rectangle)

file:///usr/racket-5.91.0.900/doc/plot/intro.html?q=plot#%28part._.Renderer_and_.Plot_.Bounds%29


Last example plot in `plot-z-far-ticks' docs (look for a white hole under
the "z" in the legend)

http://plt.eecs.northwestern.edu/snapshots/current/doc/plot/ticks_and_transforms.html?q=plot-z-far-ticks#%28def._%28%28lib._plot%2Fmain..rkt%29._plot-z-far-ticks%29%29


Here's a program that renders one of the bad plots like Scribble does (I
think):

#lang racket

(require pict plot/pict)

(pict->bitmap
  (plot3d-pict (polar3d (λ (θ ρ) 1) #:color 2 #:line-style 'transparent)
               #:altitude 25))


Neil ⊥


_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

_________________________
 Racket Developers list:
 http://lists.racket-lang.org/dev

Reply via email to