-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse code and documentation for arbitrary references #15
Comments
Sounds good |
Things that could be search for:
|
Hi @dalonsoa how would this fit into the whole process, i.e. how would it be used via the command line? (maybe it would be good to add example files to the project). Say we have the file def some_function():
"""
Using algorithm introduced by 10.1234/zenodo.1234567
""" python -m r2t2 --static --format=markdown examples/docstring_references.py Should the output be something like: Referenced in: some_function
Source: [examples/docstring_references.py](examples/docstring_references.py:1)
Line: 1
[1] 10.1234/zenodo.1234567 Would you expect to be activated via |
The Spinx-bibtex documentation lists the e.g.: Sphinx
LaTex: See \cite{1987:nelson} for an introduction to non-standard analysis. Not sure whether |
The latex syntax causes a linting error on files using it: |
An example of someone using embedded bibtex:
|
Perhaps this issue should be closed in favour of more specific issues to further improve it? (e.g. extract short purpose) |
Searching for <cite data-cite="granger">Granger</cite> |
Some Markdown examples: {cite}`Spi18` \cite{chacaltana:2010ks, MR3046557, fubar,Chacaltana:2014ica} \cite{Tannor} \cite{Vosshall_1999}\cite{Clyne_1999}\cite{Gao_1999} [[CiteRef::Meyers Numbered Panda]] [[CiteRef::Citizen Lab Stealth Falcon May 2016]] {% cite mansinghka2014venture --style apa-text --file 2017-08-07 %} {% cite goldberg1992using %} {% cite hpbn -l 207 %} @cite taylor1999predictive @cite wan2002one @cite formaggia2003one <dt-cite cite="dwork2012fairness"></dt-cite> <dt-cite cite="susskind2018future"></dt-cite> https://github.com/andsor/notebooks/blob/7c4c6695cd48655b4cf6f158cbafd27649c78df8/src/nelder-mead.md
<cite>arXiv.org, arXiv:0907.4863v1 [physics.comp-ph]</cite>, 2009\. ([link](http://arxiv.org/abs/0907.4863v1)) <cite class="citation journal">Vary, JC; O'Connor, KM (May 2014). </cite> Rather plain text with link https://github.com/OpenNFT/opennft.github.io/blob/c4675b9249bded263d7fd3f576f461a47974af6d/About.md For open-source OpenNFT code and applied real-time data processing and software features, cite [Koush et al., 2017, Neuroimage 157:489-503](http://www.sciencedirect.com/science/article/pii/S1053811917305050) The HTML <cite>Labor Militant</cite> <cite>Mr Turner</cite> |
For R: #' in \insertCite{Hwang2014;textual}{cSEM}, p. 75, the authors set '.iter_max' # The first is discussed by \insertCite{tsong2017development;textual}{equivalenceTest} and the second by \insertCite{weng2018improved;textual}{equivalenceTest}.
or https://github.com/cran/JADE/blob/f279950fad445efbbdf3317413ce55454c329904/man/FOBI.Rd
or https://github.com/cran/metap/blob/0aad6738aa16c9950f779a080c88588413f6bb8e/man/sumlog.Rd
|
Fun, challenging and very valuable, but probably more effort than it's worth.
The text was updated successfully, but these errors were encountered: