You mentioned you were on the Mac, so you can reduce your "round-
about"
using the pbcopy tool on the command line, as follows:
% pygmentize -f rtf swing-ex.clj | pbcopy -Prefer rtf
(Now, inside Keynote, just paste).
pbcopy and pbpaste are very useful tools to become familiar with.
cheers,
-tom
On Apr 4, 6:49 am, semperos <[email protected]> wrote:
> On my Mac, I use pygmentize <http://pygments.org/>on the command-line to
> generate a syntax-colored HTML file from a Clojure source file. Then I open
> the HTML file in Safari and copy-and-paste the code into Keynote. The Mac
> clipboard keeps the formatting between those two programs.
>
> A bit round-about, but pygmentize was easy to install, use, and configure,
> and Keynote is quite nice.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en