[TxMt] MultiMarkdown in TextMate
Mark Eli Kalderon
m.kalderon at ucl.ac.uk
Mon Apr 17 20:55:35 UTC 2006
On 17 Apr 2006, at 20:49, Brad Miller wrote:
>> Here’s an alternative version, which instead encode non-ASCII as
>> numeric entities (so it will still show properly in the HTML
>> output, and will not bark with characters not supported by Latin 9):
>>
>> MultiMarkdown.pl|SmartyPants.pl|"${TM_RUBY:-ruby}" >"$DST.html"
>> -KU -pe '$_.gsub!(/[^\x00-\x7F]/) { |ch| "&##{ch.unpack("U")[0]};" }'
>>
>> Brad, can you test if this works e.g. with ‘…’ using your custom
>> build of htmldoc (I seem to have deleted my own.)
>>
> Yes, ü ø ö all work as well as … with my build. Do they also
> work with the darwinports build? The characters come out fine on
> in the html window as well as in the pdf.
Hmm. I am getting no love here. I get the following error message:
/bin/bash: line 7: /tmp/test.html: cannot overwrite existing file
ERR002: Error: no pages generated! (did you remember to use webpage
mode? 2006-04-17 21:52:49.873 open[12628] No such file: /tmp/test.pdf
Any ideas?
Best, Mark
More information about the textmate
mailing list