#130 Spellchecker should ignore words in brackets

open
nobody
5
2013-11-18
2004-10-27
Ulrik Stervbo
No

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.

Ulrik

Discussion

  • Ulrik Stervbo
    Ulrik Stervbo
    2004-10-28

    Logged In: YES
    user_id=886493

    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
    user_id=264924

    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
    user_id=439379

    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.
    Sorry.

     

  • 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.

     


Anonymous


Cancel   Add attachments