[racket-users] pict/code with other languages

2015-03-26 Thread Jack Firth
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

Re: [racket-users] pict/code with other languages

2015-03-26 Thread Vincent St-Amour
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