1.解决封面问题
2.解决目录问题
3.解决页码问题
4.高版本PDF导入空白也问题
pdf 1.6版本文件\includepdf XeLetax编译会出现空白页。用PdfLaTex编译可以。
添加 \pdfminorversion=7 可以消除错误信息提示。
5.文件名要用英文和数字,不支持中文
LaTex 代码如下:
\documentclass[openany]{book}
%\documentclass[UTF8]{ctexart}
\usepackage[UTF8]{ctex}
\usepackage{lipsum}
\usepackage[colorlinks]{hyperref}
\usepackage{pdfpages}
\usepackage[center]{titlesec}
\renewcommand{\contentsname}{\centerline{目录}}
\titleformat{\chapter}{\centering\Huge\bfseries}{第\,\thechapter\,章}{1em}{}
\titleformat{\chapter}[display]{\Huge\bfseries}{第\,\thechapter\,章}{1em}{}
\renewcommand\chaptername{\textbf{章节}}
\pagestyle{empty}
%\usepackage{fontspec}
%\setmainfont{Calibri}
\usepackage{tikz,xcolor,mwe}
\definecolor{cvgreen}{HTML}{92D14F}
\definecolor{cvgray}{HTML}{D8E4BE}
\definecolor{cvtext}{HTML}{92909B}
\pdfminorversion=7
%\setcounter{page}{1}
%\usepackage{fancyhdr} % 添加页眉页脚
\usepackage[margin=0.5in,includehead,includefoot]{geometry} %设置边距
\geometry{bottom=0.2cm}
\pagenumbering{arabic}
%\pagestyle{plain}
%\rfoot{\thepage}
%\renewcommand{\footrulewidth}{0.4pt}
%\setCJKsansfont{SimHei}
\usetikzlibrary{shadows}
\begin{document}
\begin{tikzpicture}[remember picture,overlay]
% green bar
\fill[cvgreen] (current page.north west) rectangle ([xshift=5cm]current page.south west);
% gray bar
\fill[cvgray] ([yshift=-5cm]current page.north west) rectangle ([yshift=-10cm]current page.north east);
% title and date
\node[cvtext,right] at ([xshift=0cm,yshift=-7cm]current page.north west) {\Huge 杨晓凯学术论文汇编};
\node[cvtext,above left] at ([xshift=-1cm,yshift=-9.5cm]current page.north east) {\huge\bfseries};
% cover photo
\node[inner sep=0pt,below right] (image) at ([xshift=5cm,yshift=-10cm]current page.north west) {\includegraphics[height=9cm]{logo.eps}};
% name and address
\node[fill=white,align=center,text width=6.4cm,inner sep=0.3cm,below] (name) at (image.south) {\LARGE 温州市人民医院科教科};
\node[text width=15cm,inner sep=0.3cm,below right] at (name.south west) {\Large\obeylines%
Address: 浙江省温州市瓯海区古岸路299号
Tel.: 0577-88053656
E-Mail: yakeworld@126.com
URL: http://www.bppv.net
};
% attachments
\node[white,text width=5cm,inner sep=0.3cm,above right] at ([yshift=1cm]current page.south west) {\large\obeylines%
\textbf{介绍:}
内部资料
};
\end{tikzpicture}
\thispagestyle{empty}% 当前页不显示页码
\tableofcontents
\thispagestyle{empty}% 当前页不显示页码
\setcounter{page}{0}
\includepdfset{pagecommand={\thispagestyle{plain}}} %pdfpages宏包插入文件无页码的解决
%\chapter{内耳解剖学研究}
\includepdf[addtotoc={1,section,1,磁共振显微成像三维重建显示成人尸体膜半规管,p1_1.pdf}]{p1_1.pdf}
\includepdf{p1_2.pdf}
\includepdf[pages={-}]{1.pdf}
\includepdf[addtotoc={1,section,1,内耳体素模型三维可视化,p2_1.pdf}]{p2_1.pdf}
\includepdf[pages={1-}]{p2_2.pdf}
\includepdf[pages={1-}]{2.pdf}
%\includegraphics{2.pdf}
\includepdf[addtotoc={1,section,1,基于内耳体素模型的膜迷路三维可视化,p3_1.pdf}]{p3_1.pdf}
\includepdf{p3_2.pdf}
\includepdf[pages={-}]{3.pdf}
\includepdf[addtotoc={1,section,1,核磁共振测量半规管空间位置方向,p4_1.pdf}]{p4_1.pdf}
\includepdf{p4_2.pdf}
\includepdf[pages={-}]{4.pdf}
\includepdf[addtotoc={1,section,1,基于磁共振数据的三维半规管建模空间方向测量,p5_1.pdf}]{p5_1.pdf}
\includepdf{p5_2.pdf}
\includepdf[pages={-}]{5.pdf}
\includepdf[addtotoc={1,section,1,医学影像导出三维模型并建立3DPDF文件的方法,p6_1.pdf}]{p6_1.pdf}
\includepdf{p6_2.pdf}
\includepdf[pages={-}]{6.pdf}
\includepdf[addtotoc={1,section,1,标准立体空间坐标系膜迷路模型的建立,p200_1.pdf}]{p200_1.pdf}
\includepdf{p200_2.pdf}
\includepdf[pages={-}]{200.pdf}
\includepdf[addtotoc={1,section,1,基于Otsu法的内耳MRI图像三维快速分割的研究,p21_1.pdf}]{p21_1.pdf}
\includepdf{p21_2.pdf}
\includepdf[pages={-}]{21.pdf}
%\section{半规管眼底平面和眶耳平面比较分析}
\includepdf{p20_1.pdf}
\includepdf[pages={1}]{p20_2.pdf}
\includepdf[pages={-}]{20.pdf}
\includepdf[addtotoc={1,section,1,双侧内耳统计形状模型,cc},pages={1,2}]{p22.pdf}
\includepdf[pages={-}]{22.pdf}
\includepdf[addtotoc={1,section,1,后半规管非平面性对夹角测量影响,cc},pages={1,2}]{p32.pdf}
\includepdf[pages={-}]{32.pdf}
%\chapter{BPPV诊疗方法研究}
\includepdf[addtotoc={1,section,1,自我复位治疗良性发作性位置性眩晕的疗效研究,p7_1.pdf}]{p7_1.pdf}
\includepdf{p7_2.pdf}
\includepdf[pages={-}]{7.pdf}
\includepdf[addtotoc={1,section,1,良性阵发性位置性眩晕精准手法复位探讨,p8_1.pdf}]{p8_1.pdf}
\includepdf{p8_2.pdf}
\includepdf[pages={-}]{8.pdf}
\includepdf[addtotoc={1,section,1,水平半规管良性阵发性位置性眩晕李氏复位法实验模型研究,p9_1.pdf}]{p9_1.pdf}
\includepdf{p9_2.pdf}
\includepdf[pages={-}]{9.pdf}
\includepdf[addtotoc={1,section,1,“关于《水平半规管良性阵发性位置性眩晕李氏复位法实验模型研究》一文的商榷”的回复,p19_1.pdf}]{p19_1.pdf}
\includepdf{p19_2.pdf}
\includepdf[pages={1}]{18.pdf}
\includepdf[pages={-}]{19.pdf}
\includepdf[addtotoc={1,section,1,标准空间半规管模型在良性阵发性位置性眩晕教学中的应用,p10_1.pdf}]{p10_1.pdf}
\includepdf{p10_2.pdf}
\includepdf[pages={-}]{10.pdf}
\includepdf[addtotoc={1,section,1,外半规管良性阵发性位置性眩晕复位方法理论探讨,p12_1.pdf}]{p12_1.pdf}
\includepdf{p12_2.pdf}
\includepdf[pages={-}]{12.pdf}
\includepdf[addtotoc={1,section,1,Theoretical observation on diagnosis maneuver for benign paroxysmal
positional vertigo,toj.pdf}]{toj.pdf}
\includepdf[pages={-}]{17.pdf}
%\chapter{在投论文}
%\includepdf[addtotoc={1,section,1,基于统计形状模型建立内耳三维空间标准模型,cc},pages={-}]{23.pdf}
%\includepdf[addtotoc={1,section,1,Dix-Hallpike试验理论探讨,cc},pages={-}]{11.pdf}
%\includepdf[addtotoc={1,section,1,前半规管良性发作性位置性眩晕复位方法理论探讨,cc},pages={-}]{13.pdf}
%\includepdf[addtotoc={1,section,1,后半规管良性发作性位置性眩晕复位方法理论探讨,cc},pages={-}]{14.pdf}
%\includepdf[addtotoc={1,section,1,叩拜和耳石症,cc},pages={-}]{24.pdf}
%\includepdf[addtotoc={1,section,1,Diagnosis and treatment of the short-arm type and long-arm type of posterior canal BPPV,cc},pages={-}]{31.pdf}
%\chapter{其他论文}
%\includepdf[addtotoc={1,section,1,医院科研论文的自动化采集、分析和管理,po001_1.pdf}]{po001_1.pdf}
%\includepdf{po001_2.pdf}
%\includepdf[pages={-}]{po001.pdf}
\end{document}
网友评论