需求:论文修改时更好地让别人看到自己的改动痕迹,类似word的修订模式。
参考链接:Using Latexdiff For Marking Changes To Tex Documents - Overleaf, Online LaTeX Editor
目录
步骤
1、安装perl
2、安装miktex
3、miktex管理界面安装latexdiff插件
4、cmd运行latexdiff指令
安装perl
默认一路安装
安装miktex
【科研工具】【MikTex】MikTex安装和使用_ChillChilling的博客-CSDN博客_miktex
https://miktex.org/download
miktex管理界面安装latexdiff插件
点进去直接点插件,搜索插件安装就可以了
cmd运行latexdiff指令
cmd 原始文件和修改后的文件所在的目录下
最简单的命令
latexdiff -t CFONT origin.tex new.tex > diff_0.tex
标题更改追踪问题
问题:追踪标题更改,标题混乱,可以选择不追踪标题变化。
latexdiff --exclude-textcmd="section,subsection,subsubsection" origin.tex new.tex > diff.texlatexdiff --exclude-textcmd="section,subsection,subsubsection" origin.tex new.tex > diff.tex
其他参考
Latexdiff从安装到使用-非常详细的整理_plasma-deeplearning的博客-CSDN博客_latexdiff



1万+

被折叠的 条评论
为什么被折叠?



