-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Make .tex source of paper available #132
Comments
We don't actually persist this anywhere currently but we could. We generate the PDF using this command: https://github.com/openjournals/whedon/blob/master/lib/whedon/processor.rb#L152-L171, the Pandoc tex template is here https://github.com/openjournals/whedon/blob/master/resources/latex.template |
I might be missing something, but what's the reason for uploading a JOSS paper to arXiv? The PDF generated by JOSS is citable with a DOI, and should persist. |
I was wondering about that too. Is there a reason a very short arXiv paper with an arXiv URL is better than a JOSS paper that has a DOI and is indexed? |
@arfon: Yeah. I ran the pandoc command with output @kyleniemeyer: In astronomy, papers pretty much don't exist unless they're on arXiv so I wanted to post it there to make it available to the community (and advertise JOSS 😄). |
Note: people would cite JOSS but they would find the paper through arXiv. |
Gotcha, sounds good. |
@dfm - I'm just revisiting this. What would you need for an arXiv submission - would it simply be the |
@arfon I'm looking at this as well for the paper I'm submitting. We'd need a Here's the details about how to upload a LaTeX document to the arxiv: https://arxiv.org/help/submit_tex |
… and also the .bbl file, if that is generated from the .bib — arXiv will process this and add the bibliography. |
Max Ogden has a good write up here https://gist.github.com/maxogden/97190db73ac19fc6c1d9beee1a6e4fc8 of how to do this. I think you need to modify the Whedon pandoc command to generate LaTeX as an alternative output. I'm not sure if that will produce |
This may not be the best place to ask, but: I was just wondering if anyone has successfully submitted a JOSS paper to arXiv? I tried submitting my paper to the arXiv today, but just got this email from them:
As a side note: I created my .tex source file using this Makefile. |
It looks like @dfm ran into similar issues back in 2016, since corner.py never got an arxiv submission as far as I can see: |
Someone would have to contact arxiv to be sure, but my guess is that the 1-2 page typical JOSS paper is not something that arxiv is likely to consider sufficiently weighty/lengthy. |
@ngoldbaum yeah, I'd noticed that for corner.py too. @danielskatz I'd guess so. It's a shame that arXiv won't accept JOSS papers, but I suppose it's not too much of a big deal. As @dfm mentioned before, it would be nice if they would accept them to advertise and provide more exposure for JOSS, but it's probably not worth pushing too hard. |
I'm planning to submit a more substantial paper (~10 pages typeset) this week or next week. I will comment here about whether it gets through the arxiv moderation. |
I asked Steinn Sigurdsson (the arxiv scientific director) on twitter about this. He pointed me to the moderation policy which notes:
So I guess that's the issue here. I expect a longer paper would make it past the moderators. |
But ... that list of criteria doesn't seem to cover JOSS-style papers, IMHO. Maybe arxiv would change their policy if petitioned and made aware that JOSS papers really are typically short yet complete? |
@mhucka - I've appealed my arXiv rejection with the following email:
I'll let you know what response I get. |
My paper got posted: https://arxiv.org/abs/1806.02417 I ended up using @mattpitkin's makefile, which was very useful (and could probably be integrated into the JOSS submission instructions). |
In case this is any use to anyone, I submitted the .pdf of the JOSS paper, and appealed to arXiv to let me use this for the submission rather than the LaTeX files, due to the standard JOSS procedure not giving access to those files. They accepted my appeal and so I uploaded the .pdf to arXiv |
Has anything changed or is the above Makefile still the recommended workaround? |
Nothing has changed sorry. |
Simply providing the |
FYI: My preprint got rejected even after appealing with a reference to arxiv's policy on short works. |
I was able to reproduce my JOSS paper using latex. It took some tinkering, but they accepted the latex version. https://arxiv.org/abs/2010.03031v1 |
For those who continue to stumble across this: @rodluger and I worked out yet another way to generate the .tex file for a JOSS manuscript using GitHub actions. I'm sure it would be possible to use the official action, but the way that we're doing it is (assuming the manuscript is in a directory called jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: TeX
uses: docker://openjournals/paperdraft:latest
with:
args: joss/paper.md --to=latex --output=paper.tex
env:
GIT_SHA: $GITHUB_SHA
JOURNAL: joss
- name: PDF
uses: docker://openjournals/paperdraft:latest
with:
args: joss/paper.md
env:
GIT_SHA: $GITHUB_SHA
JOURNAL: joss
- uses: actions/upload-artifact@v2
with:
path: joss See it in action here: https://github.com/rodluger/starry_process |
The above action worked and created a .tex file for me, thanks a bunch @dfm and @rodluger! I was curious if we can somehow apply this workflow to the most up-to-date draft in the review process? |
@tarleb – might be good to adapt this Action to optionally include a .tex output https://github.com/openjournals/openjournals-draft-action ?
@ashleychontos – the content in the |
@arfon oh whoops, yeah that definitely makes sense. Like many others in this thread, I was just having issues uploading the current draft to arXiv. I imagine adding that action would definitely be helpful for others in the future |
Passing the `-k` option when calling the image ensures that the intermediary LaTeX file, named `paper.tex`, is put next to the `paper.pdf` PDF file. See openjournals/joss#132
Passing the `-k` option when calling the image ensures that the intermediary LaTeX file, named `paper.tex`, is put next to the `paper.pdf` PDF file. See openjournals/joss#132
I've made a small change to the underlying Docker image; passing jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: TeX and PDF
uses: docker://openjournals/paperdraft:latest
with:
args: '-k joss/paper.md'
env:
GIT_SHA: $GITHUB_SHA
JOURNAL: joss |
thanks, I just submitted a JOSS paper to Arxiv, here my steps:
|
One note on @zonca's very nice clear suggestion above: It's not quite so simple if the repo isn't hosted on GitHub (e.g. it's on GitLab, as in openjournals/joss-reviews#4040) – to me, this is an argument to maybe just make editorialbot have an option to generate and output the .tex directly... |
@arfon It would be great for JOSS to make a clear statement about arXiv submissions. The preprint policy states that preprints are okay, but in practice there are many obstacles to submitting to arXiv, the most prominent preprint server. There are workarounds above—I think it's fair to call them workarounds rather than solutions—but no officially supported way to produce a format that is suitable for arXiv. While JOSS is a software journal, many authors are still primarily researchers and not software developers. Using these workaround will not be trivial for many people, and having to jump through this many technical hoops just to submit a preprint is quite unpleasant. There are several possibilities:
I feel that the current approach by JOSS is neither here nor there. Using the template is not technically prevented, but in practice it's much more difficult than it should be. It would be very useful if you could clarify the situation, or if you could point me to prior statements on this that I may have missed 🙂 |
I should note that adding |
Thanks for the summary statement here @szhorvat. While I've not canvassed opinion widely amongst the editorial team this is my preferred option:
I think it's reasonable to say that JOSS supports people uploading a preprint of their paper to the arXiv (and other preprint servers) but I think this has also caused confusion when the paper looks very similar to the published version in JOSS. In summary my position is:
This second point seems to point towards it being a bad idea for us to support exporting (from @editorialbot) a TeX version of the paper. @tarleb @xuanxu – perhaps we could have some way to produce a 'plain' version of a JOSS paper that is stripped of all of the JOSS styling (i.e., akin to the default Panda output). That should be possible right? |
I'll try to improve the support for that in Inara. |
+1 to a |
Thank you for the clear response @arfon !
I fully agree with this. The first time I saw such a preprint as a reviewer, I though that it looked as if it has already been published. But then I checked the preprint policy, which clearly encourages preprints, so I did not mention anything about this in the review.
If JOSS does this, it would certainly be a great convenience for authors. |
I've opened openjournals/inara#16. We may have to strip down the resulting LaTeX a little more. We'll also have to adjust the |
📢 New command available for the JOSS reviews 📢
The preprint file can also be created directly running the inara image with the following option: |
This editorialbot preprint command is very useful! Just a note, it might be worth adding a mention of this to the |
As mentioned in openjournals/joss-reviews#24, it would be great to make the .tex source of the compiled paper available (maybe it is and I'm just blind...) to enable things like uploading the paper to arXiv.
Thanks for making all this work!
The text was updated successfully, but these errors were encountered: