Metadata-Version: 2.1
Name: katex
Version: 0.0.2
Summary: Convert an image into KaTeX to use in Facebook Messenger
Home-page: http://github.com/madsmtm/katex
Author: Mads Marquart
Author-email: madsmtm@gmail.com
License: BSD 3-Clause
Description: # Python KaTeX
        Contains functionality to convert an image into [KaTeX](https://github.com/Khan/KaTeX), using `\rule`s
        
        Also currently only set up to work with Facebook Messengers KaTeX setup, but it should be simple to adapt for other applications.
        
        More functionality is planned, and PRs welcome!
        
        
        # Installation
        
        ```sh
        $ # This will install the python package `katex`, along with the shell command `image_to_katex`
        $ pip install katex
        ```
        
        # Basic usage
        
        ```sh
        $ # This will generate KaTeX output for that image, where the image is scaled down to 16 pixels
        $ image_to_katex image.png 16
        ```
        
        ```sh
        $ # Display help message
        $ image_to_katex --help
        ```
        
        # Facebook KaTeX info
        KaTeX version: v0.8.2 (17/8-2017)
        
        Max length of Facebook messages is 20000 chars.
        
        Facebook renders any KaTeX error messages in the html `title` attribute.
        
        You can use `$$` or `\(`+`\)` as delimeters. `$$` renders the LaTeX in displayMode, `\(`+`\)` renders it inline.
        
        Facebook wraps all inputs in a `\color` block, like this: `\color{#fff}{inp}`, where `inp` is the input
        
        Known KaTeX options:
        
        - displayMode = true if `$$` else false
        - colorIsTextColor: false
        - maxSize: 50
        - maxExpand = 25
        
Keywords: Facebook KaTeX Messenger
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.4, <4.0
Description-Content-Type: text/markdown
