References notes and floats/PDF annotations

Unofficial ConTeXt Wiki mirror

Last modified: 2025-02-03

< PDF navigation | Widgets >

This page collects a few PDF specialties that have similar attributes. They don’t work with all PDF readers, and we can’t demonstrate them here.

Comments

You know these sticky litte yellow notes? Also in PDFs? Here’s how you use them with ConTeXt:

\setupcomment[
  symbol=Note,
  location=inmargin,
]
\samplefile{knuth}%
\startcomment[author=Editor]
You should shorten this paragraph!
\stopcomment

Markup

Now it would be nice if we also could use the text marker tool. Here’s how:

\enabledirectives[backend.pdf.fixhighlight]
\definecolor[pdfhighlight:Editor][r=.8,g=1,b=1]

Text \PDFhighlight[Editor][Please shorten!]{\samplefile{knuth}} Text

Attachments

You can add files to your PDF (see Attachment)

Other

Acrobat allows several other annotations, e.g. multimedia comments. Probably nobody uses them, and ConTeXt doesn’t support them.