Skip to content
Finn Årup Nielsen edited this page Jan 7, 2017 · 34 revisions

Tex bibliography

cat > hellocitation.tex <<EOF
\documentclass{article}
\usepackage[utf8]{inputenc}
\title{Hello, Citation}
\author{Finn Årup Nielsen}
\begin{document}
\maketitle
Hello, Citation \cite{Q21133507},
and \cite{10.1186/s13321-016-0161-3}.
\bibliographystyle{unsrt}
\bibliography{hellocitation}
\end{document}
EOF

pdflatex hellocitation.tex
python -m scholia.tex write-bib-from-aux hellocitation.aux
bibtex hellocitation
pdflatex hellocitation.tex
pdflatex hellocitation.tex

Updates for wmflabs

Login to login.tools.wmflabs.org

become scholia
source ~/www/python/venv/bin/activate
cd ~/www/python/scholia ; git pull
webservice2 uwsgi-python restart  # Wait and pray
tail -f ~/uwsgi.log  # look at web log
Clone this wiki locally