I use the `java-lexer` package to typeset JavaScript code:
    https://github.com/stamourv/java-lexer

To turn those into picts, you can use `codeblock->pict` from
`unstable/gui/scribble`.

Vincent



At Thu, 26 Mar 2015 09:45:50 -0700 (PDT),
Jack Firth wrote:
> 
> I'd like to typeset some Javascript code in a way similar to what pict/code 
> allows, but the naive approach of (code someFunc(someArg, someOtherArg)) 
> doesn't quite work because of the reader adding whitespace in various places. 
> pict/code seems to be purely oriented towards working with racket code, how 
> can I get similar functionality for languages with C-style syntax?
> 
> -- 
> 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