Document Structuring Conventions - Example

Example

A DSC-conforming document (this one generated by dvips) might begin:

%!PS-Adobe-2.0 %%Creator: dvips(k) 5.95a Copyright 2005 Radical Eye Software %%Title: texput.dvi %%Pages: 1 %%PageOrder: Ascend %%BoundingBox: 0 0 612 792 %%DocumentPaperSizes: Letter %%EndComments

which has the following meaning:

  • %!PS-Adobe-2.0 marks the document as conforming to version 2.0 of the DSC
  • %%Creator: dvips(k) 5.95a Copyright 2005 Radical Eye Software identifies the PostScript-producing program as dvips 5.95a
  • %%Title: texput.dvi identifies the document title
  • %%Pages: 1 tells the document manager that the document consists of one page
  • %%PageOrder: Ascend tells the document manager that pages are independent (i.e., not in Special ordering) and appear in ascending order in the document; in this example, since the document only consists of one page, this information is not usually relevant, but will be needed if additional pages are to be inserted by a document manager
  • %%BoundingBox: 0 0 612 792 tells the document manager the coordinates, measured in PostScript points, of the bounding box for all the pages taken together; 0 0 612 792 is the coordinates of a US Letter–sized page
  • %%DocumentPaperSizes: Letter tells the document manager what kind of paper sizes are used in the whole document; in this example only one size is used, namely the US Letter size
  • %%EndComments marks the end of the prolog

Read more about this topic:  Document Structuring Conventions

Famous quotes containing the word example:

    Our intellect is not the most subtle, the most powerful, the most appropriate, instrument for revealing the truth. It is life that, little by little, example by example, permits us to see that what is most important to our heart, or to our mind, is learned not by reasoning but through other agencies. Then it is that the intellect, observing their superiority, abdicates its control to them upon reasoned grounds and agrees to become their collaborator and lackey.
    Marcel Proust (1871–1922)