-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom anchors for bibliographies and citations. (#265)
Closes issue #264.
- Loading branch information
1 parent
259410b
commit b9ec080
Showing
13 changed files
with
312 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extensions = ['sphinxcontrib.bibtex'] | ||
exclude_patterns = ['_build'] | ||
bibtex_bibfiles = ['test.bib'] | ||
bibtex_cite_id = "cite-id-{bibliography_count}-{key}" | ||
bibtex_footcite_id = "footcite-id-{key}" | ||
bibtex_bibliography_id = "bibliography-id-{bibliography_count}" | ||
bibtex_footbibliography_id = "footbibliography-id-{footbibliography_count}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Custom Ids | ||
========== | ||
|
||
Regular Citations | ||
----------------- | ||
|
||
First citation :cite:`2009:mandel`. | ||
Second citation :cite:`2003:evensen`. | ||
Third citation :cite:`1986:lorenc`. | ||
|
||
.. bibliography:: | ||
:filter: False | ||
|
||
2009:mandel | ||
2003:evensen | ||
|
||
.. bibliography:: | ||
:filter: False | ||
|
||
1986:lorenc | ||
|
||
Footnote Citations | ||
------------------ | ||
|
||
First citation :footcite:`2009:mandel`. | ||
Second citation :footcite:`2003:evensen`. | ||
|
||
.. footbibliography:: | ||
|
||
And first citation again :footcite:`2009:mandel`. | ||
Third citation :footcite:`1986:lorenc`. | ||
|
||
.. footbibliography:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@Misc{2009:mandel, | ||
author = {Jan Mandel}, | ||
title = {A Brief Tutorial on the Ensemble {K}alman Filter}, | ||
howpublished = {arXiv:0901.3725v1 [physics.ao-ph]}, | ||
month = jan, | ||
year = {2009}, | ||
OPTnote = {}, | ||
OPTannote = {}, | ||
archivePrefix = {arXiv}, | ||
eprint = {0901.3725}, | ||
primaryClass = {physics.ao-ph} | ||
} | ||
|
||
@Article{2003:evensen, | ||
author = {Geir Evensen}, | ||
title = {The Ensemble {K}alman Filter: theoretical formulation and practical implementation}, | ||
journal = {Ocean Dynamics}, | ||
year = {2003}, | ||
OPTkey = {}, | ||
volume = {53}, | ||
number = {4}, | ||
pages = {343-367}, | ||
OPTmonth = {}, | ||
OPTnote = {}, | ||
OPTannote = {}, | ||
doi = {10.1007/s10236-003-0036-9} | ||
} | ||
|
||
@Article{1986:lorenc, | ||
author = {Andrew C. Lorenc}, | ||
title = {Analysis methods for numerical weather prediction}, | ||
journal = {Quarterly Journal of the Royal Meteorological Society}, | ||
year = {1986}, | ||
OPTkey = {}, | ||
volume = {112}, | ||
number = {474}, | ||
pages = {1177-1194}, | ||
OPTmonth = {}, | ||
OPTnote = {}, | ||
OPTannote = {}, | ||
doi = {10.1002/qj.49711247414} | ||
} |
Oops, something went wrong.