Flare is a LaTeX package and an extension to \includegraphics
.
While \includegraphics
copies the content stream of a PDF page,
Flare copies all annotations belonging to this PDF page.
This project is still in development and not yet recommended for the average end user.
Including flare.sty
is all you need to do. By default Flare hooks
into \includegraphics
and copies all annotations.
\documentclass{article}
\usepackage{flare}
\begin{document}
\includegraphics{file.pdf}
\end{document}
In addition to copying all annotations by default, Flare provides many options
to customize the copying process, like modifying or removing certain annotations.
Flare specific options shall be given in the optional argument of
\includegraphics
.
\includegraphics[<flare options>]{file.pdf}
See examples/ for more advanced examples.
Following annotations are implemented so far:
- Square, Circle
- TextMarkup (Highlight, Underline, Squiggly, StrikeOut)
- Text, FreeText
- Link
- Line
- Polygon, PolyLine
- Stamp
- Ink
- Widget (partly)
- FileAttachment
Flare is designed for LuaTeX. Other TeX engines are not supported.
Download flare.tds.zip, a TDS-packaged ZIP file, and unpack it in your TDS tree (aka TEXMF tree).
© 2021-2023 Andreas MATTHIAS
LaTeX Project Public License, version 1.3c or later.