[TxMt] MultiMarkdown in TextMate

Brad Miller bonelake at mac.com
Wed Mar 29 16:05:54 UTC 2006


Mark,

Here is my MultiMarkdown bundle.

There are commands to go from MultiMarkdown to
Latex
HTML
PDF

I have found this to be a very useful little bundle.  Let me know if  
you have any trouble.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: multimarkdown.zip
Type: application/zip
Size: 27967 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060329/1513e470/attachment.zip>
-------------- next part --------------

Brad

On Mar 28, 2006, at 5:28 PM, Mark Eli Kalderon wrote:

> Apologies in advance if the answer to my query is blindingly  
> obvious---I am a UNIX newbie.
>
> I am trying to implement Fletcher Penney's variant of Markdown,  
> MultiMarkdown (http://fletcher.freeshell.org/wiki/MultiMarkdown),  
> as a TextMate bundle. The basic idea is to convert a Markdown  
> document into a full xhtml document and then to use xslt to convert  
> it into different formats such as LaTeX.
>
> I have written TextMate commands for each step of the process, and  
> it all works fine, but I would also like to add commands that  
> string these steps together. But there is a problem. For example,  
> while the following two TextMate commands work:
>
> Save: Nothing
> Command(s):	#!/bin/bash
> /usr/local/bin/MultiMarkdown.pl "$TM_FILEPATH"
> Input:	 None
> Output:	 Create New Document
>
> Save: Nothing
> Command(s):	#!/bin/bash
> /usr/bin/xsltproc -nonet -novalid /usr/local/bin/xhtml2article.xslt  
> "$TM_FILEPATH"
> Input:	 None
> Output:	 Create New Document
>
> the following fails---it generates an empty file:
>
> Save: Nothing
> Command(s):	#!/bin/bash
> /usr/local/bin/MultiMarkdown.pl "$TM_FILEPATH" | /usr/bin/xsltproc - 
> nonet -novalid /usr/local/bin/xhtml2article.xslt
> Input:	 None
> Output:	 Create New Document
>
> Any ideas? Thanks in advance.
>
> All the best, Mark
> _________________
> Mark Eli Kalderon
> Department of Philosophy
> University College London
> Gower Street
> London WC1E 6BT
>
> Dept webpage: http://www.ucl.ac.uk/philosophy
> Personal wepage: http://www.kalderon.demon.co.uk
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate



More information about the textmate mailing list