Project

texsc

0.0
No release in over a year
Simple command-line spell checker for LaTeX documents
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

= 0.2.8
~> 1.3.17
= 12.0.0
= 0.61.0

Runtime

~> 0.3
~> 0.2
~> 4.8
 Project Readme

EO principles respected here Managed by Zerocracy DevOps By Rultor.com We recommend RubyMine

Build Status PDD status Gem Version Maintainability

License Test Coverage Hits-of-Code

Read this blog post: Spell Check Your LaTeX Writings Using GNU Aspell

This tool simplies the usage of GNU aspell (you must have it installed) for spell-checking of LaTeX files.

First, you install it:

$ gem install texsc

Then, you just run it like this for your LaTeX files:

$ texsc article.tex

You may ignore certain tags or environments using --ignore option

$ texsc --ignore=citet,citep --ignore=newminted article.tex

You can specify the method of ignoring, as aspell suggests (by default it's 'p'):

$ texsc --ignore=newminted:opp article.tex

You may also use your own additional dictionary, via --pws option. The file must contain one word per line: they will be ignored during spell checking. Don't forget that the first line of the file must contain this:

personal_ws-1.1 en 1 utf-8

To make configuration easier, you can create .texsc file next to your .tex file and place all your command line configuration options over there, each one on its own line. You can also have a global configuration file at ~/.texsc, which will be read first.

How to contribute

Read these guidelines. Make sure your build is green before you contribute your pull request. You will need to have Ruby 2.3+ and Bundler installed. Then:

$ bundle update
$ bundle exec rake

If it's clean and you don't see any error messages, submit your pull request.