Providing 'hidden as `#:style` is shorthand for

 (make-style #f (list 'hidden))

When you're already using `make-style`, you can add 'hidden to the list
of properties:

 (title #:style (make-style #f (list 'hidden (make-body-id "beta"))) ....)


At Mon, 20 Jun 2016 03:47:56 -0700 (PDT), Kathi Fisler wrote:
> I need to make the title of a scribbled document hidden, while also using the 
> title construct to modify the body-id.
> 
> Before I added the body-id, I was using  
> 
>     (title #:style 'hidden text)
> 
> My current replacement (to add body-id) looks like:
> 
>   (title #:style (make-style #f (list (make-body-id "beta")
>                                                    (attributes '((type . 
> "hidden")))))
>          text))
> 
> The title element is not hidden with this new version.  What's the right way 
> to attach hidden to a style when I can't use just the 'hidden symbol on its 
> own? (I realize this is an HTML question as much as a Scribble one but I 
> haven't turned up anything useful by googling).
> 
> thanks,
> Kathi
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to