{ "info": { "author": "Damien Clochard", "author_email": "daamien@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Documentation", "Topic :: Text Processing :: Filters" ], "description": "pandoc-latex-barcode\n===============================================================================\n\n[](https://travis-ci.org/daamien/pandoc-latex-barcode)\n[](https://hub.docker.com/r/daamien/pandoc-latex-barcode/)\n\nA pandoc filter to insert barcodes and QR codes in a latex/pdf document\n\nThe filter is written in Python with [panflute](http://scorreia.com/software/panflute/) \nwhich I recommend if you want to create your own pandoc filters.\n \n\nInstall\n-------------------------------------------------------------------------------\n\n```\nsudo pip install pandoc-latex-barcode\n```\n\nor \n\n```\ndocker run -d daamien/pandoc-latex-barcode\n```\n\nQuick Start\n-------------------------------------------------------------------------------\n\n### 1- Create a specific pandoc template\n\nFirst you need to the following packages to the latex template :\n\n```latex\n\\usepackage{pstricks}\n\\usepackage{pst-barcode}\n```\n\nFor your convenience, here's a complete one based on the pandoc default latex\ntemplate :\n\n[pandoc-latex-barcode.template.tex](pandoc-latex-barcode.template.tex)\n\n\n### 2- Add a barcode tag to your markdown file\n\n\nTo generate a generic barcode:\n\n``` \n
\n``` \n\nTo generate an ISBN barcode:\n\n```\n\n```\n\nTo generate a QR code:\n\n``` \n