\documentclass{article} \usepackage[colorlinks=true]{hyperref} \usepackage{pdfpages}%直接插入pdf文件页 \graphicspath{{egfigure/}{example/}} \begin{document} \phantomsection %\addcontentsline{toc}{section}{opt-eg-authoryear} \includepdf[pages=-,addtotoc={1,section,1,opt-eg-dblang,eg:doublelang}]{example/opt-eg-dblang.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-eg-authoryear} \includepdf[pages=-,addtotoc={1,section,1,opt-eg-authoryear,eg:ay}]{example/opt-eg-authoryear.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-autolang-multilan} \includepdf[pages=-,addtotoc={1,section,1,opt-autolang-multilan,eg:multilang}]{example/opt-autolang-multilan.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-eg-multilan} \includepdf[pages=-,addtotoc={1,section,1,opt-eg-multilan,eg:multilanga}]{example/opt-eg-multilan.pdf} \phantomsection \includepdf[pages=-,addtotoc={1,section,1,opt-gblanorder-chineseahead,eg:lanordercnah}]{example/opt-gblanorder-chineseahead.pdf} \phantomsection \includepdf[pages=-,addtotoc={1,section,1,opt-gblanorder-englishahead,eg:lanorderenah}]{example/opt-gblanorder-englishahead.pdf} \phantomsection \includepdf[pages=-,addtotoc={1,section,1,opt-gblanorder-udforder,eg:lanorderudf}]{example/opt-gblanorder-udforder.pdf} \phantomsection \includepdf[pages=-,addtotoc={1,section,1,test-setlocal,eg:setlocalstring}] {example/test-setlocal.pdf} \phantomsection \includepdf[pages=-,addtotoc={1,section,1,test-setlocal-multilan,eg:setlocalstringmutillan}] {example/test-setlocal-multilan.pdf} \end{document}