summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pdfpages/pdf-hyp.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdfpages/pdf-hyp.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pdfpages/pdf-hyp.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pdfpages/pdf-hyp.tex b/Master/texmf-dist/doc/latex/pdfpages/pdf-hyp.tex
index dd7672e7ee5..7bcbf3b3cda 100644
--- a/Master/texmf-dist/doc/latex/pdfpages/pdf-hyp.tex
+++ b/Master/texmf-dist/doc/latex/pdfpages/pdf-hyp.tex
@@ -11,6 +11,10 @@
%% Please send error reports and suggestions for improvements to
%% Andreas MATTHIAS <andreas.matthias@gmail.com>.
%%
+%% \def\AM@getpagecount{%
+%% \setbox\@tempboxa=\hbox{\includegraphics{\AM@currentdocname}}%
+%% \edef\AM@pagecount{\the\pdflastximagepages}%
+%% }
\documentclass[a4paper,12pt]{article}
\usepackage[final]{pdfpages}
\usepackage{verbatim}