Open k4rtik opened 3 years ago
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]:
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?
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.
Is there a possibility to improve the situation?
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: https://github.com/arXiv/arxiv-submission-ui/commit/2a8f82122fb6ff48152aded660b57fc8f1a5747a#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