diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdfpages/pdf-toc.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pdfpages/pdf-toc.tex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pdfpages/pdf-toc.tex b/Master/texmf-dist/doc/latex/pdfpages/pdf-toc.tex index 6199822f7b9..56db9cf4270 100644 --- a/Master/texmf-dist/doc/latex/pdfpages/pdf-toc.tex +++ b/Master/texmf-dist/doc/latex/pdfpages/pdf-toc.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]{book} \usepackage{pdfpages} \usepackage{verbatim} |