[TxMt] Inline PDF
Eric Hsu
erichsu at math.sfsu.edu
Mon Feb 7 15:32:54 UTC 2005
At 3:28 PM +0100 2/7/05, Torsten Becker wrote:
> > Can textmate show pdf files inline?
>
>AFAIK not, but you probably could write a command which opens a
>pdf and then inserts its content as plaintext.
It depends on what you mean by inline. It can web-preview PDF files.
The key example is the file
<html><head><meta http-equiv="Refresh"
content="0;URL=file:///tmp/test.pdf"></head><body></body></html>
which previews the PDF file /tmp/test.pdf. You can be more tricky
and modify this example to have commands output PDF through the
'output is HTML' command; an example is the PDF LaTeX in the LaTeX
Bundle.
I think Allan may eventually make TM open PDF directly as it's pretty
much there if you have the Schubert PDF Browser Plugin.
What are apple's PDF Replacement Services? I know about the PDF
Services discussed at <http://www.apple.com/applescript/print/>. If
you describe what you want to happen, maybe we can collectively
figure out how to do it.
This little editor is full of surprises!
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu at math.sfsu.edu
http://math.sfsu.edu/hsu
More information about the textmate
mailing list