# [racket] Integrating scribble and LaTeX

 From: Robby Findler (robby at eecs.northwestern.edu) Date: Tue Jun 21 21:07:12 EDT 2011 Previous message: [racket] Integrating scribble and LaTeX Next message: [racket] Integrating scribble and LaTeX Messages sorted by: [date] [thread] [subject] [author]

FWIW, there is a way to pull in arbitrary latex code in, but it has to
interoperate with what scribble generates and setting it up, while not
difficult, does require some familiarity with the way scribble works
in a big picture kind of a way.

So I think your best bet is to just pick a small piece and try to redo
that part in scribble and see how that works out.

Overall, I guess it is easier to concatenate pdfs than to try to
operate at the scribble/latex level for what (I guess) Don has in
mind.

Robby

On Wed, Jun 22, 2011 at 8:54 AM, Prabhakar Ragde <plragde at uwaterloo.ca> wrote:
> Don Blaheta wrote:
>
>> I was looking to put some Racket code into a set of course notes I'm
>> writing up in LaTeX, and rather than just using verbatim, I thought this
>> would be a perfect time to figure out (at least the basics of) Scribble.
>>
>> Only, I can't figure out how to integrate it with LaTeX.
>
> Faced with the same decision a few weeks ago, I first decided, after
> learning what I could do with Scribble, to write everything in Scribble and
> render through LaTeX.
>
> Then, after learning that I could use MathJax to display math in HTML, I
> decided to do my course notes (summaries for the students) in Scribble and
> render to HTML. This takes literally ten lines of pretty obvious Scribble
> code to set up.
>
> I am producing slides in Scribble by rendering to LaTeX (Beamer) and then to
> PDFs.
>
> I'd much rather write Scribble than LaTeX. --PR
> _________________________________________________