Re: Spell checking a Lout document?
Nicholas Clark <[email protected]>
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <CAKNeuBoPeUZszdXVN0d+O6qe17_W5qZu4xV-CwC2tRC6Hi2T1g@mail.gmail.com> |
I'm not sure what it does with figures, but Lout has a plain text output mode which can be enabled by running lout with the -p flag. pdf2text could also be used to convert your final PDF output instead. Once in text format, you could spell-check it with aspell, or any of a bunch of spell-checkers. If you want to make sure the figures get included, you could also use pdf2html and some kind of HTML spell-check method, which probably exists. On Tue, Apr 17, 2012 at 2:30 AM, Daren Scot Wilson <[email protected]> wrote: > I have just finished writing my great 15,000 page magnum opus, full of > genius math, tables, and so on, entirely in Lout. Hundreds of *.lt files > @Included in a main Lout file. Now, before I vanity publish it and try to > sell a copy to Mom, I wonder if I've made any silly little typos. > > What are practical ways to spell-check these .lt files? Obviously an > ordinary everyday spell checker will barf on all the @Something Lout > keywords and maybe trip over the punctuation marks, although most of this > source text is just regular text which could go through a spell checker > fine. > > Perhaps there's a filter that can extract all the straight text, preening > out simple markups such as @I, and bypassing all the structural stuff and > non-text like sections, math, tables etc., making a simple text file one can > check? OTOH, maybe there's a way to spell check the final .ps or .pdf > file? (Besides paying some unfortunate Human to proofread it.) > > I'm on Linux so naturally I prefer solutions that would work on that > platform, or multiplatform. > > -- > Daren Scot Wilson > Escondido California > [email protected] > http://www.darenscotwilson.com > http://www.jeffcottwilson.com > http://toysihad.wordpress.com > > > -- Nicholas Clark L-3 Electrical Engineering Email: [email protected]