{% for note in notes %}
 [ /Type /Annot
   /Contents ({{ note.safe_pdf_text|safe }})
   /Rect [{{ note.x|floatformat:"0" }} {{ note.y|floatformat:"0" }} {{ note.x|floatformat:"0" }} {{ note.y|floatformat:"0" }}]
   /Subtype /Text
   /Name /Comment
   /SrcPg {{ note.page|add:"1" }}
   /Open true
   /Color [1 0 0]
   /ANN pdfmark
{% endfor %}
