Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arXiv ID stamp is not a hyperlink to abstract page in case of pdflatex submissions #189

Open
k4rtik opened this issue Dec 31, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@k4rtik
Copy link

k4rtik commented Dec 31, 2020

Describe the bug
ARXIVNG-2622 #150 seems to have reverted the stamp link code introduced in ARXIVNG-2064 #78.

Expected behavior
An author should be able to add a hyperlink in the arXiv ID stamp from the UI (or it should be auto added).

Additional context
See: 2a8f821#diff-b852a96e079d77393256e99cbddf4b9afb50fb88757bfa5f278b6bda2f7ad717L245-L272

I did not find any rationale for removal of this code. I think it will be nice to be able to link to the arXiv page of a paper from the stamp in the PDF as originally introduced in #78.

cc: @DavidLFielding @erickpeirson

@k4rtik k4rtik added the bug Something isn't working label Dec 31, 2020
@DavidLFielding
Copy link
Contributor

After further investigation I now see the stamp code was moved into its own internal method down in the arxiv/submission/proccess/process_source.py file under the arxiv_submission_core repository.

def _make_stamp(self) -> Tuple[str, str]:

@k4rtik
Copy link
Author

k4rtik commented Dec 31, 2020

Oh, I did not look around in that repo.

It seems like I may have chased this (potential) bug unnecessarily while trying to figure out why there was no link associated with the stamp of my first submission to arXiv while I see it on most other PDFs (randomly picked). It now seems to me that it should be an automatic process, but I still do not understand why mine does not. (Even though the code we have seen so far seems only meant for a preview, but not the final PDF, as it ends in "preview.pdf" while the final PDF's stamp link points to the HTML abstract webpage of an arXiv preprint.)

Is there any package or config an author is required to include to make the stamp hyperlink work?

@k4rtik
Copy link
Author

k4rtik commented Jan 22, 2021

So I needed to make another submission last night and reached out to arXiv support. I learned that currently, linking of stamps is supported only for plain latex submissions, but not for pdflatex. Further, I was told that

If we can overcome the technical issues surrounding the link in the future, pdflatex submissions will have it as well (as may plain pdf submissions)

Indeed in my attempt at a submission last night, I saw the stamp link in the preview PDF when I submitted my tex file without the \pdfoutput=1 flag (which enables pdflatex). But since that PDF did not carry the metadata that I wanted (it was converted from a DVI file), I reverted back to forcing PDF output, and then the stamp generated was not linked as expected.

@k4rtik k4rtik changed the title ARXIVNG-2622 #150 reverted ARXIVNG-2064 #78. Can't link the arXiv ID stamp anymore Cannot link the arXiv ID stamp anymore in case of pdflatex submissions Jan 22, 2021
@k4rtik k4rtik changed the title Cannot link the arXiv ID stamp anymore in case of pdflatex submissions arXiv ID stamp is not a hyperlink to abstract page in case of pdflatex submissions Jan 22, 2021
@k4rtik
Copy link
Author

k4rtik commented May 6, 2022

Is there a possibility to improve the situation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants