在国内期刊官网下载的英文latex模板,用CTEX编译报错,用本网站上的tex live 也是同样的报错

发布于 2021-08-25 17:21:13
关注者
0
被浏览
2.2k
乙醇
乙醇 2021-08-25
这家伙很懒,什么也没写!

直接编译会报 picins.sty not found,


建议直接在 dianzixuebao.cls 中删除 \usepackage{picins} 也可以编译成功


以下是旧回答

需要手动在 CTAN 上进行下载, 点击链接可以直接下载, 放在与 Template.tex 相同的文件夹下, 然后使用 xelatex 编译即可.

我的编译环境为 Win10 21H1, TeXLive 2021, 所用到的宏包版本为

 *File List*
dianzixuebao.cls    2018/12/28 v2019.01.08.1042
 ctexart.cls    2021/06/20 v2.5.7 Chinese adapter for class article (CTEX)
ctexbackend.cfg    2021/06/20 v2.5.7 Backend configuration file (CTEX)
   expl3.sty    2021-07-12 L3 programming layer (loader) 
l3backend-xetex.def    2021-08-04 L3 backend support: XeTeX
  xparse.sty    2021-08-04 L3 Experimental document command parser
l3keys2e.sty    2021-08-04 LaTeX2e option processing using LaTeX3 keys
ctexhook.sty    2021/06/20 v2.5.7 Document and package hooks (CTEX)
ctexpatch.sty    2021/06/20 v2.5.7 Patching commands (CTEX)
  fix-cm.sty    2020/11/24 v1.1t fixes to LaTeX
  ts1enc.def    2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
ctexopts.cfg    2021/06/20 v2.5.7 Option configuration file (CTEX)
 article.cls    2021/02/12 v1.4n Standard LaTeX document class
  size10.clo    2021/02/12 v1.4n Standard LaTeX file (size option)
ctex-engine-xetex.def    2021/06/20 v2.5.7 XeLaTeX adapter (CTEX)
   xeCJK.sty    2021/06/20 v3.8.7 Typesetting CJK scripts with XeLaTeX
xtemplate.sty    2021-08-04 L3 Experimental prototype document functions
fontspec.sty    2020/02/21 v2.7i Font selection for XeLaTeX and LuaLaTeX
fontspec-xetex.sty    2020/02/21 v2.7i Font selection for XeLaTeX and LuaLaTeX
 fontenc.sty
fontspec.cfg
   xeCJK.cfg    2021/06/20 v3.8.7 Configuration file for xeCJK package
zhnumber.sty    2020/05/01 v2.8 Typesetting numbers with Chinese glyphs
zhnumber-utf8.cfg    2020/05/01 v2.8 Chinese numerals with UTF8 encoding
ctex-scheme-chinese-article.def    2021/06/20 v2.5.7 Chinese scheme for article (CTEX)
ctex-name-utf8.cfg    2021/06/20 v2.5.7 Caption with encoding UTF-8 (CTEX)
ctex-fontset-windows.def    2021/06/20 v2.5.7 Windows fonts definition (CTEX)
    ctex.cfg    2021/06/20 v2.5.7 Configuration file (CTEX)
 amsmath.sty    2021/04/20 v2.17j AMS math features
 amstext.sty    2000/06/29 v2.01 AMS text
  amsgen.sty    1999/11/30 v2.0 generic functions
  amsbsy.sty    1999/11/29 v1.2d Bold Symbols
  amsopn.sty    2016/03/08 v2.02 operator names
 courier.sty    2020/03/25 PSNFSS-v9.3 (WaS) 
      bm.sty    2021/04/25 v1.2e Bold Symbol Support (DPC/FMi)
amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
setspace.sty    2011/12/19 v6.7a set line spacing
graphicx.sty    2020/12/05 v1.2c Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    2014/10/28 v1.15 key=value parser (DPC)
graphics.sty    2021/03/04 v1.4d Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg    2016/06/04 v1.11 sample graphics configuration
   xetex.def    2021/03/18 v5.0k Graphics/color driver for xetex
indentfirst.sty    1995/11/23 v1.03 Indent first paragraph (DPC)
multicol.sty    2019/12/09 v1.8y multicolumn formatting (FMi)
  picins.sty    
  ifthen.sty    2020/11/24 v1.1c Standard LaTeX ifthen package (DPC)
textcomp.sty    2020/02/02 v2.0n Standard LaTeX package
changepage.sty    2009/10/20 v1.0c check page and change page layout
multirow.sty    2021/03/15 v2.8 Span multiple rows of a table
geometry.sty    2020/01/02 v5.9 Page Geometry
  ifvtex.sty    2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
   iftex.sty    2020/03/06 v1.0d TeX engine tests
fancyhdr.sty    2021/01/28 v4.0.1 Extensive control of page headers and footers
    cite.sty    2015/02/27  v 5.5
   color.sty    2020/02/24 v1.2b Standard LaTeX Color (DPC)
   color.cfg    2016/01/02 v1.6 sample color configuration
    soul.sty    2003/11/17 v2.4 letterspacing/underlining (mf)
titlesec.sty    2021/07/05 v2.14 Sectioning titles
    umsa.fd    2013/01/14 v3.01 AMS symbols A
    umsb.fd    2013/01/14 v3.01 AMS symbols B
images/Mathformule.eps
images/E1-2.eps
 ***********
2 个回答
拿了橘子跑啊
拿了橘子跑啊 2021-08-25
这家伙很懒,什么也没写!

cls 里还要求加载 picins 包,但实际根本没有用,所以,把 cls\usepackage{picins} 注释掉或者删掉就能编译过去了,或者自己补充一个空文件起名 picins.sty 也行。
另外,cls 里用的文档类是 ctexart,CTEX 套装里的 ctex 包太旧了,编译不过去很正常。发行版用 texlive,CTEX 套装就算了吧。

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览