title: Trouble making my first PDF
body: <p>I've been reading through the PDF spec for the past couple hours and this is what I've come up with. But it's not rendering in OSX Preview:</p>
  
  <pre><code>%PDF-1.3
  
  1 0 obj
  &lt;&lt; /Type /Catalog /Pages 2 0 R &gt;&gt;
  endobj
  
  2 0 obj
  &lt;&lt; /Type /Pages /Kids [ 3 0 R ] /Count 1&gt;&gt;
  endobj
  
  3 0 obj
  &lt;&lt; /Type /Page /Parent 2 0 R /Resources &lt;&lt;&gt;&gt; /MediaBox [0 0 500 500] /Contents 4 0 R &gt;&gt;
  endobj
  
  4 0 obj
  BT
  /F13 12 Tf (Hello World!) Tj 
  ET
  endobj
  
  xref
  0 5 
  0000000000 65535 f
  0000000010 00000 n
  0000000059 00000 n
  0000000119 00000 n
  0000000221 00000 n
  
  trailer 
  &lt;&lt; /Size 5 /Root 1 0 R &gt;&gt;
  startxref
  267
  %%EOF
  </code></pre>
  
  <p>I'm sure it's something with my text object, but I'm having trouble figuring it out.</p>