[racket-users] How to create a url-based image reference through Scribble
I'm using Scribble and trying to end up with http://foo.gif; alt="bar"> If I call (image "http://foo.gif; "bar"), I get an error as Scribble tries to treat the url as a path. How can I use a URL for the src attribute? 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.
[racket-users] How to insert @ character into scribble-generated output?
I need to put a sample of a JUnit test case in a sribble document, along the lines of @verbatim{ @Test public void checkHBLen() { assertEquals(HapBD.lenInSeconds, 25); } } What's the escape sequence for treating the @ on Test literally, rather than as a scribble command. Couldn't find this in the reader documentation. thanks. -- 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] Has anyone generated Open Office or Google Docs from scribble source?
We have a bunch of exercise handouts (for Bootstrap) in scribble format, and users who want them as editable Google Docs (for distribution within their school's LMS). Does anyone have a backend for scribble docs that produces a format that can upload as an editable Gdoc? It looks like OpenOffice has an xml format, for example, which I suspect scribble could target (at least in theory). 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.
[racket-users] Combining body-id in title with hidden attribute in scribble
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.
Re: [racket-users] Where to use make-body-id in scribble
Thanks Brian -- that worked fine! Kathi On Sunday, June 19, 2016 at 7:50:45 PM UTC-4, Brian LaChance wrote: > (Adding the list this time. Sorry for the noise, Kathi) > > On Sun, Jun 19, 2016 at 2:34 PM, Kathi Fisler <kfis...@gmail.com> 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
[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.