xsavebox

Saveboxes for repeating content without code replication, based on PDF Form XObjects

Version:
0.18
Copyright:
Alexander Grahn
License:
lppl
Packaged on:
08/11/2022 20:12:05
Number of files:
2
Size on disk:
12.9 kB

The package defines commands for saving content that can be repeatedly placed into the document without replicating DVI/PDF code in the output file, allowing for smaller file size of the final PDF and improved content caching for faster display in certain PDF viewers. The method makes use of ‘Form XObjects’ defined in the PDF specification. The user commands are modelled after the standard LaTeX commands \savebox, \sbox, \usebox and the lrbox environment. All common TeX engines and back-ends are supported: pdfLaTeX, LuaLaTeX LaTeX → dvips → ps2pdf/Distiller (Xe)LaTeX → (x)dvipdfmx