diff --git a/docs/README.jinja.md b/docs/README.jinja.md index a9fd950f86da1d4eb6ffca165ef6b2661c2aa6e0..928509391e2aa20c8c9a882cd0dd60ea38f532cd 100644 --- a/docs/README.jinja.md +++ b/docs/README.jinja.md @@ -183,3 +183,9 @@ The final example displays half of the proposed solution: ```python {{ cs101_output.obscure_3_py }} ``` + + +## Citing +```bibtex +{{bibtex}} +``` \ No newline at end of file diff --git a/docs/build_docs.py b/docs/build_docs.py index 0a5f25497c3b4e69ee73d6b5b767fbe951b4ad7c..cbcab7ed772eb15b0c26860fc9966cd34ce4d64c 100644 --- a/docs/build_docs.py +++ b/docs/build_docs.py @@ -29,6 +29,10 @@ def my_nup(path): print(out_png) if __name__ == "__main__": + + from jinjafy.bibliography_maker import make_bibliography + make_bibliography("../setup.py", "./") + from snipper.fix_s import save_s from snipper.snipper_main import censor_file data = {} diff --git a/docs/codesnipper.bib b/docs/codesnipper.bib new file mode 100644 index 0000000000000000000000000000000000000000..f095ee0eab53d8f1dd628d752178b0c08c53014b --- /dev/null +++ b/docs/codesnipper.bib @@ -0,0 +1,9 @@ +@online{codesnipper, + title={Codesnipper (0.1.0): \texttt{pip install codesnipper}}, + url={https://lab.compute.dtu.dk/tuhe/snipper}, + urldate = {2021-09-06}, + publisher={Tue Herlau}, + author={Tue Herlau}, + comments={See url{asdfsdaf} for examples}, + year={2021}, +} \ No newline at end of file diff --git a/docs/index.png b/docs/index.png index c41a66ad8c73762aabf174feb8b7aca449c12723..ae622235e381ab0457b9b35a3c40ac76cf2ed6cc 100644 Binary files a/docs/index.png and b/docs/index.png differ diff --git a/docs/latex_nup.pdf b/docs/latex_nup.pdf index 748d1e30d11150e380afba36ab814fdc6939bd75..c31c3cf2f596684bac478dfdfd25b62b6c16401b 100644 Binary files a/docs/latex_nup.pdf and b/docs/latex_nup.pdf differ diff --git a/examples/latex/index.log b/examples/latex/index.log index 5a4eb0fb5e8e9341d8601a4f62c283bf3cd38cdf..f06d4ae4ebc6322338abddb6598937759ecfa38e 100644 --- a/examples/latex/index.log +++ b/examples/latex/index.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.8) (preloaded format=pdflatex 2021.9.3) 5 SEP 2021 17:36 +This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.8) (preloaded format=pdflatex 2021.9.3) 6 SEP 2021 13:00 entering extended mode **./index.tex (index.tex @@ -318,7 +318,7 @@ eX/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Program Files/MiKTeX/fonts/type 1/public/amsfonts/cm/cmsy9.pfb><C:/Program Files/MiKTeX/fonts/type1/public/amsf onts/cm/cmti10.pfb><C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmtt 9.pfb> -Output written on index.pdf (1 page, 104206 bytes). +Output written on index.pdf (1 page, 103976 bytes). PDF statistics: 98 PDF objects out of 1000 (max. 8388607) 9 named destinations out of 1000 (max. 500000) diff --git a/examples/latex/index.pdf b/examples/latex/index.pdf index 1a3c02d2be9da35c2710aef3d115bcaaddf1da4b..a39d667412d074f71e77e671aac87285a794be71 100644 Binary files a/examples/latex/index.pdf and b/examples/latex/index.pdf differ diff --git a/examples/latex/index.synctex.gz b/examples/latex/index.synctex.gz index 9100a3d20b8a259959290483b3d60cbf58f669b2..7235081d5073e7e6fe704a122d8c91423912e1db 100644 Binary files a/examples/latex/index.synctex.gz and b/examples/latex/index.synctex.gz differ