Skip to content

Commit

Permalink
Merge pull request #75 from duecredit/update-readme
Browse files Browse the repository at this point in the history
DOC: Show that user can also enter BibTeX entries
  • Loading branch information
yarikoptic committed May 4, 2016
2 parents bf9ebd9 + e29fe85 commit fc8752e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ For using duecredit in your software

2. Then use `duecredit` import due and necessary entries in your code as

from .due import due, Doi
from .due import due, Doi, BibTeX

to provide reference for the entire module just use e.g.

Expand All @@ -52,6 +52,18 @@ For using duecredit in your software
def pushit():
...

References can also be entered as BibTeX entries

due.cite(BibTeX("""
@article{mynicearticle,
title={A very cool paper},
author={Happy, Author and Lucky, Author},
journal={The Journal of Serendipitous Discoveries}
}
"""),
description="Solves all your problems", path="magicpy")
Add injections for other existing modules
-----------------------------------------

Expand Down

0 comments on commit fc8752e

Please sign in to comment.