[TxMt] Oops... The PDF language is just a subset of PostScript itself...

dzurn daz-macromates at zzzurn.com
Wed Apr 30 18:26:23 UTC 2008


Once I read the reference further, I realized that PostScript would be the
general case that I really wanted.

So searching for "textmate postscript" I came across the PostScript.tmbundle
which gave me nice syntax highlighting. I was looking mainly for indentation
help, partly to decode everything going on with a PostScript file which had
almost all whitespace removed.

Finding that the PS language is oriented towards dictionaries with key and
value pairs, really helped me understand the structure. 

Then after I found
http://macromates.com/svn/Bundles/trunk/Bundles/Postscript.tmbundle/
I could use the Get Bundle to actually install the existing
PostScript.tmbundle. 

That contains a language grammar and comment, but the scopes all seem to
match so hopefully an indent capability might not be too hard to create.

Darryl 


Charilaos Skiadas-3 wrote:
> 
> I wouldn't hold my hopes up, unless there are many people who work  
> directly with pdf/ps files, and I don't know of any such people  
> personally. You might have to start from scratch. What kind of  
> functionality were you looking for from the bundle? Just some sort of  
> syntax highlight, or something more?
> 
> On Apr 30, 2008, at 11:45 AM, dzurn wrote:
> 
>>
>> Apparently the PDF syntax is a subset of the PostScript language  
>> syntax. So
>> anything which would be useful for PostScript would also be useful  
>> for the
>> PDF language. --DZ
>>
>>
>> dzurn wrote:
>>>
>>> I have to manipulate some PDF files directly so I was looking for a
>>> TextMate Bundle for PDF/FDF files.
>>>
>>> They have a pretty weird syntax, so I'm not sure which bundle  
>>> might be
>>> useful as a starting point. I have the PDF reference (1,310 pages of
>>> excruciating detail) but I'm looking for something simple to at  
>>> least make
>>> some logical sense from this 'non-human-readable' language  :)
>>>
>>> Any pointers to a similar or even a partial bundle would be  
>>> appreciated.
>>> Thanks
>>> Darryl Zurn
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Bundle-or- 
>> Language-Grammar-for-raw-PDF-syntax--tp16985609p16985758.html
>> Sent from the textmate users mailing list archive at Nabble.com.
>>
>>
>> ______________________________________________________________________
>> 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
> 
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College
> 
> 
> 
> 
> 
> ______________________________________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Bundle-or-Language-Grammar-for-raw-PDF-syntax--tp16985609p16988862.html
Sent from the textmate users mailing list archive at Nabble.com.




More information about the textmate mailing list