Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

封面显示异常 #30

Open
SherlockHolmes221 opened this issue Mar 2, 2023 · 6 comments
Open

封面显示异常 #30

SherlockHolmes221 opened this issue Mar 2, 2023 · 6 comments

Comments

@SherlockHolmes221
Copy link

SherlockHolmes221 commented Mar 2, 2023

替换掉原来的thesis_cover.pdf 并 加上pdfcover之后 \documentclass[unicode,master,pdfcover]{scutthesis} %
出现错误:
Package pdfpages Error: Page 8 of `thesis_cover.pdf' does not exist.
xdvipdfmx:fatal: Image inclusion failed for "./thesis_cover.pdf" (page=2).
初步觉得是文件的问题,不是路径的问题,是我导出的pdf他识别不了吗?
谢谢

@mengchaoheng
Copy link
Owner

第八页不存在,你把空白页好好对照着看一下,cls文件有一条指令是导入pdf的,搜pdf能找到,它指定了导入多少页,你可以百度他的语法。然后使用适当的PDF,而不是缺页的。即空白页也要加。

@mengchaoheng
Copy link
Owner

@SherlockHolmes221

@SherlockHolmes221
Copy link
Author

work了,感谢

@lianchengmingjue
Copy link

hhh,我今天也碰到这个错了,而且更奇怪
我有注意保留空白页,一共8页的封面文件,丢进去之后报错

开始 : xelatex.exe -synctex=1 -interaction=nonstopmode "scutthesis".tex
xdvipdfmx:fatal: Image inclusion failed for "./thesis_cover.pdf" (page=2). No output PDF file written.
fwrite: Broken pipe xelatex.exe:
出现错误

比上面那个少一行Package pdfpages Error:
最后查出来原因是我做的thesis_cover.pdf里面是用Adobe Acobat插入空白页的,后面改成直接在Word里插入空白页,然后打印成pdf再插入就能正常编译了。

@mengchaoheng
Copy link
Owner

最后查出来原因是我做的thesis_cover.pdf里面是用Adobe Acobat插入空白页的,后面改成直接在Word里插入空白页,然后打印成pdf再插入就能正常编译了。

给你点赞,为了让更多人看到我再打开这个issue,其实这里面有很多细节会出现问题。比如我刚刚更新的编译链,是之前一位同学她估计没仔细看编译说明,没点对按钮,编译错误。现在慢慢增加说明让大家不要点错。

@mengchaoheng mengchaoheng reopened this May 27, 2024
@mengchaoheng
Copy link
Owner

还要注意不能使用wps生成pdf封面,我也没注意到,直到最近有同学反映wps不行。原因待研究

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants