[TxMt] context output to html

Allan Odgaard allan at macromates.com
Tue Apr 19 01:38:34 UTC 2005


On Apr 19, 2005, at 3:30, Allan Odgaard wrote:

> As a workaround I changed the redirect command to go through localhost  
> like this:
>
> [ -s ${tmp}.pdf ] && { cp "$tmp" ~/Sites/web_kit_workaround.pdf; chmod  
> 666 ~/Sites/web_kit_workaround.pdf; echo  
> "</pre><script>window.location='http://localhost/~$USER/ 
> web_kit_workaround.pdf'</script>"; }

Ah, reading this again, the reason why the PDF plugin froze was that it  
wasn't the proper file I copied over as the PDF, should have been:

[ -s ${tmp}.pdf ] && { cp "${tmp}.pdf" ~/Sites/web_kit_workaround.pdf;  
chmod 666 ~/Sites/web_kit_workaround.pdf; echo  
"</pre><script>window.location='http://localhost/~$USER/ 
web_kit_workaround.pdf'</script>"; }

Now it actually works again! :) Although still going through localhost.




More information about the textmate mailing list