note286 / xduts

Xidian University TeX Suite 西安电子科技大学LaTeX套装
https://www.ctan.org/pkg/xduts
LaTeX Project Public License v1.3c
699 stars 71 forks source link

模板有篇幅或者图上限吗?我多添加几个实验图就报错。 #148

Open Deep-imagelab opened 1 year ago

Deep-imagelab commented 1 year ago

大论文即将完稿了(总的PDF页数是将近150页了,我论文的实验图也确实比较多),最后一章方法把新加的三四个实验图一放,就会报错,报错后编译的pdf只有14页了:

xdupgthesis.tex error line 19 Bad register code (32865)begin idocument xdupgthesis.tex error line 19 Bad register code(32866)begin idocument xdupgthesis.tex error line 19 Bad register code (32867)begin idocument xdupgthesis.tex warning Package ctex can not be loaded with ctexbook? xdupgthesis.tex warning line 19 Font shape Tu/txr//n' undefined(Font) using Tu/lnr/n/n' instead

6911b47ca18e1cc2d043100b87e9abd

我排列组合调试+百度了一整天,最后发现把前面任何一章注释掉,然后继续写加实验图那章,就不会报错,按照这种方式,把这章写完了,但要把面任何一章注释再给去掉,就还是会报错,真痛苦啊,求解。

sikouhjw commented 1 year ago

看起来是 tabularray 的问题^1,换成 longtable 或者其它实现方式。

note286 commented 1 year ago

是有可能是tabularray的问题,但现在没有任何代码,无法复现问题。你可以尝试在睿思私信我你的联系方式。

Deep-imagelab commented 1 year ago

看起来是 tabularray 的问题1,换成 longtable 或者其它实现方式。

Footnotes

  1. https://tex.stackexchange.com/questions/654633/longtblr-error-bad-register-code-32768
Deep-imagelab commented 1 year ago

是有可能是tabularray的问题,但现在没有任何代码,无法复现问题。你可以尝试在睿思私信我你的联系方式。

我就在这里发吧,没关系,我微信15529609856

Deep-imagelab commented 1 year ago

看起来是 tabularray 的问题1,换成 longtable 或者其它实现方式。

Footnotes

  1. https://tex.stackexchange.com/questions/654633/longtblr-error-bad-register-code-32768

我百度搜了下这个包的使用,它要替换掉之前的tabular还挺麻烦的,外部还不能套table,我每一个表格都是外部table内部tabular的形式,是不是我把字数、页数之类的缩小也就可以了。

note286 commented 1 year ago

你误解了,是可能是由于tabularray引起的,而不是用tabularray解决。

没有代码,无法复现你的问题,无法给你解决,你的描述可能并不是问题的真正所在。

\documentclass{xdupgthesis}
\usepackage{graphicx}
\begin{document}
\chapter{title}
\begin{figure}\centering\includegraphics[width=.3\linewidth]{example-image}\caption{title}\end{figure}\clearpage
% 重复250行
\begin{figure}\centering\includegraphics[width=.3\linewidth]{example-image}\caption{title}\end{figure}\clearpage
\end{document}

例如上述代码,说明xduts可以包含大量图片。

note286 commented 1 year ago

已定位到是\__xdu_loft_label_num_width:nN的问题,后续再处理。