Add new comment

Submitted by trey on Tue, 2008-01-08 10:12.

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

Reply


*

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <hr> <dl> <dt> <dd> <h2> <h3> <h4> <pre> <i> <table> <tr> <th> <td> <img> <div> <p> <br> <blockquote> <font>
  • Lines and paragraphs break automatically.
  • Images can be added to this post.
  • Easily link to terms in various wikis or other websites by typing [prefix:term]. Use the "|" character to create a "piped link," e.g., "[w:public transport|public transportation]" displays as "public transportation." For a full list of available prefixes and the websites to which they point, see interwiki.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • Web and e-mail addresses are automatically converted into links.
  • Web and e-mail addresses are automatically converted into links.
  • Lines and paragraphs break automatically.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • Images can be added to this post.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • Easily link to terms in various wikis or other websites by typing [[prefix:term]]. Use the "|" character to create a "piped link," e.g., "[[w:public transport|public transportation]]" displays as "public transportation." For a full list of available prefixes and the websites to which they point, see interwiki.
  • WikiText is converted to HTML (supported WikiText formatting will show in the long tip format).
Verify comment authorship
Captcha Image: you will need to recognize the text in it.
*
Please type in the letters/numbers that are shown in the image above.