GeneralAdd attachment to last line of imported pdf

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
SkyHiRider
Posts: 11
Joined: Mon Oct 18, 2010 2:14 pm

Add attachment to last line of imported pdf

Post by SkyHiRider »

I am importing a pdf file using the pdfpages package and wish to add an attachment after the last text line in the imported pdf file. When I use attachfile a new empty page is created and the attachment is added there.

Is there a way to force attachfile to add the attachment on the last page of the imported pdf document?

My code follows:

Code: Select all

\documentclass{article}
\usepackage[setpagesize=false]{hyperref} % prikaz \pdfbookmark
\usepackage[ignoreall,scale=1]{geometry} % aby zalozky zacinaly vlevo nahore
\usepackage{pdfpages}			 % prikaz \includepdf
\usepackage{attachfile}


\begin{document}

\includepdf[fitpaper,pages={1-5}]{s-smesenzor.pdf}
\attachfile[description=Model semantics,icon=Paperclip]{modelsemantics.doc}



\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply