[racket-users] is anyone using the ffi with c++?

2016-06-19 Thread Martin DeMello
I've googled around a lot but couldn't find anything. I would like racket
to be the main program, and consume a C++ library so I can play with it
interactively in a repl, and write small racket programs to automate C++
object creation and method calls. Writing a glue-code main.cpp would be
fine, but I am trying to avoid manually wrapping C functions around
everything in the library.

martin

-- 
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.


Re: [racket-users] Where to use make-body-id in scribble

2016-06-19 Thread Brian LaChance
(Adding the list this time. Sorry for the noise, Kathi)

On Sun, Jun 19, 2016 at 2:34 PM, Kathi Fisler  wrote:
> I can't figure out where to put this so that the overall page body id gets 
> affected though.  Is there a specific part I need to hang this on (presumably 
> through a make-style)?

It appears to work if you put this style property on the document's title:

#lang scribble/base
@(require scribble/core
  scribble/html-properties)
@title[#:style (style #f (list (body-id "the-bodys-id")))]{Scribble is great!}

I can't figure out if there's a better or different way to accomplish
this, though. I hope the example at least helps.

-Brian

-- 
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.


[racket-users] Where to use make-body-id in scribble

2016-06-19 Thread Kathi Fisler
[I sent this to users[at]racket-lang.org, which I assumed meant it would show 
up here.  Resending in case that was incorrect]

I need to change the body tag on scribble generated pages to have the id 
"beta". I currently have the style property:

  (make-body-id "beta")

I can't figure out where to put this so that the overall page body id gets 
affected though.  Is there a specific part I need to hang this on (presumably 
through a make-style)?  I didn't see an effect when hanging it on one of the 
topmost spans that my scribble code generates.

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.