GithubHelp home page GithubHelp logo

aasdl1 / aatexdiff Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 14 KB

More Convenient Way to use latexdiff in Windows. Recommend to use with Right Click meau. 更方便的在Windows下使用latexdiff,推荐和右键菜单一起食用

License: MIT License

PowerShell 100.00%

aatexdiff's Introduction

AATexDiff

zh:更方便的在Windows下使用latexdiff,推荐和右键菜单一起食用

作用:将当前tex(revised)与另一个tex(原始)进行比对,然后打开tex或编译并打开pdf

参数:args[0]:revised path, args[1]:"OpenTex"/"CompileTexAndOpenPdf"

调用方法:

1.命令行:powershell AASTexDiff.ps1 TexPath OpenTex/CompileTexAndOpenPdf

2.右键菜单食用:选中修订后的tex文件,右键菜单Diff中选中PDFCompiledTexDiffed即可

过程:选中要比对的原始tex文件即可,然后就Happy,Lucky,Smile的wait~

如何添加右键菜单

具体的参考网上的教程,这篇写的不错

此处给出的reg文件中,与.tex绑定的项是自定义的新项TexFiles,如果你也是TexFiles那么就可以直接导入,但是在其中需要将以下内容自行修改

  • 脚本路径,此处是C:\\Users\\aasdl1\\Desktop\\Code\\AAScripts\\AASTexDiff.ps1
  • 打开tex的默认程序,此处是利用texStudio打开的,E:\\Software\\texstudio-4.3.1-win-portable-qt6\\texstudio.exe

en:More Convenient Way to use latexdiff in Windows. Recommend to use with Right Click menu.

Function:Compared with original tex file and use the default way in ur computer to open the diffed tex file or open the pdf one with compiled the diffed tex file

script args:args[0]:revised path, args[1]:"OpenTex"/"CompileTexAndOpenPdf"

Instruction:

1.command:powershell AASTexDiff.ps1 TexPath OpenTex/CompileTexAndOpenPdf

2.Enjoy with Right click context menu:choose the revised tex file ,then right click, choose PDFCompiled or TexDiffed

Process:choose the original tex files, then wait with Happy, Lucky, Smile~

How to add right click context menu

Please find an arbitrary technical blog to study, You must be caution if you don't familiar with Regedit operation, backup before any operation, btw.This blog is fine

In my reg file in resposity, TexFiles bind with the .tex, you can import the reg directly if the same to you after modify the following item

  • Script path,here is C:\\Users\\aasdl1\\Desktop\\Code\\AAScripts\\AASTexDiff.ps1
  • Default program to open tex file, I use the texStudio, so here is it's path:E:\\Software\\texstudio-4.3.1-win-portable-qt6\\texstudio.exe

aatexdiff's People

Contributors

aasdl1 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.