当前位置: 首页 > news >正文

解决texstudio中提示错误 File `pstricks.sty not found. ^^M

  不同的系统中倒腾latex时,出现了错误提示 File `pstricks.sty' not found. ^^M,刚开始根据查到的操作:

一、安装pstricks包:sudo tlmgr install pstricks 

二、查询安装情况:tlmgr search --global --file pstricks.sty,返回的结果为:

tlmgr: package repository /usr/share (not verified: unknown)
lwarp:texmf-dist/tex/latex/lwarp/lwarp-pstricks.sty
pstricks:texmf-dist/tex/latex/pstricks/pstricks.sty

三、显示包安装的信息,tlmgr info pstricks

package:     pstricks
category:    Package
shortdesc:   PostScript macros for TeX
longdesc:    PSTricks offers an extensive collection of macros for generating PostScript that is usable with most TeX macro formats, including Plain TeX, LaTeX, AMS-TeX, and AMS-LaTeX. Included are macros for colour, graphics, pie charts, rotation, trees and overlays. It has many special features, including a wide variety of graphics (picture drawing) macros, with a flexible interface and with colour support. There are macros for colouring or shading the cells of tables. The package pstricks-add contains bug-fixes and additions for PSTricks (among other things). PSTricks ordinarily uses PostScript \special commands, which are not supported by pdf(La)TeX. This limitation may be overcome by using either the pst-pdf or the pdftricks package, to generate a PDF inclusion from a PSTricks diagram. PSTricks macros can also generate PDF output when the document is processed XeTeX, without the need for other supporting packages.
installed:   Yes
revision:    78101
sizes:       doc: 13721k, run: 609k
relocatable: No
cat-version: 3.22a
cat-license: lppl1.3
cat-topics:  graphics-in-tex colour pstricks dvips-special xetex tagged-pdf-incompatible
cat-related: pstricks-add
cat-contact-home: https://tug.org/PSTricks/main.cgi/
cat-contact-support: https://tug.org/mailman/listinfo/pstricks
cat-contact-repository: https://archiv.dante.de/~herbert/TeXnik/
collection:  collection-pstricks

 一切貌似都很正常,继续编译依旧还有提示,结果到查询的目录中查看,发现根本就没有目录和文件,原来tlmgr的安装完全是假的,根本没有安装,也没有提示信息。后来还是一招解决:使用系统的软件安装方式:sudo pacman -S texlive-pstricks,就能解决问题了。

 

http://www.jsqmd.com/news/639902/

相关文章:

  • 深入解析DRM驱动架构:从U-Boot阶段到Linux内核的显示驱动实现
  • 怎样为Windows 11 LTSC系统一键恢复微软商店:全面安装指南
  • 2026届毕业生推荐的十大降AI率方案推荐
  • AI净界-RMBG-1.4效果实测: vs Photoshop 抠图精度与效率对比
  • 2026年泉州生成式引擎优化领域综合实力3强机构深度分析报告 - 小白条111
  • 金融、游戏、IoT应用怎么选安卓安全加固?行业定制化方案解析
  • 嵌入式设备上的轻量级部署探索:Pixel Script Temple模型剪枝与量化
  • 如何免费解锁Cursor Pro功能:终极破解指南
  • 5个简单步骤:用Blender 3MF插件打造专业3D打印工作流
  • 【仅限首批200位架构师】AIAgent测试契约协议(Test Contract Protocol)v1.2内部文档首次公开
  • Keepalived + LVS(DR)+ Nginx + NFS
  • 如何永久备份微信聊天记录:免费开源工具WeChatMsg完全指南
  • 抛光打磨片厂家怎么选?从常州市达蒙砂轮制造有限公司看清关键细节 - 企师傅推荐官
  • 2026最权威的五大降重复率神器推荐榜单
  • Vue2项目打包优化实战:用webpack-bundle-analyzer揪出体积膨胀的元凶
  • Illustrator脚本自动化完整指南:如何让设计效率提升300%
  • nli-distilroberta-base惊艳效果:低资源领域(如农业技术文档)微调前后NLI提升对比
  • CircuitJS1 Desktop Mod:在电脑上搭建你的个人电路实验室
  • 讲讲GEO推广公司选购要点,哪个口碑比较好 - mypinpai
  • 开源AI工作站实战:Pixel Fashion Atelier在二次元IP商业化中的应用
  • Intel oneAPI 2024 离线静默安装实战:以HPC Toolkit为例,详解自定义组件与目录配置
  • 【实测】文件加密软件解除保护的2种方法(以超级加密3000为例)
  • 别再只盯着SIFT了!用OpenCV实战LoG和DoG斑点检测,5分钟搞定图像特征提取
  • linux创建普通用户
  • 设计模式之【 断路器模式】
  • SITS2026音频文本联合建模实战手册(含3个开源可复现模型+训练收敛曲线对比)
  • 如何用OnmyojiAutoScript实现阴阳师全自动托管:解放双手的智能游戏助手终极指南
  • 盘点常州做可追溯食品加工、预制菜加工且能承接批量订单的食品加工厂 - 工业推荐榜
  • BiliDownloader:5分钟掌握B站视频下载终极指南
  • 【多模态搜索革命指南】:20年搜索架构师亲授3大落地陷阱与5步上线路径