temken / comparxiv Goto Github PK
View Code? Open in Web Editor NEWCompare two version of an arXiv preprint with a single command.
Home Page: https://pypi.org/project/comparxiv/
License: MIT License
Compare two version of an arXiv preprint with a single command.
Home Page: https://pypi.org/project/comparxiv/
License: MIT License
comparxiv --show_latex_output 2304.09116 1 3
Error Info
(That makes 100 errors; please try again.)
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on 2304.09116_v1v3.log.
2.1) Identify master tex files:
2304.09116v1: main.tex
2304.09116v3: main_arxiv.tex
2.2) Identify bbl files:
2304.09116v1: main.bbl
2304.09116v3: main_arxiv.bbl
3.1) Run latexdiff on the tex files.
3.2) Run latexdiff on the bbl files.
4.) Generate a pdf with pdflatex.
Warning: No pdf could be generated. Copy the .bbl file of version b and try again.
Failure! No pdf file could be generated.
Troubleshooting:
1.) To see more terminal output run:
'comparxiv --show_latex_output 2304.09116 1 3'
2.) In some cases latex math environments cause problems with latexdiff. Try running:
'comparxiv --dont_compare_equations 2304.09116 1 3'
"I think it doesn't work as intended when the main .tex document is split into multiple files using \input command.
How about pre-process each version by recursively replacing each input command with its contents?"
Send via twitter by @MaliciousNoise (link to the tweet).
Hi Timon,
Great library! I tried using it on Windows Powershell but some commands fail because they are Linux specific, for example, "rm", "mv" and path formats.
Using python libraries to interact with file system would resolve these issues.
Hi, thank you for your sharing
I used it to compare starganv2 paper with different version, v1 and v2
so :
comparxiv 1912.01865 1 2
then it download the paper for v1 version and v2 version
but maybe I network have some trouble so , it failed to download v2 version
then I re-run the command:
comparxiv 1912.01865 1 2
it not work, I think I should remove some download file and re-download it ??
The arXiv includes certain style files in their compilation beyond TeX Live. For example, they include the jhep files (jheppub.sty and JHEP.bst found here: https://jhep.sissa.it/jhep/help/JHEP_TeXclass.jsp) and many authors do not include them. This makes comparxiv fail. Also, I tried including them in the directory where I run comparxiv, but it seems to download and compile the files in a temporary directory that is deleted upon completion.
Suggestions: 1) incorporate some kind of include option: "--include file1 file2" that allows one to manually add a few extra files to the compilation. 2) just include the jhep files (and others?) in the directory
Hi,
After I install comparxiv, it has not added to the path.
The error is "zsh: command not found: comparxiv".
How to add it to the path? Thanks in advance!
In some cases, latexdiff
generates tex
files which cannot be compiled, if changes involve equations using \intertext{}
.
(If something like
\begin{align}
a &= b+c\, ,
\intertext{such that}
b &= a-c\, .
\end{align}
gets modified in a new version.)
This could be fixed by replacing all \intertext{}
environments in the tex
source files before running latexdiff
.
Hi,
Can you create a new tag/release? It's been a while since last one and I want to use this with a matrix bot where I cannot install the old version of arxiv package.
Thanks for creating this package by the way, very useful!
When I run the command 'comparxiv 1710.10196v3', the following error occurs:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 19512: invalid continuation byte
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.