{ "info": { "author": "Marius Gedminas", "author_email": "marius@gedmin.as", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython" ], "description": "mgp2pdf\n=======\n\nThis is a quick-and-dirty MagicPoint_ to PDF converter.\n\n.. _MagicPoint: http://member.wide.ad.jp/wg/mgp/\n\nIt supports only a subset of MagicPoint, specifically, the subset I've\nused in my slides so far. If you send me your slide decks, I'll make\nmgp2pdf handle them too.\n\nSUPPORT.rst has a list of supported and unsupported features.\n\nBUGS.rst has a list of known bugs.\n\n\nInstallation\n------------\n\n::\n\n pip install mgp2pdf\n\n\nUsage\n-----\n\n::\n\n mgp2pdf [-v] [--unsafe] slides.mgp [-o output.pdf]\n mgp2pdf [-v] [--unsafe] slides.mgp ... [-o directory]\n mgp2pdf [-h|--help]\n\n\nWhy another converter?\n----------------------\n\nI used mgp to produce slides for a Python course I taught at Vilnius\nUniversity. However, since most of the students are not (yet) Linux\nusers, they couldn't use MagicPoint to view my slides at home. There are\nsome converters from MagicPoint to PostScript/HTML, but the result either\nlooks ugly, or doesn't support Unicode characters. MagicPoint itself can\nproduce a number of bitmaps (by taking screenshots), but those are big,\nand the conversion process is inconvenient (you cannot use your machine\nwhile mgp is busy rendering slides and taking screenshots).\n\nI wrote a Python program to interpret MagicPoint commands and produce a\nPDF file using ReportLab. It can handle my slides (Lithuanian), but\notherwise it is probably incomplete. Feel free to give it a try. File\nbugs for missing features, and I'll see what I can do.\n\n\nResources\n---------\n\nThere's a web page, of sorts, at https://mg.pov.lt/mgp2pdf\n\nThe source code can be found at https://github.com/mgedmin/mgp2pdf.\n\nReport bugs at https://github.com/mgedmin/mgp2pdf/issues.\n\nLicence: GPL v2 or later (https://www.gnu.org/copyleft/gpl.html)\n\n.. image:: https://travis-ci.org/mgedmin/mgp2pdf.svg?branch=master\n :target: https://travis-ci.org/mgedmin/mgp2pdf\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/mgedmin/mgp2pdf?branch=master&svg=true\n :target: https://ci.appveyor.com/project/mgedmin/mgp2pdf\n\n.. image:: https://coveralls.io/repos/mgedmin/mgp2pdf/badge.svg?branch=master\n :target: https://coveralls.io/r/mgedmin/mgp2pdf\n\n\n\nChangelog\n---------\n\n0.10.2 (2019-04-23)\n~~~~~~~~~~~~~~~~~~~\n\n- Add Python 3.6 and 3.7 support (no actual code changes required).\n\n- Drop Python 3.3 and 3.4 support.\n\n- Stop using :weight=bold and such when passing font patterns to fc-match;\n specify :weight=200 etc. Fixes \"Unable to parse the pattern\" from fc-match\n and \"Could not find the font file for Sans:weight=bold\" from mgp2pdf.\n\n\n0.10.1 (2016-09-17)\n~~~~~~~~~~~~~~~~~~~\n\n- Correctly recognize ``...-...-r`` fonts as roman\n (`GH #6 `_).\n\n- Add support for ``cyan`` color\n (`GH #5 `_).\n\n- Fix typo in error message\n (`GH #4 `_).\n\n- Add Python 3.5 support.\n\n- Drop Python 2.6 support.\n\n\n0.10 (2015-01-06)\n~~~~~~~~~~~~~~~~~\n\n- ``%filter`` is disabled by default for being a security risk. Use\n ``--unsafe`` to enable.\n\n- ``-o DIRECTORY`` is now supported.\n\n- Interpret image paths relative to the location of the mgp file.\n\n- Support Python 3.3 and up in addition to 2.6 and 2.7.\n\n- More accurate text positioning (mgp2pdf no longer truncates the\n corrdinates to integral point values).\n\n- More color names are now recognized: white, red, green, blue, yellow.\n\n- Better font name recognition (requires ``fc-match`` from fontconfig).\n\n- Improved error handling and reporting.\n\n- Support ``%%`` comment syntax.\n\n- Corrected handling of ``%default``, ``%tab``, ``%deffont``.\n\n- Implemented ``%include``.\n\n- Implemented ``%newimage -raise`` (also discovered that mgp itself ignores\n ``-raise``).\n\n- 100% test coverage.\n\n\n0.9 (2014-05-09)\n~~~~~~~~~~~~~~~~\n\n- First packaged release.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mgedmin/mgp2pdf/", "keywords": "", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "mgp2pdf", "package_url": "https://pypi.org/project/mgp2pdf/", "platform": "", "project_url": "https://pypi.org/project/mgp2pdf/", "project_urls": { "Homepage": "https://github.com/mgedmin/mgp2pdf/" }, "release_url": "https://pypi.org/project/mgp2pdf/0.10.2/", "requires_dist": [ "ReportLab" ], "requires_python": "", "summary": "MagicPoint to PDF converter", "version": "0.10.2" }, "last_serial": 5178412, "releases": { "0.10": [ { "comment_text": "", "digests": { "md5": "d9fd1984f5e207aa429df26fbbabcdfc", "sha256": "f73b0b7fb2a2517e69a5f978f5d15b6dac4459a5ea71da0bc1960d581f4c8626" }, "downloads": -1, "filename": "mgp2pdf-0.10.tar.gz", "has_sig": false, "md5_digest": "d9fd1984f5e207aa429df26fbbabcdfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31450, "upload_time": "2015-01-06T19:05:34", "url": "https://files.pythonhosted.org/packages/22/ab/c5d9206880f9c3d3598606a2e41d5aec1bcd30bbdc3cf44927f2c391a9ba/mgp2pdf-0.10.tar.gz" } ], "0.10.1": [ { "comment_text": "", "digests": { "md5": "0543d56d51d34eee3c5353d4aa23290e", "sha256": "7658727bc5b62673de8787bb4070b4798a211232e644727f213f2917116ce8e5" }, "downloads": -1, "filename": "mgp2pdf-0.10.1-py2-none-any.whl", "has_sig": false, "md5_digest": "0543d56d51d34eee3c5353d4aa23290e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15909, "upload_time": "2016-09-17T14:32:01", "url": "https://files.pythonhosted.org/packages/a1/a5/dff924db4e85b6a64bbf41a035c5465d41695b939da66eed8e0199329c68/mgp2pdf-0.10.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "616adf1f797c94f49943cb808adcba91", "sha256": "12488e1f3c5bb3a6529e2fe7be7572e809c8bca274defe076a6bde118dd632e2" }, "downloads": -1, "filename": "mgp2pdf-0.10.1.tar.gz", "has_sig": false, "md5_digest": "616adf1f797c94f49943cb808adcba91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34493, "upload_time": "2016-09-17T14:32:04", "url": "https://files.pythonhosted.org/packages/d4/0b/26f96171ff73876d092365785d46b029eb147d9fe34b30e52065277f29d1/mgp2pdf-0.10.1.tar.gz" } ], "0.10.2": [ { "comment_text": "", "digests": { "md5": "62a6642c13e6edc5900386608176e029", "sha256": "5b90fe34436cb57993e6f344e4af85ad4a558baf11b5333c6dc116a6eabe9748" }, "downloads": -1, "filename": "mgp2pdf-0.10.2-py2-none-any.whl", "has_sig": false, "md5_digest": "62a6642c13e6edc5900386608176e029", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 20719, "upload_time": "2019-04-23T17:06:25", "url": "https://files.pythonhosted.org/packages/6f/f5/1bae789167c5f1bc8bcae106e3c31d75175a325c8d786aeff87dbd532ecb/mgp2pdf-0.10.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e811641f9d1052e4aced8b960f7c4f10", "sha256": "6577b8e445752c565d87f1b45b732657615cc31f170ce1ddbad7a216d47afb6c" }, "downloads": -1, "filename": "mgp2pdf-0.10.2.tar.gz", "has_sig": false, "md5_digest": "e811641f9d1052e4aced8b960f7c4f10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36368, "upload_time": "2019-04-23T17:06:27", "url": "https://files.pythonhosted.org/packages/4f/5c/dc768c0de0c445e484e0f6599f6a0faecddf5a767161dd08baaba6e6135e/mgp2pdf-0.10.2.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "c72bed4724ebff09ed8e429a946a7aea", "sha256": "42a1d76d517e62f9a9e73c2d0c690e8c2cf89bced57172445753af938b4466e9" }, "downloads": -1, "filename": "mgp2pdf-0.9.tar.gz", "has_sig": false, "md5_digest": "c72bed4724ebff09ed8e429a946a7aea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18824, "upload_time": "2014-05-09T13:39:10", "url": "https://files.pythonhosted.org/packages/b9/fe/c25f8bf9664f9c6c214a37d3e50d7543c4fa50375dbf1f3452f6bb5aa993/mgp2pdf-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "62a6642c13e6edc5900386608176e029", "sha256": "5b90fe34436cb57993e6f344e4af85ad4a558baf11b5333c6dc116a6eabe9748" }, "downloads": -1, "filename": "mgp2pdf-0.10.2-py2-none-any.whl", "has_sig": false, "md5_digest": "62a6642c13e6edc5900386608176e029", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 20719, "upload_time": "2019-04-23T17:06:25", "url": "https://files.pythonhosted.org/packages/6f/f5/1bae789167c5f1bc8bcae106e3c31d75175a325c8d786aeff87dbd532ecb/mgp2pdf-0.10.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e811641f9d1052e4aced8b960f7c4f10", "sha256": "6577b8e445752c565d87f1b45b732657615cc31f170ce1ddbad7a216d47afb6c" }, "downloads": -1, "filename": "mgp2pdf-0.10.2.tar.gz", "has_sig": false, "md5_digest": "e811641f9d1052e4aced8b960f7c4f10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36368, "upload_time": "2019-04-23T17:06:27", "url": "https://files.pythonhosted.org/packages/4f/5c/dc768c0de0c445e484e0f6599f6a0faecddf5a767161dd08baaba6e6135e/mgp2pdf-0.10.2.tar.gz" } ] }