\documentclass{article} \usepackage[colorlinks=true]{hyperref} \usepackage{pdfpages}%直接插入pdf文件页 \graphicspath{{egfigure/}{example/}} \begin{document} \phantomsection %\addcontentsline{toc}{section}{cls-beamer} \includepdf[pages=-,addtotoc={1,section,1,cls-beamer,eg:beamer}]{example/cls-beamer.pdf} \phantomsection %\addcontentsline{toc}{section}{cls-beameray} \includepdf[pages=-,addtotoc={1,section,1,cls-beameray,eg:beameray}]{example/cls-beameray.pdf} \phantomsection %\addcontentsline{toc}{section}{codeopt-gbcodegbk} \includepdf[pages=-,addtotoc={1,section,1,codeopt-gbcodegbk,eg:gbk}]{example/codeopt-gbcodegbk.pdf} \phantomsection %\addcontentsline{toc}{section}{eg-opt-gbstyle} \includepdf[pages=-,addtotoc={1,section,1,eg-opt-gbstyle,eg:multistyle}]{example/eg-opt-gbstyle.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbalign-center} \includepdf[pages=-,addtotoc={1,section,1,opt-gbalign-center,eg:aligncenter}]{example/opt-gbalign-center.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbalign-gb} \includepdf[pages=-,addtotoc={1,section,1,opt-gbalign-gb,eg:aligngb}]{example/opt-gbalign-gb.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbalign-left} \includepdf[pages=-,addtotoc={1,section,1,opt-gbalign-left,eg:alignleft}]{example/opt-gbalign-left.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbbiblabel} \includepdf[pages=-,addtotoc={1,section,1,opt-gbbiblabel,eg:biblabel}]{example/opt-gbbiblabel.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbfieldstd} \includepdf[pages=-,addtotoc={1,section,1,opt-gbfieldstd,eg:fieldstd}]{example/opt-gbfieldstd.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbnamefmt} \includepdf[pages=-,addtotoc={1,section,1,opt-gbnamefmt,eg:namefmt}]{example/opt-gbnamefmt.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbnamefmt-default} \includepdf[pages=-,addtotoc={1,section,1,opt-gbnamefmt-default,eg:namefmta}]{example/opt-gbnamefmt-default.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbpub-true} \includepdf[pages=-,addtotoc={1,section,1,opt-gbpub-true,eg:pub}]{example/opt-gbpub-true.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbpunctin} \includepdf[pages=-,addtotoc={1,section,1,opt-gbpunctin,eg:in}]{example/opt-gbpunctin.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbtitlelink} \includepdf[pages=-,addtotoc={1,section,1,opt-gbtitlelink,eg:titlelink}]{example/opt-gbtitlelink.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-footbib} \includepdf[pages=-,addtotoc={1,section,1,opt-gbfootbib,eg:footbib}]{example/opt-gbfootbib.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbtype} \includepdf[pages=-,addtotoc={1,section,1,opt-gbtype,eg:entrytype}]{example/opt-gbtype.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbctexset} \includepdf[pages=-,addtotoc={1,section,1,opt-gbctexset,eg:ctexset}]{example/opt-gbctexset.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbnoauthor-false} \includepdf[pages=-,addtotoc={1,section,1,opt-gbnoauthor-false,eg:noauthor}]{example/opt-gbnoauthor-false.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gbnoauthor-true} \includepdf[pages=-,addtotoc={1,section,1,opt-gbnoauthor-true,eg:noauthora}]{example/opt-gbnoauthor-true.pdf} \phantomsection %\addcontentsline{toc}{section}{opt-gblocal} \includepdf[pages=-,addtotoc={1,section,1,opt-gblocal,eg:local}]{example/opt-gblocal.pdf} \end{document}