[TxMt] Markdown to PDF via Prince REQ

Robert M. Ullrey robert_ullrey at mac.com
Fri May 12 18:54:46 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

With such a great markdown/multimarkdown bundle combination, and now  
with CSS Preview, I am doing more and more writing/publishing with  
prince from Textmate.  However, I have to use a shell command to run  
prince. I have tried to hack the screenplay bundles command without  
much success. What I am trying to write is:
     1. convert a multimarkdown (need multi's footnotes) file with  
declared css file to html (or xml)
     2. tell prince to run the file with the css file "prince -s / 
file/css /tmp/$DST.HTML /tmp/" getting the css file name from the  
header in the html file so I don't have to tell prince where it is.
     3. open the generated /tmp/$DST.PDF il in preview.

I can get prince to run, but not glob the css file name. My end  
product is a PDF of the html source file. Cutie, but not what I want.

Thanks in advance for any help, or if others would like to make this.
Robert
  
  
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEZNn30ZwlS5OIzRcRAus2AJwP6+gcwhFwT4FDWUljZdGBHB4izACeMj1z
TETVHHDSqVtg9/BRaAxwUqE=
=8gsc
-----END PGP SIGNATURE-----



More information about the textmate mailing list