当前位置:网站首页>减小PDF文档大小(转载)
减小PDF文档大小(转载)
2022-07-27 14:45:00 【andrewhxc】
原文链接:https://blog.csdn.net/yhl_leo/article/details/71746333
如果生成一篇含有较多图像数据的论文,可能会遇到生成文件过大的问题,而有些投稿平台对于用户投递的PDF文件大小有限制,这个时候就会遇到Oversized Submission警告,需要缩减文件大小(Reducing File Size)。
以前遇到这种情形,我通常采用的方法是使用Adobe Acrobat Pro打开生成的PDF文件:
高级 -> PDF优化器 -> 图像设置 (降低采样
ppi)

这样一招就能忽悠过大部分提交平台,但是直到遇到不能提交PDF(仅限提交TeX源文件),一脸懵逼…
于是get到一个新方法,使用PDFLaTeX编译生成PDF文件,在Linux/Mac 系统终端(shell)中如下操作:
- 首先,将LaTeX下编译使用的图像文件格式从
ps, eps转为pdf(这里以eps为例):
$ cd you_folder
$ for i in *eps; do ps2pdf -DEPSCrop $i; done- 1
- 2
- 然后,把
tex文件里的\includegraphics包含的图像后缀名eps都去除掉:
$ sed -i 's/\.eps}/}/g' *tex- 1
- 编译器选择
PdfLaTeX(一般提交平台也会指定标识符,方便用户指定使用某种编译),就可以使生成的PDF文档比较小。


在TeXstudio, WinEdt 和 TeX Live中测试都可以。
边栏推荐
- Pycharm导入已有的Project
- openwrt 编译驱动模块(在openwrt源代码外部任意位置编写代码,独立模块化编译.ko)
- flume增量采集mysql数据到kafka
- juc包下常用工具类
- Understand │ what is cross domain? How to solve cross domain problems?
- Solve the compilation warning of multiple folders with duplicate names under the openwrt package directory (call subdir function)
- Openwrt compilation driver module (write code at any position outside the openwrt source code, and compile independently in a modular manner.Ko)
- 新版jmeter函数助手不在选项菜单下-在工具栏中
- Content ambiguity occurs when using transform:translate()
- Servlet基础知识点
猜你喜欢

keil 采用 makefile 实现编译

For enterprise operation and maintenance security, use the cloud housekeeper fortress machine!

时间序列-ARIMA模型

Single machine high concurrency model design

MapReduce instance (III): data De duplication

Time series ARIMA model

Web test learning notes 01

Text capture picture (Wallpaper of Nezha's demon child coming to the world)

微信小程序个人号开通流量主

Wechat applet personal number opens traffic master
随机推荐
DeFi安全之DEX与AMMs
文本截取图片(哪吒之魔童降世壁纸)
The 4.3 billion euro cash acquisition of OSRAM failed! AMS said it would continue to acquire
busybox login: can't execute '/bin/bash': No such file or directory 解决方法
Flask connects to existing tables in MySQL database
Sudden! 28 Chinese entities including Hikvision / Dahua / Shangtang / Kuangshi / ITU / iFLYTEK have been blacklisted by the United States
Servlet basic knowledge points
Brief description of tenant and multi tenant concepts in cloud management platform
解决openwrt package目录下多个文件夹重名编译警告(call subdir 函数)
Security software related to wireless network analysis (airtrack ng)
减小程序rom ram,gcc -ffunction-sections -fdata-sections -Wl,–gc-sections 参数详解
时间序列——使用tsfresh进行分类任务
profileapi.h header
What is ti's calculation for successively canceling the agency rights of anfuli / Wenye / Shiping?
编码技巧——全局日志开关
DRF学习笔记(一):数据序列化
解决flink启动后无法正常关闭
Time series ARIMA model
MapReduce instance (I): wordcount
这些题~~