{ "info": { "author": "Arun Persaud", "author_email": "arun@nubati.net", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Lektor", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Lektor Bibtex Plugin\n\nThe plugin allows adding a list of publications generated from bibtex files to a page.\n\n\n## Enabling the plugin\n\nTo enable the plugin add this to your project file:\n\n```\n[packages]\nlektor-bibtex-support = 0.1\n```\n\n## Configuring\n\nCreate a file configs/bibtex-support.ini with a section called Bibtex. Define a variable files that\nis a white space separated list of bibtex files. Put these files into the assets directory of your project.\n\n```\n[Bibtex]\nfiles = A.bib B.bib\n```\n\nOptionally you can also create a template file that should leave in the template directory to render the bibtex entries. If you skip this entry a default template will be used that sorts the entries by year.\n\n## Usage\n\nYou can add the the publication anywhere in your jinja template by calling\n\n```\n{{ list_publications(name=name, tag=tag, year=year, labels=labels, fname=fname)|safe }}\n```\n\nThe arguments are optional and can be used for filtering.\n\nBy name: the name has to show up in the author list to be included\n\nby year: only publications from this year\n\nlabels: white space separated list of bibtex labels (the name of each entry in the bibtex file)\n\nfname: white space separated list files to search (by default all files will be searched)\n\n\n## Javascript\n\nFor the default template, you can also add the following javascript to show some entries if you have a long list (relies on jquery):\n\n```\n$(document).ready(function()\n\t {\n\t $(\".BIBTeX\").hide();\n\t $(\".BIBTeXtoggle\").click( function () {\n\t\t $(this).parent().children(\".BIBTeX\").toggle(300);\n\t\t return false;\n\t\t});\n\t $(\".BIBYear\").hide();\n\t $(\".BIBYear:first\").show();\n\t $(\".BIBYearheader\").click( function () {\n\t\t $(this).parent().children(\".BIBYear\").toggle(300);\n\t\t return false;\n\t\t});\n\t $(\".bibshowall\").click( function () {\n\t\t $(\".BIBYear\").show();\n\t\t});\n\t $(\".bibhideall\").click( function () {\n\t\t $(\".BIBYear\").hide();\n\t\t $(\".BIBYear:first\").show();\n\t\t});\n });\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/arunpersaud/lektor-bibtex-support", "keywords": "Lektor plugin static-site bibtex", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lektor-bibtex-support", "package_url": "https://pypi.org/project/lektor-bibtex-support/", "platform": "", "project_url": "https://pypi.org/project/lektor-bibtex-support/", "project_urls": { "Homepage": "https://github.com/arunpersaud/lektor-bibtex-support" }, "release_url": "https://pypi.org/project/lektor-bibtex-support/0.1.1/", "requires_dist": [ "pybtex" ], "requires_python": "", "summary": "Bibtex file support to easily include publication lists.", "version": "0.1.1" }, "last_serial": 3902138, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "70640bcf961a7b265dcdff30e4b58beb", "sha256": "d1d5f6f741d9f7e129ce5af4303134a6fe060cad6923b9c6b2c0e49a97f5d4c6" }, "downloads": -1, "filename": "lektor_bibtex_support-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "70640bcf961a7b265dcdff30e4b58beb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7025, "upload_time": "2018-05-20T20:19:52", "url": "https://files.pythonhosted.org/packages/69/c3/921d3817773d887fe0f32e2133f74c05506652ce24692f8247a09ca8dfd9/lektor_bibtex_support-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e0a5013e1663cb3af837a861157a2927", "sha256": "9f5523f2c2bd8203f466495e45f983b6e934f23918188935f2a3e706e0cc173e" }, "downloads": -1, "filename": "lektor-bibtex-support-0.1.tar.gz", "has_sig": false, "md5_digest": "e0a5013e1663cb3af837a861157a2927", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5295, "upload_time": "2018-05-21T03:23:56", "url": "https://files.pythonhosted.org/packages/60/e1/7dde86988618fbd95b5435ccc80976fae0da04d9ad8d3720c504874b390e/lektor-bibtex-support-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f3da878a984adef07f7999fc9c9cd4be", "sha256": "346435c1d31658aac1579c45735e559666a1391b2e4c3b4faac7013a6a4eb199" }, "downloads": -1, "filename": "lektor_bibtex_support-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f3da878a984adef07f7999fc9c9cd4be", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5230, "upload_time": "2018-05-26T21:19:46", "url": "https://files.pythonhosted.org/packages/53/d4/b71763e8105aa1d419e1de758662f331649b3abbd85b6f9ac90c226037f3/lektor_bibtex_support-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f133ccee62b81442d157893cab0bf09", "sha256": "5f32b14d59e102f1884d647bb1d994449f3369b1cb395c68b4fefe5b79283527" }, "downloads": -1, "filename": "lektor-bibtex-support-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2f133ccee62b81442d157893cab0bf09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5321, "upload_time": "2018-05-26T21:19:47", "url": "https://files.pythonhosted.org/packages/2d/1d/0d973f5a08262d493040cf56484ae2d8a354173e868b174e18ffa62a9a7e/lektor-bibtex-support-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f3da878a984adef07f7999fc9c9cd4be", "sha256": "346435c1d31658aac1579c45735e559666a1391b2e4c3b4faac7013a6a4eb199" }, "downloads": -1, "filename": "lektor_bibtex_support-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f3da878a984adef07f7999fc9c9cd4be", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5230, "upload_time": "2018-05-26T21:19:46", "url": "https://files.pythonhosted.org/packages/53/d4/b71763e8105aa1d419e1de758662f331649b3abbd85b6f9ac90c226037f3/lektor_bibtex_support-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f133ccee62b81442d157893cab0bf09", "sha256": "5f32b14d59e102f1884d647bb1d994449f3369b1cb395c68b4fefe5b79283527" }, "downloads": -1, "filename": "lektor-bibtex-support-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2f133ccee62b81442d157893cab0bf09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5321, "upload_time": "2018-05-26T21:19:47", "url": "https://files.pythonhosted.org/packages/2d/1d/0d973f5a08262d493040cf56484ae2d8a354173e868b174e18ffa62a9a7e/lektor-bibtex-support-0.1.1.tar.gz" } ] }