code-google-com / texmaker

Automatically exported from code.google.com/p/texmaker
0 stars 0 forks source link

Check cite-Name for existence not for spelling #187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?
> What is the expected output?
When I write \cite{foobar2002} the spellchecker is checking the spell of 
"foobar2002" as this is mostly some kind of shortening etc. it's mostly marked 
red.

> What do you see instead?

I would like him to check if the given reference does exist, and if not marked 
with an other color (blue for example).

> Please provide any additional information below.

- Should be easy to integrate, since you already have the list of existing 
cititations
- Lesser false positive red means more clearer text.

Original issue reported on code.google.com by schoenit...@gmail.com on 9 Apr 2011 at 1:04

GoogleCodeExporter commented 9 years ago

Original comment by texmaker@gmail.com on 9 Apr 2011 at 1:06

GoogleCodeExporter commented 9 years ago
Same is valid for other cite commands like \citet and \citep and the cite 
commands used with biblatex, like \footnoptecite \parencite \autocute and so on.

Additionally, the situation is similar for
\includgraphics[]{nospellcheckrequired}
and
\label{fig:nocheck}

Original comment by matthis....@gmail.com on 12 Jan 2012 at 12:52

GoogleCodeExporter commented 9 years ago
Issue 674 has been merged into this issue.

Original comment by texmaker@gmail.com on 7 Jul 2012 at 9:22

GoogleCodeExporter commented 9 years ago
Issue 892 has been merged into this issue.

Original comment by texmaker@gmail.com on 8 Feb 2013 at 2:01

GoogleCodeExporter commented 9 years ago
This is a great suggestion, it would really help out when using the main spell 
check feature if we could ignore all the labels, citations, etc.  

Perhaps a nice implementation would just allow ignoring regex matches.  Then 
you could include by default a set of regex matches for \label{XX}, \cite{XX}, 
\citep{XX}, etc.  This way if a user writes a whole bunch of their own macros 
that they don't want spell-checked, they could add their own regex.

Original comment by leeed2...@gmail.com on 11 Apr 2013 at 3:09

GoogleCodeExporter commented 9 years ago
Sorry for adding another quick comment, but I thought of a few more:
\ref{XX}, \eqref{XX}, maybe \begin{XX} and \end{XX}

Original comment by leeed2...@gmail.com on 11 Apr 2013 at 3:50

GoogleCodeExporter commented 9 years ago
The spell checker marks almost all citations \cite{xy} and references 
\ref{fig:myFig} as mistakes. This means that actually using the spell checker 
to check a report is almost impossible.

I believe the default should be for the spell checker to ignore the contents of 
{ } by default, perhaps with a couple of exceptions like \footnote{ } and 
\section{ } for example.

Original comment by chris.n....@googlemail.com on 12 Jun 2013 at 9:31

GoogleCodeExporter commented 9 years ago
It is common to localize formatting and other effects by putting curly braces 
around text, including whole paragraphs, so I think comment #7 might be a bit 
too broad.

Original comment by leeed2...@gmail.com on 12 Jun 2013 at 11:52

GoogleCodeExporter commented 9 years ago
Improved spell checking capabilities would be great! In every other regard, 
TexMaker is awesome!

Original comment by strauber...@googlemail.com on 26 Aug 2014 at 1:38