Unfortunately, since the code samples are almost always wider than tall, Print "helpfully" tries to rotate the page, so you have to un-check "Automatically rotate each page" before saving the PDF.
Also, when you place the image into Keynote, the bounding box is still a full US Letter size, so in order to scale it up to the size I want in my slide, I have to zoom way down so that I can pull the handles way off the edges of the slide. And now Keynote thinks the image fills the entire slide, so I can't click on the header or anything else without using Arrange commands to move the image behind the header. Maybe I could help matters here by using 3x5 card size "paper" or something.
And turning off auto-rotate isn't in the AS dictionary. :(
I'm wondering if I shouldn't try hacking up a different implementation involving perltidy going into syntax-colored HTML. But then I have to go for each code sample into a browser, copy, and paste. Not to mention that perltidy has no support whatsoever for Perl 6, unlike cperl-mode in emacs, so it gets the syntax hightlighting terribly wrong pretty frequently.
Ugh. I had such a nice process, and now it's such a pain. :(
Thanks for the suggestion, I tried it.
Unfortunately, since the code samples are almost always wider than tall, Print "helpfully" tries to rotate the page, so you have to un-check "Automatically rotate each page" before saving the PDF.
Also, when you place the image into Keynote, the bounding box is still a full US Letter size, so in order to scale it up to the size I want in my slide, I have to zoom way down so that I can pull the handles way off the edges of the slide. And now Keynote thinks the image fills the entire slide, so I can't click on the header or anything else without using Arrange commands to move the image behind the header. Maybe I could help matters here by using 3x5 card size "paper" or something.
And turning off auto-rotate isn't in the AS dictionary. :(
I'm wondering if I shouldn't try hacking up a different implementation involving perltidy going into syntax-colored HTML. But then I have to go for each code sample into a browser, copy, and paste. Not to mention that perltidy has no support whatsoever for Perl 6, unlike cperl-mode in emacs, so it gets the syntax hightlighting terribly wrong pretty frequently.
Ugh. I had such a nice process, and now it's such a pain. :(