
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
arxiv-to-xml
Advanced tools
Generate XML representation of an arXiv paper using
latexml
.
The following is required if running on a host machine. Instead you can use the Docker image - instructions below.
Install texlive
sudo apt update
sudo apt install -y texlive-full
Install latexml
mkdir -p /usr/src/latexml
cd /usr/src/latexml
export LATEXML_COMMIT=9bccfbf633855a2cf9a1c5f03c3ce85c46be4717
curl -L https://github.com/brucemiller/LaTeXML/tarball/$LATEXML_COMMIT | tar --strip-components 1 -zxf - \
&& perl Makefile.PL \
&& make \
&& make install
# Pull image
docker pull bencevans/arxiv-to-xml
# Get your XML
docker run --rm bencevans/arxiv-to-xml [arxiv id]
# Clone repo
git clone https://github.com/bencevans/arxiv-to-xml.git
cd arxiv-to-xml
# Build image
docker build -t arxiv-to-xml .
# Get your XML
docker run arxiv-to-xml [arxiv id]
Ensure you've installed a latex suite and latexml.
# Install from npm
npm install --global arxiv-to-xml
# Get your XML
arxiv-to-xml [arxiv id]
Ensure you've installed a latex suite and latexml.
# Install from npm
npm install --save arxiv-to-xml
const arxivToXML = require('arxiv-to-xml')
arxivToXML(arxivId)
.then(xml => console.log(xml))
.catch(err => {
console.error(err)
process.exit(1)
})
MIT © Ben Evans
FAQs
Generate XML representation of an arXiv paper using latexml
The npm package arxiv-to-xml receives a total of 2 weekly downloads. As such, arxiv-to-xml popularity was classified as not popular.
We found that arxiv-to-xml demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.