8
votes
3answers
223 views

PDF annotations: How to know if “a box is empty”?

Extract from dvipdfmx documentation: Warning: No annotation will be constructed if the content between pdf:bann and pdf:eann is an empty box. My MWE (via xelatex): \documentclass{article} ...
4
votes
1answer
401 views

embed a PDF page in plain XeTeX

In the dvipdfm documetation, there is a special command for including the first page of an embedded pdf (using \special{pdf:epdf ... (file.pdf)}. Is there a way to insert for instance the fifth page ...
4
votes
2answers
1k views

Embedding files into a PDF document with dvipdfmx

I use the embedfile package in order to embed the LaTeX source code into the final PDF with the following code: \documentclass{article} \usepackage{embedfile} \embedfile{\jobname.tex} ...