Tim,

This approach is very interesting. My choice of mode for LP has always been
noweb-mode but it doesn't seem to work with my version of emacs anymore. My
current approach is to embed prose and clojure code in a latex document and
generate a .tex file with formatted clojure code and .clj containing only
clojure code. Needless to say, it is a hack and I would like to see if I can
adopt your approach.

However, I have a question on mapping of line numbers in clojure stacktrace
to its source. AFAIK, there is no support in clojure compiler for #LINE
directive. In my case, a code is always in one location and I just replace
latex lines with empty lines. How do you address this issue?

Thanks,
Praki
On Sat, Dec 25, 2010 at 10:01 PM, Tim Daly <d...@axiom-developer.org> wrote:

>  ;  0 AUTHOR and LICENSE
> ;  1 ABSTRACT and USE CASES
> ;  2 THE LATEX SUPPORT CODE
> ;  3 IMPORTS
> ;  4 THE TANGLE COMMAND
> ;  5 SAY
> ;  6 READ-FILE
> ;  7 ISCHUNK
> ;  8 HASHCHUNKS
> ;  9 EXPAND
> ; 10 TANGLE
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to