No project description provided
Reason this release was yanked:
Bug in pdg-review role if there are spaces
Project description
PDG role for Sphinx
This package is a Sphinx extension that makes it easy to refer to PDF files of reviews and particle listings in the PDG.
Installation
Just install through PyPI with pip
:
pip install sphinxcontrib-hep-pdgref
Next, in your
Sphinx configuration file
(conf.py
), add "sphinxcontrib.hep.pdgref"
to your extensions
:
extensions = [
...
"sphinxcontrib.hep.pdgref",
...
]
Usage
There are two roles, one for the particle listings and one for the review. These roles can be used as follows:
:pdg-listing:`K-zero`
:pdg-review:`Kinematics`
:pdg-review:`2014; Resonances`
:pdg-review:`Resonances; 2018; pp. 2-4, 7`
:pdg-review:`QCD; p5`
:pdg-listing:`QCD; p5`
:pdg-review:`QCD; p5`
which will render in the HTML pages as:
Note that the resulting links lead to the correct page as well!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sphinxcontrib-hep-pdgref-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 278b8c8a53af01890ff6c3483484bafbb5e27c1fe5cb54eae76e3be8e684b2df |
|
MD5 | e4e35236720356c671bfb7baf0ac1b33 |
|
BLAKE2b-256 | acd068afeb84582ceb1ebadd605ede6b9b6d95871017250ca927b30b677efce7 |
Close
Hashes for sphinxcontrib_hep_pdgref-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e702bb76aa3939956d91fa7800944249ddc88d2b28ad6a8208e8a476e6bf2589 |
|
MD5 | d91660c5a41fbf14f05e3c21352d29f4 |
|
BLAKE2b-256 | 715f84436fb742639e222709149c248fef164a8af2ffcfcb11ddde1147e1bd1d |