\documentclass{article}
\usepackage[colorlinks=true]{hyperref}
\usepackage{pdfpages}%直接插入pdf文件页
\graphicspath{{egfigure/}{example/}}

\begin{document}

\phantomsection
\addcontentsline{toc}{section}{cls-beamer}
\includepdf[pages=-]{example/cls-beamer.pdf}


\phantomsection
\addcontentsline{toc}{section}{cls-beameray}
\includepdf[pages=-]{example/cls-beameray.pdf}


\phantomsection
\addcontentsline{toc}{section}{codeopt-gbcodegbk}
\includepdf[pages=-]{example/codeopt-gbcodegbk.pdf}


\phantomsection
\addcontentsline{toc}{section}{eg-opt-gbstyle}
\includepdf[pages=-]{example/eg-opt-gbstyle.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-autolang-multilan}
\includepdf[pages=-]{example/opt-autolang-multilan.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-eg-multilan}
\includepdf[pages=-]{example/opt-eg-multilan.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-eg-authoryear}
\includepdf[pages=-]{example/opt-eg-authoryear.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbalign-center}
\includepdf[pages=-]{example/opt-gbalign-center.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbalign-gb}
\includepdf[pages=-]{example/opt-gbalign-gb.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbalign-left}
\includepdf[pages=-]{example/opt-gbalign-left.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbbiblabel}
\includepdf[pages=-]{example/opt-gbbiblabel.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbctexset}
\includepdf[pages=-]{example/opt-gbctexset.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbfieldstd}
\includepdf[pages=-]{example/opt-gbfieldstd.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gblocal}
\includepdf[pages=-]{example/opt-gblocal.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbnamefmt}
\includepdf[pages=-]{example/opt-gbnamefmt.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbnamefmt-default}
\includepdf[pages=-]{example/opt-gbnamefmt-default.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbnoauthor-false}
\includepdf[pages=-]{example/opt-gbnoauthor-false.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbnoauthor-true}
\includepdf[pages=-]{example/opt-gbnoauthor-true.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbpub-true}
\includepdf[pages=-]{example/opt-gbpub-true.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbpunctin}
\includepdf[pages=-]{example/opt-gbpunctin.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbtitlelink}
\includepdf[pages=-]{example/opt-gbtitlelink.pdf}


\phantomsection
\addcontentsline{toc}{section}{opt-gbtype}
\includepdf[pages=-]{example/opt-gbtype.pdf}


\phantomsection
\addcontentsline{toc}{section}{testallformat}
\includepdf[pages=-]{example/testallformat.pdf}

\end{document}
