[TxMt] Print to PDF from Markdown preview

Soryu Soryu at serenity.de
Tue Nov 14 22:37:52 UTC 2006


>
> What control do I have over the format of the resulting PDF if I  
> generate it from the print dialog rather than the 'convert to PDF'  
> command? I like the 'out of the box' look of the print dialog PDF  
> better than the htmldoc-generated one, and wondered if I could do  
> anything to tweak, e.g. fonts, space after headings, list  
> indentation, etc.
>
> If anyone knows of a good htmldoc intro document that is a little  
> friendlier than the manpage I'd be grateful too!!
>
> Many thanks,
> Nigel

Hi Nigel,

I’ve just committed a patch to the Web Preview that allows you to put  
your own Stylesheet here: ~/Library/Application Support/TextMate/ 
Themes/Webpreview/print.css

There you can override the default print styles that are defined in / 
Library/Application Support/TextMate/Support/themes/default/print.css  
(if you have bundles checked out via svn) or /Applications/ 
TextMate.app/Contents/SharedSupport/Support/themes/default/print.css

You’ll have to checkout the Support folder to make this work. Or wait  
for the next TextMate version.

Have fun,
Soryu.


More information about the textmate mailing list