Git Product home page Git Product logo

comparxiv's Issues

New release?

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!

Porting the library to Windows

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.

where is default download path for paper

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 ??

Errors involving the "\intertext{}" LaTeX command

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.

Fatal error occurred, no output PDF file produced!

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'

Flatten nested .tex files

"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).

Missing jhep files

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

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.