summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kile/codecompletion.cpp12
-rw-r--r--src/kile/complete/abbreviation/CMakeLists.txt5
-rw-r--r--src/kile/complete/abbreviation/Makefile.am3
-rw-r--r--src/kile/complete/abbreviation/fastex.cwl1582
-rw-r--r--src/kile/complete/dictionary/metapost.cwl2
-rw-r--r--src/kile/complete/tex/CMakeLists.txt9
-rw-r--r--src/kile/complete/tex/Makefile.am9
-rw-r--r--src/kile/complete/tex/allrunes.cwl43
-rw-r--r--src/kile/complete/tex/babel.cwl43
-rw-r--r--src/kile/complete/tex/bm.cwl14
-rw-r--r--src/kile/complete/tex/class-scrartcl,scrreprt,scrbook.cwl2
-rw-r--r--src/kile/complete/tex/float.cwl10
-rw-r--r--src/kile/complete/tex/glosstex.cwl95
-rw-r--r--src/kile/complete/tex/graphicx.cwl1
-rw-r--r--src/kile/complete/tex/latex-document.cwl26
-rw-r--r--src/kile/complete/tex/nicefrac.cwl4
-rw-r--r--src/kile/complete/tex/siunitx-special.cwl37
-rw-r--r--src/kile/complete/tex/siunitx.cwl287
-rw-r--r--src/kile/complete/tex/subfig.cwl2
-rw-r--r--src/kile/complete/tex/tex.cwl2
-rw-r--r--src/kile/complete/tex/todonotes.cwl9
-rw-r--r--src/kile/configtester.cpp2
-rw-r--r--src/kile/internal-testing/bugs1.tex24
-rw-r--r--src/kile/internal-testing/math-mode-selector.tex72
-rw-r--r--src/kile/internal-testing/syntax-comment-updateStruct.tex2
-rw-r--r--src/kile/internal-testing/syntax-math2.tex54
-rw-r--r--src/kile/kile.cpp3
-rw-r--r--src/kile/kiledocmanager.cpp24
-rw-r--r--src/kile/kiledocumentinfo.cpp39
-rw-r--r--src/kile/kiledocumentinfo.h2
-rw-r--r--src/kile/kileedit.cpp16
-rw-r--r--src/kile/kilegrepdialog.cpp7
-rw-r--r--src/kile/kilelogwidget.cpp7
-rw-r--r--src/kile/kileproject.cpp1
-rw-r--r--src/kile/kilestructurewidget.cpp35
-rw-r--r--src/kile/kiletool.h21
-rw-r--r--src/kile/kileversion.h2
-rw-r--r--src/kile/latexoutputfilter.cpp12
-rw-r--r--src/kile/symbols/special.tex27
-rw-r--r--src/kile/symbols/special/CMakeLists.txt1
-rw-r--r--src/kile/symbols/special/Makefile.am3
-rw-r--r--src/kile/symbols/special/img001special.pngbin312 -> 303 bytes
-rw-r--r--src/kile/symbols/special/img002special.pngbin316 -> 308 bytes
-rw-r--r--src/kile/symbols/special/img003special.pngbin306 -> 298 bytes
-rw-r--r--src/kile/symbols/special/img004special.pngbin307 -> 299 bytes
-rw-r--r--src/kile/symbols/special/img005special.pngbin313 -> 300 bytes
-rw-r--r--src/kile/symbols/special/img006special.pngbin308 -> 301 bytes
-rw-r--r--src/kile/symbols/special/img007special.pngbin310 -> 304 bytes
-rw-r--r--src/kile/symbols/special/img008special.pngbin314 -> 305 bytes
-rw-r--r--src/kile/symbols/special/img009special.pngbin305 -> 291 bytes
-rw-r--r--src/kile/symbols/special/img010special.pngbin307 -> 303 bytes
-rw-r--r--src/kile/symbols/special/img011special.pngbin330 -> 316 bytes
-rw-r--r--src/kile/symbols/special/img012special.pngbin314 -> 303 bytes
-rw-r--r--src/kile/symbols/special/img013special.pngbin287 -> 278 bytes
-rw-r--r--src/kile/symbols/special/img014special.pngbin289 -> 282 bytes
-rw-r--r--src/kile/symbols/special/img015special.pngbin282 -> 276 bytes
-rw-r--r--src/kile/symbols/special/img016special.pngbin282 -> 275 bytes
-rw-r--r--src/kile/symbols/special/img017special.pngbin288 -> 280 bytes
-rw-r--r--src/kile/symbols/special/img018special.pngbin286 -> 279 bytes
-rw-r--r--src/kile/symbols/special/img019special.pngbin284 -> 280 bytes
-rw-r--r--src/kile/symbols/special/img020special.pngbin284 -> 281 bytes
-rw-r--r--src/kile/symbols/special/img021special.pngbin278 -> 269 bytes
-rw-r--r--src/kile/symbols/special/img022special.pngbin284 -> 280 bytes
-rw-r--r--src/kile/symbols/special/img023special.pngbin299 -> 299 bytes
-rw-r--r--src/kile/symbols/special/img024special.pngbin294 -> 284 bytes
-rw-r--r--src/kile/symbols/special/img025special.pngbin306 -> 305 bytes
-rw-r--r--src/kile/symbols/special/img026special.pngbin311 -> 308 bytes
-rw-r--r--src/kile/symbols/special/img027special.pngbin310 -> 307 bytes
-rw-r--r--src/kile/symbols/special/img028special.pngbin278 -> 269 bytes
-rw-r--r--src/kile/symbols/special/img029special.pngbin279 -> 263 bytes
-rw-r--r--src/kile/symbols/special/img030special.pngbin278 -> 266 bytes
-rw-r--r--src/kile/symbols/special/img031special.pngbin296 -> 294 bytes
-rw-r--r--src/kile/symbols/special/img032special.pngbin303 -> 287 bytes
-rw-r--r--src/kile/symbols/special/img033special.pngbin303 -> 287 bytes
-rw-r--r--src/kile/symbols/special/img034special.pngbin282 -> 288 bytes
-rw-r--r--src/kile/symbols/special/img035special.pngbin289 -> 288 bytes
-rw-r--r--src/kile/symbols/special/img036special.pngbin305 -> 301 bytes
-rw-r--r--src/kile/symbols/special/img037special.pngbin299 -> 294 bytes
-rw-r--r--src/kile/symbols/special/img038special.pngbin305 -> 299 bytes
-rw-r--r--src/kile/symbols/special/img039special.pngbin294 -> 290 bytes
-rw-r--r--src/kile/symbols/special/img040special.pngbin293 -> 289 bytes
-rw-r--r--src/kile/symbols/special/img041special.pngbin294 -> 289 bytes
-rw-r--r--src/kile/symbols/special/img042special.pngbin295 -> 292 bytes
-rw-r--r--src/kile/symbols/special/img043special.pngbin300 -> 291 bytes
-rw-r--r--src/kile/symbols/special/img044special.pngbin300 -> 294 bytes
-rw-r--r--src/kile/symbols/special/img045special.pngbin291 -> 285 bytes
-rw-r--r--src/kile/symbols/special/img046special.pngbin317 -> 313 bytes
-rw-r--r--src/kile/symbols/special/img047special.pngbin276 -> 276 bytes
-rw-r--r--src/kile/symbols/special/img048special.pngbin287 -> 282 bytes
-rw-r--r--src/kile/symbols/special/img049special.pngbin274 -> 271 bytes
-rw-r--r--src/kile/symbols/special/img050special.pngbin277 -> 274 bytes
-rw-r--r--src/kile/symbols/special/img051special.pngbin276 -> 273 bytes
-rw-r--r--src/kile/symbols/special/img052special.pngbin281 -> 276 bytes
-rw-r--r--src/kile/symbols/special/img053special.pngbin277 -> 276 bytes
-rw-r--r--src/kile/symbols/special/img054special.pngbin275 -> 274 bytes
-rw-r--r--src/kile/symbols/special/img055special.pngbin276 -> 266 bytes
-rw-r--r--src/kile/symbols/special/img056special.pngbin294 -> 292 bytes
-rw-r--r--src/kile/symbols/special/img057special.pngbin319 -> 327 bytes
-rw-r--r--src/kile/symbols/special/img058special.pngbin315 -> 313 bytes
-rw-r--r--src/kile/symbols/special/img059special.pngbin313 -> 327 bytes
-rw-r--r--src/kile/symbols/special/img060special.pngbin307 -> 297 bytes
-rw-r--r--src/kile/symbols/special/img061special.pngbin228 -> 228 bytes
-rw-r--r--src/kile/symbols/special/img062special.pngbin254 -> 248 bytes
-rw-r--r--src/kile/symbols/special/img063special.pngbin226 -> 227 bytes
-rw-r--r--src/kile/symbols/special/img064special.pngbin228 -> 224 bytes
-rw-r--r--src/kile/symbols/special/img065special.pngbin230 -> 244 bytes
-rw-r--r--src/kile/symbols/special/img066special.pngbin230 -> 246 bytes
-rw-r--r--src/kile/symbols/special/img067special.pngbin208 -> 213 bytes
-rw-r--r--src/kile/symbols/special/img068special.pngbin262 -> 269 bytes
-rw-r--r--src/kile/symbols/special/img069special.pngbin223 -> 237 bytes
-rw-r--r--src/kile/symbols/special/img070special.pngbin247 -> 244 bytes
-rw-r--r--src/kile/symbols/special/img071special.pngbin221 -> 221 bytes
-rw-r--r--src/kile/symbols/special/img072special.pngbin230 -> 216 bytes
-rw-r--r--src/kile/symbols/special/img073special.pngbin247 -> 233 bytes
-rw-r--r--src/kile/symbols/special/img074special.pngbin239 -> 224 bytes
-rw-r--r--src/kile/symbols/special/img075special.pngbin209 -> 203 bytes
-rw-r--r--src/kile/symbols/special/img076special.pngbin252 -> 248 bytes
-rw-r--r--src/kile/symbols/special/img077special.pngbin307 -> 306 bytes
-rw-r--r--src/kile/symbols/special/img078special.pngbin285 -> 283 bytes
-rw-r--r--src/kile/symbols/special/img079special.pngbin257 -> 278 bytes
-rw-r--r--src/kile/symbols/special/img080special.pngbin256 -> 259 bytes
-rw-r--r--src/kile/symbols/special/img081special.pngbin265 -> 259 bytes
-rw-r--r--src/kile/symbols/special/img082special.pngbin260 -> 261 bytes
-rw-r--r--src/kile/symbols/special/img083special.pngbin258 -> 264 bytes
-rw-r--r--src/kile/symbols/special/img084special.pngbin233 -> 232 bytes
-rw-r--r--src/kile/symbols/special/img085special.pngbin217 -> 219 bytes
-rw-r--r--src/kile/symbols/special/img086special.pngbin234 -> 226 bytes
-rw-r--r--src/kile/symbols/special/img087special.pngbin233 -> 224 bytes
-rw-r--r--src/kile/symbols/special/img088special.pngbin208 -> 231 bytes
-rw-r--r--src/kile/symbols/special/img089special.pngbin312 -> 306 bytes
-rw-r--r--src/kile/symbols/special/img090special.pngbin303 -> 299 bytes
-rw-r--r--src/kile/symbols/special/img091special.pngbin311 -> 295 bytes
-rw-r--r--src/kile/symbols/special/img092special.pngbin307 -> 302 bytes
-rw-r--r--src/kile/symbols/special/img093special.pngbin312 -> 294 bytes
-rw-r--r--src/kile/symbols/special/img094special.pngbin296 -> 301 bytes
-rw-r--r--src/kile/symbols/special/img095special.pngbin267 -> 271 bytes
-rw-r--r--src/kile/symbols/special/img096special.pngbin259 -> 259 bytes
-rw-r--r--src/kile/symbols/special/img097special.pngbin267 -> 264 bytes
-rw-r--r--src/kile/symbols/special/img098special.pngbin258 -> 270 bytes
-rw-r--r--src/kile/symbols/special/img099special.pngbin257 -> 262 bytes
-rw-r--r--src/kile/symbols/special/img100special.pngbin265 -> 275 bytes
-rw-r--r--src/kile/symbols/special/img101special.pngbin319 -> 315 bytes
-rw-r--r--src/kile/symbols/special/img102special.pngbin323 -> 321 bytes
-rw-r--r--src/kile/symbols/special/img103special.pngbin315 -> 308 bytes
-rw-r--r--src/kile/symbols/special/img104special.pngbin318 -> 310 bytes
-rw-r--r--src/kile/symbols/special/img105special.pngbin323 -> 307 bytes
-rw-r--r--src/kile/symbols/special/img106special.pngbin319 -> 311 bytes
-rw-r--r--src/kile/symbols/special/img107special.pngbin321 -> 315 bytes
-rw-r--r--src/kile/symbols/special/img108special.pngbin323 -> 314 bytes
-rw-r--r--src/kile/symbols/special/img109special.pngbin314 -> 305 bytes
-rw-r--r--src/kile/symbols/special/img110special.pngbin319 -> 316 bytes
-rw-r--r--src/kile/symbols/special/img111special.pngbin330 -> 330 bytes
-rw-r--r--src/kile/symbols/special/img112special.pngbin346 -> 338 bytes
-rw-r--r--src/kile/symbols/special/img113special.pngbin287 -> 280 bytes
-rw-r--r--src/kile/symbols/special/img114special.pngbin290 -> 279 bytes
-rw-r--r--src/kile/symbols/special/img115special.pngbin280 -> 278 bytes
-rw-r--r--src/kile/symbols/special/img116special.pngbin280 -> 278 bytes
-rw-r--r--src/kile/symbols/special/img117special.pngbin284 -> 275 bytes
-rw-r--r--src/kile/symbols/special/img118special.pngbin282 -> 281 bytes
-rw-r--r--src/kile/symbols/special/img119special.pngbin283 -> 280 bytes
-rw-r--r--src/kile/symbols/special/img120special.pngbin283 -> 278 bytes
-rw-r--r--src/kile/symbols/special/img121special.pngbin278 -> 265 bytes
-rw-r--r--src/kile/symbols/special/img122special.pngbin289 -> 280 bytes
-rw-r--r--src/kile/symbols/special/img123special.pngbin297 -> 290 bytes
-rw-r--r--src/kile/symbols/special/img124special.pngbin313 -> 295 bytes
-rw-r--r--src/kile/symbols/special/img125special.pngbin270 -> 269 bytes
-rw-r--r--src/kile/symbols/special/img126special.pngbin293 -> 285 bytes
-rw-r--r--src/kile/symbols/special/img127special.pngbin310 -> 309 bytes
-rw-r--r--src/kile/symbols/special/img128special.pngbin305 -> 303 bytes
-rw-r--r--src/kile/symbols/special/img129special.pngbin309 -> 308 bytes
-rw-r--r--src/kile/symbols/special/img130special.pngbin257 -> 258 bytes
-rw-r--r--src/kile/symbols/special/img131special.pngbin244 -> 258 bytes
-rw-r--r--src/kile/symbols/special/img132special.pngbin254 -> 264 bytes
-rw-r--r--src/kile/symbols/special/img133special.pngbin308 -> 303 bytes
-rw-r--r--src/kile/symbols/special/img134special.pngbin346 -> 332 bytes
-rw-r--r--src/kile/symbols/special/img135special.pngbin304 -> 299 bytes
-rw-r--r--src/kile/symbols/special/img136special.pngbin308 -> 301 bytes
-rw-r--r--src/kile/symbols/special/img137special.pngbin275 -> 278 bytes
-rw-r--r--src/kile/symbols/special/img138special.pngbin321 -> 304 bytes
-rw-r--r--src/kile/symbols/special/img139special.pngbin273 -> 274 bytes
-rw-r--r--src/kile/symbols/special/img140special.pngbin273 -> 270 bytes
-rw-r--r--src/kile/symbols/special/img141special.pngbin287 -> 279 bytes
-rw-r--r--src/kile/symbols/special/img142special.pngbin270 -> 349 bytes
-rw-r--r--src/kile/symbols/special/img143special.pngbin301 -> 280 bytes
-rw-r--r--src/kile/symbols/special/img144special.pngbin273 -> 304 bytes
-rw-r--r--src/kile/symbols/special/img145special.pngbin288 -> 275 bytes
-rw-r--r--src/kile/symbols/special/img146special.pngbin267 -> 306 bytes
-rw-r--r--src/kile/symbols/special/img147special.pngbin291 -> 266 bytes
-rw-r--r--src/kile/symbols/special/img148special.pngbin260 -> 286 bytes
-rw-r--r--src/kile/symbols/special/img149special.pngbin262 -> 255 bytes
-rw-r--r--src/kile/symbols/special/img150special.pngbin282 -> 287 bytes
-rw-r--r--src/kile/symbols/special/img151special.pngbin287 -> 283 bytes
-rw-r--r--src/kile/symbols/special/img152special.pngbin277 -> 287 bytes
-rw-r--r--src/kile/symbols/special/img153special.pngbin284 -> 272 bytes
-rw-r--r--src/kile/symbols/special/img154special.pngbin284 -> 281 bytes
-rw-r--r--src/kile/symbols/special/img155special.pngbin279 -> 277 bytes
-rw-r--r--src/kile/symbols/special/img156special.pngbin275 -> 277 bytes
-rw-r--r--src/kile/symbols/special/img157special.pngbin283 -> 268 bytes
-rw-r--r--src/kile/symbols/special/img158special.pngbin304 -> 287 bytes
-rw-r--r--src/kile/symbols/special/img159special.pngbin269 -> 297 bytes
-rw-r--r--src/kile/symbols/special/img160special.pngbin277 -> 271 bytes
-rw-r--r--src/kile/symbols/special/img161special.pngbin267 -> 267 bytes
-rw-r--r--src/kile/symbols/special/img162special.pngbin267 -> 268 bytes
-rw-r--r--src/kile/symbols/special/img163special.pngbin277 -> 270 bytes
-rw-r--r--src/kile/symbols/special/img164special.pngbin266 -> 263 bytes
-rw-r--r--src/kile/symbols/special/img165special.pngbin258 -> 271 bytes
-rw-r--r--src/kile/symbols/special/img166special.pngbin265 -> 252 bytes
-rw-r--r--src/kile/symbols/special/img167special.pngbin295 -> 273 bytes
-rw-r--r--src/kile/symbols/special/img168special.pngbin300 -> 283 bytes
-rw-r--r--src/kile/symbols/special/img169special.pngbin293 -> 296 bytes
-rw-r--r--src/kile/symbols/special/img170special.pngbin299 -> 295 bytes
-rw-r--r--src/kile/symbols/special/img171special.pngbin298 -> 290 bytes
-rw-r--r--src/kile/symbols/special/img172special.pngbin298 -> 284 bytes
-rw-r--r--src/kile/symbols/special/img173special.pngbin301 -> 294 bytes
-rw-r--r--src/kile/symbols/special/img174special.pngbin308 -> 295 bytes
-rw-r--r--src/kile/symbols/special/img175special.pngbin267 -> 300 bytes
-rw-r--r--src/kile/symbols/special/img176special.pngbin268 -> 268 bytes
-rw-r--r--src/kile/symbols/special/img177special.pngbin276 -> 272 bytes
-rw-r--r--src/kile/symbols/special/img178special.pngbin0 -> 276 bytes
-rw-r--r--src/kile/symbolview.cpp6
-rw-r--r--src/kile/syntax/latex.xml8
-rwxr-xr-xsrc/kile/test/runTests.sh2
222 files changed, 2455 insertions, 112 deletions
diff --git a/src/kile/codecompletion.cpp b/src/kile/codecompletion.cpp
index 47a2a8d..13acb66 100644
--- a/src/kile/codecompletion.cpp
+++ b/src/kile/codecompletion.cpp
@@ -1153,7 +1153,7 @@ namespace KileDocument
void CodeCompletion::slotCharactersInserted(int, int, const TQString& string )
{
- KILE_DEBUG() << "==slotCharactersInserted (" << m_kilecompletion << "," << m_inprogress << ", " << m_ref << ", " << string << ")=============" << endl;
+ KILE_DEBUG() << "==slotCharactersInserted (m_kilecompletion=" << m_kilecompletion << "m_inprogress," << m_inprogress << ",m_ref=" << m_ref << ",string=" << string << ")=============" << endl;
if ( !inProgress() && m_autoDollar && string=="$" )
{
@@ -1184,6 +1184,16 @@ namespace KileDocument
editCompleteList(reftype,startpattern);
return;
}
+ } // also unusual but may also happen, 20.11.2008 tbraun
+ else if( m_ref && !inProgress())
+ {
+ TQString startpattern;
+ CodeCompletion::Type reftype = insideReference(startpattern);
+ if ( reftype == CodeCompletion::ctNone )
+ {
+ m_ref = false;
+ return;
+ }
}
TQString word;
diff --git a/src/kile/complete/abbreviation/CMakeLists.txt b/src/kile/complete/abbreviation/CMakeLists.txt
index 29f72f0..1d4ade8 100644
--- a/src/kile/complete/abbreviation/CMakeLists.txt
+++ b/src/kile/complete/abbreviation/CMakeLists.txt
@@ -1,4 +1,7 @@
########### install files ###############
-INSTALL( FILES example.cwl DESTINATION share/apps/kile/complete/abbreviation )
+INSTALL( FILES
+ example.cwl
+ fastex.cwl
+ DESTINATION share/apps/kile/complete/abbreviation )
diff --git a/src/kile/complete/abbreviation/Makefile.am b/src/kile/complete/abbreviation/Makefile.am
index f52bb0c..bdc941e 100644
--- a/src/kile/complete/abbreviation/Makefile.am
+++ b/src/kile/complete/abbreviation/Makefile.am
@@ -1,2 +1,3 @@
abbcompletedir = $(kde_datadir)/kile/complete/abbreviation
-abbcomplete_DATA = example.cwl
+abbcomplete_DATA = example.cwl \
+ fastex.cwl
diff --git a/src/kile/complete/abbreviation/fastex.cwl b/src/kile/complete/abbreviation/fastex.cwl
new file mode 100644
index 0000000..b180c85
--- /dev/null
+++ b/src/kile/complete/abbreviation/fastex.cwl
@@ -0,0 +1,1582 @@
+# fastex shortcuts, see http://www.cds.caltech.edu/~fastex/
+# author: Fabian Rost <fabian.rost@>
+# date: 21.11.2008
+
+upkgu=\usepackage{
+upkg=\usepackage{}
+upkgams=\usepackage{amsmath,amssymb,eufrak,amsthm,amscd}
+upkgeuc=\usepackage{eucal}
+upkgeuf=\usepackage{eufrak}
+upkgclr=\usepackage{color}
+upkggr=\usepackage{graphicx}
+upkgvrb=\usepackage{verbatim}
+bdo=\begin{document}
+edo=\end{document}
+dcart=\documentclass{article}
+dcarta4=\documentclass[a4paper]{article}
+dclet=\documentclass{letter}
+dcrep=\documentclass{report}
+dcbook=\documentclass{book}
+ncmdu=\newcommand{
+ncmd=\newcommand{}{}
+rcmdu=\renewcommand{
+rcmd=\renewcommand{}{}
+blstr=\renewcommand{\baselinestretch}{1.5}
+setcu=\setcounter{
+setc=\setcounter{}{}
+slnu=\setlength{
+sln=\setlength{}{}
+spi=\setlength{\parindent}{0em}
+sps=\setlength{\parskip1.5ex plus 0.5ex minus 0.5ex}
+spn=\setcounter{page}{}
+pgnr=\pagenumbering{roman}
+pgna=\pagenumbering{arabic}
+mrkbu=\markboth{
+mrkb=\markboth{}{}
+pgse=\pagestyle{empty}
+pgsm=\pagestyle{myheadings}
+sn=\section{
+sns=\section*{
+ssn=\subsection{
+ssns=\subsection*{
+parau=\paragraph{
+cpg=\clearpage
+cdp=\cleardoublepage
+bctr=\begin{center}
+ectr=\end{center}
+bfll=\begin{flushleft}
+efll=\end{flushleft}
+bflr=\begin{flushright}
+eflr=\end{flushright}
+bqt=\begin{quotation}
+eqt=\end{quotation}
+bmpg=\begin{minipage}{\textwidth}
+empg=\end{minipage}
+ben=\begin{enumerate}
+een=\end{enumerate}
+bitm=\begin{itemize}
+eitm=\end{itemize}
+bds=\begin{description}
+eds=\end{description}
+itmu=\item[
+rcmdl=\renewcommand{\labelenumi}{\em $($\roman{enumi}$)$}
+btb=\begin{tabbing}
+etb=\end{tabbing}
+tb=\>
+btr=\begin{tabular}{|c|c|}
+etr=\end{tabular}
+hlin=\hline
+ftnu=\footnote{
+ftn=\footnote{}
+bbib=\begin{thebibliography}{}
+ebib=\end{thebibliography}
+snsref=\section*{References}
+lblu=\label{
+lbl=\label{}
+refu=\ref{
+refp=(\ref{})
+citu=\cite{
+cit=\cite{}
+citp=(\cite{})
+idxu=\index{
+idx=\index{}
+pidx=\printindex
+midx=\makeindex
+dsz=displaystyle
+tsz=textstyle
+ssz=\scriptstyle
+sssz=\scriptscriptstyle
+bdp=\[
+edp=\]
+beq=\begin{equation}
+beql=\begin{equation}\label{
+eeq=\end{equation}
+bqa=\begin{eqnarray}
+bqal=\begin{eqnarray}\label{
+eqa=\end{eqnarray}
+bqas=\begin{eqnarray*}
+eqas=\end{eqnarray*}
+besb=\begin{Sb}
+eesb=\end{Sb}
+besp=\begin{Sp}
+eesp=\end{Sp}
+bea=\begin{array}{ccc}
+eea=\end{array}
+nonu=\nonumber
+mbxu=\mbox{
+mbx=\mbox{}
+txtu=\text{
+txt=\text{}
+txtqu=\quad\text{}\quad
+intxtu=\text{
+intxt=\intertext{}
+txtqa=\quad \text{and}\quad
+tgu=\tag{
+tg=\tag{}
+tgsu=\tag*{
+tgs=\tag*{}
+ntg=\notag
+bma=\begin{math}
+ema=\end{math}
+bdma=\begin{displaymath}
+
+edma=\end{displaymath}
+
+bal=\begin{align}
+
+eal=\end{align}
+
+bals=\begin{align*}
+
+eals=\end{align*}
+
+bala=\begin{alignat}{}
+
+eala=\end{alignat}
+
+balas=\begin{alignat*}{}
+
+ealas=\end{alignat*}
+
+bga=\begin{gather}
+
+ega=\end{gather}
+
+bgas=\begin{gather*}
+
+egas=\end{gather*}
+
+bmlt=\begin{multline}
+
+emlt=\end{multline}
+
+bmlts=\begin{multline*}
+
+emlts=\end{multline*}
+
+bald=\begin{aligned}
+
+eald=\end{aligned}
+
+balda=\begin{alignedat}{}
+
+ealda=\end{alignedat}
+
+bgad=\begin{gathered}
+
+egad=\end{gathered}
+
+bsplt=\begin{split}
+
+esplt=\end{split}
+
+mcor=\newtheorem{corollary}{Corollary}
+
+mdfn=\newtheorem{definition}{Definition}
+
+mlem=\newtheorem{lemma}{Lemma}
+
+mprop=\newtheorem{proposition}{Proposition}
+
+mthm=\newtheorem{theorem}{Theorem}
+
+bcor=\begin{corollary}
+
+ecor=\end{corollary}
+
+blem=\begin{lemma}
+
+elem=\end{lemma}
+
+bprop=\begin{proposition}
+
+eprop=\end{proposition}
+
+bthm=\begin{theorem}
+
+bthmt=\begin{theorem}[Gauss' Theorem]
+
+ethm=\end{theorem}
+
+bdfn=\begin{definition}
+
+edfn=\end{definition}
+
+bprf=\begin{proof}
+
+eprf=\end{proof}
+
+balg=\begin{algorithm}
+
+ealg=\end{algorithm}
+
+bcnj=\begin{conjecture}
+
+ecnj=\end{conjecture}
+
+bcrit=\begin{criterion}
+
+ecrit=\end{criterion}
+
+bqst=\begin{question}
+
+eqst=\end{question}
+
+bcnd=\begin{condition}
+
+ecnd=\end{condition}
+
+bprob=\begin{problem}
+
+eprob=\end{problem}
+
+brmk=\begin{remark}
+
+ermk=\end{remark}
+
+bnote=\begin{note}
+
+enote=\end{note}
+
+bnota=\begin{notation}
+
+enota=\end{notation}
+
+bcase=\begin{case}
+
+ecase=\end{case}
+
+bclm=\begin{claim}
+
+eclm=\end{claim}
+
+bsum=\begin{summary}
+
+esum=\end{summary}
+
+bcncl=\begin{conclusion}
+
+ecncl=\end{conclusion}
+
+bac=\begin{acknowledgment}
+
+eac=\end{acknowledgment}
+
+bsol=\begin{solution}
+
+esol=\end{solution}
+
+bxca=\begin{xca}
+
+exca=\end{xca}
+
+bxcb=\begin{xcb}
+
+excb=\end{xcb}
+
+blackl=\quad\blacklozenge
+dblackl=\quad $\blacklozenge$
+qbsq=\quad\blacksquare
+qdbsq=\quad $\blacksquare$
+qesq=\quad\square
+qdesq=\quad $\square$
+qetd=\quad\bigtriangledown
+qdetd=\quad $\bigtriangledown$
+qbtd=\quad\blacktriangledown
+qdbtd=\quad $\blacktriangledown$
+rtgu=\raisetag{
+qed=\qed
+qeds=\qedsymbol
+tgqeds=\tag*{\qedsymbol}
+rcqeds=\renewcommand{qedsymbol}{}
+txtu=\text{
+txt=\text{}
+txtupu=\textup{
+txtup=\textup{}
+intxtu=\intertext{
+intxt=\intertext{}
+txtitu=\textit{
+txtit=\textit{}
+txtrmu=\textrm{
+txtrm=\textrm{}
+txtscu=\textsc{
+txtsc=\textsc{}
+txtsfu=\textsf{
+txtsf=\textsf{}
+txtslu=\textsl{text slanting inside math mode
+txtsl=\textsl{}
+txtttu=\texttt{
+txttt=\texttt{}
+txtstyu=\textstyle{
+txtsty=\textstyle{}
+mbbu=\mathbb{
+mbfu=\mathbf{
+mbf=\mathbf{}
+mcalu=\mathcal{
+mcal=\mathcal{}
+mfrku=\mathfrak{
+mfrk=\mathfrak{}
+mitu=\mathit{
+mit=\mathit{}
+mrmu=\mathrm{
+mrm=\mathrm{}
+msfu=\mathsf{
+msf=\mathsf{}
+mttu=\mathtt{
+mtt=\mathtt{}
+opnu=\operatorname{
+opn=\operatorname{}
+opsech=\operatorname{sech}
+opso3=\operatorname{so(3)}
+dopso3=$\operatorname{so(3)}$
+opcso3=\operatorname{SO(3)}
+opdcso3=$\operatorname{SO(3)}$
+opdiv=\operatorname{div}
+opcurl=\operatorname{curl}
+opcimu=\operatorname{Im} nil 0)
+opcimz=\operatorname{Im}(z)
+opcreu=\operatorname{Re} nil 0)
+opcrez=\operatorname{Re}(z)
+opad=\operatorname{ad}
+opcad=\operatorname{Ad}
+opcaut=\operatorname{Aut}
+opccard=\operatorname{Card}
+opchar=\operatorname{char}
+opccorr=\operatorname{Corr}
+opcdiff=\operatorname{Diff}
+opcext=\operatorname{Ext}
+opcfcl=\operatorname{FL}
+opcgcl=\operatorname{GL}
+opchom=\operatorname{Hom}
+opcjac=\operatorname{Jac}
+opclie=\operatorname{Lie}
+opcnm=\operatorname{Nm}
+opcpcgcl=\operatorname{PGL}
+opcpic=\operatorname{Pic}
+opcprym=\operatorname{Prym}
+opcram=\operatorname{Ram}
+opcrank=\operatorname{Rank}
+oprank=\operatorname{rank}
+opreg=\operatorname{reg}
+opcres=\operatorname{Res}
+opres=\operatorname{res}
+opsl=\operatorname{sl}
+opcscl=\operatorname{SL}
+opcsco=\operatorname{SO}
+opcscp=\operatorname{SP}
+opcsp=\operatorname{Sp}
+opsq=\operatorname{sq}
+opcscu=\operatorname{SU}
+opcsym=\operatorname{Sym}
+opctr=\operatorname{Tr}
+fdbfi=\newcommand{\bfi}{\bfseries\itshape}
+bfiu=\bfi
+bfu=\bf
+emu=\em
+itu=\it
+rmu=\rm
+scu=\sc
+sfu=\sf
+ttu=\tt
+ovsu=\overset{
+ovst=\overset{}{}
+sstu=\sideset{
+sst=\sideset{}{}
+unstu=\underset{
+unst=\underset{}{}
+smb=\smash[b]{}
+smt=\smash[t]{}
+nolim=\nolimits
+ovstcpp=\overset{\longrightarrow}{\text{PP}}
+ovstcpq=\overset{\longrightarrow}{\text{PQ}}
+dovstcpp=$\overset{\longrightarrow}{\text{PP}}$
+dovstcpq=$\overset{\longrightarrow}{\text{PQ}}
+
+frbox=\fbox{\parbox{2.0in}{\centerline{\large \bf type header} text }}
+
+bcmnt=\begin{comment}
+ecmnt=\end{comment}
+tdu=\todo{
+vrb=\verb
+bvrb=\begin{verbatim}
+evrb=\end{verbatim}
+cl=\centerline{
+hfi=\hfill
+noi=\noindent
+nl=\\
+np=\newpage
+pt=%
+blskp=\baselineskip
+vfi=\vfill
+lbrk=\linebreak
+nlin=\newline
+rlin=\rightline{}
+clin=\centerline{}
+llin=\leftline{}
+lin=\line{}
+ob={
+eb=}
+eit=\/}
+op"
+ep=)
+obk=[
+ebk=]
+llb=\{
+rlb=\}
+bqm=``
+eqm=''
+lle=\langle
+rle=\rangle
+itm=\item
+ad=&
+ae=\'{e}
+ge=\`{e}
+ua=\"{a}
+uo=\"{o}
+uu=\"{u}
+ace=\'{E}
+gce=\`{E}
+uca=\"{A}
+uco=\"{O}
+ucu=\"{U}
+bksl=\
+ats=@
+cprt=\copyright
+ps=\P
+ss=\S
+gss=\ss
+csp=\quad
+dsp=\qquad
+ssp=\,
+msp=\:
+tsp=\;
+nsp=\!
+ndsp=\! \!
+ensp=\enspace
+qd=\quad
+qqd=\qquad
+bskp=\bigskip
+mskp=\medskip
+sskp=\smallskip
+hskp=\hskip 2in
+vskp=\vskip 12pt
+tskp=\topskip 24pt
+nll=\null
+fc=
+rc=
+d=$
+dlr=$$
+
+ada=& = &
+sd=d
+cd=D
+xa=\alpha
+xb=\beta
+xc=\chi
+xcd=\Delta
+xcg=\Gamma
+xcl=\Lambda
+xco=\Omega
+xcp=\Pi
+xcph=\Phi
+xcps=\Psi
+xcs=\Sigma
+xcth=\Theta
+xcu=\Upsilon
+xcx=\Xi
+xd=\delta
+xe=\epsilon
+xet=\eta
+xg=\gamma
+xi=\iota
+xk=\kappa
+xl=\lambda
+xm=\mu
+xn=\nu
+xo=\omega
+xp=\pi
+xph=\phi
+xps=\psi
+xr=\rho
+xs=\sigma
+xt=\tau
+xth=\theta
+xu=\upsilon
+xve=\varepsilon
+xvp=\varpi
+xvph=\varphi
+xvr=\varrho
+xvs=\varsigma
+xvth=\vartheta
+xx=\xi
+xz=\zeta
+dxa=$\alpha$
+dxb=$\beta$
+dxc=$\chi$
+dxcd=$\Delta$
+dxcg=$\Gamma$
+dxcl=$\Lambda$
+dxco=$\Omega$
+dxcp=$\Pi$
+dxcph=$\Phi$
+dxcps=$\Psi$
+dxcs=$\Sigma$
+dxcth=$\Theta$
+dxcu=$\Upsilon$
+dxcx=$\Xi$
+dxd=$\delta$
+dxe=$\epsilon$
+dxet=$\eta$
+dxg=$\gamma$
+dxio=$\iota$
+dxk=$\kappa$
+dxl=$\lambda$
+dxm=$\mu$
+dxn=$\nu$
+dxo=$\omega$
+dxp=$\pi$
+dxph=$\phi$
+dxps=$\psi$
+dxr=$\rho$
+dxs=$\sigma$
+dxt=$\tau$
+dxth=$\theta$
+dxu=$\upsilon$
+dxve=$\varepsilon$
+dxvp=$\varpi$
+dxvph=$\varphi$
+dxvr=$\varrho$
+dxvs=$\varsigma$
+dxvth=$\vartheta$
+dxx=$\xi$
+dxz=$\zeta$
+oxa=(\alpha)
+oxb=(\beta)
+oxc=(\chi)
+oxcd=(\Delta)
+oxcg=(\Gamma)
+oxcl=(\Lambda)
+oxco=(\Omega)
+oxcp=(\Pi)
+oxcph=(\Phi)
+oxcps=(\Psi)
+oxcs=(\Sigma)
+oxcth=(\Theta)
+oxcu=(\Upsilon)
+oxcx=(\Xi)
+oxd=(\delta)
+oxe=(\epsilon)
+oxet=(\eta)
+oxg=(\gamma)
+oxi=(\iota)
+oxk=(\kappa)
+oxl=(\lambda)
+oxm=(\mu)
+oxn=(\nu)
+oxo=(\omega)
+oxp=(\pi)
+oxph=(\phi)
+oxps=(\psi)
+oxr=(\rho)
+oxs=(\sigma)
+oxt=(\tau)
+oxth=(\theta)
+oxu=(\upsilon)
+oxve=(\varepsilon)
+oxvp=(\varpi)
+oxvph=(\varphi)
+oxvr=(\varrho)
+oxvs=(\varsigma)
+oxvth=(\vartheta)
+oxx=(\xi)
+oxz=(\zeta)
+itu=\it
+rmu=\rm
+bfu=\bf
+slu=\sl
+ttu=\tt
+fu=\frac{
+fof=}{
+hu=^{
+lu=_{
+limu=\lim{
+ovu=\vec{
+olu=\overline{
+obu=\bar{
+ocu=\check{
+odu=\dot{
+oddu=\ddot{
+ohu=\hat{
+otu=\tilde{
+setu=\{ \mid \}
+setlu=\left\{ \left. \!\right| \right\}
+disu=\displaystyle
+fpdu=\frac{\partial}{\partial
+d0=$0$
+d1=$1$
+d10=$10$
+d2=$2$
+d3=$3$
+d4=$4$
+d5=$5$
+d6=$6$
+d7=$7$
+d8=$8$
+d9=$9$
+dca=$A$
+dcb=$B$
+dcc=$C$
+dcd=$D$
+dce=$E$
+dcf=$F$
+dcg=$G$
+dch=$H$
+dci=$I$
+dcj=$J$
+dck=$K$
+dcl=$L$
+dcm=$M$
+dcn=$N$
+dco=$O$
+dcp=$P$
+dcq=$Q$
+dcr=$R$
+dcs=$S$
+dct=$T$
+dcu=$U$
+dcv=$V$
+dcw=$W$
+dcx=$X$
+dcy=$Y$
+dcz=$Z$
+da=$a$
+db=$b$
+dc=$c$
+dd=$d$
+de=$e$
+df=$f$
+dg=$g$
+dh=$h$
+di=$i$
+dj=$j$
+dk=$k$
+dl=$l$
+dm=$m$
+dn=$n$
+doo=$o$
+dp=$p$
+dq=$q$
+dr=$r$
+ds=$s$
+dt=$t$
+du=$u$
+dv=$v$
+dw=$w$
+dx=$x$
+dy=$y$
+dz=$z$
+sq10=\sqrt{10}
+sq2=\sqrt{2}
+sq3=\sqrt{3}
+sq5=\sqrt{5}
+sq7=\sqrt{7}
+squ=\sqrt{
+sqxp=\sqrt{\pi}
+cr2=\sqrt[3]{2}
+nr2=\sqrt[n]{2}
+haf=\frac{1}{2}
+f12=\frac{1}{2}
+f13=\frac{1}{3}
+f14=\frac{1}{4}
+fddt=\frac{d}{dt}
+fdudt=\frac{du}{dt}
+fdxdt=\frac{dx}{dt}
+fdydt=\frac{dy}{dt}
+fdzdt=\frac{dz}{dt}
+fpx=\frac{\partial}{\partial x}
+fpy=\frac{\partial}{\partial y}
+fpzx=\frac{\partial z}{\partial x}
+fps=\frac{\partial^2}{\partial x \partial y}
+fpt=\frac{\partial^3}{\partial x \partial y \partial z}
+ha=^a
+hb=^b
+hc=^c
+hd=^d
+hee=^e
+hf=^f
+hg=^g
+hh=^h
+hi=^i
+hj=^j
+hk=^k
+hl=^l
+hm=^m
+hn=^n
+ho=^o
+hp=^p
+hq=^q
+hr=^r
+hs=^s
+ht=^t
+huu=^u
+hv=^v
+hw=^w
+hx=^x
+hy=^y
+hz=^z
+hca=^A
+hcb=^B
+hcc=^C
+hcd=^D
+hce=^E
+hcf=^F
+hcg=^G
+hch=^H
+hci=^I
+hcj=^J
+hck=^K
+hcl=^L
+hcm=^M
+hcn=^N
+hco=^O
+hcp=^P
+hcq=^Q
+hcr=^R
+hcs=^S
+hct=^T
+hcu=^U
+hcv=^V
+hcw=^W
+hcx=^X
+hcy=^Y
+hcz=^Z
+h0=^0
+h1=^1
+h10=^{10}
+h2=^2
+h3=^3
+h4=^4
+h5=^5
+h6=^6
+h7=^7
+h8=^8
+h9=^9
+sq=^2
+cu=^3
+xq=x^2
+yq=y^2
+zq=z^2
+hmo=^{-1}
+hij=^{ij}
+hijk=^{ijk}
+hjk=^{jk}
+hdg=^\dagger
+hflt=^\flat
+hpr=^\prime
+hprp=^\perp
+hshp=^\sharp
+hst=^\ast
+hvst=^\star
+hxa=^\alpha
+hxb=^\beta
+hxc=^\chi
+hxcd=^\Delta
+hxcg=^\Gamma
+hxcl=^\Lambda
+hxco=^\Omega
+hxcp=^\Pi
+hxcph=^\Phi
+hxcps=^\Psi
+hxcs=^\Sigma
+hxcth=^\Theta
+hxcu=^\Upsilon
+hxcx=^\Xi
+hxd=^\delta
+hxe=^\epsilon
+hxet=^\eta
+hxg=^\gamma
+hxio=^\iota
+hxk=^\kappa
+hxl=^\lambda
+hxm=^\mu
+hxn=^\nu
+hxo=^\omega
+hxp=^\pi
+hxph=^\phi
+hxps=^\psi
+hxr=^\rho
+hxs=^\sigma
+hxt=^\tau
+hxth=^\theta
+hxu=^\upsilon
+hxve=^\varepsilon
+hxvp=^\varpi
+hxvph=^\varphi
+hxvr=^\varrho
+hxvs=^\varsigma
+hxvth=^\vartheta
+hxx=^\xi
+hxz=^\zeta
+la=_a
+lb=_b
+lc=_c
+ld=_d
+le=_e
+lf=_f
+lg=_g
+lh=_h
+li=_i
+lj=_j
+lk=_k
+ll=_l
+lm=_m
+ln=_n
+lo=_o
+lp=_p
+lq=_q
+lr=_r
+ls=_s
+lt=_t
+luu=_u
+lv=_v
+lw=_w
+lx=_x
+ly=_y
+lz=_z
+lca=_A
+lcb=_B
+lcc=_C
+lcd=_D
+lce=_E
+lcf=_F
+lcg=_G
+lch=_H
+lci=_I
+lcj=_J
+lck=_K
+lcl=_L
+lcm=_M
+lcn=_N
+lco=_O
+lcp=_P
+lcq=_Q
+lcr=_R
+lcs=_S
+lct=_T
+lcu=_U
+lcv=_V
+lcw=_W
+lcx=_X
+lcy=_Y
+lcz=_Z
+l0=_0
+l1=_1
+l10=_{10}
+l2=_2
+l3=_3
+l4=_4
+l5=_5
+l6=_6
+l7=_7
+l8=_8
+l9=_9
+lij=_{ij}
+lijk=_{ijk}
+ljk=_{jk}
+gij=g_{ij}
+lxa=_\alpha
+lxb=_\beta
+lxc=_\chi
+lxcd=_\Delta
+lxcg=_\Gamma
+lxcl=_\Lambda
+lxco=_\Omega
+lxcp=_\Pi
+lxcph=_\Phi
+lxcps=_\Psi
+lxcs=_\Sigma
+lxcth=_\Theta
+lxcu=_\Upsilon
+lxcx=_\Xi
+lxd=_\delta
+lxe=_\epsilon
+lxet=_\eta
+lxg=_\gamma
+lxio=_\iota
+lxk=_\kappa
+lxl=_\lambda
+lxm=_\mu
+lxn=_\nu
+lxo=_\omega
+lxp=_\pi
+lxph=_\phi
+lxps=_\psi
+lxr=_\rho
+lxs=_\sigma
+lxt=_\tau
+lxth=_\theta
+lxu=_\upsilon
+lxve=_\varepsilon
+lxvp=_\varpi
+lxvph=_\varphi
+lxvr=_\varrho
+lxvs=_\varsigma
+lxvth=_\vartheta
+lxx=_\xi
+lxz=_\zeta
+xln=x_n
+yln=y_n
+zln=z_n
+lst=_\ast
+lvst=_\star
+obp=\bar{p}
+obq=\bar{q}
+obr=\bar{r}
+obs=\bar{s}
+obx=\bar{x}
+oby=\bar{y}
+obz=\bar{z}
+obxa=\bar{\alpha}
+obxb=\bar{\beta}
+obxg=\bar{\gamma}
+odp=\dot{p}
+odq=\dot{q}
+odr=\dot{r}
+ods=\dot{s}
+odx=\dot{x}
+ody=\dot{y}
+odz=\dot{z}
+odxa=\dot{\alpha}
+odxb=\dot{\beta}
+odxg=\dot{\gamma}
+oddp=\ddot{p}
+oddq=\ddot{q}
+oddr=\ddot{r}
+odds=\ddot{s}
+oddx=\ddot{x}
+oddy=\ddot{y}
+oddz=\ddot{z}
+oddxa=\ddot{\alpha}
+oddxb=\ddot{\beta}
+oddxg=\ddot{\gamma}
+olp=\overline{p}
+olq=\overline{q}
+olr=\overline{r}
+ols=\overline{s}
+olx=\overline{x}
+oly=\overline{y}
+olz=\overline{z}
+olxa=\overline{\alpha}
+olxb=\overline{\beta}
+olxg=\overline{\gamma}
+ohp=\hat{p}
+ohq=\hat{q}
+ohr=\hat{r}
+ohs=\hat{s}
+ohx=\hat{x}
+ohy=\hat{y}
+ohz=\hat{z}
+ohxa=\hat{\alpha}
+ohxb=\hat{\beta}
+ohxg=\hat{\gamma}
+ova=\vec{a}
+ovb=\vec{b}
+ovc=\vec{c}
+ovv=\vec{v}
+ovw=\vec{w}
+pl=+
+mi=-
+plm=\pm
+mip=\mp
+divi=\div
+cir=\circ
+blt=\bullet
+opl=\oplus
+omi=\ominus
+ti=\times
+oti=\otimes
+sdp=\,\circledS\,
+wed=\wedge
+eq==
+ez== 0
+gte=\geq
+lte=\leq
+ne=\neq
+iso=\cong
+eqv=\equiv
+mlt=\ll
+mgt=\gg
+apx=\approx
+lep=\left nil 0)
+rip=\right)
+lebk=\left[
+ribk=\right]
+lebr=\left\{
+ribr=\right\}
+lel=\left\langle
+rir=\right\rangle
+lld=\left\langle \! \left\langle
+rrd=\right\rangle \! \right\rangle
+llt=\left\langle \! \left\langle \! \left\langle
+rrt=\right\rangle \! \right\rangle \! \right\rangle
+ldo=\left.
+rdo=\right.
+ale=\aleph
+hba=\hbar
+prm=\prime
+flt=\flat
+shp=\sharp
+sh=\heartsuit
+ppt=\propto
+nrm=\|
+lied=\pounds
+trv=\pitchfork
+scl=\ell
+na=\nabla
+pd=\partial
+infi=\infty
+wpf=\wp
+rea=\Re
+ima=\Im
+angl=\angle
+imp=\Rightarrow
+impb=\Leftarrow
+olra=\Leftrightarrow
+eqvt=\Leftrightarrow
+emp=\varnothing
+empa=\emptyset
+eo=\in
+neo=\not\in
+reo=\ni
+setm=\setminus
+subs=\subset
+sube=\subseteq
+sups=\supset
+supe=\supseteq
+ints=\cap
+bints=\bigcap
+uni=\cup
+buni=\bigcup
+vbar=\mid
+te=\exists
+fa=\forall
+artl=\mapsto
+ra=\rightarrow
+lora=\longrightarrow
+lra=\leftrightarrow
+lea=\leftarrow
+upa=\uparrow
+uhr=\upharpoonright
+sur=\nearrow
+sdr=\searrow
+cdo=\cdot
+cds=\cdots
+dds=\ddots
+lds=\ldots
+vds=\vdots
+co=\cos
+coh=\cosh
+coq=\cos^2
+coth=\cos \theta
+coph=\cos \phi
+si=\sin
+sih=\sinh
+siq=\sin^2
+sith=\sin \theta
+siph=\sin \phi
+tn=\tan
+tnh=\tanh
+ex=\exp
+logg=\log
+lgn=\ln
+supr=\sup
+infm=\inf
+mx=\max
+mn=\min
+limm=\lim
+limi=\liminf
+lims=\limsup
+dtt=\det
+kr=\ker
+dmn=\dim
+ag=\arg
+gc=\gcd
+mo=-1
+ava=|a|
+avb=|b|
+avc=|c|
+avx=|x|
+avy=|y|
+avz=|z|
+shl=A^i_{\;a}
+lam=L_A{}^\mu
+van=v^A{}_\nu
+tsq=T^\ast Q
+tsqq=T^{\ast}_{q} Q
+dtsq=$T^\ast Q$
+dtsqq=$T^{\ast}_{q} Q$
+0p=(0)
+00p=(0,0)
+03p=(0, 0, 0)
+d0p=$(0)$
+d00p=$(0,0)$
+d03p=$(0, 0, 0)$
+triap=(a_1, a_2, a_3)
+dtriap=$(a_1, a_2, a_3)$
+xyp=(x, y)
+xyzp=(x, y, z)
+xpyq=x^2 + y^2
+dxyp=$(x, y)$
+dxyzp=$(x, y, z)$
+dxpyq=$x^2 + y^2$
+dxdy=\,dx\,dy
+dxdydz=\,dx\,dy\,dz
+dxdt=dx/dt
+dydt=dy/dt
+dzdt=dz/dt
+pdzy=\partial z/\partial y
+dpdzy=$\partial z/\partial y$
+o0=(0)
+o1=(1)
+o2=(2)
+o3=(3)
+o4=(4)
+o5=(5)
+o6=(6)
+o7=(7)
+o8=(8)
+o9=(9)
+oa=(a)
+oeb=(b)
+oc=(c)
+od=(d)
+oe=(e)
+oef=(f)
+og=(g)
+oh=(h)
+oi=(i)
+oj=(j)
+ok=(k)
+ol=(l)
+om=(m)
+oen=(n)
+oo=(o)
+oep=(p)
+oq=(q)
+oer=(r)
+os=(s)
+ot=(t)
+ou=(u)
+ov=(v)
+ow=(w)
+ox=(x)
+oy=(y)
+oz=(z)
+oca=(A)
+ocb=(B)
+occ=(C)
+ocd=(D)
+oce=(E)
+ocf=(F)
+ocg=(G)
+och=(H)
+oci=(I)
+ocj=(J)
+ock=(K)
+ocl=(L)
+ocm=(M)
+ocn=(N)
+oco=(O)
+ocp=(P)
+ocq=(Q)
+ocr=(R)
+ocs=(S)
+oct=(T)
+ocuu=(U)
+ocv=(V)
+ocw=(W)
+ocx=(X)
+ocy=(Y)
+ocz=(Z)
+intu=\int
+intd=\int \!\!\! \int
+intt=\int \!\!\! \int \!\!\! \int
+intc=\oint
+i10=\int^1_0
+iba=\int^b_a
+ilcd=\int_D
+iinf=\int^\infty_{- \infty}
+i2xp0=\int^{2 \pi}_0
+sds=\,ds
+sdt=\,dt
+sdu=\,du
+sdv=\,dv
+sdw=\,dw
+sdx=\,dx
+sdy=\,dy
+sdz=\,dz
+sumu=\sum
+sni1=\sum^{n}_{i = 1}
+pni1=\prod^{n}_{i = 1}
+ini1=\bigcap^{n}_{i = 1}
+uni1=\bigcup^{n}_{i = 1}
+li00=\lim_{(x,y) \rightarrow (0,0)}
+liai=\lim_{a \rightarrow \infty}
+lixl0=\lim_{x \rightarrow x_0}
+wace=accelerate
+wacn=acceleration
+wacs=accelerates
+wcdm=Department of Mathematics
+wcdp=Department of Physics
+wcle=calculate
+wcln=calculation
+wcls=calculates
+wder=derivative
+wders=derivatives
+wdm=department of mathematics
+wdp=department of physics
+wep=Euler-Poincar\'e
+weqn=equation
+weqns=equations
+wex=example
+wfun=function
+wfuns=functions
+wgm=geometry
+wgmc=geometric
+wie=i.e.,
+wig=integral
+wigb=integrable
+wign=integration
+wigs=integrals
+wiie=\it i.e.,\/}
+wlig=line integral
+wligs=line integrals
+wmx=matrix
+wneg=negative
+wnl=nonlinear
+wnly=nonlinearity
+wpos=positive
+wprp=perpendicular
+wrel=relative
+wrln=relation
+wrtg=rotating
+wrtn=rotation
+wrtns=rotations
+wsn=solution
+wsns=solutions
+wtm=theorem
+wtms=theorems
+wty=theory
+wun=university
+wve=vector
+wvel=velocity
+wvs=vectors
+cld=%-----------------------------------------------------------------------
+cldd=%=======================================================================
+cpct=%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+csd=%-----------------------------
+csdd=%=============================
+
+gmu=\mathfrak{}
+gmb=\mathfrak{b}
+gmg=\mathfrak{g}
+gmh=\mathfrak{h}
+gmk=\mathfrak{k}
+gmp=\mathfrak{p}
+gmt=\mathfrak{t}
+gmca=\mathfrak{A}
+gmcg=\mathfrak{G}
+gmch=\mathfrak{H}
+gmck=\mathfrak{K}
+gmct=\mathfrak{T}
+gmcx=\mathfrak{X}
+gmgs=\mathfrak{g}^{\ast}
+gmhs=\mathfrak{h}^{\ast}
+gmks=\mathfrak{k}^{\ast}
+gmso3=\mathfrak{so}(3)
+dgmu=$\mathfrak{}$
+dgmb=$\mathfrak{b}$
+dgmca=$\mathfrak{A}$
+dgmcg=$\mathfrak{G}$
+dgmch=$\mathfrak{H}$
+dgmck=$\mathfrak{K}$
+dgmct=$\mathfrak{T}$
+dgmcx=$\mathfrak{X}$
+dgmg=$\mathfrak{g}$
+dgmh=$\mathfrak{h}$
+dgmk=$\mathfrak{k}$
+dgmp=$\mathfrak{p}$
+dgmt=$\mathfrak{t}$
+dgmgs=$\mathfrak{g}^{\ast}$
+dgmhs=$\mathfrak{h}^{\ast}$
+dgmks=$\mathfrak{k}^{\ast}$
+bbu=\mathbb{}
+bbca=\mathbb{A}
+bbcb=\mathbb{B}
+bbcc=\mathbb{C}
+bbcd=\mathbb{D}
+bbce=\mathbb{E}
+bbcf=\mathbb{F}
+bbcg=\mathbb{G}
+bbch=\mathbb{H}
+bbci=\mathbb{I}
+bbcj=\mathbb{J}
+bbck=\mathbb{K}
+bbcl=\mathbb{L}
+bbcm=\mathbb{M}
+bbcn=\mathbb{N}
+bbco=\mathbb{O}
+bbcp=\mathbb{P}
+bbcq=\mathbb{Q}
+bbcr=\mathbb{R}
+bbcs=\mathbb{S}
+bbct=\mathbb{T}
+bbcu=\mathbb{U}
+bbcv=\mathbb{V}
+bbcw=\mathbb{W}
+bbcx=\mathbb{X}
+bbcy=\mathbb{Y}
+bbcz=\mathbb{Z}
+bbcr1=\mathbb{R}^1
+bbcr2=\mathbb{R}^2
+bbcr3=\mathbb{R}^3
+bbcrm=\mathbb{R}^m
+bbcrn=\mathbb{R}^n
+dbbcc=$\mathbb{C}$
+dbbci=$\mathbb{I}$
+dbbcr=$\mathbb{R}$
+dbbct=$\mathbb{T}$
+dbbcz=$\mathbb{Z}$
+dbbcr1=$\mathbb{R}^1$
+dbbcr2=$\mathbb{R}^2$
+dbbcr3=$\mathbb{R}^3$
+dbbcrm=$\mathbb{R}^m$
+dbbcrn=$\mathbb{R}^n$
+opu=\mathbb{}
+opcc=\mathbb{C}
+opci=\mathbb{I}
+opcr=\mathbb{R}
+opct=\mathbb{T}
+opcz=\mathbb{Z}
+opcr1=\mathbb{R}^1
+opcr2=\mathbb{R}^2
+opcr3=\mathbb{R}^3
+opcrm=\mathbb{R}^m
+opcrn=\mathbb{R}^n
+dopcc=$\mathbb{C}$
+dopci=$\mathbb{I}$
+dopcr=$\mathbb{R}$
+dopct=$\mathbb{T}$
+dopcz=$\mathbb{Z}$
+dopcr1=$\mathbb{R}^1$
+dopcr2=$\mathbb{R}^2$
+dopcr3=$\mathbb{R}^3$
+dopcrm=$\mathbb{R}^m$
+dopcrn=$\mathbb{R}^n$
+ir3=\int_{\mathbb{R}^3}
+b0=\mathbf{0}
+b1=\mathbf{1}
+b10=\mathbf{10}
+b2=\mathbf{2}
+b3=\mathbf{3}
+b4=\mathbf{4}
+b5=\mathbf{5}
+b6=\mathbf{6}
+b7=\mathbf{7}
+b8=\mathbf{8}
+b9=\mathbf{9}
+ba=\mathbf{a}
+bb=\mathbf{b}
+bc=\mathbf{c}
+bca=\mathbf{A}
+bcb=\mathbf{B}
+bcc=\mathbf{C}
+bcd=\mathbf{D}
+bce=\mathbf{E}
+bcf=\mathbf{F}
+bcg=\mathbf{G}
+bch=\mathbf{H}
+bci=\mathbf{I}
+bcj=\mathbf{J}
+bck=\mathbf{K}
+bcl=\mathbf{L}
+bcm=\mathbf{M}
+bcn=\mathbf{N}
+bco=\mathbf{O}
+bcp=\mathbf{P}
+bcq=\mathbf{Q}
+bcr=\mathbf{R}
+bcs=\mathbf{S}
+bct=\mathbf{T}
+bcu=\mathbf{U}
+bcv=\mathbf{V}
+bcw=\mathbf{W}
+bcx=\mathbf{X}
+bcy=\mathbf{Y}
+bcz=\mathbf{Z}
+bd=\mathbf{d}
+bee=\mathbf{e}
+bel1=\mathbf{e}_1
+bel2=\mathbf{e}_2
+bel3=\mathbf{e}_3
+beln=\mathbf{e}_n
+bff=\mathbf{f}
+bg=\mathbf{g}
+bh=\mathbf{h}
+bi=\mathbf{i}
+bj=\mathbf{j}
+bk=\mathbf{k}
+bl=\mathbf{l}
+bm=\mathbf{m}
+bn=\mathbf{n}
+bo=\mathbf{o}
+bp=\mathbf{p}
+bq=\mathbf{q}
+br=\mathbf{r}
+bs=\mathbf{s}
+bt=\mathbf{t}
+bu=\mathbf{u}
+bv=\mathbf{v}
+bw=\mathbf{w}
+bx=\mathbf{x}
+byy=\mathbf{y}
+bz=\mathbf{z}
+bsy=\boldsymbol{
+dbsy=$\boldsymbol{
+bsyu=\boldsymbol{}
+dbsyu=$\boldsymbol{}$
+mvb=\mathversion{bold} $ $}
+pmbu=\mathop{\pmb{}}
+mopu=\mathop{}
+db0=$\mathbf{0}$
+db1=$\mathbf{1}$
+db10=$\mathbf{10}$
+db2=$\mathbf{2}$
+db3=$\mathbf{3}$
+db4=$\mathbf{4}$
+db5=$\mathbf{5}$
+db6=$\mathbf{6}$
+db7=$\mathbf{7}$
+db8=$\mathbf{8}$
+db9=$\mathbf{9}$
+dba=$\mathbf{a}$
+dbb=$\mathbf{b}$
+dbc=$\mathbf{c}$
+dbca=$\mathbf{A}$
+dbcb=$\mathbf{B}$
+dbcc=$\mathbf{C}$
+dbcd=$\mathbf{D}$
+dbce=$\mathbf{E}$
+dbcf=$\mathbf{F}$
+dbcg=$\mathbf{G}$
+dbch=$\mathbf{H}$
+dbci=$\mathbf{I}$
+dbcj=$\mathbf{J}$
+dbck=$\mathbf{K}$
+dbcl=$\mathbf{L}$
+dbcm=$\mathbf{M}$
+dbcn=$\mathbf{N}$
+dbco=$\mathbf{O}$
+dbcp=$\mathbf{P}$
+dbcq=$\mathbf{Q}$
+dbcr=$\mathbf{R}$
+dbcs=$\mathbf{S}$
+dbct=$\mathbf{T}$
+dbcu=$\mathbf{U}$
+dbcv=$\mathbf{V}$
+dbcw=$\mathbf{W}$
+dbcx=$\mathbf{X}$
+dbcy=$\mathbf{Y}$
+dbcz=$\mathbf{Z}$
+dbd=$\mathbf{d}$
+dbe=$\mathbf{e}$
+dbf=$\mathbf{f}$
+dbg=$\mathbf{g}$
+dbh=$\mathbf{h}$
+dbi=$\mathbf{i}$
+dbj=$\mathbf{j}$
+dbk=$\mathbf{k}$
+dbl=$\mathbf{l}$
+dbm=$\mathbf{m}$
+dbn=$\mathbf{n}$
+dbo=$\mathbf{o}$
+dbp=$\mathbf{p}$
+dbq=$\mathbf{q}$
+dbr=$\mathbf{r}$
+dbs=$\mathbf{s}$
+dbt=$\mathbf{t}$
+dbu=$\mathbf{u}$
+dbv=$\mathbf{v}$
+dbw=$\mathbf{w}$
+dbx=$\mathbf{x}$
+dby=$\mathbf{y}$
+dbz=$\mathbf{z}$
+nrbu=\|\mathbf{u}\|
+aplb=\mathbf{a} + \mathbf{b}
+atib=\mathbf{a} \times \mathbf{b}
+atibp=(\mathbf{a} \times \mathbf{b})
+cau=\mathcal{
+cca=\mathcal{A}
+ccb=\mathcal{B}
+ccc=\mathcal{C}
+ccd=\mathcal{D}
+cce=\mathcal{E}
+ccf=\mathcal{F}
+ccg=\mathcal{G}
+cch=\mathcal{H}
+cci=\mathcal{I}
+ccj=\mathcal{J}
+cck=\mathcal{K}
+ccl=\mathcal{L}
+ccm=\mathcal{M}
+ccn=\mathcal{N}
+cco=\mathcal{O}
+ccp=\mathcal{P}
+ccq=\mathcal{Q}
+ccr=\mathcal{R}
+ccs=\mathcal{S}
+cct=\mathcal{T}
+ccu=\mathcal{U}
+ccv=\mathcal{V}
+ccw=\mathcal{W}
+ccx=\mathcal{X}
+ccy=\mathcal{Y}
+ccz=\mathcal{Z}
+dcca=$\mathcal{A}$
+dccb=$\mathcal{B}$
+dccc=$\mathcal{C}$
+dccd=$\mathcal{D}$
+dcce=$\mathcal{E}$
+dccf=$\mathcal{F}$
+dccg=$\mathcal{G}$
+dcch=$\mathcal{H}$
+dcci=$\mathcal{I}$
+dccj=$\mathcal{J}$
+dcck=$\mathcal{K}$
+dccl=$\mathcal{L}$
+dccm=$\mathcal{M}$
+dccn=$\mathcal{N}$
+dcco=$\mathcal{O}$
+dccp=$\mathcal{P}$
+dccq=$\mathcal{Q}$
+dccr=$\mathcal{R}$
+dccs=$\mathcal{S}$
+dcct=$\mathcal{T}$
+dccu=$\mathcal{U}$
+dccv=$\mathcal{V}$
+dccw=$\mathcal{W}$
+dccx=$\mathcal{X}$
+dccy=$\mathcal{Y}$
+dccz=$\mathcal{Z}$
+igru=\includegraphics{
+igr=\includegraphics{}
+btab=\begin{table}
+etab=\end{table}
+bfig=\begin{figure}
+efig=\end{figure}
+captu=\caption{
+capt=\caption{}
+vspu=\vspace{
+vsp=\vspace{}
+hspu=\hspace{
+hsp=\hspace{}
diff --git a/src/kile/complete/dictionary/metapost.cwl b/src/kile/complete/dictionary/metapost.cwl
index 933b942..79d882b 100644
--- a/src/kile/complete/dictionary/metapost.cwl
+++ b/src/kile/complete/dictionary/metapost.cwl
@@ -88,7 +88,7 @@ draw
draw_mark()
draw_marked()
drawarrow
-drawblarrow
+drawdblarrow
drawboxed()
drawboxes()
drawoptions()
diff --git a/src/kile/complete/tex/CMakeLists.txt b/src/kile/complete/tex/CMakeLists.txt
index 83c63a0..cf7bb7e 100644
--- a/src/kile/complete/tex/CMakeLists.txt
+++ b/src/kile/complete/tex/CMakeLists.txt
@@ -3,6 +3,7 @@
# get this cwl list with "for i in `ls *.cwl -1`; do echo "$i"; done"
SET(kile_texCompleteFiles
acronym.cwl
+ allrunes.cwl
amsopn.cwl
afterpage.cwl
amsbsy.cwl
@@ -12,11 +13,13 @@ SET(kile_texCompleteFiles
amsthm.cwl
array.cwl
attachfile.cwl
+ babel.cwl
beamerfoils.cwl
beamerprosper.cwl
beamerseminar.cwl
beamertexpower.cwl
booktabs.cwl
+ bm.cwl
braket.cwl
calc.cwl
class-beamer.cwl
@@ -40,8 +43,10 @@ SET(kile_texCompleteFiles
fancyunits-per.cwl
fancyunits_small-fractions.cwl
fancyvrb.cwl
+ float.cwl
fontspec.cwl
graphicx.cwl
+ glosstex.cwl
hyperref.cwl
ifthen.cwl
import.cwl
@@ -60,6 +65,7 @@ SET(kile_texCompleteFiles
mdwlist.cwl
multicol.cwl
multido.cwl
+ nicefrac.sty
pdfpages.cwl
psfrag.cwl
pst-3d.cwl
@@ -80,6 +86,8 @@ SET(kile_texCompleteFiles
scrpage2.cwl
scrtime.cwl
setspace.cwl
+ siunitx.cwl
+ siunitx-special.cwl
subfig.cwl
supertabular.cwl
svninfo.cwl
@@ -87,6 +95,7 @@ SET(kile_texCompleteFiles
tabularx.cwl
tex.cwl
textcomp.cwl
+ todonotes.cwl
url.cwl
varioref.cwl
verse.cwl
diff --git a/src/kile/complete/tex/Makefile.am b/src/kile/complete/tex/Makefile.am
index 97de7d4..a4b852e 100644
--- a/src/kile/complete/tex/Makefile.am
+++ b/src/kile/complete/tex/Makefile.am
@@ -2,6 +2,7 @@ texcompletedir = $(kde_datadir)/kile/complete/tex
texcomplete_DATA = \
acronym.cwl \
afterpage.cwl \
+ allrunes.cwl \
amsbsy.cwl \
amsfonts.cwl \
amsmath.cwl \
@@ -10,11 +11,13 @@ texcomplete_DATA = \
amsthm.cwl \
array.cwl \
attachfile.cwl \
+ babel.cwl \
beamerfoils.cwl \
beamerprosper.cwl \
beamerseminar.cwl \
beamertexpower.cwl \
booktabs.cwl \
+ bm.cwl \
braket.cwl \
calc.cwl \
class-beamer.cwl \
@@ -38,7 +41,9 @@ texcomplete_DATA = \
fancyunits-per.cwl \
fancyunits_small-fractions.cwl \
fancyvrb.cwl \
+ float.cwl \
fontspec.cwl \
+ glosstex.cwl \
graphicx.cwl \
hyperref.cwl \
ifthen.cwl \
@@ -58,6 +63,7 @@ texcomplete_DATA = \
mdwlist.cwl \
multicol.cwl \
multido.cwl \
+ nicefrac.cwl \
pdfpages.cwl \
psfrag.cwl \
pst-3d.cwl \
@@ -78,6 +84,8 @@ texcomplete_DATA = \
scrpage2.cwl \
scrtime.cwl \
setspace.cwl \
+ siunitx.cwl \
+ siunitx-special.cwl \
subfig.cwl \
supertabular.cwl \
svninfo.cwl \
@@ -85,6 +93,7 @@ texcomplete_DATA = \
tabularx.cwl \
tex.cwl \
textcomp.cwl \
+ todonotes.cwl \
url.cwl \
varioref.cwl \
verse.cwl \
diff --git a/src/kile/complete/tex/allrunes.cwl b/src/kile/complete/tex/allrunes.cwl
new file mode 100644
index 0000000..64ecdb5
--- /dev/null
+++ b/src/kile/complete/tex/allrunes.cwl
@@ -0,0 +1,43 @@
+# allrunes package, available from ctan
+# tbraun, 28.08.2008
+\textarc{text}
+\textara{text}
+\textarn{text}
+\textart{text}
+\textarl{text}
+\textarm{text}
+\arcfamily
+\arafamily
+\arnfamily
+\artfamily
+\arlfamily
+\armfamily
+
+# already included in standard latex
+# \textbf{text}
+# \bfseries
+# \textmd{text}
+# \mdseries
+\textlf{text}
+\lfseries
+
+\textwil{text}
+\textwol{text}
+\withlines
+\withoutlines
+
+\textst{text}
+\textcu{text}
+\textro{text}
+\straighttwigs
+\curvedtwigs
+\roundedtwigs
+
+\texthi{text}
+\textlo{text}
+\hightwigs
+\lowtwigs
+
+\hflip{rune}
+\vflip{rune}
+\turn{rune}
diff --git a/src/kile/complete/tex/babel.cwl b/src/kile/complete/tex/babel.cwl
new file mode 100644
index 0000000..7d77ac5
--- /dev/null
+++ b/src/kile/complete/tex/babel.cwl
@@ -0,0 +1,43 @@
+# babel.sty,
+# available from ctan
+# tbraun 4.11.2008
+
+\selectlanguage{language}
+\begin{otherlanguage}{language}
+\begin{otherlanguage*}{language}
+\end{otherlanguage}
+\foreignlanguage{language}{text}
+\begin{hypenrules}{option}
+\end{hyphenrules}
+\languagename
+\iflanguage{language}{if true}{if false}
+\useshorthands{character}
+\defineshorthand{characters}{action}
+\aliasshorthand{character}{shorthand}
+\languageshorthands{language}
+\shorthandon{characters}
+\shorthandoff{characters}
+\languageattribute{language}{list of attributes}
+
+# extracted from gernmanb.ldf
+\prefacename
+\refname
+\abstractname
+\bibname
+\chaptername
+\appendixname
+\contentsname
+\listfigurename
+\listtablename
+\indexname
+\figurename
+\tablename
+\partname
+\enclname
+\ccname
+\headtoname
+\pagename
+\seename
+\alsoname
+\proofname
+\glossaryname
diff --git a/src/kile/complete/tex/bm.cwl b/src/kile/complete/tex/bm.cwl
new file mode 100644
index 0000000..9e1e43a
--- /dev/null
+++ b/src/kile/complete/tex/bm.cwl
@@ -0,0 +1,14 @@
+# bm, ctan
+# tbraun 6/11/2008
+
+\bm{math expression}
+\hm{math expression}
+
+\boldsymbol{math expression}
+\heavysymbol{math expression}
+
+\DeclareBoldMathCommand[math version]{cmd}{math expression}
+\DeclareBoldMathCommand{cmd}{math expression}
+
+\bmmax{number}
+\hmmax{number}
diff --git a/src/kile/complete/tex/class-scrartcl,scrreprt,scrbook.cwl b/src/kile/complete/tex/class-scrartcl,scrreprt,scrbook.cwl
index aa74773..fe8cca6 100644
--- a/src/kile/complete/tex/class-scrartcl,scrreprt,scrbook.cwl
+++ b/src/kile/complete/tex/class-scrartcl,scrreprt,scrbook.cwl
@@ -122,3 +122,5 @@
\pdfoutput
\pdfpageheight
\pdfpagewidth
+# logo
+\KOMAScript{}
diff --git a/src/kile/complete/tex/float.cwl b/src/kile/complete/tex/float.cwl
new file mode 100644
index 0000000..e6e3702
--- /dev/null
+++ b/src/kile/complete/tex/float.cwl
@@ -0,0 +1,10 @@
+# float, ctan
+# tbraun 4.11.2008
+
+\newfloat{type}{placement}{ext}[within]
+\floatstyle{defaultstyle}
+\floatname{type}{name}
+\floatplacement{type}{default placement specifier}
+\restylefloat{figure or table
+\listof{type}{ title}
+
diff --git a/src/kile/complete/tex/glosstex.cwl b/src/kile/complete/tex/glosstex.cwl
new file mode 100644
index 0000000..cbe72d4
--- /dev/null
+++ b/src/kile/complete/tex/glosstex.cwl
@@ -0,0 +1,95 @@
+# glosstex, ctan
+# tbraun 4.11.2008
+
+\glosstex{label}
+\glosstex[pageref-mode]{label}
+\glosstex(list){label}
+\glosstex(list)[pageref-mode]{label}
+
+\glosstex*{label}
+\glosstex*[pageref-mode]{label}
+\glosstex*(list){label}
+\glosstex*(list)[pageref-mode]{label}
+
+\acronym{label}
+\acronym[pageref-mode]{label}
+\acronym(list){label}
+\acronym(list)[pageref-mode]{label}
+
+\acronym*{label}
+\acronym*[pageref-mode]{label}
+\acronym*(list){label}
+\acronym*(list)[pageref-mode]{label}
+
+\gls{label}
+\gls[pageref-mode]{label}
+\gls(list){label}
+\gls(list)[pageref-mode]{label}
+
+\gls*{label}
+\gls*[pageref-mode]{label}
+\gls*(list){label}
+\gls*(list)[pageref-mode]{label}
+
+\ac{label}
+\ac[pageref-mode]{label}
+\ac(list)[pageref-mode]{label}
+\ac<form>(list)[pageref-mode]{label}
+\ac[, lparen , rparen ,]<form>(list)[pageref-mode]{label}
+
+\ac*{label}
+\ac*[pageref-mode]{label}
+\ac*(list)[pageref-mode]{label}
+\ac*<form>(list)[pageref-mode]{label}
+\ac*[, lparen , rparen ,]<form>(list)[pageref-mode]{label}
+
+\acs{label}
+\acs[pageref-mode]{label}
+\acs(list)[pageref-mode]{label}
+\acs<form>(list)[pageref-mode]{label}
+\acs[, lparen , rparen ,]<form>(list)[pageref-mode]{label}
+
+\acs*{label}
+\acs*[pageref-mode]{label}
+\acs*(list)[pageref-mode]{label}
+\acs*<form>(list)[pageref-mode]{label}
+\acs*[, lparen , rparen ,]<form>(list)[pageref-mode]{label}
+
+\acl{label}
+\acl[pageref-mode]{label}
+\acl(list)[pageref-mode]{label}
+\acl<form>(list)[pageref-mode]{label}
+\acl[, lparen , rparen ,]<form>(list)[pageref-mode]{label}
+
+\acl*{label}
+\acl*[pageref-mode]{label}
+\acl*(list)[pageref-mode]{label}
+\acl*<form>(list)[pageref-mode]{label}
+\acl*[, lparen , rparen ,]<form>(list)[pageref-mode]{label}
+
+\acf{label}
+\acf[pageref-mode]{label}
+\acf(list)[pageref-mode]{label}
+\acf<form>(list)[pageref-mode]{label}
+\acf[, lparen , rparen ,]<form>(list)[pageref-mode]{label}
+
+\acf*{label}
+\acf*[pageref-mode]{label}
+\acf*(list)[pageref-mode]{label}
+\acf*<form>(list)[pageref-mode]{label}
+\acf*[, lparen , rparen ,]<form>(list)[pageref-mode]{label}
+
+\printglosstex(list)
+\printglosstex(list)[pageref-mode]
+
+\glxitemorderdefault{list}{item-order i/l/""}
+\glxitemplacementdefault{list}{item-order t/f/""}
+
+\glxparendefault{lparen}{rparen}
+\glxparenlistdefault{list}{lparen}{rparen}
+
+\glxref{item}
+\glxref*{item}
+
+\glxheading{glo, acr or own list}{definition}
+
diff --git a/src/kile/complete/tex/graphicx.cwl b/src/kile/complete/tex/graphicx.cwl
index 444b95c..2b1303f 100644
--- a/src/kile/complete/tex/graphicx.cwl
+++ b/src/kile/complete/tex/graphicx.cwl
@@ -19,6 +19,7 @@
\reflectbox{text}
\resizebox*{h-length}{v-length}{text}
\rotatebox[key val list]{angle}{text}
+\scalebox{h-scale}{text}
\scalebox{h-scale}[v-scale]{text}
\setkeys{Gin}{key val}
\textcolor{name}{text}
diff --git a/src/kile/complete/tex/latex-document.cwl b/src/kile/complete/tex/latex-document.cwl
index 7925940..223fff0 100644
--- a/src/kile/complete/tex/latex-document.cwl
+++ b/src/kile/complete/tex/latex-document.cwl
@@ -219,20 +219,20 @@
\marginpar{right}
\markboth{lefthead}{righthead}
\markright{righthead}
-\mathbb
-\mathbf
-\mathcal
-\mathds
+\mathbb{text}
+\mathbf{text}
+\mathcal{text}
+\mathds{text}
\mathellipsis
-\mathfrak
+\mathfrak{text}
\mathgroup
-\mathit
-\mathnormal
-\mathrm
+\mathit{text}
+\mathnormal{text}
+\mathrm{text}
\mathscr
-\mathsf
+\mathsf{text}
\mathsterling
-\mathtt
+\mathtt{text}
\mathunderscore
\mathversion
\mbox{text}
@@ -426,6 +426,7 @@
\renewenvironment{nam}[args][default]{begdef}{enddef}
\renewenvironment{nam}[args]{begdef}{enddef}
\renewenvironment{nam}{begdef}{enddef}
+\left
\left(
\left[
\left\lbrace
@@ -443,8 +444,9 @@
\left\Downarrow
\left\Updownarrow
\left.
-\right(
-\right[
+\right
+\right)
+\right]
\right\rbrace
\right|
\right\|
diff --git a/src/kile/complete/tex/nicefrac.cwl b/src/kile/complete/tex/nicefrac.cwl
new file mode 100644
index 0000000..2488450
--- /dev/null
+++ b/src/kile/complete/tex/nicefrac.cwl
@@ -0,0 +1,4 @@
+# nicefrac, ctan
+# tbraun 6.11.2008
+
+\nicefrac{nom}{denom} \ No newline at end of file
diff --git a/src/kile/complete/tex/siunitx-special.cwl b/src/kile/complete/tex/siunitx-special.cwl
new file mode 100644
index 0000000..296bde3
--- /dev/null
+++ b/src/kile/complete/tex/siunitx-special.cwl
@@ -0,0 +1,37 @@
+# siunitx package, special commands
+# get it from http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=siunitx
+# dsarpe 03.07.2008
+
+# Specialist units, not loaded by default, only with alsoload=<name>, here given in parentheses
+# Binary units (binary)
+\bit
+\byte
+# Synthetic chemistry (synchem)
+\mmHg
+\molar
+\Molar
+\torr
+\dalton
+# High-energy physics (hep)
+\clight
+\eVperc
+# Areas
+\yoctobarn
+\yb
+\zeptobarn
+\zb
+\attobarn
+\ab
+\femtobarn
+\fb
+\picobarn
+\pb
+\nanobarn
+\nb
+# Other units
+\micron
+\mrad
+\gauss
+# Astronomy (astro)
+\parsec
+\lightyear
diff --git a/src/kile/complete/tex/siunitx.cwl b/src/kile/complete/tex/siunitx.cwl
new file mode 100644
index 0000000..29920f5
--- /dev/null
+++ b/src/kile/complete/tex/siunitx.cwl
@@ -0,0 +1,287 @@
+# siunitx package
+# get it from http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=siunitx
+# dsarpe 03.07.2008
+
+# Numbers
+\num{number}
+\num[options]{number}
+
+# Angles
+\ang{angle}
+\ang[options]{angle}
+
+# Units and values
+\SI{value}{unit commands}
+\SI[options]{value}{unit commands}
+\SI{value}[pre-unit]{unit commands}
+\SI[options]{value}[pre-unit]{unit commands}
+
+# Powers of units
+\Square
+\ssquare
+\squared
+\cubic
+\cubed
+\per
+\tothe{power}
+\raiseto{power}
+
+# Units with no values
+\si{unit}
+\si[options]{unit}
+
+#
+# pre-defined units, prefixes and powers
+#
+# The seven base SI units
+\kilogram
+\metre
+\second
+\mole
+\kelvin
+\ampere
+\candela
+
+# The SI prefixes
+\yocto
+\zepto
+\atto
+\femto
+\pico
+\nano
+\micro
+\milli
+\centi
+\deci
+\deca
+\deka
+\hecto
+\kilo
+\mega
+\giga
+\tera
+\peta
+\exa
+\zetta
+\yotta
+
+# The derived SI units with defined names
+\becquerel
+\celsius
+\coulomb
+\farad
+\Gray
+\ggray
+\hertz
+\henry
+\joule
+\katal
+\lumen
+\lux
+\newton
+\ohm
+\pascal
+\radian
+\siemens
+\sievert
+\steradian
+\tesla
+\volt
+\watt
+\weber
+
+# Units derived from experiments
+\electronvolt
+\atomicmassunit
+\atomicmass
+
+# Units accepted for use with SI
+\bel
+\Day
+\dday
+\degree
+\hour
+\minute
+\arcmin
+\neper
+\percent
+\arcsec
+\tonne
+
+# Prefixed and abbreviated units
+# Masses
+\kilogram
+\kg
+\femtogram
+\fg
+\picogram
+\pg
+\nanogram
+\nanog
+\microgram
+\micg
+\milligram
+\mg
+\atomicmass
+\amu
+# Lengths
+\picometre
+\picom
+\nanometre
+\nm
+\micrometre
+\micm
+\millimetre
+\mm
+\centimetre
+\cm
+\decimetre
+\dm
+\kilometre
+\km
+# Times
+\second
+\Sec
+\attosecond
+\as
+\femtosecond
+\fs
+\picosecond
+\ps
+\nanosecond
+\ns
+\microsecond
+\mics
+\millisecond
+\ms
+# Moles
+\femtomole
+\fmol
+\picomole
+\pmol
+\nanomole
+\nmol
+\micromole
+\micmol
+\millimole
+\mmol
+# Currents
+\picoampere
+\pA
+\nanoampere
+\nA
+\microampere
+\micA
+\kiloampere
+\kA
+# Areas
+\squarecentimetre
+\centimetresquared
+\cms
+\squaremetre
+\squarekilometre
+# Volumes
+\microlitre
+\micl
+\millilitre
+\ml
+\cubiccentimetre
+\cmc
+\centimetrecubed
+\cubicdecimetre
+\dmc
+# Frequencies
+\hertz
+\Hz
+\millihertz
+\mHz
+\kilohertz
+\kHz
+\megahertz
+\MHz
+\gigahertz
+\GHz
+\terahertz
+\THz
+# potentials
+\millivolt
+\mV
+\kilovolt
+\kV
+# Energies
+\kilojoule
+\kJ
+\electronvolt
+\eV
+\millielectronvolt
+\meV
+\kiloelectronvolt
+\keV
+\megaelectronvolt
+\MeV
+\gigaelectronvolt
+\GeV
+\teraelectronvolt
+\TeV
+\kilowatthour
+\kWh
+# Powers
+\milliwatt
+\kilowatt
+\megawatt
+# Capacitances
+\femtofarad
+\picofarad
+\nanofarad
+\microfarad
+\millifarad
+# Resistances
+\kiloohm
+\megaohm
+\gigaohm
+\millisiemens
+# Forces
+\millinewton
+\kilonewton
+# Other units
+\hectopascal
+\megabecquerel
+\millisievert
+
+# Additional (temporary) SI units
+\angstrom
+\are
+\curie
+\BAR
+\bbar
+\barn
+\gal
+\hectare
+\millibar
+\rad
+\rem
+\roentgen
+
+# Defining new units
+\newunit{new unit command}{text}
+\newunit[options]{new unit command}{text}
+\renewunit{new unit command}{text}
+\renewunit[options]{new unit command}{text}
+\provideunit{new unit command}{text}
+\provideunit[options]{new unit command}{text}
+\newpower{power}{num}
+\newpower[post]{power}{num}
+\renewpower{power}{num}
+\renewpower[post]{power}{num}
+\providepower{power}{num}
+\providepower[post]{power}{num}
+\newprefix{prefix}{symbol}{powers-ten}
+\newprefix[binary]{prefix}{symbol}{powers-ten}
+\renewprefix{prefix}{symbol}{powers-ten}
+\renewprefix[binary]{prefix}{symbol}{powers-ten}
+\provideprefix{prefix}{symbol}{powers-ten}
+\provideprefix[binary]{prefix}{symbol}{powers-ten}
+
+# Package options inside document
+\sisetup
+
diff --git a/src/kile/complete/tex/subfig.cwl b/src/kile/complete/tex/subfig.cwl
index e7906ac..9b76f42 100644
--- a/src/kile/complete/tex/subfig.cwl
+++ b/src/kile/complete/tex/subfig.cwl
@@ -3,7 +3,7 @@
\captionsetup{kv-list}
\captionsetup[variable]{kv-list}
\ContinuedFloat
-\DeclareCaptionListOfFormat{keyowrd}{code}
+\DeclareCaptionListOfFormat{keyword}{code}
\listsubcaptions
\newsubfloat{floatname}
\newsubfloat[kv-list]{floatname}
diff --git a/src/kile/complete/tex/tex.cwl b/src/kile/complete/tex/tex.cwl
index 042c3a6..68d086f 100644
--- a/src/kile/complete/tex/tex.cwl
+++ b/src/kile/complete/tex/tex.cwl
@@ -72,6 +72,7 @@
\displaylines
\displaywidowpenalty
\displaywidth
+\displaystyle
\divide
\dotfill
\dots
@@ -132,6 +133,7 @@
\hfilneg
\hfuzz
\hoffset
+\hphantom
\hrule
\hrulefill
\hsize
diff --git a/src/kile/complete/tex/todonotes.cwl b/src/kile/complete/tex/todonotes.cwl
new file mode 100644
index 0000000..2ca0cad
--- /dev/null
+++ b/src/kile/complete/tex/todonotes.cwl
@@ -0,0 +1,9 @@
+# todonotes.sty
+# Salim 2008/11/09
+# http://midtiby.blogspot.com/
+
+\todo{text}
+\todo[options]{text}
+\listoftodos
+
+
diff --git a/src/kile/configtester.cpp b/src/kile/configtester.cpp
index a35bd0b..eff22e7 100644
--- a/src/kile/configtester.cpp
+++ b/src/kile/configtester.cpp
@@ -168,7 +168,7 @@ void Tester::runTests()
KILE_DEBUG() << "Tester::runTests: destdir = " << destdir << endl;
m_resultsFile = destdir + "results.rc";
- TQString shellname = TDEGlobal::dirs()->findExe("sh");
+ TQString shellname = TDEGlobal::dirs()->findExe("bash");
KILE_DEBUG() << "Tester::runTests: shellname = " << shellname << endl;
m_process = new KShellProcess(TQFile::encodeName( shellname ));
if (! KileConfig::teXPaths().isEmpty())
diff --git a/src/kile/internal-testing/bugs1.tex b/src/kile/internal-testing/bugs1.tex
new file mode 100644
index 0000000..a1ee9de
--- /dev/null
+++ b/src/kile/internal-testing/bugs1.tex
@@ -0,0 +1,24 @@
+% syntax highlightning bug, nested enviroments are not recognized
+\documentclass{article}
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{fancybox}
+\begin{document}
+ \newlength{\parboxlength}
+ \begin{align*}
+ \setlength{\fboxsep}{15pt}
+ \setlength{\parboxlength}{\linewidth}
+ \addtolength{\parboxlength}{-2\fboxsep}
+ \fbox{
+ \parbox{\parboxlength}{
+ \setlength{\abovedisplayskip}{0pt}
+ \setlength{\belowdisplayskip}{0pt}
+ \begin{align}
+ asdf
+ \end{align}
+ }}
+ \end{align*}
+
+ asdfasdfasdfasdfadfasdf
+
+\end{document}
diff --git a/src/kile/internal-testing/math-mode-selector.tex b/src/kile/internal-testing/math-mode-selector.tex
new file mode 100644
index 0000000..a712f74
--- /dev/null
+++ b/src/kile/internal-testing/math-mode-selector.tex
@@ -0,0 +1,72 @@
+% /***************************************************************************
+% begin: Aug 09 2006
+% edit: --
+% version: 0.01
+% copyright: (C) 2006 by Holger Danielsson and Thomas Braun
+% ***************************************************************************/
+%
+% /***************************************************************************
+% * *
+% * This program is free software; you can redistribute it and/or modify *
+% * it under the terms of the GNU General Public License as published by *
+% * the Free Software Foundation; either version 2 of the License, or *
+% * (at your option) any later version. *
+% * *
+% ***************************************************************************/
+
+\documentclass{article}
+
+\begin{document}
+234$ \sqrt{2}$ $a^2$
+
+abc
+
+$ \$ % \( % \[ $$$$
+\begin{array}{ccc}
+x^2 & y^2 & z^2
+\end{array}
+$
+
+\begin{equation}
+% \begin{equation} $
+ a^2 \\\\\$
+ \begin{array}{ccc}
+ \alpha & \beta & \gamma
+ \end{array}
+\end{equation}
+
+$\begin{array}{ccc}
+a^2 & b^2 & c^2
+\end{array}$
+
+\[
+ a^2
+\] \$ $ x^2$
+
+\(
+ b^2 % $ test $
+\)
+
+\begin{displaymath} % works
+ \alpha + \beta + \gamma = 180° % comment
+\begin{split}
+
+\end{split}
+
+\end{displaymath}
+
+\begin{math} % does not work yet
+ \alpha + \beta + \gamma = 180° % comment
+\end{math}
+
+\begin{eqnarray} % should not work
+ \alpha + \beta + \gamma = 180° % comment
+\end{eqnarray}
+
+\ensuremath{}
+
+\begin{mathtest} % has to be defined in configure-kile-commands to work
+ asdasdasd
+\end{mathtest}
+
+\end{document} \ No newline at end of file
diff --git a/src/kile/internal-testing/syntax-comment-updateStruct.tex b/src/kile/internal-testing/syntax-comment-updateStruct.tex
index 71110e2..295894d 100644
--- a/src/kile/internal-testing/syntax-comment-updateStruct.tex
+++ b/src/kile/internal-testing/syntax-comment-updateStruct.tex
@@ -146,7 +146,7 @@ test
\ensuremath{a^2 + b^2 = c^2}
\section{ERROR}
}
-\newcommand{\bloehhhhhhhh}[3][]{} % is also valid latex ...
+\newcommand{\bloehhhhhhhh}[3][]{\hallo} % is also valid latex ...
\providecommand{\bloehhhhhhhhh}{test} % not yet supported
diff --git a/src/kile/internal-testing/syntax-math2.tex b/src/kile/internal-testing/syntax-math2.tex
index 8e5240a..9d97ae1 100644
--- a/src/kile/internal-testing/syntax-math2.tex
+++ b/src/kile/internal-testing/syntax-math2.tex
@@ -51,3 +51,57 @@ $$50 \$abc\text{qwe}\alpha$$xyz \par
$50\%\mbox{abc\textbf{def}}$xyz \par
+\begin{align}
+ a &=b \\
+ c & b
+ \text{asd}
+\end{align}
+
+\begin{align*}
+ a &=b \\
+ c & b
+ \text{asd}
+\end{align*}
+
+\begin{alignat}{3}
+ a &= b \\
+ c & b
+ \text{asd}
+\end{alignat}
+
+\begin{alignat*}{3}
+ a &= b \\
+ c & b
+ \text{asd}
+\end{alignat*}
+
+\begin{alignat}{3}
+ a &= b \\
+ c & b
+ \text{asd}
+\end{alignat}
+
+\begin{xalignat}{3}
+ a &= b \\
+ c & b
+ \text{asd}
+\end{xalignat}
+
+\begin{xalignat*}{3}
+ a &= b \\
+ c & b
+ \text{asd}
+\end{xalignat*}
+
+\begin{xalignat}{3}
+ a &= b \\
+ c & b
+ \text{asd}
+\end{xalignat}
+
+\begin{xxalignat*}{3}
+ a &= b \\
+ c & b
+ \text{asd}
+\end{xxalignat*}
+
diff --git a/src/kile/kile.cpp b/src/kile/kile.cpp
index cfdae3a..e8fd0e0 100644
--- a/src/kile/kile.cpp
+++ b/src/kile/kile.cpp
@@ -498,9 +498,6 @@ void Kile::setupActions()
connect(docManager(), TQT_SIGNAL(addToRecentFiles(const KURL& )), m_actRecentFiles, TQT_SLOT(addURL(const KURL& )));
m_actRecentFiles->loadEntries(m_config, "Recent Files");
- (void) KStdAction::save(docManager(), TQT_SLOT(fileSave()), actionCollection(),"kile_file_save" );
- (void) KStdAction::saveAs(docManager(), TQT_SLOT(fileSaveAs()), actionCollection(),"kile_file_save_as" );
-
(void) new TDEAction(i18n("Save All"),"save_all", 0, docManager(), TQT_SLOT(fileSaveAll()), actionCollection(),"file_save_all");
(void) new TDEAction(i18n("Save Copy As..."),"save_copy_as", 0, docManager(), TQT_SLOT(fileSaveCopyAs()), actionCollection(),"file_save_copy_as");
(void) new TDEAction(i18n("Create Template From Document..."), 0, docManager(), TQT_SLOT(createTemplate()), actionCollection(),"template_create");
diff --git a/src/kile/kiledocmanager.cpp b/src/kile/kiledocmanager.cpp
index 0ff4b4f..41632ad 100644
--- a/src/kile/kiledocmanager.cpp
+++ b/src/kile/kiledocmanager.cpp
@@ -942,10 +942,26 @@ void Manager::fileSaveAs(Kate::View* view)
}
break;
}
- doc->setEncoding(result.encoding);
- if(!doc->saveAs(saveURL))
- {
- return;
+ if(doc->encoding().lower() != result.encoding.lower()) {
+ // save the document twice if the user has selected a different encoding;
+ // this works around a bug in KatePart in the 'setEncoding' method, which
+ // enforces a reload on every change of the encoding, and as a consequence the
+ // user sees a document-modified dialog
+ if(!doc->saveAs(saveURL))
+ {
+ return;
+ }
+ doc->setEncoding(result.encoding);
+ if(!doc->save())
+ {
+ return;
+ }
+ }
+ else {
+ if(!doc->saveAs(saveURL))
+ {
+ return;
+ }
}
if(oldURL != saveURL)
{
diff --git a/src/kile/kiledocumentinfo.cpp b/src/kile/kiledocumentinfo.cpp
index 1559828..0a362fe 100644
--- a/src/kile/kiledocumentinfo.cpp
+++ b/src/kile/kiledocumentinfo.cpp
@@ -480,7 +480,23 @@ const long* TextInfo::getStatistics()
/* [0] = #c in words, [1] = #c in latex commands and environments,
[2] = #c whitespace, [3] = #words, [4] = # latex_commands, [5] = latex_environments */
m_arStatistics[0]=m_arStatistics[1]=m_arStatistics[2]=m_arStatistics[3]=m_arStatistics[4]=m_arStatistics[5]=0;
+ TQString line;
+ if ( m_doc && m_doc->hasSelection() )
+ {
+ line = m_doc->selection();
+ KILE_DEBUG() << "getStat : line : " << line << endl;
+ count(line, m_arStatistics);
+ }
+ else if (m_doc)
+ {
+ for (uint l=0; l < m_doc->numLines(); ++l)
+ {
+ line = m_doc->textLine(l);
+ KILE_DEBUG() << "getStat : line : " << line << endl;
+ count(line, m_arStatistics);
+ }
+ }
return m_arStatistics;
}
@@ -692,29 +708,6 @@ LaTeXInfo::~LaTeXInfo()
{
}
-const long* LaTeXInfo::getStatistics()
-{
- /* [0] = #c in words, [1] = #c in latex commands and environments,
- [2] = #c whitespace, [3] = #words, [4] = # latex_commands, [5] = latex_environments */
- m_arStatistics[0]=m_arStatistics[1]=m_arStatistics[2]=m_arStatistics[3]=m_arStatistics[4]=m_arStatistics[5]=0;
- TQString line;
-
- if ( m_doc && m_doc->hasSelection() )
- {
- line = m_doc->selection();
- KILE_DEBUG() << "getStat : line : " << line << endl;
- count(line, m_arStatistics);
- }
- else if (m_doc)
- for (uint l=0; l < m_doc->numLines(); ++l)
- {
- line = m_doc->textLine(l);
- KILE_DEBUG() << "getStat : line : " << line << endl;
- count(line, m_arStatistics);
- }
- return m_arStatistics;
-}
-
Type LaTeXInfo::getType()
{
return LaTeX;
diff --git a/src/kile/kiledocumentinfo.h b/src/kile/kiledocumentinfo.h
index fa1376d..1c80676 100644
--- a/src/kile/kiledocumentinfo.h
+++ b/src/kile/kiledocumentinfo.h
@@ -323,8 +323,6 @@ public:
LaTeXInfo(Kate::Document *doc, Extensions *extensions, LatexCommands *commands, const TQObject* eventFilter);
virtual ~LaTeXInfo();
- const long* getStatistics();
-
virtual Type getType();
virtual TQString getFileFilter() const;
diff --git a/src/kile/kileedit.cpp b/src/kile/kileedit.cpp
index e470acb..71fa185 100644
--- a/src/kile/kileedit.cpp
+++ b/src/kile/kileedit.cpp
@@ -935,8 +935,17 @@ void EditorExtension::insertIntelligentNewline(Kate::View *view)
{
if ( m_latexCommands->isListEnv(name) )
{
+
view->keyReturn();
- view->insertText("\\item " );
+
+ if ( name == "description" )
+ {
+ view->insertText("\\item[]");
+ view->cursorLeft();
+ }
+ else
+ view->insertText("\\item ");
+
return;
}
else if ( m_latexCommands->isTabularEnv(name) || m_latexCommands->isMathEnv(name) )
@@ -2331,14 +2340,15 @@ bool EditorExtension::insertDoubleQuotes()
Kate::View *view = determineView(0L);
if ( !view ) return true;
- uint row,col;
- view->cursorPositionReal(&row,&col);
Kate::Document *doc = view->getDoc();
if( doc && m_ki->extensions()->isTexFile(doc->url()) )
doc->removeSelectedText();
else
return false;
+
+ uint row,col;
+ view->cursorPositionReal(&row,&col);
// simply insert, if we are inside a verb command
if ( insideVerb(view) || insideVerbatim(view) )
diff --git a/src/kile/kilegrepdialog.cpp b/src/kile/kilegrepdialog.cpp
index b70d675..6ee58e1 100644
--- a/src/kile/kilegrepdialog.cpp
+++ b/src/kile/kilegrepdialog.cpp
@@ -631,11 +631,8 @@ TQString KileGrepDialog::buildFilesCommand()
files_temp = filter_list[filter_combo->currentItem()];
else
files_temp = filter_combo->currentText();
-
- if (files_temp.right(1) != ",")
- files_temp = files_temp + ',';
-
- TQStringList tokens = TQStringList::split ( ",", files_temp, false );
+
+ TQStringList tokens = TQStringList::split ( " ", files_temp, false );
TQStringList::Iterator it = tokens.begin();
if (it != tokens.end())
{
diff --git a/src/kile/kilelogwidget.cpp b/src/kile/kilelogwidget.cpp
index 666f7bd..b9e2e81 100644
--- a/src/kile/kilelogwidget.cpp
+++ b/src/kile/kilelogwidget.cpp
@@ -18,6 +18,7 @@
#include <tqregexp.h>
#include <tqfileinfo.h>
#include <tqpopupmenu.h>
+#include <tqstylesheet.h>
#include "kiledebug.h"
#include <kurl.h>
@@ -136,7 +137,7 @@ namespace KileWidget
if ( type == KileTool::Error ) emit showingErrorMessage(this);
TQString ot = "", ct = "</font>";
-
+ TQString myMsg = TQStyleSheet::escape(message);
switch (type)
{
case KileTool::Warning :
@@ -157,9 +158,9 @@ namespace KileWidget
}
if (tool.isNull())
- append(ot + message + ct);
+ append(ot + myMsg + ct);
else
- append(ot + "<b>[" + tool + "]</b> " + message + ct );
+ append(ot + "<b>[" + tool + "]</b> " + myMsg + ct );
scrollToBottom();
}
diff --git a/src/kile/kileproject.cpp b/src/kile/kileproject.cpp
index 50fee0d..2abf76b 100644
--- a/src/kile/kileproject.cpp
+++ b/src/kile/kileproject.cpp
@@ -487,6 +487,7 @@ bool KileProject::save()
m_config->writeEntry("options", makeIndexOptions() );
}
+ KILE_DEBUG() << "Check if the config file is writeable: " << m_config->checkConfigFilesWritable(false) << endl;
m_config->sync();
// dump();
diff --git a/src/kile/kilestructurewidget.cpp b/src/kile/kilestructurewidget.cpp
index 17df8a3..929c74d 100644
--- a/src/kile/kilestructurewidget.cpp
+++ b/src/kile/kilestructurewidget.cpp
@@ -697,27 +697,28 @@ namespace KileWidget
else
emit(fileOpen(url, TQString()));
}
- else if( item->type() == KileStruct::Bibliography ){
- fname = m_ki->checkOtherPaths(fi.dirPath(),fi.fileName(),KileInfo::bibinputs);
- fi.setFile(fname);
- url.setPath(fname);
- if(fi.isReadable()){
- emit(fileOpen(url, TQString()));
+ else{
+ TQString otherFilename;
+
+ if( item->type() == KileStruct::Bibliography ){
+ otherFilename = m_ki->checkOtherPaths(fi.dirPath(),fi.fileName(),KileInfo::bibinputs);
}
- }
- else if( item->type() == KileStruct::Input ){
- fname = m_ki->checkOtherPaths(fi.dirPath(),fi.fileName(),KileInfo::texinputs);
- fi.setFile(fname);
- url.setPath(fname);
+ else if( item->type() == KileStruct::Input ){
+ otherFilename = m_ki->checkOtherPaths(fi.dirPath(),fi.fileName(),KileInfo::texinputs);
+ }
+
+ fi.setFile(otherFilename);
+
if(fi.isReadable()){
+ url.setPath(otherFilename);
emit(fileOpen(url, TQString()));
}
- }
- else{
- if ( KMessageBox::warningYesNo(this, i18n("Cannot find the included file. The file does not exist, is not readable or Kile is unable to determine the correct path to it. The filename causing this error was: %1.\nDo you want to create this file?").arg(fname), i18n("Cannot Find File"))
- == KMessageBox::Yes)
- {
- emit(fileNew(url));
+ else{
+ if ( KMessageBox::warningYesNo(this, i18n("Cannot find the included file. The file does not exist, is not readable or Kile is unable to determine the correct path to it. The filename causing this error was: %1.\nDo you want to create this file?").arg(fname), i18n("Cannot Find File"))
+ == KMessageBox::Yes) {
+ url.setPath(fname);
+ emit(fileNew(url));
+ }
}
}
}
diff --git a/src/kile/kiletool.h b/src/kile/kiletool.h
index cfd24a7..6762a18 100644
--- a/src/kile/kiletool.h
+++ b/src/kile/kiletool.h
@@ -133,11 +133,22 @@ namespace KileTool
/**
* @returns the dictionary that translates the following keys
- * %dir_base : the directory of the root file
- * %dir_target : same as %dir_base, except when the relativeDir has been set explicitly, then %dir_target= %dir_base/relativedir
- * %source : the source file (no path)
- * %S : the source filename without an extension (no path)
- **/
+ Example docu:
+ Consider a file which is called myBestBook.tex which resides in /home/thomas/latex and you compile it with pdflatex to myBestBook.pdf.
+
+ The variables have the following meanings:
+ %source -> filename with suffix but without path <-> myBestBook.tex
+ %S -> filename without suffix but without path <-> myBestBook
+ %dir_base -> path of the source file without filename <-> /home/thomas/latex
+ %dir_target -> path of the target file without filename, same as %dir_base if no relative path has been set <-> /home/thomas/latex
+ %target -> target filename without path <-> without filename
+
+ And these are special variables
+ %res <-> resolution of the quickpreview action set in configure kile->tools->preview
+
+ %AFL <-> List of all files in a project marked for archiving. You can set the archive flag in the "Files and projects" sidebar using the context menu.
+
+ */
TQDict<TQString>* paramDict() { return &m_dictParams; }
bool addDict(const TQString & key, const TQString & value);
diff --git a/src/kile/kileversion.h b/src/kile/kileversion.h
index e46101b..1bd2629 100644
--- a/src/kile/kileversion.h
+++ b/src/kile/kileversion.h
@@ -20,7 +20,7 @@
#include <tqstring.h>
const TQString kileVersion="2.0";
-const TQString kileFullVersion="2.0.1";
+const TQString kileFullVersion="2.0.3";
const TQString kilePrVersion="2";
/**
diff --git a/src/kile/latexoutputfilter.cpp b/src/kile/latexoutputfilter.cpp
index 5ed211d..175faea 100644
--- a/src/kile/latexoutputfilter.cpp
+++ b/src/kile/latexoutputfilter.cpp
@@ -191,21 +191,21 @@ void LatexOutputFilter::updateFileStackHeuristic(const TQString &strLine, short
// 2) We're at the end of the line, the filename is probably continued on the next line.
// 3) The TeX was closed already, signalled by the ')'.
- if(expectFileName && (i+1 >= strLine.length() || strLine[i+1].isSpace() || strLine[i+1] == ')')) {
+ if(expectFileName && (i+1 == strLine.length() || strLine[i+1].isSpace() || strLine[i+1] == ')')) {
//update the partial filename
strPartialFileName = strPartialFileName + strLine.mid(index, i-index + 1);
//FIXME: improve these heuristics
- if (i+1 < strLine.length() && (strLine[i+1].isSpace() || ( (i < 78) && (i+1 == strLine.length())) ||
+ if (strLine[i+1].isSpace() || ( (i < 78) && (i+1 == strLine.length())) ||
strLine[i+1] == ')' ||
- fileExists(strPartialFileName))) {
+ fileExists(strPartialFileName)) {
m_stackFile.push(LOFStackItem(strPartialFileName));
// KILE_DEBUG() << "\tpushed (i = " << i << " length = " << strLine.length() << "): " << strPartialFileName << endl;
expectFileName = false;
dwCookie = Start;
}
//Guess the filename is continued on the next line.
- else if(i+1 >= strLine.length()) {
+ else if(i+1 == strLine.length()) {
// KILE_DEBUG() << "\tFilename spans more than one line." << endl;
dwCookie = FileNameHeuristic;
}
@@ -284,7 +284,7 @@ bool LatexOutputFilter::detectError(const TQString & strLine, short &dwCookie)
static TQRegExp reLaTeXError("^! LaTeX Error: (.*)$", false);
static TQRegExp rePDFLaTeXError("^Error: pdflatex (.*)$", false);
- static TQRegExp reTeXError("^! (.*)");
+ static TQRegExp reTeXError("^! (.*)\\.$");
static TQRegExp reLineNumber("^l\\.([0-9]+)(.*)");
switch (dwCookie)
@@ -370,7 +370,7 @@ bool LatexOutputFilter::detectWarning(const TQString & strLine, short &dwCookie)
bool found = false, flush = false;
TQString warning;
- static TQRegExp reLaTeXWarning("^(((! )?(La|pdf)TeX)|Package) .*Warning.*:(.*)", false);
+ static TQRegExp reLaTeXWarning("^(((! )?(La|pdf)TeX)|Package|Class) .*Warning.*:(.*)", false);
static TQRegExp reNoFile("No file (.*)");
static TQRegExp reNoAsyFile("File .* does not exist."); // FIXME can be removed when http://sourceforge.net/tracker/index.php?func=detail&aid=1772022&group_id=120000&atid=685683 has promoted to the users
diff --git a/src/kile/symbols/special.tex b/src/kile/symbols/special.tex
index 1d01374..98bff49 100644
--- a/src/kile/symbols/special.tex
+++ b/src/kile/symbols/special.tex
@@ -46,11 +46,11 @@
\command{\u{c}}
\command{\c{c}} \par
\command{\v{D}}
-\pkgs[T1]{fontenc} \command{\DJ}
-\pkgs[T1]{fontenc} \command{\DH}
+\pkgs[T1]{fontenc} \command{\DJ{}}
+\pkgs[T1]{fontenc} \command{\DH{}}
\command{\v{d}}
-\pkgs[T1]{fontenc} \command{\dj}
-\pkgs[T1]{fontenc} \command{\dh} \par
+\pkgs[T1]{fontenc} \command{\dj{}}
+\pkgs[T1]{fontenc} \command{\dh{}} \par
\command{\"{E}}
\command{\H{E}}
\command{\.{E}}
@@ -97,24 +97,24 @@
\command{\'{L}}
\command{\u{L}}
\command{\v{L}}
-\command{\L}
+\command{\L{}}
\command{\c{l}}
\command{\'{l}}
\command{\u{l}}
\command{\v{l}}
-\command{\l} \par
+\command{\l{}} \par
\command{\c{N}}
\command{\'{N}}
\command{\~{N}}
\command{\v{N}}
\command{\u{N}}
-\pkgs[T1]{fontenc} \command{\NG}
+\pkgs[T1]{fontenc} \command{\NG{}}
\command{\c{n}}
\command{\'{n}}
\command{\~{n}}
\command{\v{n}}
\command{\u{n}}
-\pkgs[T1]{fontenc} \command{\ng} \par
+\pkgs[T1]{fontenc} \command{\ng{}} \par
\command{\"{O}}
\command{\H{O}}
\command{\'{O}}
@@ -125,7 +125,7 @@
\command{\u{O}}
\command{\={O}}
\command{\O{}}
-\command{\OE}
+\command{\OE{}}
\pkgs[T1]{fontenc} \command{\k{O}}
\command{\"{o}}
\command{\H{o}}
@@ -137,10 +137,10 @@
\command{\u{o}}
\command{\={o}}
\command{\o{}}
-\command{\oe}
+\command{\oe{}}
\pkgs[T1]{fontenc} \command{\k{o}} \par
-\pkgs[T1]{fontenc} \command{\TH}
-\pkgs[T1]{fontenc} \command{\th} \par
+\pkgs[T1]{fontenc} \command{\TH{}}
+\pkgs[T1]{fontenc} \command{\th{}} \par
\command{\c{R}}
\command{\'{R}}
\command{\v{R}}
@@ -155,7 +155,8 @@
\pkgs[latin10]{inputenc} \command{\textcommabelow{s}}
\command{\'{s}}
\command{\v{s}}
-\command{\ss} \par
+\command{\ss{}}
+\command{\SS{}} \par
\command{\c{T}}
\pkgs[latin10]{inputenc} \command{\textcommabelow{T}}
\command{\v{T}}
diff --git a/src/kile/symbols/special/CMakeLists.txt b/src/kile/symbols/special/CMakeLists.txt
index fd33f03..79c6550 100644
--- a/src/kile/symbols/special/CMakeLists.txt
+++ b/src/kile/symbols/special/CMakeLists.txt
@@ -179,6 +179,7 @@ SET( symbols
img175special.png
img176special.png
img177special.png
+ img178special.png
)
INSTALL( FILES ${symbols} DESTINATION share/apps/kile/mathsymbols/special )
diff --git a/src/kile/symbols/special/Makefile.am b/src/kile/symbols/special/Makefile.am
index 3bef83f..22cab60 100644
--- a/src/kile/symbols/special/Makefile.am
+++ b/src/kile/symbols/special/Makefile.am
@@ -176,4 +176,5 @@ pics_DATA = img001special.png \
img174special.png \
img175special.png \
img176special.png \
- img177special.png
+ img177special.png \
+ img178special.png
diff --git a/src/kile/symbols/special/img001special.png b/src/kile/symbols/special/img001special.png
index fbd91f5..03528ec 100644
--- a/src/kile/symbols/special/img001special.png
+++ b/src/kile/symbols/special/img001special.png
Binary files differ
diff --git a/src/kile/symbols/special/img002special.png b/src/kile/symbols/special/img002special.png
index 10dcb0d..8001aa7 100644
--- a/src/kile/symbols/special/img002special.png
+++ b/src/kile/symbols/special/img002special.png
Binary files differ
diff --git a/src/kile/symbols/special/img003special.png b/src/kile/symbols/special/img003special.png
index b9c6b8c..bde34f3 100644
--- a/src/kile/symbols/special/img003special.png
+++ b/src/kile/symbols/special/img003special.png
Binary files differ
diff --git a/src/kile/symbols/special/img004special.png b/src/kile/symbols/special/img004special.png
index a8e8dee..0696f95 100644
--- a/src/kile/symbols/special/img004special.png
+++ b/src/kile/symbols/special/img004special.png
Binary files differ
diff --git a/src/kile/symbols/special/img005special.png b/src/kile/symbols/special/img005special.png
index 15b8888..783f87e 100644
--- a/src/kile/symbols/special/img005special.png
+++ b/src/kile/symbols/special/img005special.png
Binary files differ
diff --git a/src/kile/symbols/special/img006special.png b/src/kile/symbols/special/img006special.png
index 56f2583..0df6656 100644
--- a/src/kile/symbols/special/img006special.png
+++ b/src/kile/symbols/special/img006special.png
Binary files differ
diff --git a/src/kile/symbols/special/img007special.png b/src/kile/symbols/special/img007special.png
index 61b7ac3..3670a1b 100644
--- a/src/kile/symbols/special/img007special.png
+++ b/src/kile/symbols/special/img007special.png
Binary files differ
diff --git a/src/kile/symbols/special/img008special.png b/src/kile/symbols/special/img008special.png
index 9addf49..1ce375e 100644
--- a/src/kile/symbols/special/img008special.png
+++ b/src/kile/symbols/special/img008special.png
Binary files differ
diff --git a/src/kile/symbols/special/img009special.png b/src/kile/symbols/special/img009special.png
index bd250cd..f84b367 100644
--- a/src/kile/symbols/special/img009special.png
+++ b/src/kile/symbols/special/img009special.png
Binary files differ
diff --git a/src/kile/symbols/special/img010special.png b/src/kile/symbols/special/img010special.png
index bc97793..f2789b4 100644
--- a/src/kile/symbols/special/img010special.png
+++ b/src/kile/symbols/special/img010special.png
Binary files differ
diff --git a/src/kile/symbols/special/img011special.png b/src/kile/symbols/special/img011special.png
index cabaa1b..7ebcb68 100644
--- a/src/kile/symbols/special/img011special.png
+++ b/src/kile/symbols/special/img011special.png
Binary files differ
diff --git a/src/kile/symbols/special/img012special.png b/src/kile/symbols/special/img012special.png
index 30f7860..d669b42 100644
--- a/src/kile/symbols/special/img012special.png
+++ b/src/kile/symbols/special/img012special.png
Binary files differ
diff --git a/src/kile/symbols/special/img013special.png b/src/kile/symbols/special/img013special.png
index 82da582..3cf16a3 100644
--- a/src/kile/symbols/special/img013special.png
+++ b/src/kile/symbols/special/img013special.png
Binary files differ
diff --git a/src/kile/symbols/special/img014special.png b/src/kile/symbols/special/img014special.png
index 289435b..2c0ed56 100644
--- a/src/kile/symbols/special/img014special.png
+++ b/src/kile/symbols/special/img014special.png
Binary files differ
diff --git a/src/kile/symbols/special/img015special.png b/src/kile/symbols/special/img015special.png
index 6febfd1..ddd9594 100644
--- a/src/kile/symbols/special/img015special.png
+++ b/src/kile/symbols/special/img015special.png
Binary files differ
diff --git a/src/kile/symbols/special/img016special.png b/src/kile/symbols/special/img016special.png
index 4f9e352..828191e 100644
--- a/src/kile/symbols/special/img016special.png
+++ b/src/kile/symbols/special/img016special.png
Binary files differ
diff --git a/src/kile/symbols/special/img017special.png b/src/kile/symbols/special/img017special.png
index 846cfc2..f12c2b1 100644
--- a/src/kile/symbols/special/img017special.png
+++ b/src/kile/symbols/special/img017special.png
Binary files differ
diff --git a/src/kile/symbols/special/img018special.png b/src/kile/symbols/special/img018special.png
index 98a6e4a..c079d0e 100644
--- a/src/kile/symbols/special/img018special.png
+++ b/src/kile/symbols/special/img018special.png
Binary files differ
diff --git a/src/kile/symbols/special/img019special.png b/src/kile/symbols/special/img019special.png
index b2969eb..90c6033 100644
--- a/src/kile/symbols/special/img019special.png
+++ b/src/kile/symbols/special/img019special.png
Binary files differ
diff --git a/src/kile/symbols/special/img020special.png b/src/kile/symbols/special/img020special.png
index dd1ffef..7f0c071 100644
--- a/src/kile/symbols/special/img020special.png
+++ b/src/kile/symbols/special/img020special.png
Binary files differ
diff --git a/src/kile/symbols/special/img021special.png b/src/kile/symbols/special/img021special.png
index 3cf9237..b050288 100644
--- a/src/kile/symbols/special/img021special.png
+++ b/src/kile/symbols/special/img021special.png
Binary files differ
diff --git a/src/kile/symbols/special/img022special.png b/src/kile/symbols/special/img022special.png
index fe6e334..e1f84b1 100644
--- a/src/kile/symbols/special/img022special.png
+++ b/src/kile/symbols/special/img022special.png
Binary files differ
diff --git a/src/kile/symbols/special/img023special.png b/src/kile/symbols/special/img023special.png
index c51a09a..1dec206 100644
--- a/src/kile/symbols/special/img023special.png
+++ b/src/kile/symbols/special/img023special.png
Binary files differ
diff --git a/src/kile/symbols/special/img024special.png b/src/kile/symbols/special/img024special.png
index 6478e1d..8ad5910 100644
--- a/src/kile/symbols/special/img024special.png
+++ b/src/kile/symbols/special/img024special.png
Binary files differ
diff --git a/src/kile/symbols/special/img025special.png b/src/kile/symbols/special/img025special.png
index 2856225..d7ed5b8 100644
--- a/src/kile/symbols/special/img025special.png
+++ b/src/kile/symbols/special/img025special.png
Binary files differ
diff --git a/src/kile/symbols/special/img026special.png b/src/kile/symbols/special/img026special.png
index d0438a4..f45ba43 100644
--- a/src/kile/symbols/special/img026special.png
+++ b/src/kile/symbols/special/img026special.png
Binary files differ
diff --git a/src/kile/symbols/special/img027special.png b/src/kile/symbols/special/img027special.png
index e768858..e2a4b11 100644
--- a/src/kile/symbols/special/img027special.png
+++ b/src/kile/symbols/special/img027special.png
Binary files differ
diff --git a/src/kile/symbols/special/img028special.png b/src/kile/symbols/special/img028special.png
index 915dca0..09f544d 100644
--- a/src/kile/symbols/special/img028special.png
+++ b/src/kile/symbols/special/img028special.png
Binary files differ
diff --git a/src/kile/symbols/special/img029special.png b/src/kile/symbols/special/img029special.png
index 4b03612..71a59bf 100644
--- a/src/kile/symbols/special/img029special.png
+++ b/src/kile/symbols/special/img029special.png
Binary files differ
diff --git a/src/kile/symbols/special/img030special.png b/src/kile/symbols/special/img030special.png
index ffd28fb..7636646 100644
--- a/src/kile/symbols/special/img030special.png
+++ b/src/kile/symbols/special/img030special.png
Binary files differ
diff --git a/src/kile/symbols/special/img031special.png b/src/kile/symbols/special/img031special.png
index be56ad4..53c3ba5 100644
--- a/src/kile/symbols/special/img031special.png
+++ b/src/kile/symbols/special/img031special.png
Binary files differ
diff --git a/src/kile/symbols/special/img032special.png b/src/kile/symbols/special/img032special.png
index 509398a..682ede0 100644
--- a/src/kile/symbols/special/img032special.png
+++ b/src/kile/symbols/special/img032special.png
Binary files differ
diff --git a/src/kile/symbols/special/img033special.png b/src/kile/symbols/special/img033special.png
index d67bda0..22fd20e 100644
--- a/src/kile/symbols/special/img033special.png
+++ b/src/kile/symbols/special/img033special.png
Binary files differ
diff --git a/src/kile/symbols/special/img034special.png b/src/kile/symbols/special/img034special.png
index a1738a5..1f6fa90 100644
--- a/src/kile/symbols/special/img034special.png
+++ b/src/kile/symbols/special/img034special.png
Binary files differ
diff --git a/src/kile/symbols/special/img035special.png b/src/kile/symbols/special/img035special.png
index b3e144f..9de4b09 100644
--- a/src/kile/symbols/special/img035special.png
+++ b/src/kile/symbols/special/img035special.png
Binary files differ
diff --git a/src/kile/symbols/special/img036special.png b/src/kile/symbols/special/img036special.png
index 7fca9f4..0376243 100644
--- a/src/kile/symbols/special/img036special.png
+++ b/src/kile/symbols/special/img036special.png
Binary files differ
diff --git a/src/kile/symbols/special/img037special.png b/src/kile/symbols/special/img037special.png
index 935e7d4..54b394a 100644
--- a/src/kile/symbols/special/img037special.png
+++ b/src/kile/symbols/special/img037special.png
Binary files differ
diff --git a/src/kile/symbols/special/img038special.png b/src/kile/symbols/special/img038special.png
index eee3ae4..c31ef22 100644
--- a/src/kile/symbols/special/img038special.png
+++ b/src/kile/symbols/special/img038special.png
Binary files differ
diff --git a/src/kile/symbols/special/img039special.png b/src/kile/symbols/special/img039special.png
index 306ae26..cf553af 100644
--- a/src/kile/symbols/special/img039special.png
+++ b/src/kile/symbols/special/img039special.png
Binary files differ
diff --git a/src/kile/symbols/special/img040special.png b/src/kile/symbols/special/img040special.png
index b84005c..c3d05e0 100644
--- a/src/kile/symbols/special/img040special.png
+++ b/src/kile/symbols/special/img040special.png
Binary files differ
diff --git a/src/kile/symbols/special/img041special.png b/src/kile/symbols/special/img041special.png
index 6ed355f..21390b7 100644
--- a/src/kile/symbols/special/img041special.png
+++ b/src/kile/symbols/special/img041special.png
Binary files differ
diff --git a/src/kile/symbols/special/img042special.png b/src/kile/symbols/special/img042special.png
index 05c88da..a854a7b 100644
--- a/src/kile/symbols/special/img042special.png
+++ b/src/kile/symbols/special/img042special.png
Binary files differ
diff --git a/src/kile/symbols/special/img043special.png b/src/kile/symbols/special/img043special.png
index c61f0a2..fcf62ff 100644
--- a/src/kile/symbols/special/img043special.png
+++ b/src/kile/symbols/special/img043special.png
Binary files differ
diff --git a/src/kile/symbols/special/img044special.png b/src/kile/symbols/special/img044special.png
index 3c38edd..66b498b 100644
--- a/src/kile/symbols/special/img044special.png
+++ b/src/kile/symbols/special/img044special.png
Binary files differ
diff --git a/src/kile/symbols/special/img045special.png b/src/kile/symbols/special/img045special.png
index 583c964..5ed5b85 100644
--- a/src/kile/symbols/special/img045special.png
+++ b/src/kile/symbols/special/img045special.png
Binary files differ
diff --git a/src/kile/symbols/special/img046special.png b/src/kile/symbols/special/img046special.png
index 8f3a389..3cabc8c 100644
--- a/src/kile/symbols/special/img046special.png
+++ b/src/kile/symbols/special/img046special.png
Binary files differ
diff --git a/src/kile/symbols/special/img047special.png b/src/kile/symbols/special/img047special.png
index a19abee..cd1f159 100644
--- a/src/kile/symbols/special/img047special.png
+++ b/src/kile/symbols/special/img047special.png
Binary files differ
diff --git a/src/kile/symbols/special/img048special.png b/src/kile/symbols/special/img048special.png
index 37d0886..07d3647 100644
--- a/src/kile/symbols/special/img048special.png
+++ b/src/kile/symbols/special/img048special.png
Binary files differ
diff --git a/src/kile/symbols/special/img049special.png b/src/kile/symbols/special/img049special.png
index b6a9e01..617f96f 100644
--- a/src/kile/symbols/special/img049special.png
+++ b/src/kile/symbols/special/img049special.png
Binary files differ
diff --git a/src/kile/symbols/special/img050special.png b/src/kile/symbols/special/img050special.png
index a36fbb9..81451f5 100644
--- a/src/kile/symbols/special/img050special.png
+++ b/src/kile/symbols/special/img050special.png
Binary files differ
diff --git a/src/kile/symbols/special/img051special.png b/src/kile/symbols/special/img051special.png
index 134faa9..87d27b3 100644
--- a/src/kile/symbols/special/img051special.png
+++ b/src/kile/symbols/special/img051special.png
Binary files differ
diff --git a/src/kile/symbols/special/img052special.png b/src/kile/symbols/special/img052special.png
index f49f46b..03b0824 100644
--- a/src/kile/symbols/special/img052special.png
+++ b/src/kile/symbols/special/img052special.png
Binary files differ
diff --git a/src/kile/symbols/special/img053special.png b/src/kile/symbols/special/img053special.png
index 6bf8fd1..cfd8e3e 100644
--- a/src/kile/symbols/special/img053special.png
+++ b/src/kile/symbols/special/img053special.png
Binary files differ
diff --git a/src/kile/symbols/special/img054special.png b/src/kile/symbols/special/img054special.png
index 3c54f2d..53c8637 100644
--- a/src/kile/symbols/special/img054special.png
+++ b/src/kile/symbols/special/img054special.png
Binary files differ
diff --git a/src/kile/symbols/special/img055special.png b/src/kile/symbols/special/img055special.png
index f38d4ed..6e5b08c 100644
--- a/src/kile/symbols/special/img055special.png
+++ b/src/kile/symbols/special/img055special.png
Binary files differ
diff --git a/src/kile/symbols/special/img056special.png b/src/kile/symbols/special/img056special.png
index de955c2..1255749 100644
--- a/src/kile/symbols/special/img056special.png
+++ b/src/kile/symbols/special/img056special.png
Binary files differ
diff --git a/src/kile/symbols/special/img057special.png b/src/kile/symbols/special/img057special.png
index 469924c..d3e12e8 100644
--- a/src/kile/symbols/special/img057special.png
+++ b/src/kile/symbols/special/img057special.png
Binary files differ
diff --git a/src/kile/symbols/special/img058special.png b/src/kile/symbols/special/img058special.png
index 25c23da..6ab8340 100644
--- a/src/kile/symbols/special/img058special.png
+++ b/src/kile/symbols/special/img058special.png
Binary files differ
diff --git a/src/kile/symbols/special/img059special.png b/src/kile/symbols/special/img059special.png
index 6f23f2b..3a020d4 100644
--- a/src/kile/symbols/special/img059special.png
+++ b/src/kile/symbols/special/img059special.png
Binary files differ
diff --git a/src/kile/symbols/special/img060special.png b/src/kile/symbols/special/img060special.png
index 1040c31..adc4d2e 100644
--- a/src/kile/symbols/special/img060special.png
+++ b/src/kile/symbols/special/img060special.png
Binary files differ
diff --git a/src/kile/symbols/special/img061special.png b/src/kile/symbols/special/img061special.png
index 7a8d629..1d61bdf 100644
--- a/src/kile/symbols/special/img061special.png
+++ b/src/kile/symbols/special/img061special.png
Binary files differ
diff --git a/src/kile/symbols/special/img062special.png b/src/kile/symbols/special/img062special.png
index 9b50416..1ecdb36 100644
--- a/src/kile/symbols/special/img062special.png
+++ b/src/kile/symbols/special/img062special.png
Binary files differ
diff --git a/src/kile/symbols/special/img063special.png b/src/kile/symbols/special/img063special.png
index bed100c..05bd0d1 100644
--- a/src/kile/symbols/special/img063special.png
+++ b/src/kile/symbols/special/img063special.png
Binary files differ
diff --git a/src/kile/symbols/special/img064special.png b/src/kile/symbols/special/img064special.png
index f439c5b..6db6179 100644
--- a/src/kile/symbols/special/img064special.png
+++ b/src/kile/symbols/special/img064special.png
Binary files differ
diff --git a/src/kile/symbols/special/img065special.png b/src/kile/symbols/special/img065special.png
index ab7cf62..792938c 100644
--- a/src/kile/symbols/special/img065special.png
+++ b/src/kile/symbols/special/img065special.png
Binary files differ
diff --git a/src/kile/symbols/special/img066special.png b/src/kile/symbols/special/img066special.png
index 8356267..9c013c7 100644
--- a/src/kile/symbols/special/img066special.png
+++ b/src/kile/symbols/special/img066special.png
Binary files differ
diff --git a/src/kile/symbols/special/img067special.png b/src/kile/symbols/special/img067special.png
index 0c4e7e8..dd321b2 100644
--- a/src/kile/symbols/special/img067special.png
+++ b/src/kile/symbols/special/img067special.png
Binary files differ
diff --git a/src/kile/symbols/special/img068special.png b/src/kile/symbols/special/img068special.png
index 6937fac..e091d0c 100644
--- a/src/kile/symbols/special/img068special.png
+++ b/src/kile/symbols/special/img068special.png
Binary files differ
diff --git a/src/kile/symbols/special/img069special.png b/src/kile/symbols/special/img069special.png
index 358293a..1e78461 100644
--- a/src/kile/symbols/special/img069special.png
+++ b/src/kile/symbols/special/img069special.png
Binary files differ
diff --git a/src/kile/symbols/special/img070special.png b/src/kile/symbols/special/img070special.png
index 1ec2a9e..7f0bc84 100644
--- a/src/kile/symbols/special/img070special.png
+++ b/src/kile/symbols/special/img070special.png
Binary files differ
diff --git a/src/kile/symbols/special/img071special.png b/src/kile/symbols/special/img071special.png
index 677f7c7..6055769 100644
--- a/src/kile/symbols/special/img071special.png
+++ b/src/kile/symbols/special/img071special.png
Binary files differ
diff --git a/src/kile/symbols/special/img072special.png b/src/kile/symbols/special/img072special.png
index 24989b6..ec17d24 100644
--- a/src/kile/symbols/special/img072special.png
+++ b/src/kile/symbols/special/img072special.png
Binary files differ
diff --git a/src/kile/symbols/special/img073special.png b/src/kile/symbols/special/img073special.png
index b9be48f..7faea99 100644
--- a/src/kile/symbols/special/img073special.png
+++ b/src/kile/symbols/special/img073special.png
Binary files differ
diff --git a/src/kile/symbols/special/img074special.png b/src/kile/symbols/special/img074special.png
index 9fb16c6..4380230 100644
--- a/src/kile/symbols/special/img074special.png
+++ b/src/kile/symbols/special/img074special.png
Binary files differ
diff --git a/src/kile/symbols/special/img075special.png b/src/kile/symbols/special/img075special.png
index 94bfcfa..4ed68ab 100644
--- a/src/kile/symbols/special/img075special.png
+++ b/src/kile/symbols/special/img075special.png
Binary files differ
diff --git a/src/kile/symbols/special/img076special.png b/src/kile/symbols/special/img076special.png
index 06e99d1..e98cd95 100644
--- a/src/kile/symbols/special/img076special.png
+++ b/src/kile/symbols/special/img076special.png
Binary files differ
diff --git a/src/kile/symbols/special/img077special.png b/src/kile/symbols/special/img077special.png
index 6b91089..434f063 100644
--- a/src/kile/symbols/special/img077special.png
+++ b/src/kile/symbols/special/img077special.png
Binary files differ
diff --git a/src/kile/symbols/special/img078special.png b/src/kile/symbols/special/img078special.png
index ad862b6..cdce728 100644
--- a/src/kile/symbols/special/img078special.png
+++ b/src/kile/symbols/special/img078special.png
Binary files differ
diff --git a/src/kile/symbols/special/img079special.png b/src/kile/symbols/special/img079special.png
index 343775d..a1e5f6f 100644
--- a/src/kile/symbols/special/img079special.png
+++ b/src/kile/symbols/special/img079special.png
Binary files differ
diff --git a/src/kile/symbols/special/img080special.png b/src/kile/symbols/special/img080special.png
index c63dc66..dbd16f4 100644
--- a/src/kile/symbols/special/img080special.png
+++ b/src/kile/symbols/special/img080special.png
Binary files differ
diff --git a/src/kile/symbols/special/img081special.png b/src/kile/symbols/special/img081special.png
index 9f78d43..9b32cb2 100644
--- a/src/kile/symbols/special/img081special.png
+++ b/src/kile/symbols/special/img081special.png
Binary files differ
diff --git a/src/kile/symbols/special/img082special.png b/src/kile/symbols/special/img082special.png
index 18bf17e..1f44c41 100644
--- a/src/kile/symbols/special/img082special.png
+++ b/src/kile/symbols/special/img082special.png
Binary files differ
diff --git a/src/kile/symbols/special/img083special.png b/src/kile/symbols/special/img083special.png
index bfed3de..6707b5d 100644
--- a/src/kile/symbols/special/img083special.png
+++ b/src/kile/symbols/special/img083special.png
Binary files differ
diff --git a/src/kile/symbols/special/img084special.png b/src/kile/symbols/special/img084special.png
index cb716ca..96a8d29 100644
--- a/src/kile/symbols/special/img084special.png
+++ b/src/kile/symbols/special/img084special.png
Binary files differ
diff --git a/src/kile/symbols/special/img085special.png b/src/kile/symbols/special/img085special.png
index 3fcf17c..0c4db0d 100644
--- a/src/kile/symbols/special/img085special.png
+++ b/src/kile/symbols/special/img085special.png
Binary files differ
diff --git a/src/kile/symbols/special/img086special.png b/src/kile/symbols/special/img086special.png
index 9aeaa24..0f0c192 100644
--- a/src/kile/symbols/special/img086special.png
+++ b/src/kile/symbols/special/img086special.png
Binary files differ
diff --git a/src/kile/symbols/special/img087special.png b/src/kile/symbols/special/img087special.png
index a6c62d6..d06e7e2 100644
--- a/src/kile/symbols/special/img087special.png
+++ b/src/kile/symbols/special/img087special.png
Binary files differ
diff --git a/src/kile/symbols/special/img088special.png b/src/kile/symbols/special/img088special.png
index 64dfa26..b5884bb 100644
--- a/src/kile/symbols/special/img088special.png
+++ b/src/kile/symbols/special/img088special.png
Binary files differ
diff --git a/src/kile/symbols/special/img089special.png b/src/kile/symbols/special/img089special.png
index 66e4e0a..b0b8270 100644
--- a/src/kile/symbols/special/img089special.png
+++ b/src/kile/symbols/special/img089special.png
Binary files differ
diff --git a/src/kile/symbols/special/img090special.png b/src/kile/symbols/special/img090special.png
index c4fb4ba..783b892 100644
--- a/src/kile/symbols/special/img090special.png
+++ b/src/kile/symbols/special/img090special.png
Binary files differ
diff --git a/src/kile/symbols/special/img091special.png b/src/kile/symbols/special/img091special.png
index b5379e8..aadaea2 100644
--- a/src/kile/symbols/special/img091special.png
+++ b/src/kile/symbols/special/img091special.png
Binary files differ
diff --git a/src/kile/symbols/special/img092special.png b/src/kile/symbols/special/img092special.png
index e856bab..a0f8763 100644
--- a/src/kile/symbols/special/img092special.png
+++ b/src/kile/symbols/special/img092special.png
Binary files differ
diff --git a/src/kile/symbols/special/img093special.png b/src/kile/symbols/special/img093special.png
index d8f9c29..12edf6f 100644
--- a/src/kile/symbols/special/img093special.png
+++ b/src/kile/symbols/special/img093special.png
Binary files differ
diff --git a/src/kile/symbols/special/img094special.png b/src/kile/symbols/special/img094special.png
index be8f6e4..a5c61d5 100644
--- a/src/kile/symbols/special/img094special.png
+++ b/src/kile/symbols/special/img094special.png
Binary files differ
diff --git a/src/kile/symbols/special/img095special.png b/src/kile/symbols/special/img095special.png
index feba58d..b5e5564 100644
--- a/src/kile/symbols/special/img095special.png
+++ b/src/kile/symbols/special/img095special.png
Binary files differ
diff --git a/src/kile/symbols/special/img096special.png b/src/kile/symbols/special/img096special.png
index 4cc36bc..33c59b6 100644
--- a/src/kile/symbols/special/img096special.png
+++ b/src/kile/symbols/special/img096special.png
Binary files differ
diff --git a/src/kile/symbols/special/img097special.png b/src/kile/symbols/special/img097special.png
index 32e4ed4..e8ebcb9 100644
--- a/src/kile/symbols/special/img097special.png
+++ b/src/kile/symbols/special/img097special.png
Binary files differ
diff --git a/src/kile/symbols/special/img098special.png b/src/kile/symbols/special/img098special.png
index f6a8e68..673fa25 100644
--- a/src/kile/symbols/special/img098special.png
+++ b/src/kile/symbols/special/img098special.png
Binary files differ
diff --git a/src/kile/symbols/special/img099special.png b/src/kile/symbols/special/img099special.png
index bc68399..8218089 100644
--- a/src/kile/symbols/special/img099special.png
+++ b/src/kile/symbols/special/img099special.png
Binary files differ
diff --git a/src/kile/symbols/special/img100special.png b/src/kile/symbols/special/img100special.png
index d205c5d..0cebadd 100644
--- a/src/kile/symbols/special/img100special.png
+++ b/src/kile/symbols/special/img100special.png
Binary files differ
diff --git a/src/kile/symbols/special/img101special.png b/src/kile/symbols/special/img101special.png
index e3b31de..844483d 100644
--- a/src/kile/symbols/special/img101special.png
+++ b/src/kile/symbols/special/img101special.png
Binary files differ
diff --git a/src/kile/symbols/special/img102special.png b/src/kile/symbols/special/img102special.png
index b84c60d..254b0e7 100644
--- a/src/kile/symbols/special/img102special.png
+++ b/src/kile/symbols/special/img102special.png
Binary files differ
diff --git a/src/kile/symbols/special/img103special.png b/src/kile/symbols/special/img103special.png
index 447173b..be9311d 100644
--- a/src/kile/symbols/special/img103special.png
+++ b/src/kile/symbols/special/img103special.png
Binary files differ
diff --git a/src/kile/symbols/special/img104special.png b/src/kile/symbols/special/img104special.png
index bea58ce..3e2eb3c 100644
--- a/src/kile/symbols/special/img104special.png
+++ b/src/kile/symbols/special/img104special.png
Binary files differ
diff --git a/src/kile/symbols/special/img105special.png b/src/kile/symbols/special/img105special.png
index 5a89387..968ed91 100644
--- a/src/kile/symbols/special/img105special.png
+++ b/src/kile/symbols/special/img105special.png
Binary files differ
diff --git a/src/kile/symbols/special/img106special.png b/src/kile/symbols/special/img106special.png
index da9efd4..2970286 100644
--- a/src/kile/symbols/special/img106special.png
+++ b/src/kile/symbols/special/img106special.png
Binary files differ
diff --git a/src/kile/symbols/special/img107special.png b/src/kile/symbols/special/img107special.png
index 092b740..dc3c6f3 100644
--- a/src/kile/symbols/special/img107special.png
+++ b/src/kile/symbols/special/img107special.png
Binary files differ
diff --git a/src/kile/symbols/special/img108special.png b/src/kile/symbols/special/img108special.png
index d4c53e1..938c72b 100644
--- a/src/kile/symbols/special/img108special.png
+++ b/src/kile/symbols/special/img108special.png
Binary files differ
diff --git a/src/kile/symbols/special/img109special.png b/src/kile/symbols/special/img109special.png
index 2b62b4b..7c4e0f1 100644
--- a/src/kile/symbols/special/img109special.png
+++ b/src/kile/symbols/special/img109special.png
Binary files differ
diff --git a/src/kile/symbols/special/img110special.png b/src/kile/symbols/special/img110special.png
index c961da5..0f5be04 100644
--- a/src/kile/symbols/special/img110special.png
+++ b/src/kile/symbols/special/img110special.png
Binary files differ
diff --git a/src/kile/symbols/special/img111special.png b/src/kile/symbols/special/img111special.png
index a17547a..8e88746 100644
--- a/src/kile/symbols/special/img111special.png
+++ b/src/kile/symbols/special/img111special.png
Binary files differ
diff --git a/src/kile/symbols/special/img112special.png b/src/kile/symbols/special/img112special.png
index 0997324..3440be2 100644
--- a/src/kile/symbols/special/img112special.png
+++ b/src/kile/symbols/special/img112special.png
Binary files differ
diff --git a/src/kile/symbols/special/img113special.png b/src/kile/symbols/special/img113special.png
index f827a26..8767452 100644
--- a/src/kile/symbols/special/img113special.png
+++ b/src/kile/symbols/special/img113special.png
Binary files differ
diff --git a/src/kile/symbols/special/img114special.png b/src/kile/symbols/special/img114special.png
index 56cd3e6..5569c6a 100644
--- a/src/kile/symbols/special/img114special.png
+++ b/src/kile/symbols/special/img114special.png
Binary files differ
diff --git a/src/kile/symbols/special/img115special.png b/src/kile/symbols/special/img115special.png
index 92b40c3..4fe61ba 100644
--- a/src/kile/symbols/special/img115special.png
+++ b/src/kile/symbols/special/img115special.png
Binary files differ
diff --git a/src/kile/symbols/special/img116special.png b/src/kile/symbols/special/img116special.png
index 2cff9b3..9fe2515 100644
--- a/src/kile/symbols/special/img116special.png
+++ b/src/kile/symbols/special/img116special.png
Binary files differ
diff --git a/src/kile/symbols/special/img117special.png b/src/kile/symbols/special/img117special.png
index 789981c..c042edb 100644
--- a/src/kile/symbols/special/img117special.png
+++ b/src/kile/symbols/special/img117special.png
Binary files differ
diff --git a/src/kile/symbols/special/img118special.png b/src/kile/symbols/special/img118special.png
index 6976bb8..0d26f69 100644
--- a/src/kile/symbols/special/img118special.png
+++ b/src/kile/symbols/special/img118special.png
Binary files differ
diff --git a/src/kile/symbols/special/img119special.png b/src/kile/symbols/special/img119special.png
index 123c61f..15c6b5e 100644
--- a/src/kile/symbols/special/img119special.png
+++ b/src/kile/symbols/special/img119special.png
Binary files differ
diff --git a/src/kile/symbols/special/img120special.png b/src/kile/symbols/special/img120special.png
index 1f6a1d2..87ad43e 100644
--- a/src/kile/symbols/special/img120special.png
+++ b/src/kile/symbols/special/img120special.png
Binary files differ
diff --git a/src/kile/symbols/special/img121special.png b/src/kile/symbols/special/img121special.png
index db0bed7..ac3af79 100644
--- a/src/kile/symbols/special/img121special.png
+++ b/src/kile/symbols/special/img121special.png
Binary files differ
diff --git a/src/kile/symbols/special/img122special.png b/src/kile/symbols/special/img122special.png
index 7e97d01..eb6477b 100644
--- a/src/kile/symbols/special/img122special.png
+++ b/src/kile/symbols/special/img122special.png
Binary files differ
diff --git a/src/kile/symbols/special/img123special.png b/src/kile/symbols/special/img123special.png
index 2cf0acf..e4ba8ba 100644
--- a/src/kile/symbols/special/img123special.png
+++ b/src/kile/symbols/special/img123special.png
Binary files differ
diff --git a/src/kile/symbols/special/img124special.png b/src/kile/symbols/special/img124special.png
index 28f8353..7198908 100644
--- a/src/kile/symbols/special/img124special.png
+++ b/src/kile/symbols/special/img124special.png
Binary files differ
diff --git a/src/kile/symbols/special/img125special.png b/src/kile/symbols/special/img125special.png
index fe38800..18b27a7 100644
--- a/src/kile/symbols/special/img125special.png
+++ b/src/kile/symbols/special/img125special.png
Binary files differ
diff --git a/src/kile/symbols/special/img126special.png b/src/kile/symbols/special/img126special.png
index e2e662a..659a634 100644
--- a/src/kile/symbols/special/img126special.png
+++ b/src/kile/symbols/special/img126special.png
Binary files differ
diff --git a/src/kile/symbols/special/img127special.png b/src/kile/symbols/special/img127special.png
index 3e02cb7..46d8049 100644
--- a/src/kile/symbols/special/img127special.png
+++ b/src/kile/symbols/special/img127special.png
Binary files differ
diff --git a/src/kile/symbols/special/img128special.png b/src/kile/symbols/special/img128special.png
index f6933b3..ab72321 100644
--- a/src/kile/symbols/special/img128special.png
+++ b/src/kile/symbols/special/img128special.png
Binary files differ
diff --git a/src/kile/symbols/special/img129special.png b/src/kile/symbols/special/img129special.png
index 857a360..53e7026 100644
--- a/src/kile/symbols/special/img129special.png
+++ b/src/kile/symbols/special/img129special.png
Binary files differ
diff --git a/src/kile/symbols/special/img130special.png b/src/kile/symbols/special/img130special.png
index 8785091..f092027 100644
--- a/src/kile/symbols/special/img130special.png
+++ b/src/kile/symbols/special/img130special.png
Binary files differ
diff --git a/src/kile/symbols/special/img131special.png b/src/kile/symbols/special/img131special.png
index c1e481d..d255d24 100644
--- a/src/kile/symbols/special/img131special.png
+++ b/src/kile/symbols/special/img131special.png
Binary files differ
diff --git a/src/kile/symbols/special/img132special.png b/src/kile/symbols/special/img132special.png
index bbfdc81..bb76752 100644
--- a/src/kile/symbols/special/img132special.png
+++ b/src/kile/symbols/special/img132special.png
Binary files differ
diff --git a/src/kile/symbols/special/img133special.png b/src/kile/symbols/special/img133special.png
index 6775f96..847b3ac 100644
--- a/src/kile/symbols/special/img133special.png
+++ b/src/kile/symbols/special/img133special.png
Binary files differ
diff --git a/src/kile/symbols/special/img134special.png b/src/kile/symbols/special/img134special.png
index 7514e66..563c75d 100644
--- a/src/kile/symbols/special/img134special.png
+++ b/src/kile/symbols/special/img134special.png
Binary files differ
diff --git a/src/kile/symbols/special/img135special.png b/src/kile/symbols/special/img135special.png
index 91157d5..582edda 100644
--- a/src/kile/symbols/special/img135special.png
+++ b/src/kile/symbols/special/img135special.png
Binary files differ
diff --git a/src/kile/symbols/special/img136special.png b/src/kile/symbols/special/img136special.png
index bef55db..b1b8462 100644
--- a/src/kile/symbols/special/img136special.png
+++ b/src/kile/symbols/special/img136special.png
Binary files differ
diff --git a/src/kile/symbols/special/img137special.png b/src/kile/symbols/special/img137special.png
index 1409cec..ba60a32 100644
--- a/src/kile/symbols/special/img137special.png
+++ b/src/kile/symbols/special/img137special.png
Binary files differ
diff --git a/src/kile/symbols/special/img138special.png b/src/kile/symbols/special/img138special.png
index 3cea20f..3f768f2 100644
--- a/src/kile/symbols/special/img138special.png
+++ b/src/kile/symbols/special/img138special.png
Binary files differ
diff --git a/src/kile/symbols/special/img139special.png b/src/kile/symbols/special/img139special.png
index c435701..3b8ad9a 100644
--- a/src/kile/symbols/special/img139special.png
+++ b/src/kile/symbols/special/img139special.png
Binary files differ
diff --git a/src/kile/symbols/special/img140special.png b/src/kile/symbols/special/img140special.png
index ba3e680..f797f31 100644
--- a/src/kile/symbols/special/img140special.png
+++ b/src/kile/symbols/special/img140special.png
Binary files differ
diff --git a/src/kile/symbols/special/img141special.png b/src/kile/symbols/special/img141special.png
index 07d2e78..2e12e20 100644
--- a/src/kile/symbols/special/img141special.png
+++ b/src/kile/symbols/special/img141special.png
Binary files differ
diff --git a/src/kile/symbols/special/img142special.png b/src/kile/symbols/special/img142special.png
index 87db9cb..45122d4 100644
--- a/src/kile/symbols/special/img142special.png
+++ b/src/kile/symbols/special/img142special.png
Binary files differ
diff --git a/src/kile/symbols/special/img143special.png b/src/kile/symbols/special/img143special.png
index 613419c..d71d42b 100644
--- a/src/kile/symbols/special/img143special.png
+++ b/src/kile/symbols/special/img143special.png
Binary files differ
diff --git a/src/kile/symbols/special/img144special.png b/src/kile/symbols/special/img144special.png
index 8a0db36..8f60478 100644
--- a/src/kile/symbols/special/img144special.png
+++ b/src/kile/symbols/special/img144special.png
Binary files differ
diff --git a/src/kile/symbols/special/img145special.png b/src/kile/symbols/special/img145special.png
index 72b5420..75e6b27 100644
--- a/src/kile/symbols/special/img145special.png
+++ b/src/kile/symbols/special/img145special.png
Binary files differ
diff --git a/src/kile/symbols/special/img146special.png b/src/kile/symbols/special/img146special.png
index 03f844d..1752022 100644
--- a/src/kile/symbols/special/img146special.png
+++ b/src/kile/symbols/special/img146special.png
Binary files differ
diff --git a/src/kile/symbols/special/img147special.png b/src/kile/symbols/special/img147special.png
index 5ccbf58..886e76c 100644
--- a/src/kile/symbols/special/img147special.png
+++ b/src/kile/symbols/special/img147special.png
Binary files differ
diff --git a/src/kile/symbols/special/img148special.png b/src/kile/symbols/special/img148special.png
index 00ddf90..252818a 100644
--- a/src/kile/symbols/special/img148special.png
+++ b/src/kile/symbols/special/img148special.png
Binary files differ
diff --git a/src/kile/symbols/special/img149special.png b/src/kile/symbols/special/img149special.png
index d36167f..3c11b7e 100644
--- a/src/kile/symbols/special/img149special.png
+++ b/src/kile/symbols/special/img149special.png
Binary files differ
diff --git a/src/kile/symbols/special/img150special.png b/src/kile/symbols/special/img150special.png
index 3bafdb7..3b55348 100644
--- a/src/kile/symbols/special/img150special.png
+++ b/src/kile/symbols/special/img150special.png
Binary files differ
diff --git a/src/kile/symbols/special/img151special.png b/src/kile/symbols/special/img151special.png
index 8cf9a71..bfd2893 100644
--- a/src/kile/symbols/special/img151special.png
+++ b/src/kile/symbols/special/img151special.png
Binary files differ
diff --git a/src/kile/symbols/special/img152special.png b/src/kile/symbols/special/img152special.png
index cbc0aef..117f10d 100644
--- a/src/kile/symbols/special/img152special.png
+++ b/src/kile/symbols/special/img152special.png
Binary files differ
diff --git a/src/kile/symbols/special/img153special.png b/src/kile/symbols/special/img153special.png
index 751902b..20ffc90 100644
--- a/src/kile/symbols/special/img153special.png
+++ b/src/kile/symbols/special/img153special.png
Binary files differ
diff --git a/src/kile/symbols/special/img154special.png b/src/kile/symbols/special/img154special.png
index 742fdd8..e61e020 100644
--- a/src/kile/symbols/special/img154special.png
+++ b/src/kile/symbols/special/img154special.png
Binary files differ
diff --git a/src/kile/symbols/special/img155special.png b/src/kile/symbols/special/img155special.png
index 0cad058..3412935 100644
--- a/src/kile/symbols/special/img155special.png
+++ b/src/kile/symbols/special/img155special.png
Binary files differ
diff --git a/src/kile/symbols/special/img156special.png b/src/kile/symbols/special/img156special.png
index 7a62564..8f2de1d 100644
--- a/src/kile/symbols/special/img156special.png
+++ b/src/kile/symbols/special/img156special.png
Binary files differ
diff --git a/src/kile/symbols/special/img157special.png b/src/kile/symbols/special/img157special.png
index 5e80af5..b19d93a 100644
--- a/src/kile/symbols/special/img157special.png
+++ b/src/kile/symbols/special/img157special.png
Binary files differ
diff --git a/src/kile/symbols/special/img158special.png b/src/kile/symbols/special/img158special.png
index fb0535b..0bbc28e 100644
--- a/src/kile/symbols/special/img158special.png
+++ b/src/kile/symbols/special/img158special.png
Binary files differ
diff --git a/src/kile/symbols/special/img159special.png b/src/kile/symbols/special/img159special.png
index 5528a64..f7a6298 100644
--- a/src/kile/symbols/special/img159special.png
+++ b/src/kile/symbols/special/img159special.png
Binary files differ
diff --git a/src/kile/symbols/special/img160special.png b/src/kile/symbols/special/img160special.png
index 1b36371..e56327e 100644
--- a/src/kile/symbols/special/img160special.png
+++ b/src/kile/symbols/special/img160special.png
Binary files differ
diff --git a/src/kile/symbols/special/img161special.png b/src/kile/symbols/special/img161special.png
index 2a14ccd..981d497 100644
--- a/src/kile/symbols/special/img161special.png
+++ b/src/kile/symbols/special/img161special.png
Binary files differ
diff --git a/src/kile/symbols/special/img162special.png b/src/kile/symbols/special/img162special.png
index cd2aa24..b894eed 100644
--- a/src/kile/symbols/special/img162special.png
+++ b/src/kile/symbols/special/img162special.png
Binary files differ
diff --git a/src/kile/symbols/special/img163special.png b/src/kile/symbols/special/img163special.png
index 78f7931..374743a 100644
--- a/src/kile/symbols/special/img163special.png
+++ b/src/kile/symbols/special/img163special.png
Binary files differ
diff --git a/src/kile/symbols/special/img164special.png b/src/kile/symbols/special/img164special.png
index bdee0a9..254d14c 100644
--- a/src/kile/symbols/special/img164special.png
+++ b/src/kile/symbols/special/img164special.png
Binary files differ
diff --git a/src/kile/symbols/special/img165special.png b/src/kile/symbols/special/img165special.png
index 60e9b13..87e3669 100644
--- a/src/kile/symbols/special/img165special.png
+++ b/src/kile/symbols/special/img165special.png
Binary files differ
diff --git a/src/kile/symbols/special/img166special.png b/src/kile/symbols/special/img166special.png
index 1f643b0..c64a496 100644
--- a/src/kile/symbols/special/img166special.png
+++ b/src/kile/symbols/special/img166special.png
Binary files differ
diff --git a/src/kile/symbols/special/img167special.png b/src/kile/symbols/special/img167special.png
index 76c3647..bfd1d64 100644
--- a/src/kile/symbols/special/img167special.png
+++ b/src/kile/symbols/special/img167special.png
Binary files differ
diff --git a/src/kile/symbols/special/img168special.png b/src/kile/symbols/special/img168special.png
index 37303c3..ee764ec 100644
--- a/src/kile/symbols/special/img168special.png
+++ b/src/kile/symbols/special/img168special.png
Binary files differ
diff --git a/src/kile/symbols/special/img169special.png b/src/kile/symbols/special/img169special.png
index a133510..12825ba 100644
--- a/src/kile/symbols/special/img169special.png
+++ b/src/kile/symbols/special/img169special.png
Binary files differ
diff --git a/src/kile/symbols/special/img170special.png b/src/kile/symbols/special/img170special.png
index aefe258..feb22ca 100644
--- a/src/kile/symbols/special/img170special.png
+++ b/src/kile/symbols/special/img170special.png
Binary files differ
diff --git a/src/kile/symbols/special/img171special.png b/src/kile/symbols/special/img171special.png
index 5d98c80..9bbd32b 100644
--- a/src/kile/symbols/special/img171special.png
+++ b/src/kile/symbols/special/img171special.png
Binary files differ
diff --git a/src/kile/symbols/special/img172special.png b/src/kile/symbols/special/img172special.png
index 9441fd3..2f5ef53 100644
--- a/src/kile/symbols/special/img172special.png
+++ b/src/kile/symbols/special/img172special.png
Binary files differ
diff --git a/src/kile/symbols/special/img173special.png b/src/kile/symbols/special/img173special.png
index 7a75a5a..8c9a0bc 100644
--- a/src/kile/symbols/special/img173special.png
+++ b/src/kile/symbols/special/img173special.png
Binary files differ
diff --git a/src/kile/symbols/special/img174special.png b/src/kile/symbols/special/img174special.png
index e3141ee..ceaeb22 100644
--- a/src/kile/symbols/special/img174special.png
+++ b/src/kile/symbols/special/img174special.png
Binary files differ
diff --git a/src/kile/symbols/special/img175special.png b/src/kile/symbols/special/img175special.png
index 3782ec8..5fe139d 100644
--- a/src/kile/symbols/special/img175special.png
+++ b/src/kile/symbols/special/img175special.png
Binary files differ
diff --git a/src/kile/symbols/special/img176special.png b/src/kile/symbols/special/img176special.png
index e45b9c1..ea51c2e 100644
--- a/src/kile/symbols/special/img176special.png
+++ b/src/kile/symbols/special/img176special.png
Binary files differ
diff --git a/src/kile/symbols/special/img177special.png b/src/kile/symbols/special/img177special.png
index 764e25d..6ca0855 100644
--- a/src/kile/symbols/special/img177special.png
+++ b/src/kile/symbols/special/img177special.png
Binary files differ
diff --git a/src/kile/symbols/special/img178special.png b/src/kile/symbols/special/img178special.png
new file mode 100644
index 0000000..46a65a6
--- /dev/null
+++ b/src/kile/symbols/special/img178special.png
Binary files differ
diff --git a/src/kile/symbolview.cpp b/src/kile/symbolview.cpp
index a8ca181..16e3fc6 100644
--- a/src/kile/symbolview.cpp
+++ b/src/kile/symbolview.cpp
@@ -287,9 +287,11 @@ void SymbolView::fillWidget(const TQString& prefix)
{
// KILE_DEBUG() << "path is " << paths[i] << endl;
item = new TDEIconViewItem(this);
- item->setPixmap(image);
item->setKey( refCnts[i] + '%' + image.text("Command") + '%' + image.text("Packages") + '%' + paths[i] );
- image = KImageEffect::blend(colorGroup().text(), image, 1); // destroys our png comments, so we do it after reading the comments
+ if( prefix != "user" ){
+ image = KImageEffect::blend(colorGroup().text(), image, 1); // destroys our png comments, so we do it after reading the comments
+ }
+ item->setPixmap(image);
}
else
KILE_DEBUG() << "Loading file " << paths[i] << " failed" << endl;
diff --git a/src/kile/syntax/latex.xml b/src/kile/syntax/latex.xml
index 46af46a..a9a9634 100644
--- a/src/kile/syntax/latex.xml
+++ b/src/kile/syntax/latex.xml
@@ -1,13 +1,13 @@
<?xml version="1.01" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="LaTeX" version="1.28" section="Markup" kateversion="2.3" extensions="*.tex; *.ltx; *.dtx; *.sty; *.cls;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (braun@physik.fu-berlin.de)" license="LGPL" >
+<language name="LaTeX" version="1.29" section="Markup" kateversion="2.3" extensions="*.tex; *.ltx; *.dtx; *.sty; *.cls;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (braun@physik.fu-berlin.de)" license="LGPL" >
<highlighting>
<contexts>
<!-- Normal text -->
<context name="Normal Text" attribute="Normal Text" lineEndContext="#stay">
<RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindEnvironment" beginRegion="block" />
<RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="FindEnvironment" endRegion="block" />
- <RegExpr String="\\(label|pageref|ref|vpageref|vref|cite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>
+ <RegExpr String="\\(label|pageref|autoref|ref|vpageref|vref|cite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>
<RegExpr String="\\(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)\*?\s*(?=[\{\[])" attribute="Structure" context="Sectioning"/>
<RegExpr String="\\(footnote)\*?\s*(?=[\{\[])" attribute="Footnote" context="Footnoting"/>
<RegExpr String="\\(re)?newcommand(?=[^a-zA-Z])" attribute="Keyword" context="NewCommand"/>
@@ -105,7 +105,7 @@
<!-- LaTeX commands \newcommand and \renewcommand -->
<context name="NewCommand" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop">
- <RegExpr String="\s*\{\s*\\[a-zA-Z]+\s*\}(\[\d\](\[[^\]]+\])?)?\{" attribute="Normal Text" context="CommandParameterStart"/>
+ <RegExpr String="\s*\{\s*\\[a-zA-Z]+\s*\}(\[\d\](\[[^\]]*\])?)?\{" attribute="Normal Text" context="CommandParameterStart"/>
<DetectChar char="}" attribute="Error" context="#pop"/>
</context>
@@ -181,8 +181,8 @@
<context name="Environment" attribute="Environment" lineEndContext="#stay">
<RegExpr String="(lstlisting|(B|L)?Verbatim)" attribute="Environment" context="VerbatimEnvParam"/>
<RegExpr String="(verbatim|boxedverbatim)" attribute="Environment" context="VerbatimEnv"/>
- <RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign)" attribute="Environment" context="MathEnv"/>
<RegExpr String="(alignat|xalignat|xxalignat)" attribute="Environment" context="MathEnvParam"/>
+ <RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign)" attribute="Environment" context="MathEnv"/>
<RegExpr String="(tabular|supertabular|mpsupertabular|xtabular|mpxtabular|longtable)" attribute="Environment" context="TabEnv"/>
<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
<RegExpr String="[a-zA-Z]" attribute="Environment" context="LatexEnv"/>
diff --git a/src/kile/test/runTests.sh b/src/kile/test/runTests.sh
index 68228d0..1e81238 100755
--- a/src/kile/test/runTests.sh
+++ b/src/kile/test/runTests.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
echo "Kile System Check script..."
outfile=$1