{ "info": { "author": "Alex Tait", "author_email": "atait@princeton.edu", "bugtrack_url": null, "classifiers": [], "description": "Princeton Bibliography Reducer\n==============================\n\nThis is a package for reducing LaTeX *.bib* files to include just what you want.\n\nShameless plug: check out our book_.\n\n.. _book: https://www.crcpress.com/Neuromorphic-Photonics/Prucnal-Shastri/p/book/9781498725224\n\nMade by Alex Tait\n\nInstallation\n------------\n``$ pip install princeton-bibreduce``\n\nUsage\n-----\nThere are three ways to call the same thing\n\n1: UNIX command line executable::\n\n $ princeton-bibreduce -cu myManuscript.aux\n\n2: python command line::\n\n $ python -m bibreduce -cu myManuscript.aux\n\n3: from python code::\n\n import bibreduce\n bibreduce.main('myManuscript.aux', coauthors=True, urlLinks=True)\n\nBehavior\n--------\nGenerates a *.bib* file. By default, it adds the ``_proc`` suffix to the generated *.bib*. The customizable fields are:\n\n* title (flag -t)\n* coauthors (flag -c)\n* doiLinks (flag -d)\n* urlLinks (flag -u)\n* abstract (flag -a)\n\nSpecifying the flag transfers that field. All fields not on this list are transferred over.\n\nGet more help with::\n\n $ princeton-bibreduce -h\n\n**Special behavior for links**\n\nIf a link format is specified, it populates the field ``link``. For urlLinks, it just copies over what is in the ``url`` field. For doiLinks, it puts \"\\http://dx.doi.org/thedoi\" in the ``link`` field.\n\nTypical TeX workflow\n--------------------\nThe goal here is to remove titles from references and try to add URLs.\n\n**(optional) Centralized bib libraries**\n\nSuppose you have a centralized bib library ``MasterLibrary.bib`` Bib globals should go in\n\n OSX: ``~/Library/texmf/bibtex/bib/local/MasterLibrary.bib``\n\n Linux: ``~/texmf/bibtex/bib/local/MasterLibrary.bib``\n\n Windows: ``C:\\Users\\\\texmf\\bibtex\\bib\\local\\MasterLibrary.bib``\n\n**The TeX file**\n\nSuppose you are then working on a TeX file ``myManuscript.tex`` containing::\n\n \\begin{document}\n The text of your paper.\n ...\n \\bibliography{MasterLibrary}\n \\end{document}\n\nThis will pull from your centralized library.\n\n**Flow**\n\nCompile it with::\n\n $ pdflatex myManuscript.tex\n $ bibtex myManuscript.aux\n $ pdflatex myManuscript.tex\n\nYour *.aux* file includes everything you need to extract a *.bib* that is specific to this manuscript. This is where you use this module::\n\n $ princeton-bibreduce myManuscript.aux -cu\n\nto generate ``myManuscript_proc.bib``. Now, go back to the *.tex* file and change the bibliography to the reduced one::\n\n \\bibliography{myManuscript_proc}\n\nOne more time, call::\n\n $ pdflatex myManuscript.tex\n $ bibtex myManuscript.aux\n $ pdflatex myManuscript.tex", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "princeton-bibreduce", "package_url": "https://pypi.org/project/princeton-bibreduce/", "platform": "", "project_url": "https://pypi.org/project/princeton-bibreduce/", "project_urls": null, "release_url": "https://pypi.org/project/princeton-bibreduce/0.2/", "requires_dist": null, "requires_python": "", "summary": "Reduce authors/titles/links in .bib files", "version": "0.2" }, "last_serial": 3093100, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "ad8bb8ee5b478100cb9612090e92d28d", "sha256": "ba521746db4d58efcfe5c9cc83d5dac4e57dab672e6975b6c1e9979a533346db" }, "downloads": -1, "filename": "princeton-bibreduce-0.2.tar.gz", "has_sig": false, "md5_digest": "ad8bb8ee5b478100cb9612090e92d28d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5556, "upload_time": "2017-08-13T00:58:36", "url": "https://files.pythonhosted.org/packages/77/a1/81e14f38732db11ffe608c6fe893d9b2be3d935930edde07bc9b883368e1/princeton-bibreduce-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad8bb8ee5b478100cb9612090e92d28d", "sha256": "ba521746db4d58efcfe5c9cc83d5dac4e57dab672e6975b6c1e9979a533346db" }, "downloads": -1, "filename": "princeton-bibreduce-0.2.tar.gz", "has_sig": false, "md5_digest": "ad8bb8ee5b478100cb9612090e92d28d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5556, "upload_time": "2017-08-13T00:58:36", "url": "https://files.pythonhosted.org/packages/77/a1/81e14f38732db11ffe608c6fe893d9b2be3d935930edde07bc9b883368e1/princeton-bibreduce-0.2.tar.gz" } ] }