Latex报错:找不到 citesort.sty
conference paper撰写中,去会议官网下了latex包,一字未改,结果运行报错:citesort.sty找不到。
(大概是官方默认你有这个包,然而我没有hhh,自己库里有的请忽略)
解决方法:
新建一个文件,命名为citesort.sty,即后缀名为.sty。然后打开文件,将下面内容粘贴进去并保存。
%NAME: citesort.sty
% A replacement for \@citex which sorts citation numbers as well as
% compressing and allowing breaks. Based on cite.sty by Donald
% Arseneau.
%
% for use in LaTeX say, \documentstyle[...,citesort,...]{...}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Allow, but strongly discourage, line breaks within a long
% series of citations. Compress lists of successive numbers
% to one number range, e.g., 5,6,7,8,9 --> 5--9. Compatible
% with versions of \@cite that use exponents.
% -- Donald Arseneau 1989
%
% Modified to sort the numbers so they come out in increasing order,
% regardless of the way they appear in the source. O(N^2) sort!
% Ian Green, CUED, 10-Dec-1991. Improvements to img@eng.cam.ac.uk
% please. Version 1\newcount\@minsofar
\newcount\@min
\newcount\@cite@temp
\def\@citex[#1]#2{%
\if@filesw \immediate \write \@auxout {\string \citation {#2}}\fi
\@tempcntb\m@ne \let\@h@ld\relax \def\@citea{}%
\@min\m@ne%
\@cite{%\@for \@citeb:=#2\do {\@ifundefined {b@\@citeb}%{\@h@ld\@citea\@tempcntb\m@ne{\bf ?}%\@warning {Citation `\@citeb ' on page \thepage \space undefined}}%
{\@minsofar\z@ \@for \@scan@cites:=#2\do {%\@ifundefined{b@\@scan@cites}%{\@cite@temp\m@ne}{\@cite@temp\number\csname b@\@scan@cites \endcsname \relax}%
\ifnum\@cite@temp > \@min% select the next one to list\ifnum\@minsofar = \z@\@minsofar\number\@cite@temp\edef\@scan@copy{\@scan@cites}\else\ifnum\@cite@temp < \@minsofar\@minsofar\number\@cite@temp\edef\@scan@copy{\@scan@cites}\fi\fi\fi}\@tempcnta\@min\ifnum\@minsofar > \z@ % some more\advance\@tempcnta\@ne\@min\@minsofar\ifnum\@tempcnta=\@minsofar % Number follows previous--hold on to it\ifx\@h@ld\relax\edef \@h@ld{\@citea\csname b@\@scan@copy\endcsname}%\else \edef\@h@ld{\ifmmode{-}\else--\fi\csname b@\@scan@copy\endcsname}%\fi\else \@h@ld\@citea\csname b@\@scan@copy\endcsname\let\@h@ld\relax\fi % no more
\fi}%
\def\@citea{,\penalty\@highpenalty\,}}\@h@ld}{#1}}% end of citesort.sty
然后把该文件放入论文latex包所在的文件夹,运行,问题解决。
ps:懒星人可以直接戳链接下载,拷贝至自己的文件夹:https://download.csdn.net/download/baoyongshuai1509/12914487
Latex报错:找不到 citesort.sty相关推荐
- latex报错:Package fontspec Error: The font “KaiTi_GB2312“ cannot be found. For immedia
latex报错:Package fontspec Error: The font "KaiTi_GB2312" cannot be found. For immedia 找不到 K ...
- java报错-找不到或无法加载主类(Error: Could not find or load main class)
此文首发于我的个人博客:java报错-找不到或无法加载主类(Error Could not find or load main class) - zhang0peter的个人博客 比如说test.ja ...
- android 上传到了maven,但是报错找不到jar
报错: * What went wrong: Could not resolve all files for configuration ':iReader:VivoDebugCompileClass ...
- salt '*' state.highstate 报错找不到文件,环境如下No Top file or master_tops data matches found....
salt '*' state.highstate 报错找不到文件,环境如下No Top file or master_tops data matches found. file_roots: b ...
- linux安装python库报错pywin32_完美解决pyinstaller打包报错找不到依赖pypiwin32或pywin32-ctypes的错误...
报错信息 最近闲来无事,用python的tkinter库开发了一款带日程提醒的万年历桌面程序.在程序开发结束开始打包时,却发现一直报错 PyInstaller cannot check for ass ...
- 【ubuntu】ubuntu下用make编译程序报错找不到openssl/conf.h
ubuntu下用make编译程序报错找不到openssl/conf.h 安装libssl-dev:i386,sudo apt-get install libssl-dev:i386 看好版本,如果不加 ...
- maven打包报错找不到符号,由于找不到类中方法的解决思路
maven打包报错找不到符号,若pom文件引用正常,报错的类有修改能正常启动执行程序,很有可能因为该类属于公共工具类,在外层目录,通过pom引用的,修改后工具类后,打包时没有将其重新打包,导致该出引用 ...
- Maven 手动安装JAR包到本地maven仓库后,但在项目中依旧报错找不到JAR包解决方法
Maven 手动安装JAR包到本地maven仓库后,但在项目中依旧报错找不到JAR包解决方法 参考文章: (1)Maven 手动安装JAR包到本地maven仓库后,但在项目中依旧报错找不到JAR包解决 ...
- idea2020版Maven依赖成功导入但仍然报错找不到包解决
idea2020版pom.xml中的依赖正确,Maven依赖成功导入,点击运行按钮,报错找不到包 java: 程序包org.springframework.beans.factory.annotati ...
- OpenCV3.0+VS2015+Win7x64开发环境搭建报错找不到gdi32.lib、opencv_world300d.dll
感受:折腾了好久想骂街! 先搞定debug模式32位平台的配置,再搞64位release模式的配置: 1,下载OpenCV3.0.0.exe,并解压,得到build和sources两个文件夹: 2,配 ...
最新文章
- 页面布局让footer居页面底部_网站各页面该如何布局关键词优化提升排名?
- CodeSmith应用(一)
- [2010国家集训队]Crash的旅游计划
- Python语言学习之字母G开头函数使用集锦:global用法之详细攻略
- Adobe Acrobat Pro设置高亮快捷键
- Maven搭建SpringMVC+Mybatis项目详解【转】
- JavaScript密码复杂度
- Linux—Centos 7.x安装Tomcat8
- 昔日光伏巨头赛维LDK迎“接盘侠” 平煤系深度整合产业链
- 测视力距离5米还是3米_多功能视力表灯箱的用法
- C#套接字和windowsAPI套接字
- 重新配对_Apple Watch配对失败的解决办法
- 关于BSTR数据类型
- hdu 6096 String(AC自动机巧妙建图)
- 网络存储-详解NAS网络存储
- 官方rom提取原签名工具_官方和第三方ROM的提取与分解
- DB2 PC服务器本地磁盘集群部署模式简介
- PAKDD2020 Alibaba AI Ops Competition
- CSV文件处理——填充空值
- Vivado HLS 入门实验
热门文章
- 自动驾驶落地,究竟被什么「绑」住了脚?
- 助力 AI 银行发展 网易智企打造一站式金融服务
- js脚本混淆加密(转载)
- css如何添加模糊效果,css动态模糊效果
- 我做出一个决定!(2-3nian后时间来证明对错!)
- 一分钟之内搭建自己的直播服务器?
- java中的开方Math.sqrt(n)函数和平方{a的b次方Math.pow(a, b)}
- Java基础知识——BIO模式
- C语言必背经典程序代码
- 游戏服务器生成全局唯一ID的几种方法