{ "info": { "author": "Petar Maric", "author_email": "petarmaric@uns.ac.rs", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering", "Topic :: Text Processing :: Markup :: LaTeX", "Topic :: Utilities" ], "description": "About\r\n=====\r\n\r\nConsole app and Python API for automated preparation of your LaTeX paper for\r\nsubmission in PLOS journals.\r\n\r\nPlease cite this project in your papers::\r\n\r\n @misc{latex2plos,\r\n title={{latex2plos public code repository}},\r\n author={Mari{\\'c}, Petar},\r\n year={2019},\r\n url={https://github.com/petarmaric/latex2plos},\r\n }\r\n\r\nMajor features\r\n==============\r\n\r\nMultiple LaTeX files workflow\r\n-----------------------------\r\n\r\nIf your paper is organized into multiple ``.tex`` files, latex2plos will\r\ncombine them into a single, cohesive ``.tex`` file.\r\n\r\n``\\verbatiminput``\r\n------------------\r\n\r\nTransforms a ``\\verbatiminput`` file inclusion into its equivalent\r\n``\\begin{verbatim}...\\end{verbatim}`` call.\r\n\r\n``\\bibliography``\r\n-----------------\r\n\r\nTransforms a ``\\bibliography`` file inclusion into its equivalent\r\n``\\begin{thebibliography}...\\end{thebibliography}`` call.\r\n\r\nThis is done as PLOS does not allow submission of BiBTeX databases, and instead\r\nrequires the reference information to be embedded in the paper directly, as per\r\nPLOS `LaTeX guidelines`_.\r\n\r\n``\\lstinputlisting``\r\n--------------------\r\n\r\nCopies over the files referenced by ``\\lstinputlisting`` into the papers export\r\ndirectory.\r\n\r\n``\\includegraphics``\r\n--------------------\r\n\r\nCopies over the figures referenced by ``\\includegraphics`` into the papers\r\nexport directory. It will also transform all figures into the TIFF image format\r\n(LZW compression, at 300 dpi) and remove/comment-out them from the papers\r\nexported PDF, as per PLOS `LaTeX guidelines`_ and `figures guidelines`_.\r\n\r\n.. _`LaTeX guidelines`: https://journals.plos.org/plosone/s/latex\r\n.. _`figures guidelines`: https://journals.plos.org/plosone/s/figures\r\n\r\nExamples\r\n========\r\n\r\nAn example paper, based on the `PLOS LaTeX template`_, has been provided in the\r\n`template4plos repository`_ to verify the latex2plos features listed above.\r\n\r\n.. _`PLOS LaTeX template`: https://journals.plos.org/plosone/s/latex\r\n.. _`template4plos repository`: https://github.com/petarmaric/template4plos\r\n\r\nInstallation\r\n============\r\n\r\nTo install latex2plos run::\r\n\r\n $ pip install latex2plos\r\n\r\nConsole app usage\r\n=================\r\n\r\nQuick start::\r\n\r\n $ latex2plos \r\n\r\nShow help::\r\n\r\n $ latex2plos --help\r\n\r\nPython API usage\r\n================\r\n\r\nQuick start::\r\n\r\n >>> import logging\r\n >>> logging.basicConfig(level=logging.DEBUG, format=\"[%(levelname)s] %(message)s\")\r\n\r\n >>> from latex2plos.main import latex2plos\r\n >>> latex2plos('paper.tex')\r\n\r\nContribute\r\n==========\r\n\r\nIf you find any bugs, or wish to propose new features `please let us know`_.\r\n\r\nIf you'd like to contribute, simply fork `the repository`_, commit your changes\r\nand send a pull request. Make sure you add yourself to `AUTHORS`_.\r\n\r\n.. _`please let us know`: https://github.com/petarmaric/latex2plos/issues/new\r\n.. _`the repository`: https://github.com/petarmaric/latex2plos\r\n.. _`AUTHORS`: https://github.com/petarmaric/latex2plos/blob/master/AUTHORS\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/petarmaric/latex2plos", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "latex2plos", "package_url": "https://pypi.org/project/latex2plos/", "platform": "", "project_url": "https://pypi.org/project/latex2plos/", "project_urls": { "Homepage": "https://github.com/petarmaric/latex2plos" }, "release_url": "https://pypi.org/project/latex2plos/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "Console app and Python API for automated preparation of your LaTeX paper for submission in PLOS journals", "version": "1.0.2" }, "last_serial": 5772539, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d4a9a5ea02c247303927b06117478e7f", "sha256": "3097470b15e9f2deef05165e55383163f69272036df2848e2cbb1daa84399e4f" }, "downloads": -1, "filename": "latex2plos-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "d4a9a5ea02c247303927b06117478e7f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9090, "upload_time": "2019-07-20T16:13:59", "url": "https://files.pythonhosted.org/packages/2c/11/2954f482eedfa72e46140c4c439d2711b9ddd7f40c8142fcd82b345ddd8a/latex2plos-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2392998133fd83e391b30de7181a9fc2", "sha256": "142bd98b0a9a040a2a3a1a798b86ceb2c060ea2d35d40edd5ae35858dba48101" }, "downloads": -1, "filename": "latex2plos-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2392998133fd83e391b30de7181a9fc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7155, "upload_time": "2019-07-20T16:13:53", "url": "https://files.pythonhosted.org/packages/0c/3d/99046a5d461e861785e6ea59262cfdda78164fb1dfa2e76ae0c4ba1b10c5/latex2plos-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b489757af493842b903956108af8d1ae", "sha256": "63689680b2348eaa827d0f61440e4bd41f30215a7948c7a1b54391802d3df851" }, "downloads": -1, "filename": "latex2plos-1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b489757af493842b903956108af8d1ae", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9097, "upload_time": "2019-08-06T20:09:19", "url": "https://files.pythonhosted.org/packages/07/71/31094a861060c3bdef1b9e6cf97cbd7aac9e689f14d943a41ac371480a42/latex2plos-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8f2cbc263b4dd9556fcefa4b2eb611d", "sha256": "66b52c6d46689d6d4bbfcc3638a27d3d35b953abc255734bf4ed1a5dd0f57bbc" }, "downloads": -1, "filename": "latex2plos-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e8f2cbc263b4dd9556fcefa4b2eb611d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7326, "upload_time": "2019-08-06T20:09:15", "url": "https://files.pythonhosted.org/packages/c7/a4/583aa503fa970dee65e88c0a314f38c587daa2c5094ab6f34ceff9f73a60/latex2plos-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "012d4580cdee697fe7215005cc04fb95", "sha256": "0ebac1b6001dd88ebcd921a88ed4c4798db823f8a1598bcda4a7ca862339dae3" }, "downloads": -1, "filename": "latex2plos-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "012d4580cdee697fe7215005cc04fb95", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10110, "upload_time": "2019-09-02T20:33:51", "url": "https://files.pythonhosted.org/packages/a7/9c/8779e513963c9c1ed2f687f48fcfc35d9bfab3885878c3e503b0225e0bde/latex2plos-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce0bf9ddbc326e95b7dab2959db1a61b", "sha256": "0d95d54db434799e7397ef4025768e42379eeedfba2b8fd237b42b032f845690" }, "downloads": -1, "filename": "latex2plos-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ce0bf9ddbc326e95b7dab2959db1a61b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7322, "upload_time": "2019-09-02T20:33:35", "url": "https://files.pythonhosted.org/packages/37/91/841e632599da46300f7502c040d291ca2c5c7a03b5edb39390de30a1dd21/latex2plos-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "012d4580cdee697fe7215005cc04fb95", "sha256": "0ebac1b6001dd88ebcd921a88ed4c4798db823f8a1598bcda4a7ca862339dae3" }, "downloads": -1, "filename": "latex2plos-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "012d4580cdee697fe7215005cc04fb95", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10110, "upload_time": "2019-09-02T20:33:51", "url": "https://files.pythonhosted.org/packages/a7/9c/8779e513963c9c1ed2f687f48fcfc35d9bfab3885878c3e503b0225e0bde/latex2plos-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce0bf9ddbc326e95b7dab2959db1a61b", "sha256": "0d95d54db434799e7397ef4025768e42379eeedfba2b8fd237b42b032f845690" }, "downloads": -1, "filename": "latex2plos-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ce0bf9ddbc326e95b7dab2959db1a61b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7322, "upload_time": "2019-09-02T20:33:35", "url": "https://files.pythonhosted.org/packages/37/91/841e632599da46300f7502c040d291ca2c5c7a03b5edb39390de30a1dd21/latex2plos-1.0.2.tar.gz" } ] }