npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

textlint-plugin-latex2e

0.2.2 • Public • Published

Textlint Plugin LaTeX2ε

npm circleci

This plugin contains rough LaTeX parser which doesn't cover all syntax, but it's enough.

We welcome your contribution for adding new syntax! Thanks.

Installation

$ npm install textlint-plugin-latex2e

And add to .textlintrc

   plugins: ["latex2e"]

Known Issue

This kind of syntax cannot be interpreted correctly.

\newenvironment{A}
{\begin{B}}
{\end{B}}

To avoid this issue, you can write them out of the file with \input command.

Roadmap

  • Add tests (Currently works well for me but no tests)

    • Comment
    • Macro
    • Verbatim
    • Environment
    • DisplayMath
    • InlineMath
    • Document
  • Skip some component with .textlintrc.

    • Macro
    • Environment

Copyright

Copyright (C) 2018 TANIGUCHI Masaya ALL Rights Reserved.

License

This software is licensed under the GPLv3 or later.

install

npm i textlint-plugin-latex2e

Downloadsweekly downloads

190

version

0.2.2

license

GPL-3.0-or-later

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability