Installation
============
[![Python package](https://github.com/chdemko/pandoc-latex-admonition/workflows/Python%20package/badge.svg?branch=develop)](https://github.com/chdemko/pandoc-latex-admonition/actions/workflows/python-package.yml)
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://pypi.org/project/black/)
[![Coveralls](https://img.shields.io/coveralls/github/chdemko/pandoc-latex-admonition/develop.svg?logo=Codecov&logoColor=white)](https://coveralls.io/github/chdemko/pandoc-latex-admonition?branch=develop)
[![Scrutinizer](https://img.shields.io/scrutinizer/g/chdemko/pandoc-latex-admonition.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/chdemko/pandoc-latex-admonition/)
[![Code Climate](https://codeclimate.com/github/chdemko/pandoc-latex-admonition/badges/gpa.svg)](https://codeclimate.com/github/chdemko/pandoc-latex-admonition/)
[![CodeFactor](https://img.shields.io/codefactor/grade/github/chdemko/pandoc-latex-admonition/develop.svg?logo=codefactor)](https://www.codefactor.io/repository/github/chdemko/pandoc-latex-admonition)
[![Codacy](https://img.shields.io/codacy/grade/443f4a26698a4ba0be5064fe9323f2a0.svg?logo=codacy)](https://app.codacy.com/gh/chdemko/pandoc-latex-admonition/dashboard)
[![PyPI version](https://img.shields.io/pypi/v/pandoc-latex-admonition.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)
[![PyPI format](https://img.shields.io/pypi/format/pandoc-latex-admonition.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)
[![License](https://img.shields.io/pypi/l/pandoc-latex-admonition.svg?logo=pypi&logoColor=white)](https://raw.githubusercontent.com/chdemko/pandoc-latex-admonition/develop/LICENSE)
[![Downloads](https://img.shields.io/pypi/dm/pandoc-latex-admonition?logo=pypi&logoColor=white)](https://pepy.tech/project/pandoc-latex-admonition)
[![Development Status](https://img.shields.io/pypi/status/pandoc-latex-admonition.svg?llogo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)
[![Python version](https://img.shields.io/pypi/pyversions/pandoc-latex-admonition.svg?logo=Python&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)
[![Pandoc version](https://img.shields.io/badge/pandoc-3.0%20|%203.1%20|%203.2%20|%203.3%20|%203.4%20|%203.5-blue.svg?logo=markdown)](https://pandoc.org/)
[![Latest release](https://img.shields.io/github/release-date/chdemko/pandoc-latex-admonition.svg?logo=github)](https://github.com/chdemko/pandoc-latex-admonition/releases)
[![Last commit](https://img.shields.io/github/last-commit/chdemko/pandoc-latex-admonition/develop?logo=github)](https://github.com/chdemko/pandoc-latex-admonition/commit/develop/)
[![Repo Size](https://img.shields.io/github/repo-size/chdemko/pandoc-latex-admonition.svg?logo=github)](http://pandoc-latex-admonition.readthedocs.io/en/latest/)
[![Code Size](https://img.shields.io/github/languages/code-size/chdemko/pandoc-latex-admonition.svg?logo=github)](http://pandoc-latex-admonition.readthedocs.io/en/latest/)
[![Source Rank](https://img.shields.io/librariesio/sourcerank/pypi/pandoc-latex-admonition.svg?logo=libraries.io&logoColor=white)](https://libraries.io/pypi/pandoc-latex-admonition)
[![Docs](https://img.shields.io/readthedocs/pandoc-latex-admonition.svg?logo=read-the-docs&logoColor=white)](http://pandoc-latex-admonition.readthedocs.io/en/latest/)
*pandoc-latex-admonition* is a [pandoc] filter for adding admonition
to `div`s or `codeblock`s elements.
It uses the *tcolorbox* LaTeX package to generate admonitions and
the *footnote* LaTeX package to handle correctly footnotes in
admonition.
[pandoc]: http://pandoc.org/
Instructions
------------
*pandoc-latex-admonition* requires [python], a programming language that
comes pre-installed on linux and Mac OS X, and which is easily installed
[on Windows].
Install *pandoc-latex-admonition* using the bash command
~~~shell-session
$ pipx install pandoc-latex-admonition
~~~
To upgrade to the most recent release, use
~~~shell-session
$ pipx upgrade pandoc-latex-admonition
~~~
`pipx` is a script to install and run python applications in isolated environments from the Python Package Index, [PyPI]. It can be installed using instructions given [here](https://pipx.pypa.io/stable/).
Make sure you have the
* *tcolorbox*
* *footnote*
* *xcolor*
* *ifthen*
LaTeX packages. On linux you have to install some extra libraries **before**
*pandoc-latex-admonition*. On a Debian-based system (including Ubuntu),
you can install it as root using
~~~shell-session
$ sudo apt-get install texlive-latex-extra
~~~
[python]: https://www.python.org
[on Windows]: https://www.python.org/downloads/windows
[PyPI]: https://pypi.org
Getting Help
------------
If you have any difficulties with pandoc-latex-admonition, please feel
welcome to [file an issue] on github so that we can help.
[file an issue]: https://github.com/chdemko/pandoc-latex-admonition/issues
Contribute
==========
Instructions
------------
Install `hatch`, then run
~~~shell-session
$ hatch run pip install pre-commit
$ hatch run pre-commit install
~~~
to install `pre-commit` before working on your changes.
Tests
-----
When your changes are ready, run
~~~shell-session
$ hatch test
$ hatch fmt --check
$ hatch run lint:check
$ hatch run docs:build
$ hatch build -t wheel
~~~
for running the tests, checking the style, building the documentation
and building the wheel.
Raw data
{
"_id": null,
"home_page": null,
"name": "pandoc-latex-admonition",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.14,>=3.10",
"maintainer_email": "Christophe Demko <chdemko@gmail.com>",
"keywords": "admonition, filters, latex, pandoc",
"author": null,
"author_email": "Christophe Demko <chdemko@gmail.com>",
"download_url": null,
"platform": null,
"description": "Installation\n============\n\n[![Python package](https://github.com/chdemko/pandoc-latex-admonition/workflows/Python%20package/badge.svg?branch=develop)](https://github.com/chdemko/pandoc-latex-admonition/actions/workflows/python-package.yml)\n[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://pypi.org/project/black/)\n[![Coveralls](https://img.shields.io/coveralls/github/chdemko/pandoc-latex-admonition/develop.svg?logo=Codecov&logoColor=white)](https://coveralls.io/github/chdemko/pandoc-latex-admonition?branch=develop)\n[![Scrutinizer](https://img.shields.io/scrutinizer/g/chdemko/pandoc-latex-admonition.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/chdemko/pandoc-latex-admonition/)\n[![Code Climate](https://codeclimate.com/github/chdemko/pandoc-latex-admonition/badges/gpa.svg)](https://codeclimate.com/github/chdemko/pandoc-latex-admonition/)\n[![CodeFactor](https://img.shields.io/codefactor/grade/github/chdemko/pandoc-latex-admonition/develop.svg?logo=codefactor)](https://www.codefactor.io/repository/github/chdemko/pandoc-latex-admonition)\n[![Codacy](https://img.shields.io/codacy/grade/443f4a26698a4ba0be5064fe9323f2a0.svg?logo=codacy)](https://app.codacy.com/gh/chdemko/pandoc-latex-admonition/dashboard)\n[![PyPI version](https://img.shields.io/pypi/v/pandoc-latex-admonition.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)\n[![PyPI format](https://img.shields.io/pypi/format/pandoc-latex-admonition.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)\n[![License](https://img.shields.io/pypi/l/pandoc-latex-admonition.svg?logo=pypi&logoColor=white)](https://raw.githubusercontent.com/chdemko/pandoc-latex-admonition/develop/LICENSE)\n[![Downloads](https://img.shields.io/pypi/dm/pandoc-latex-admonition?logo=pypi&logoColor=white)](https://pepy.tech/project/pandoc-latex-admonition)\n[![Development Status](https://img.shields.io/pypi/status/pandoc-latex-admonition.svg?llogo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)\n[![Python version](https://img.shields.io/pypi/pyversions/pandoc-latex-admonition.svg?logo=Python&logoColor=white)](https://pypi.org/project/pandoc-latex-admonition/)\n[![Pandoc version](https://img.shields.io/badge/pandoc-3.0%20|%203.1%20|%203.2%20|%203.3%20|%203.4%20|%203.5-blue.svg?logo=markdown)](https://pandoc.org/)\n[![Latest release](https://img.shields.io/github/release-date/chdemko/pandoc-latex-admonition.svg?logo=github)](https://github.com/chdemko/pandoc-latex-admonition/releases)\n[![Last commit](https://img.shields.io/github/last-commit/chdemko/pandoc-latex-admonition/develop?logo=github)](https://github.com/chdemko/pandoc-latex-admonition/commit/develop/)\n[![Repo Size](https://img.shields.io/github/repo-size/chdemko/pandoc-latex-admonition.svg?logo=github)](http://pandoc-latex-admonition.readthedocs.io/en/latest/)\n[![Code Size](https://img.shields.io/github/languages/code-size/chdemko/pandoc-latex-admonition.svg?logo=github)](http://pandoc-latex-admonition.readthedocs.io/en/latest/)\n[![Source Rank](https://img.shields.io/librariesio/sourcerank/pypi/pandoc-latex-admonition.svg?logo=libraries.io&logoColor=white)](https://libraries.io/pypi/pandoc-latex-admonition)\n[![Docs](https://img.shields.io/readthedocs/pandoc-latex-admonition.svg?logo=read-the-docs&logoColor=white)](http://pandoc-latex-admonition.readthedocs.io/en/latest/)\n\n*pandoc-latex-admonition* is a [pandoc] filter for adding admonition\nto `div`s or `codeblock`s elements.\n\nIt uses the *tcolorbox* LaTeX package to generate admonitions and\nthe *footnote* LaTeX package to handle correctly footnotes in\nadmonition.\n\n[pandoc]: http://pandoc.org/\n\nInstructions\n------------\n\n*pandoc-latex-admonition* requires [python], a programming language that\ncomes pre-installed on linux and Mac OS X, and which is easily installed\n[on Windows].\n\nInstall *pandoc-latex-admonition* using the bash command\n\n~~~shell-session\n$ pipx install pandoc-latex-admonition\n~~~\n\nTo upgrade to the most recent release, use\n\n~~~shell-session\n$ pipx upgrade pandoc-latex-admonition\n~~~\n\n`pipx` is a script to install and run python applications in isolated environments from the Python Package Index, [PyPI]. It can be installed using instructions given [here](https://pipx.pypa.io/stable/).\n\nMake sure you have the\n\n* *tcolorbox*\n* *footnote*\n* *xcolor*\n* *ifthen*\n\nLaTeX packages. On linux you have to install some extra libraries **before**\n*pandoc-latex-admonition*. On a Debian-based system (including Ubuntu),\nyou can install it as root using\n\n~~~shell-session\n$ sudo apt-get install texlive-latex-extra\n~~~\n\n[python]: https://www.python.org\n[on Windows]: https://www.python.org/downloads/windows\n[PyPI]: https://pypi.org\n\n\nGetting Help\n------------\n\nIf you have any difficulties with pandoc-latex-admonition, please feel\nwelcome to [file an issue] on github so that we can help.\n\n[file an issue]: https://github.com/chdemko/pandoc-latex-admonition/issues\n\nContribute\n==========\n\nInstructions\n------------\n\nInstall `hatch`, then run\n\n~~~shell-session\n$ hatch run pip install pre-commit\n$ hatch run pre-commit install\n~~~\n\nto install `pre-commit` before working on your changes.\n\nTests\n-----\n\nWhen your changes are ready, run\n\n~~~shell-session\n$ hatch test\n$ hatch fmt --check\n$ hatch run lint:check\n$ hatch run docs:build\n$ hatch build -t wheel\n~~~\n\nfor running the tests, checking the style, building the documentation\nand building the wheel.\n\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A pandoc filter for adding admonition in LaTeX",
"version": "1.3.4.3",
"project_urls": {
"Documentation": "https://pandoc-latex-admonition.readthedocs.io/",
"Homepage": "https://github.com/chdemko/pandoc-latex-admonition",
"Issues": "https://github.com/chdemko/pandoc-latex-admonition/issues",
"Repository": "https://github.com/chdemko/pandoc-latex-admonition"
},
"split_keywords": [
"admonition",
" filters",
" latex",
" pandoc"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "51042fcd9bac0e61ee14d1f61763764a45825feda2f9cccd5e81f4fd7912900c",
"md5": "c42c0cdc8eb86e91422b9f799295f6f3",
"sha256": "26b886636851f9c960912b6c10def2495ee964d23d81b41200919ff3c69306f7"
},
"downloads": -1,
"filename": "pandoc_latex_admonition-1.3.4.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c42c0cdc8eb86e91422b9f799295f6f3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.10",
"size": 9334,
"upload_time": "2024-10-22T09:39:18",
"upload_time_iso_8601": "2024-10-22T09:39:18.509677Z",
"url": "https://files.pythonhosted.org/packages/51/04/2fcd9bac0e61ee14d1f61763764a45825feda2f9cccd5e81f4fd7912900c/pandoc_latex_admonition-1.3.4.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-22 09:39:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "chdemko",
"github_project": "pandoc-latex-admonition",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pandoc-latex-admonition"
}