I just started using TeXstudio and thus far I'm quite satisfied with it. One
problem I ran into though: the editor marks commands from some imported
packages as "unrecognized command". To be more specific: commands from the the
'mathtools' package and from the 'IEEEtrantools' package are all marked as
unrecognized commands. Nevertheless my document containing these commands
compiles perfectly well without any errors.
Does anyone know how I can suppress the unrecognized commands warnings?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
texstudio takes the completion word lists as base for determing whether a
command is valid or not.
Since texstudo does not have (yet) valid lists for mathtool or IEEEtrantools,
you need to provide them yourself and place them in the directory where the
texstudio.ini is located (config, on linux under .config/texstudio/)
The word lists are simply a list with one command per line. The name of the
list needs to have the suffice .cwl and it's name needs to be identical to the
package for which it is created. If you have generated a cwl-file , we are
happy to integrate it into texstudio.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks a lot! I tried your suggestion and it seems to work. One more thing
though: one of the command sets from the IEEEtrantools package creates a
custom math environment (the commands \begin{IEEEeqnarray} and
\end{IEEEeqnarray} ). The regular math commands inside are marked with the
error message 'math command outside math environment'. How can I make
TeXstudio understand that my commands create a math environment?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
okay, until now, that was hard coded. I have changed it in the most recent svn
version.
Can you compile texstudio from source ?
Now you can hint that a command (actually \begin{something} only) starts a
math env by adding #\math
(# is a separator, \ start a env aliasing meaning thatthe declared env is
handled like math.
There are more tricks here, i will extend the documentation on this soon)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this is not question concerning txs but latex, hence tex.stackexchange.com is the better place for asking.
The file (.sty) needs to be in the same folder as the .tex file, the reference in the usepackaage needs to be exact concerning captital/small letters (\usepackage{IEEEtrantools})
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just started using TeXstudio and thus far I'm quite satisfied with it. One
problem I ran into though: the editor marks commands from some imported
packages as "unrecognized command". To be more specific: commands from the the
'mathtools' package and from the 'IEEEtrantools' package are all marked as
unrecognized commands. Nevertheless my document containing these commands
compiles perfectly well without any errors.
Does anyone know how I can suppress the unrecognized commands warnings?
Thanks!
texstudio takes the completion word lists as base for determing whether a
command is valid or not.
Since texstudo does not have (yet) valid lists for mathtool or IEEEtrantools,
you need to provide them yourself and place them in the directory where the
texstudio.ini is located (config, on linux under .config/texstudio/)
The word lists are simply a list with one command per line. The name of the
list needs to have the suffice .cwl and it's name needs to be identical to the
package for which it is created. If you have generated a cwl-file , we are
happy to integrate it into texstudio.
Thanks a lot! I tried your suggestion and it seems to work. One more thing
though: one of the command sets from the IEEEtrantools package creates a
custom math environment (the commands \begin{IEEEeqnarray} and
\end{IEEEeqnarray} ). The regular math commands inside are marked with the
error message 'math command outside math environment'. How can I make
TeXstudio understand that my commands create a math environment?
okay, until now, that was hard coded. I have changed it in the most recent svn
version.
Can you compile texstudio from source ?
Now you can hint that a command (actually \begin{something} only) starts a
math env by adding #\math
(# is a separator, \ start a env aliasing meaning thatthe declared env is
handled like math.
There are more tricks here, i will extend the documentation on this soon)
I'm trying to use IEEEtran on TeXstudio, but I always receive the error "can't find IEEEtrantools.sty".
I tried these solution, but without success
http://tex.stackexchange.com/questions/28198/using-ieeetrantools
I get the error also if I'm copying that file in the same folted of the .tex file.
What could I do wrong?
I noticed that some folders/files are written with IEEE in capital letters, some others not: could that be the problem?
thanks!
this is not question concerning txs but latex, hence tex.stackexchange.com is the better place for asking.
The file (.sty) needs to be in the same folder as the .tex file, the reference in the usepackaage needs to be exact concerning captital/small letters (\usepackage{IEEEtrantools})