Hi there,
This is my first post to the list - many thanks to everyone on here for making it such a valuable resource for a TextMate beginner!
If I am writing in a Markdown document and I want to save as a PDF, it seems I have two options:
- Preview in textMate and then use the print dialog 'Save as PDF' command - Use the MultiMarkdown 'Convert to PDF' command to go directly to PDF
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
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.
On 14 Nov 2006, at 22:37, Soryu wrote:
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.
You can also specify a stylesheet in the meta data section of your MultiMarkdown document
Best, Mark