Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!adobe!orthlieb From: orthlieb@adobe.COM (Carl Orthlieb) Newsgroups: comp.lang.postscript Subject: Re: parsing DSC comments Keywords: DSC parsing Message-ID: <14096@adobe.UUCP> Date: 16 Apr 91 23:51:33 GMT References: <11503@exodus.Eng.Sun.COM> Reply-To: orthlieb@adobe.UUCP (Carl Orthlieb) Organization: Adobe Systems Incorporated, Mountain View Lines: 35 In article <11503@exodus.Eng.Sun.COM> rberlin@Eng.Sun.COM writes: >When you see > %%IncludeProcSet: "(AppleDict md)" 68 0 >what is the name field? Is it > "(AppleDict md)" > (AppleDict md) > AppleDict md >or something I haven't thought of? > >-- Rich Actually, the way that this is specified is incorrect: %%IncludeProcSet: "(Appledict md)" 68 0 is an invalid DSC definition. If you look in the new red book in Appendix G.4 Document Structure Rules on page 637, you'll see that the definition for a procname is as follows: ::= ::= ::= ::= Where is an elementary type. A text string comprises any printable characters and is usually considered to be delimited by blanks. If blanks or special characters are desired inside the text string, the entire string should be enclosed in parentheses. Special characters can be denoted using the PostScript language string \ escape mechanism. Therefore, the proper definition should be: %%IncludeProcSet: (Appledict md) 68 0 Where 'Appledict md' is the name of the procset. Hope this helps, Carl 8^)