Metadata-Version: 2.1
Name: texstrip
Version: 0.0.2
Summary: strip comments from LaTeX sources.
Home-page: https://github.com/bl4ck5un/texstrip.py
Author: Fan Zhang
Author-email: bl4ck5unxx@gmail.com
License: MIT
Keywords: LaTeX
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: End Users/Desktop
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: chromalog
Requires-Dist: docopt
Requires-Dist: ply

texstrip
========

``texstrip`` is a small tool that strips (removes) comments from TeX sources. I made this tool to relieve myself from manually deleting comments when submitting TeX sources to [arXiv](https://arxiv.org/help/faq/whytex).

It removes both inline comments (i.e., things between ``%`` and the next ``\n``) and comment environments (i.e., things within ``\begin{comment}`` and ``\end{comment}``),
copies the supplementary files to a new folder for a clean submission.

LaTeX is a complex beast and this tool, despite its humble goal, might fail on corner cases. I fixed many of them during my own use but YMMV. If you do encounter glitches, please submit a PR and let's make it better together!


Getting texstrip
----------------

You'll need `latexpand`.

``texstrip`` can be installed from ``pip`` by

.. code-block::

  pip install texstrip


Usage
-----

(More text to be added here. For now, refer to the help message.)

.. code-block::

  texstrip --help

- TODO: add an example

