Re: [racket-users] Highlighting non-racket code in slideshow

2016-10-04 Thread C K Kashyap
Thanks Vincent :)

On Mon, Oct 3, 2016 at 7:42 PM, Vincent St-Amour <
stamo...@eecs.northwestern.edu> wrote:

> `codeblock-pict` should do what you want, assuming there's a
> corresponding #lang (doesn't need to be a full implementation, just
> needs a lexer).
>
> Alternatively, you can use my `java-lexer` package which, despite its
> name, does a decent job with much more than just Java. I've used it to
> get some ok highlighting for Haskell, for example. Turns out at the
> lexer level, a lot of things kind of look the same. :)
>
> Vincent
>
>
>
> On Mon, 03 Oct 2016 18:16:56 -0500,
> C K Kashyap wrote:
> >
> > Hi,
> > What's a good way to syntax-highlight non-racket code within slideshow?
> > I've been using pandoc so far which has support for multiple languages
> > but I'd like to start using slideshow.
> > Regards,
> > Kashyap
> >
> > --
> > 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.


Re: [racket-users] Highlighting non-racket code in slideshow

2016-10-03 Thread Vincent St-Amour
`codeblock-pict` should do what you want, assuming there's a
corresponding #lang (doesn't need to be a full implementation, just
needs a lexer).

Alternatively, you can use my `java-lexer` package which, despite its
name, does a decent job with much more than just Java. I've used it to
get some ok highlighting for Haskell, for example. Turns out at the
lexer level, a lot of things kind of look the same. :)

Vincent



On Mon, 03 Oct 2016 18:16:56 -0500,
C K Kashyap wrote:
> 
> Hi,
> What's a good way to syntax-highlight non-racket code within slideshow?
> I've been using pandoc so far which has support for multiple languages
> but I'd like to start using slideshow.
> Regards,
> Kashyap
> 
> -- 
> 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.


[racket-users] Highlighting non-racket code in slideshow

2016-10-03 Thread C K Kashyap
Hi,
What's a good way to syntax-highlight non-racket code within slideshow?
I've been using pandoc so far which has support for multiple languages but
I'd like to start using slideshow.
Regards,
Kashyap

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