Hello,
I use textmate a lot to write in markdown. However, the documents I produce need to be printed out and proofread often. Is there any way to get textmate to print out documents double spaced? If not, I preview the documents in firefox on OS X. Is there any way to get firefox to print double spaced?
Thank you for your time,
-Colin Palmer
Before printing, simply do a find and replace to replace every newline with two newlines. (In the Find & Replace dialog, press Option-Return to make a newline).
~Ben
On Aug 26, 2007, at 7:01, Colin Gregory Palmer wrote:
Hello,
I use textmate a lot to write in markdown. However, the documents I produce need to be printed out and proofread often. Is there any way to get textmate to print out documents double spaced? If not, I preview the documents in firefox on OS X. Is there any way to get firefox to print double spaced?
Thank you for your time,
-Colin Palmer
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 8/26/07, Colin Gregory Palmer CGP@colingregorypalmer.net wrote:
Hello,
Is there any way to get textmate to print out documents double spaced?
Here's what I do for my Markdown stuff:
- Create a CSS stylesheet for printing. Adjust your line spacing there. - Save it to ~/Library/Application\ Support/TextMate/Themes/WebPreview/print.css - Preview your doc in TextMate - Hit ⌘ + P - Enjoy :)
You may have to override some default styles from TextMate, but the effort is *really* worth it.
In fact, I now use "Print as PDF" to create beautiful documentation in PDF for clients from Markdown documents.
Check this quick sample: http://www.flickr.com/photos/bomberstudios/979133640/
I've found the "Inspect Element" command in Safari 3 / WebKit is a really powerful tool for creating your custom CSS file. You could also take a look at the default CSS files in http://macromates.com/svn/Bundles/trunk/Support/themes/default/ to get an idea on what you should override.
I think the TextMate manual does not go give enough information about this feature (it had *nothing* last time I checked :) but it's not rocket science either...
Please share your experiences, I think the whole list would benefit from more information about it.
Hope it helps...
Ale Muñoz wrote:
I think the TextMate manual does not go give enough information about this feature (it had *nothing* last time I checked :)
That's because it (the styling stuff) was mostly done by Soryu IIRC, and is something built on top of TM functionality, but in no way hard-coded into the app.
That's not to say that such things shouldn't be documented somewhere, though. It would be good to have a sort of "extra bundle-supplied functionality" manual somewhere, to hit all the stuff that we now take for granted, but isn't provided by TM itself.
On Aug 27, 2007, at 1:05 AM, Ale Muñoz wrote:
[...] I think the TextMate manual does not go give enough information about this feature (it had *nothing* last time I checked :) but it's not rocket science either...
Indeed this is presently undocumented when it comes to the official manual.
There is a blog post about it though (but it doesn’t really talk about the option of providing print style sheets): http:// www.serenity.de/blog/2006-11-12-On_Theming_the_TextMate_WebPreview.html