Browse files

updates for MMD 3

  • Loading branch information...
1 parent a520e56 commit 5a3de2ffe431454d1c6bc24db2078e2b89c34f2d @fletcher committed Apr 9, 2011
Showing with 41 additions and 0 deletions.
  1. +40 −0 Commands/Convert Document to PDF.tmCommand
  2. +1 −0 info.plist
View
40 Commands/Convert Document to PDF.tmCommand
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string># Process the MultiMarkdown document into LaTeX, and then
+# Process the LaTeX into a PDF
+
+# Requires that the document be saved first
+
+# This may or may not work for your file, and is not "officially"
+# supported.
+
+# Use at your own risk
+
+
+cd "${TM_FILEPATH%/*}"
+
+mmd2pdf "${TM_FILEPATH}"
+
+open sample.pdf
+</string>
+ <key>fallbackInput</key>
+ <string>document</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>^P</string>
+ <key>name</key>
+ <string>Convert Document to PDF</string>
+ <key>output</key>
+ <string>discard</string>
+ <key>scope</key>
+ <string>text.html.markdown.multimarkdown</string>
+ <key>uuid</key>
+ <string>4F20AFC6-53B0-4789-8007-8FC84F2B1874</string>
+</dict>
+</plist>
View
1 info.plist
@@ -169,6 +169,7 @@
<string>67EB96A4-4213-42C9-9C47-B886A4B8AC93</string>
<string>C92636B7-8795-4CE4-8F0B-0F2EB200CAA1</string>
<string>FD6FBB48-68DF-4EFB-9A66-2C109E9FCA7E</string>
+ <string>4F20AFC6-53B0-4789-8007-8FC84F2B1874</string>
<string>9BF17F3B-B5E1-4F8A-A422-1A5413D4AD75</string>
<string>351451DE-C1A4-4A36-A563-99AF761D026B</string>
<string>CAC8BE7C-78DD-489B-97F8-2EF8D896F91C</string>

0 comments on commit 5a3de2f

Please sign in to comment.