5 ms·
ArXiv LaTeX Cleaner: Clean the LaTeX code of your paper to submit to ArXiv
- generationP 2y agoWhat is the point of concealing tikz source code? It increases the size of the source archive and undermines accessibility.
- MengerSponge 2y agoAnd obfuscating "raw simulation data"? It's not pro-research fraud, but it's what a person who was pro-research fraud would prefer.
- mattkrause 2y agoAgreed that the phrasing is suspicious! However, it’s pointless or even counterproductive to embed the raw high-resolution data in the paper because it doesn’t show up in the rendered copy but balloons its size. For 6.5” (i.e., full width) figure printed at 300 dpi, you can only show 2100 points horizontally—-and realistically a lot less. Upload the raw traces somewhere and add a link. Source: As a grad student, I stupidly turned a simple poster into a multi-gigabyte monstrosity by embedding lots of raw data. The guy at the print shop was not happy when it crashed his large-format printer!
- MengerSponge 2y agoSame! I've accidentally rendered a PDF monstrosity where every data point was represented in full vector graphic glory. It was absolutely enormous and dumb, because you couldn't tell that from the figure. Generate high quality graphics, with the limitations of print, digital displays, and attention in mind. Then toss your data up on Zenodo and cite its DOI. Obfuscating is the wrong word. "Decimate", "project", "render" are all better options, depending on what you mean. Punning render is the most fun of that lot, FWIW.
- DominikPeters 2y agoIt's also nice for other people to reuse and adapt your figure, or include it in beamer presentations.
- firsching 2y agohttps://github.com/mo271/arxiv-comments https://github.com/mo271/arxiv-comments ...and here the tool to quickly inspect comments that were left in the LaTeX
- firsching 2y agoYou can even get sharable links to the comments...
- jpfr 2y agoMany researchers learn LaTeX by looking at the idioms used for the papers they really like. That includes code for Tikz figures. I hope people will use this tool only to remove the inadvertent disclosure of commented regions and to reduce the file size. But keep the LaTeX source intact otherwise!
- WanderPanda 2y agoIt needs to be intact, the pdf is rendered by the arxiv backend based on the source
- semi-extrinsic 2y agoYou can upload only the PDF on ArXiv. Useful when you for some reason (e.g. client request) publish in certain engineering conferences that only allow Word submissions...
- cozzyd 2y agoif arxiv detects that it's a latex-generated PDF, it will reject it. Though it's probably possible to launder the latex-generated PDF through ghostscript or something to evade detection (I haven't tried...)
- enriquto 2y ago> Removes all comments from your code (yes, those are visible on arXiv and you do not want them to be). Why not? I love to peek at .tex file comments, and secretively hope that somebody somewhere is reading mine...
- lou1306 2y agoEhh sometimes you have additional results or insightful remarks that simply don't fit into the page limits. You may want to keep those for yourself and use them for a separate publications rather than give them away.
- JohnKemeny 2y agoWell, you don't have page limits on arXiv, though.
- michaelmior 2y agoThis is true, but arXiv submissions are often prepared with a target venue in mind that does have page limits.
- JohnKemeny 2y agoAlso true, but the arxiv version is often (in my experience) containing the entire paper. Indeed, many conferences ask people to submit the full version to arXiv.
- michaelmior 2y agoInteresting. I know it frequently happens, but I've never seen a conference explicitly make that request.
- JohnKemeny 2y agoHere's an example (ICALP): > Authors are strongly encouraged to also make full versions of their submissions freely accessible in an on-line repository such as ArXiv, HAL, ECCC. This is from the call for papers a few years ago. The wording has changed in recent CFPs, due to employing (weak) double-blind reviewing. They still allow uploading to arXiv (with full names and affiliations) despite being anonymous.
- albertzeyer 2y agoIt's really a pity that they do this now. Some of their older papers had actually quite some valuable information, comments, discussions, thoughts, even commented out sections, figures, tables in it. It gave a much better view on how the paper was written over time, or how even the work processed over time. Sometimes you also see some alternative titles being discussed, which can be quite funny. E.g. from https://arxiv.org/abs/1804.09849 https://arxiv.org/abs/1804.09849: %\title{Sequence-to-Sequence Tricks and Hybrids\\for Improved Neural Machine Translation} % \title{Mixing and Matching Sequence-to-Sequence Modeling Techniques\\for Improved Neural Machine Translation} % \title{Analyzing and Optimizing Sequence-to-Sequence Modeling Techniques\\for Improved Neural Machine Translation} % \title{Frankenmodels for Improved Neural Machine Translation} % \title{Optimized Architectures and Training Strategies\\for Improved Neural Machine Translation} % \title{Hybrid Vigor: Combining Traits from Different Architectures Improves Neural Machine Translation} \title{The Best of Both Worlds: \\Combining Recent Advances in Neural Machine Translation\\ ~} Also a lot of things in the Attention is all you need paper: https://arxiv.org/abs/1706.03762v1 https://arxiv.org/abs/1706.03762v1
- toolslive 2y agoMaybe papers need to be put under version control.
- westurner 2y agoFigShare and Zenodo grant (DataCite) DOIs for git commit tags. Maybe papers need to contain executable test assertions.
- JohnKemeny 2y ago> Some of their older papers had actually quite some valuable information, comments, discussions, thoughts, even commented out sections, figures, tables in it. I think you answered your own question.
- Chinjut 2y agoWhat question?
- DominikPeters 2y agoTo remove comments, one can also run, for example `latexpand --empty-comments --keep-includes --expand-bbl document.bbl document.tex > document-arxiv-v1.tex`. Latexpand should come pre-installed with texlive. Without the `--keep-includes` option, it also flattens the tex files into one. But I'd consider removing comments by hand and leaving any comments that are potentially insightful.
- sabjut 2y agoI wish journals would start accepting Typst[0] files. It is definitely the format of the next decade in my opinion. It's both open source and highly performant. Sadly existing legacy structures prevent it from gaining the critical mass needed for it to thrive just yet. [0] https://typst.app/ https://typst.app/
- whatshisface 2y agoThey could produce TeX files.
- auggierose 2y agoOr, don't put your stuff on the arXiv, but put it on zenodo. You also get a DOI, and you can just publish the PDF, not the source. You can even restrict access to the PDF, and create share links with access to it.
- frumiousirc 2y agoarXiv issues DOIs for submissions.
- auggierose 2y agoI didn't say otherwise. In fact, the "also" is meant to express exactly that.
- evanb 2y agoYou get a DOI on the arXiv. You can just publish the PDF on the arXiv, but this is a sure sign you are a crackpot.
- auggierose 2y agoYou mean, like Grisha Perelman?
- evanb 2y agoThere are exceptions to every rule.
- auggierose 2y agoIf you are “sure” I expect 100% correctness.
- evanb 2y agoSee, every rule has an exception.
- bigbacaloa 2y ago[dead]
- deleted 2y ago[deleted]
- cozzyd 2y agoSome of those are redundant (arxiv will complain if there are unused files, must commonly by accidentally adding the .bib file). My make arxiv target on papers usually just calls latexpand to cull comments and modifies all image includes to not be in a subdirectory (then prepares a tar file with the modified source and all figures).