mfouesneau / arxiv_on_deck_2 Goto Github PK
View Code? Open in Web Editor NEWthe next version of arxiv_on_deck, a quick and dirty version of the Arxiver.
Home Page: https://mfouesneau.github.io/arxiv_on_deck_2/
License: MIT License
the next version of arxiv_on_deck, a quick and dirty version of the Arxiver.
Home Page: https://mfouesneau.github.io/arxiv_on_deck_2/
License: MIT License
To specify which figures you want to appear alongside your paper, one can leave a comment in any .tex file before uploading to arXiv, as in this example:
%@arxiver{fig1.pdf,fig4.png,fig15.eps}
Sometimes macros are not in math mode. They are not parsed in the markdown extraction
Example paper: 2302.10943
\title[Brightest cluster galaxies in IllustrisTNG]{The growth of brightest cluster galaxies in the TNG300 simulation: dissecting the contributions from mergers and \textit{in situ} star formation}
renders as
Brightest cluster galaxies in IllustrisTNGThe growth of brightest cluster galaxies in the TNG300 simulation: dissecting the contributions from mergers and \textit{in situ} star formation
The current author matching is
pattern in name
This leads to many false positive and should be replaced.
Affects:
arxiv_on_deck_2/arxiv_on_deck_2/latex.py
Line 684 in 6e85e27
The matching author function author_match
does a double test instead of using the match result.
arxiv_on_deck_2/arxiv_on_deck_2/latex.py
Line 457 in e37d130
Not all accentuated letters are correctly cleaned up from the tex file
e.g. Jes'us Vega-Ferrero
arxiv_on_deck_2/arxiv_on_deck_2/latex.py
Line 619 in aad8529
\title{CRIRES$^+$ detection of CO emissions lines and temperature inversions on the dayside of WASP-18b and ...}
LatexDocument.get_title()
.
content.find_all()
breaks the title into smaller bits because of the math mode.arxiv_on_deck_2/arxiv_on_deck_2/latex.py
Line 621 in aad8529
title = '"'.join([str(k) for k in doc.content.find_all('title')[0].contents])
It seems that for some papers (e.g., 2303.02816 the parsing of bib does not work.
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
Cell In[13], line 6
4 except Exception as e:
5 print(e)
----> 6 raise e
Cell In[13], line 2
1 try:
----> 2 bibdata = latex_bib.LatexBib.from_doc(doc)
3 full_md = latex_bib.replace_citations(full_md, bibdata)
4 except Exception as e:
File ~/Work/arxiv_display/venv/lib/python3.11/site-packages/arxiv_on_deck_2/latex_bib.py:144, in LatexBib.from_doc(cls, doc)
141 bib_database = parse_file(bibtex_file)
142 bib_data.append(bib_database)
--> 144 b0 = bib_data[0]
145 for bdata in bib_data[1:]:
146 b0.add_entries(bdata.entries)
IndexError: list index out of range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.