#130 Spellchecker should ignore words in brackets


In a latex file, being the preamble or the document
environment, words in brackets (the { and }'s) rarely
makes any sense in terms of proper spelling. Since
noone can possible forsee *all* words which may turn up
between {}, they should be ignored all together - lack
of compilation or unexpected formating results in the
final document will be enough.

The annoyance of a spellchecker to pickup words which
clearly are not ment ot be checked in the first place,
will lead to a userdic-file with words which may be
misspelled outside the context of latex commands.



  • Anonymous

    Anonymous - 2004-10-28

    Logged In: YES

    Well after spending a sleepless night pondering upon the
    spellchecker problem :-D I've realized that things like
    chapter titles and captions would be ignorred too.

    The solution to this problem could be an exception list - it
    wouldnt be that big, theres only a (rather large) handfull
    of textformatting commands (the doc.layout part -> subpar,
    captions, and a few more), but would we end up with the
    reverse version of the useless userdic? And what about
    performance issues?

    Any suggestions?

  • Willem Duminy

    Willem Duminy - 2005-01-01

    Logged In: YES

    Instead of using brackets as the scope, consider using
    commands. One can start with commands like \cite{} and
    \ref{}. A predefined and user-extendable no-language
    command list would be very helpful.

  • Tino Weinkauf

    Tino Weinkauf - 2005-01-19

    Logged In: YES

    Other users wrote concerning this topic:

    When one checks "Checks spelling while typing", it would
    be nice to have an option like "ignore text inside
    brackets", so that file names, labels, etc are not
    highlighted as being wrongly spelled.

    In my opinion this feature is not really useful in all
    cases. I really want to check words e.g. in \section{}, and
    even if I have some macros that contains useful texts, I
    want them to be checked. What can be do is to define those
    command where the checking should be skipped (e.g. \input{}

    Note: Don't expect an early implementation of this feature.

  • Tino Weinkauf

    Tino Weinkauf - 2005-01-19
    • labels: --> Spell Checker
  • Patrik Spieß

    Patrik Spieß - 2009-01-26

    I would like to see this feature, too!

  • Comment has been marked as spam. 

    You can see all pending comments posted by this user  here


    Anonymous - 2013-11-18

    The spell checking really is mostly unuseable in the present state.

    But all that is needed, as mentioned before, is a list of commands (\usepackage{}, \includegraphics{}, \label{}, \ref{}, \cite{} and very few more) where everything that appears in the brackets behind is not checked. Add an option to skip inline math ($ \rho = ... $), and everything should be fine.

    It´d of course be good if the list of commands to skip was user-defineable.



Cancel  Add attachments