{ "info": { "author": "Chris Sewell", "author_email": "chrisj_sewell@hotmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: End Users/Desktop", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Utilities" ], "description": "# bib2glossary\n\n[![Build Status](https://travis-ci.org/chrisjsewell/bib2glossary.svg?branch=master)](https://travis-ci.org/chrisjsewell/bib2glossary)\n\nThis package is intended to allow for the storage and management of\n[latex glossary terms](https://en.wikibooks.org/wiki/LaTeX/Glossary)\nin standard reference management packages (such as Zotero),\nby converting between `.bib` files\nand `.tex` files containing `\\newglossaryentry` or `\\newacronym` definitions.\n\nTo date the only other way to achieve this is *via* [bib2gls](https://tex.stackexchange.com/questions/342544/is-there-a-program-for-managing-glossary-tags). However, it implementation is somewhat complex, and the item types it uses are not supported by Zotero.\n\nIn `bib2glossary`, the user may override the default relationships between\nreference item fields and glossary term parameters,\nby supplying a JSON file, e.g.:\n\n```json\n{\n \"abbreviation\": \"abbrevfield\"\n}\n```\n\nThe defaults are taken from the `Dictionary Entry` type in [Zotero](https://www.zotero.org/support/kb/item_types_and_fields).\n\nFor `\\newacronym`:\n\n| Parameter | Field |\n| ------------ | ---------- |\n| misc | @type |\n| longname | journal* |\n| abbreviation | shorttitle |\n| description | abstract |\n| plural | series |\n| longplural | isbn |\n| firstplural | address** |\n\nFor `\\newglossaryentry`:\n\n| Parameter | Field |\n| ----------- | --------- |\n| misc | @type |\n| name | journal* |\n| description | abstract |\n| plural | series |\n| symbol | volume |\n| text | edition |\n| sort | publisher |\n\n\\* This shows as 'Dictionary Title' in Zotero\n\n\\*\\* This shows as 'Place' in Zotero\n\n[Note: The `title` field is not used, since it is usely used to generate the key.]\n\n## Installation\n\n >> pip install bib2glossary\n\n## Usage\n\nConversion of `\\newacronym`:\n\n >> bib2acronym --help\n >> bib2acronym path/to/file.bib --entry-type misc --param2field path/to/file.json\n\nor\n\n >> acronym2bib --help\n >> acronym2bib path/to/file.tex --entry-type misc --param2field path/to/file.json\n\nConversion of `\\newglossaryentry`:\n\n >> bib2glossary --help\n >> bib2glossary path/to/file.bib --entry-type misc --param2field path/to/file.json\n\nor\n\n >> glossary2bib --help\n >> glossary2bib path/to/file.tex --entry-type misc --param2field path/to/file.json\n\n## Implementation\n\n- Parsing of `tex` files is handled by [TexSoup](https://github.com/alvinwan/TexSoup)\n- Parsing of `bib` files is handled by [BibtexParser](https://bibtexparser.readthedocs.io)\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/chrisjsewell/bib2glossary", "keywords": "latex biblatex bibtex glossaries acronyms", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "bib2glossary", "package_url": "https://pypi.org/project/bib2glossary/", "platform": "", "project_url": "https://pypi.org/project/bib2glossary/", "project_urls": { "Homepage": "https://github.com/chrisjsewell/bib2glossary" }, "release_url": "https://pypi.org/project/bib2glossary/0.1.2/", "requires_dist": [ "six (>=1.12.0)", "bibtexparser (>=0.6.2)", "texsoup (>=0.1.4)" ], "requires_python": ">=3", "summary": "A package to convert between a latex bib file and a tex file containing glossaries entries", "version": "0.1.2" }, "last_serial": 4715967, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "819d626dc777aa785a03d300786a07a2", "sha256": "5ff9fb2c0b1279904171ba5a6cfb39858115cc1d41257313e4ffb28fb931f9a7" }, "downloads": -1, "filename": "bib2glossary-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "819d626dc777aa785a03d300786a07a2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5535, "upload_time": "2019-01-18T20:02:11", "url": "https://files.pythonhosted.org/packages/dc/ef/d1876bf65d3eb7a5f3b4d39a250df46e8cd66570d4d896f07816559ca35e/bib2glossary-0.0.1-py2.py3-none-any.whl" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "d74b246e481d54edc17959164d62cb5d", "sha256": "b4276b3a041005bcff3124b563dc3fbe11307ad86b89a128c91771bdbdd7faf9" }, "downloads": -1, "filename": "bib2glossary-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d74b246e481d54edc17959164d62cb5d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 16243, "upload_time": "2019-01-19T13:18:02", "url": "https://files.pythonhosted.org/packages/f6/34/f2dba7e3d6e58d0f382afb43a6660ca6880951ccdc41857487d1bb9f7492/bib2glossary-0.1.0-py2.py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bffae0f1a5d2ede94f21e61d5da9a954", "sha256": "d960b5bee28c4c369c1da289aefd8f6b6e4aa3cf974b3965b382a45b35d529a0" }, "downloads": -1, "filename": "bib2glossary-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bffae0f1a5d2ede94f21e61d5da9a954", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 16244, "upload_time": "2019-01-19T13:58:10", "url": "https://files.pythonhosted.org/packages/cf/77/e1e95dbdb439b54526d6e1fe2791b3b777dee813cf6d61463f40ca466518/bib2glossary-0.1.1-py2.py3-none-any.whl" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f5919c77634449464637462b05b35573", "sha256": "178e45131a75320b13398eff44a6fe788889908f5b43339d6650203dbd349727" }, "downloads": -1, "filename": "bib2glossary-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f5919c77634449464637462b05b35573", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 16244, "upload_time": "2019-01-19T15:23:35", "url": "https://files.pythonhosted.org/packages/d9/16/d35245e4d62f6de4700f31b5b8a5bca36083a49c998e7f4ddf8af725f8d3/bib2glossary-0.1.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f5919c77634449464637462b05b35573", "sha256": "178e45131a75320b13398eff44a6fe788889908f5b43339d6650203dbd349727" }, "downloads": -1, "filename": "bib2glossary-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f5919c77634449464637462b05b35573", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 16244, "upload_time": "2019-01-19T15:23:35", "url": "https://files.pythonhosted.org/packages/d9/16/d35245e4d62f6de4700f31b5b8a5bca36083a49c998e7f4ddf8af725f8d3/bib2glossary-0.1.2-py2.py3-none-any.whl" } ] }