Added abandoned KDE3 version of Kile

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kile@1088055 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
commit 2c945cd914

@ -0,0 +1,5 @@
Pascal Brachet <pascal.brachet{at}club-internet.fr>
Thomas Braun <braun{at}physik.fu-berlin.de>
Holger Danielsson <holger.danielsson{at}versanet.de>
Michel Ludwig <michel.ludwig{at}kdemail.net>
Jeroen Wijnhout <Jeroen.Wijnhout{at}kdemail.net>

@ -0,0 +1,51 @@
CMake 2.4.4 (or later) is required to build Kile.
Building Kile
=============
1. Get the Kile directory from trunk (there is no need to get the whole office
module anymore).
2. Create a "kile-build" directory somewhere for an out-of-source build.
3. Enter the "kile-build" directory and call cmake with:
cmake <path to the kile directory> -DCMAKE_INSTALL_PREFIX=$HOME/.kde
to install Kile later on in the current user's home directory.
4. In the "kile-build" directory, issue "make" to start the build process.
Issuing "make install" will start the installation process, for which the DESTDIR
option can be used to specify the base directory of the installed files.
Building Documentation
======================
The documentation will automatically be built provided that the documentation files
are located in the following directories:
<kile-root>
/doc for the standard documentation and
accompanying image files
/translations
/<language>
/doc for the translated documentation and
images in language <language>
/messages for the translated message catalogs
in language <language>
Please note that every docbook must be called "index.docbook" and that only PNG image
files can be used. Furthermore, message catalogs must be called "kile.po".
When the "doc" and "translations" directories are found, the build targets "docbooks"
and "translations" will be generated for the compiling of the documentation.
Special Flags
=============
The flag "KILE_VERSION" can be set in the CMake cache to specify the installation
directory of basic documentation files (README, AUTHORS, ChangeLog,...), i.e. they
will be installed in "share/doc/kile-${KILE_VERSION}/" instead of "share/doc/kile/".

@ -0,0 +1,280 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Steet, Fifth Floor, Cambridge, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS

@ -0,0 +1,351 @@
version 2.0 -> 2.0.1
Fixes:
- Do all section actions on the whole section (#154272)
- Fix possible crash due to unchecked index bounds
- Some i18n fixes (#153371)
- cwl files: fix wrong commands with \left and \right and make them more complete
- Typos in symbols (#158749)
- Sync kile project on disk before archiving
- Add figure* to the structure view also (#151743)
- Fix completion for multiple citations/references (#152766)
- Fix crash at template handling, reported and fixed by Vincenzo Di Massa
- Rename some cwl files so that they not only differ by case (#158600)
- Search also in $BIBINPUTS and $TEXINPUTS paths if opening files from the
structure view
- Add missing package definitions to some symbols from the misc-text pane
- Allow spaces in the name of images in the includegraphics dialog (#161101)
- Don't recompile forever if some file timestamps are in the future (#121956)
Features:
- Add \newlength as a variation of newcommand
- Add url.cwl, svninfo.cwl, svn-multi.cwl, yfonts.cwl, virginialake.cwl
- Allow ":" and "-" in citation keys, important for codecompletion
Syntax:
- Highlight & and @{} in tabular like environments
- Ignore Noweb blocks
version 2.0beta2 -> 2.0
Fixes:
- Added some new logic to really disable all debug output if --disable-debug
is given to configure, should make kile faster
Features:
- New documentation kile-remote-control.txt
- Added new DVItoPDF config Modern which calls dvipdfmx instead of dvipdfm,
set Modern as default
version 2.0beta1 -> 2.0beta2
Fixes:
- Polishing Quickdocumentdialog
- More agressive recompiling
- Cwl fixes
- Mathsymbol commands were biased with one, some symbol cleanups (#148855)
- Don't make system check if the user has defined a master document (#148800)
- Don't offer eqnarray in the latex menu (but we still support it for math environment completion etc.) (#101583)
- Consider also files located in $TEXINPUTS and $BIBINPUTS paths for codecompletion. (#149652)
Features:
- Call asymptote if needed on latex run
version 1.9.3 -> 2.0beta1
Fixes:
- More than 50 bugs have been closed
- Symlinked files and directories in combination with inverse search
- Autosave fix: If a file is two autosave cycles not writable we will skip the file until it is writeable again.
- Fix starting directory for add Files. Take the project's basedir
- Fix bug in tabular wizard, when breaking some multicolumn cells
- Remove selected text in any case if the user insert "
- Fix bug where environments were completed which should not have been completed.
- Textcolor bug in tabular wizard
- Only use special quotes if we have a tex file
- Fix bug in lyxserver when the filesystem in the users home directory does not support FIFOS
- Use the $PATH variable to search for the tools
- Remove our own "not perfectly" working spellchecker implementation, now the katepart spellchecker is always in charge
- Call "Refresh Strcuture" after changing the encoding
- Grep for \newenvironment and add them to the completion lists
- Smart newline now also recognizes comment lines
Bigger Features:
- Add auto completion in abbreviation mode:
a) All abbreviations can be shown in the sidebar (configurable)
b) All abbreviations from a local abbreviations list 'kile-abbrevs.cwl' are
editable. This file can be found in the local application path of Kile.
c) Editable abbreviations are marked with a star.
d) It is possible to add new abbreviations or delete existing ones.
e) A new auto mode to expand abbreviations was added (configurable
of course). If an abbreviation is followed by a space or a punctuation
symbol, it is immediately expanded without further user commands.
- Added a set of commands to work directly with sectioning on the structure view:
copy, cut, paste, select, delete, comment, quick preview
- New Symbolview which contains:
- Most frequently used symbol list
- Complete revamped symbol list with more items (nearly 1000) and more
categories
- Show command and depending packages in the tooltip
- Send a warning in the logwidget if a package is not included
- By pressing CTRL and SHIFT while inserting an item one gets {} or $$
around the inserted command
- Added a scripting interface to kile
- A big bunch of new cwl files, mostly from kile users , so kile has now more
than 80 :)
- Add support for TexLive 2005/2007
- Preview of mathgroups from Mathias Soeken (with some additions and
extensions by Holger Danielsson)
Smaller Features:
- New tool entries for:
- Asymptote
- PDFLaTeX draftmode (available in PDFTeX from TeXLive 2007)
- Bibtex 8bit Version
- Added Lilypond tool (4 variants), icon will follow
- Renamed LaTeXtoDocBook to DBLaTeX , use
programm dblatex for that and also introduced 4 variants of it.
- Renamed LaTeXtoHTML to LaTeX to Web and added tex4ht variants (to XML, to HTML
and to MathML), but keeping the latex2html tool also
- Added a variant of quickbuild , do only LaTeX
- Added DVItoPDF variant, Landscape and "Black and White"
- Moved Archive tool from type none to Archive and also added much more
configs, now users can also alter them
- Changed default bibtex viewer for new kile users to kbibtex
- added gbib, jabref, kbib to bibtexviewers
- Recursive parsing of footnote command
- New citeViewBib action, which asks the bibtex viewer (currently only
kbib) to send marked references. Thanks to Thach Nguyen for the
initial patch
- New function "Save Copy as..."
- Revamped the new-file dialog.
- Add support for templates types other than LaTeX.
- Use the extension ".kileicon" for template icon files.
- Added lyx:paste command in kile's lyxserver
- Add Readme, Readme.cwl and Building-with-cmake.txt
- Show todo/fixme tasks in structure view
- Enhance completion configuration dialog usability and support local directories for completion files
- Merge labels and sections in document structure view as user configurable option
- First preliminary support for the beamer package
- Select a single LaTeX command with CTRL+MouseDblClick-left
- Autocomplete $ to $$
- Move cursor out of braces after selecting from a keylist
- Make include commands configurable through our nice latexcommand menu
- Assign the keyboard focus to the active text view after Kile has started up
- FindInFiles dialog can be moved into the background
- Add additional double quotes for babel supported languages (czech, icelandic)
- Highlighting of Section Titles as bold
- Add emacs-like delete-to-end-of-line command
- Removed metapost view in the sidebar, the commands can be accessed via
kile's dictionary mode
- Sort items in references list box
- Some new toolbar icons
- Added more optional fields in the predefined bibtex entries, patch from
Martin Weis <martin.weis.newsadress (a) gmx.de>
- Added CMake build support.
- Add scripting support.
- We always remember now the current most top item of the structure view and restore it after an update.
- Add new actions gotoNextSection() and gotoPrevSection()
- Quote replacement should not happen inside verbatim/verb environment
- Add new actions gotoNextParagraph() and gotoPrevParagraph()
- Fix rebuild structureview if changing the expansion level
- Add mathgroup preview to the popup menu (right mouse button), where either a selection or a mathgroup is shown
- More tools in kile's system check
- Add drag-and-drop functionality
- Remember MakeIndex checkbox settings in kileprojectdlg
- Add autoref command to std. ref. commands
version 1.9.2-> 1.9.3
Fixes:
- Recognize escaped chars in \newcommand. (#132899)
- Use KPDF as embedded viewer for quick preview, because KPDF can remember current settings. (#129177)
- Bugs in tabular wizard, when merging, breaking and merging again some cells
- Quote replacement should not happen inside verbatim/verb environment (#133112)
- Fix bug in tabular wizard, when breaking some multicolumn cells
- Don't use default permissions for backup file (CVE CAN-2005-1920 also applies to kile)
- Fix bug in syntax highlighting: mathmode in optional parameter (#134146)
- Allow tools with brackets in the configuration string also in sequence tools, fixed also the crash which hid the bug. (#134605)
- One fix in latex-document-cwl and color.cwl
- Fix crash when adding a file to a project (with no open documents) which contains an undefined reference (#135575)
- Improve the logic for closing environments (#134793)
- Don't treat \\[foo] as a math environment (#137131)
- Remove selected text also if we insert a " (#137272)
Feature:
- Prepared the latex syntax file for beamer commands
version 1.9.1 -> 1.9.2
Fixes:
- Add autoref command to standard reference commands (#130037)
- Remember the setting of MakeIndexOptions checkbox in the project settings
dialog. (debian #337550)
- Added utf-8 and other encodings to the quickdocument dialog. (#131402)
- Make the "New Tool" dialog box big enough. (#132425)
- Check if masterdocs in kilepr files exist, should fix some problems with upgrades from kile 1.8.
- Searching for environments in Edit functions improved.
- Take array as math environment instead of tabular in Configure->Latex Environments.
- Don't crash if a user changes the icon of a toolbar item. (debian #382317)
- Allow a few more punctuation in codecompletion of citation keys. (#130148)
- Remember last working directory in 'find in files' dialog. (debian #359932)
- Tabular wizard should insert all entered elements. (#132736)
- Only autosave files which have been modified.
- Delete comma of last bibtex entry if Bibliographie->Clean is called. (#129499)
- Quick Preview fails if graphics are included in selection (#126019)
version 1.9.0 -> 1.9.1
Fixes:
- Restore support for KDE 3.2.x.
- tex files starting with numbers can now also used for "Forward DVI". (#124613)
- now we respect the default project location set by the user also in projectOpen(). (#124099)
- don't restore the line position if the file is already open. (#125175)
- honor users who want to cancel the close request to embedded parts. (namely kbibtex)
- fix ViewBib, if we support $BIBINPUTS for compilation we should also do it for viewing. We now also check in all paths in BIBINPUTS for an bib file. (#125133)
- if "show labels" is disabled in structureview, we should nevertheless gather them for codecompl. and undefined ref.
- don't fake pressed buttons, now the log message button does not looked pressed when you start kile. (#124098)
- only add an trailing slash to the default project location if we need one.
- hide the latex menu when we don't have docs open.
- don't see unstarred env. as closing for starred. (#120509)
- we are now much more carefully if the autosaving has succeded. We now warn if we can't autosave and don't overwrite backups with empty backups. (#125975)
- only use special double quotes if no slash is in front of the cursor. (#127813)
Features:
- Add the possibility to use bullets in user tags via a new placeholder %B.
- Colour bullets so that they can be spotted easily.
- new cwl file for the textcomp and import package.
- we now highlight TODO, FIXME in comments. (only if they are not in normal text)
- added Readme.MacOSX
[...]
version 1.6.3 -> 1.7a3
major:
- smart LaTeX: rerun automatically when needed, runs BibTeX and/or MakeIndex if required
- a more flexible and powerful tool system
- automatic completion of LaTeX commands
- access to teTeX help system
- system configuration checker (Settings->System Check), detects installation errors, missing apps and wrong Kile settings
minor:
- BibTeX files are now parsed as well, references in a BibTeX file can be used in \cite autocompletion now as well
- user defined commands (using \newcommand) are added to the autocompletion list
- improved structure view, remembers its state, it doesn't collapse anymore after a save
- find in files dialog
- several LaTeX specific editing options (close environment for example)
- convert accented letters (like Ë) to ASCII TeX commands (like \"E) and vice versa
- new side and bottom bars
version 1.6.2 -> 1.6.3
- fix a crash when opening/closing projects with common files
- warn if user tries to overwrite an existing file in the "New Project" dialog
- make usertags/tools shortcuts configurable
- place cursor after a bracket when inserting a usertag
- polished up the "New File" wizard, the size and selected template are now remembered, an option to start the Quick Start wizard after selecting an empty template is also added
- double clicking on a non-existent file results in a dialog requesting the creating of this file, instead of just an error
version 1.6.1 -> 1.6.2
- bugfixes
version 1.6 ->1.6.1
- bugfixes
version 1.5.2 -> 1.6
major:
- new editor (katepart)
- project management
minor:
- auto-complete environments
- statistics dialog for document (word count)
- can open multiple files in one go (using the open file dialog or the sidebar)
- launch you favorite BibTeX editor using the bilbiographies found in your document
- interaction with gBib and pyBliographer
- restore files and projects on start up (optional)
- checking whether or not the document is a LaTeX root before compile is optional now
- structure view: jump to line AND column, allow multiple labels on one line, allow space between \struct and { }, don't parse
structure elemented that are out-commented
- configurable shortcuts to focus log/messages, output, konsole, editor views (resp. ctrl+alt+m,o,k,e)
- more advanced \includegraphics dialog (thx Michael Margraf)
- check for modified on disc
- highligthing inside math environments
- allow user to set PS-PDF, DVI-PS, PDF-PS, BibTeX, makeindex commands
version 1.5 -> 1.5.2 :
- prompt user when trying to run LaTeX on a document which isn't a document root
- better syntax highlighting (deals with \verb and verbatim environment)
- summary of compilation results after running LaTeX
- improved "clicking on errors in the log file jumps to corresponding line"
- user can define an arbitrary number of user tools/tags.
- autosave
- added an Output view, the Output view is the location for the raw
output of the shell processes (latex,dvips, etc.)
- more error messages/warnings when the user tries to do compile/view
non-existing/untitled documents
- added templates support (user can select a template when creating a new
file, user can create templates from existing documents).
- added a stop button, (La)TeX can now be stopped while compiling
- added a Toolbars submenu, toolbars can be hidden now
- output of compilations remains visible, log file can be shown
on request
- inverse search now also works for documents whos name starts with a number
- more flexible command syntax, instead of having latex and pdflatex as
commands, one can use
latex %S.tex or make %S.dvi
now
version 1.4 -> 1.5 :
- added metapost support
- added "user commands" menu
- added ability to change or add gnuplot commands before plotting with the Gnuplot frontend
- fixed the bug for files with accents in the Kite file selector
- added the ability to show the line numbers and to choose the colors for the editor
version 1.32 -> 1.4 :
- added dvi and postcript embedded viewers (based on kdvi and kghostview kparts)
- spell checking is now possible for the selected paragraphs and not only for all the document
- overwrite an existing file must now be confirmed
- the bug about the "report" document class in the "quick document dialog" has been fixed
version 1.31 -> 1.32 :
- the user can set the encoding character of the file with a combo box included in the Kite file selector.
- two color schemes are available for the editor (Black on White/White on Black)
- improved the "Multiple Function" dialog of the "Gnuplot frontend"
version 1.3 -> 1.31 :
- new dialog box for the "ref" and "pageref" tags (the user can select one of the existing labels)
- the "--unique" option is now used for the "Kdvi Forward Search" command
- the bug about the "report" class in the "Quick Start" wizard has been fixed
- the GnuPlot front end code has been cleaned (only QString are used instead of string)
version 1.3beta -> 1.3 :
- fixed some minor bugs
- new user manual
- added more options for the "Quick Start" wizard
version 1.2 -> 1.3beta :
- the "label" tags written on the same line than a "section" tag are now detected
- added a "find next" command
- improved the "replace" command
- improved the "edit user menu" command (ability to insert several lines)
- added more options for the "quick start", "tabular" and "array" wizards
- added new LaTeX tags (maketitle, footnote, tableofcontents, ref, pageref)
- added DCOP support (no new instance when kile is already running - Kdvi "inverse search" should work better)
version 1.1 -> 1.2 :
- new panel (file selector, structure view, mathematical symbols and the greek letters)
- no more embedded viewers
- classical order for the "recent files" list
- added shortcuts for the "item" tag and icons for the "enumerate" and "itemize" environments
- added info about the size of the .eps file while using \includegraphics{}
- the Konsole is now synchronized with the current document
- added ability to remove the optional fields of a .bib file. ("Clean" command)
- added "watch file" mode for the "quick build" command (the viewers are not launched)
version 1.0 -> 1.1 :
- added toolbars configuration
- added new modes for the 'Quick build' command
- user can now print the ps/pdf file directly with kite
- added a wizard for the 'Tabbing' environment
- by typing %myenvironment in the 'LaTeX content' field of an 'user menu', Kite inserts directly this code :
\begin{myenvironment}
\end{myenvironment}
- fixed some minor bugs

@ -0,0 +1,5 @@
AUTOMAKE_OPTIONS = foreign 1.5
include admin/deps.am
include admin/Doxyfile.am
SUBDIRS=$(TOPSUBDIRS)

@ -0,0 +1,4 @@
AUTOMAKE_OPTIONS = foreign 1.5
include admin/deps.am
include admin/Doxyfile.am

@ -0,0 +1,54 @@
Dear User/Packager,
this Readme is targeted towards people who want to build Kile from source or plan to create binary packages.
If you have created a package, please drop us a note ( kile-devel@lists.sourceforge.net ) so that we can promote your package.
All specified versions are minimum versions except for KDE and QT.
1.) Checking dependencies
- kdelibs 3.2 - 3.5 and according QT development packages
- autoconf 2.53, automake and make (alternatively cmake 2.4.4, see also Building-with-cmake.txt)
- gcc 3.x/4.x
2.) Building Kile from source
- Extract the source code with `tar xjf kile-2.0.x.tar.bz2`
- `cd kile-2.0.x`
- ./configure --prefix=path_to_KDE3 (/usr or /opt/kde3 generally) --with-qt-dir=path_to_QT3 library (/usr/lib/qt3 generally)
-- If you don't know what the path to KDE3 on your system is, you can use output of `kde-config --prefix`.
-- Or you can choose `--prefix=$HOME/.kde` to not mess up with your distribution's package management system.
- Type `make` to compile the package.
- Type `make install` to install the programs, data files and documentation.
- Type `kile` and enjoy the power of LaTeX together with the joy of using Kile :)
3.) Using Kile
To use Kile you (obviously) need some external programs.
The following list is divided into basic, advanced and additional usage.
Basic:
- TeTeX 2.0/3.0 or TeXLive 2005/2007 (Including "AMS"-Packages and the documentation)
- KDVI
Advanced:
- KPDF, KGhostView (Viewing PS and PDF)
- Acroread (Viewing PDF)
- Imagemagick, DVIPNG 1.7 (Bottom bar preview)
By default there are also tools for the following programs defined:
- Tar/zip/gzip/bzip2 (Archive)
- DBlatex (Docbook to LaTeX)
- Metapost and Asymptote
- Latex2html (LaTeX to Web)
- Tex4ht (LaTeX to Web)
- Lilypond (Music Typesetting)
- Konqueror/Mozilla/Firefox (Viewing HTML)
- Kbibtex, KBib, JabRef, pybliographer, gbib (View Bibtex files)
If you have any questions or corrections, please don't hesitate to contact us via kile-devel@lists.sourceforge.net.
The Kile dev team

@ -0,0 +1,49 @@
In order to install Kile on MacOS X, you need the following things:
- a working X11 installation
- a working LaTeX distribution
- the KDE libraries
- and Kile itself, of course
Once everything is in place, Kile needs X11 to run, so make sure you launch X11 before Kile.
Installing X11
--------------
Apple provides its own X11 installation for MacOS X 10.3 (downloadable from Apple's web site) and 10.4 (available directly on the Tiger DVD). If you install by hand, make sure to install the X11User.pkg package.
Apple's documentation on X11: http://developer.apple.com/opensource/tools/X11.html
You should install Apple's X11. But if you have a good reason not to, Fink (see below) provides the latest X.org distribution. Refer to Fink documentation for details. MAKE SURE YOU NEVER MIX TWO X11 VERSIONS ON THE SAME SYSTEM.
Installing all the rest through Fink
------------------------------------
Fink is the packaging system from Debian ported to MacOS X. Installing Fink itself is very straightforward, so only two things will be mentioned here:
- you must download and install the latest Xcode version from Apple (free download, just requires registration),
- make sure Fink uses the package repository compatible with your system (specifically, if you have MacOS X 10.4, use the 10.4 branch and *not* the 10.4-transitional branch).
Fink lets you choose between precompiled, ready-to-use, packages, and compiling them yourself. Practically speaking, the Fink project provides few up-to-date precompiled packages, so compilation is often necessary. But don't worry, the procedure is automatic in any case.
After that, installing the rest is very straightforward:
- LaTeX distribution: install packages "tetex" and "tetex-base".
- KDE libraries: the bare minimum would be package "kdebase3-unified", but you should also install packages like "kpdf", "kdvi" and "kghostview" to make best use of Kile. Installing a localisation package to have dialogs in your language would also be nice ; for example, the French package is called "kde-i18n-french".
- Kile: its package is called "kile".
- Other useful packages, depending on your habits: "bibview", "gnuplot", "xfig", "beamer", "texpower"... Just go shopping with Fink.
Have fun!
Fink project: http://fink.sourceforge.net
Other installation methods
--------------------------
There is no easy way, other than Fink, to install the KDE libraries and Kile. But if you want, there is another popular way to install LaTeX: the i-Installer.
i-Installer web site: http://ii2.sourceforge.net
[This Readme was contributed by Thibaut Cousin (cousin@kde.org)]

@ -0,0 +1,66 @@
CWL File Specification 0.1:
Completion modes:
Kile supports three completion modes, which use their own cwl files:
- (La)TeX mode
- Dictionary mode
- Abbreviation mode
Call of completion:
When completion is called with a shortcut or in auto mode, Kile must separate words, so that some restriction had to be made about the already typed prefix. If the prefix is to be analyzed as valid, the completion box will open, otherwise not.
- (La)TeX mode: all prefixes must start with a backslash, followed by letters, possibly with a trailing star
- Dictionary mode: letters, digits and underscore are valid characters
- Abbreviation mode: letters, digits and underscore are valid characters
Once the completion box is opened, there are no further restrictions. All characters are valid from this moment on.
Naming scheme of the cwl file:
- If the commands in the file belong to a class the name is class-foo.cwl, if they belong to different classes the name is class-foo,bar.cwl.
- In any other case it belongs to a package and should therefore have the same name than the package (package foo -> foo.cwl)
File syntax:
- There are only two types of content, comments and text.
- Comments start with a #, everything after # is ignored till the end of the line.
- Everything else is text.
File content:
- The files should have a small header including your name (email address is not needed), the date, and a link where the package or the class file can be downloaded.
For example the header of textcomp.cwl:
# textcomp package
# tbraun 04/27/2006
# URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/textcomp.html
- All commands given must have a description what to insert in the empty brackets:
-- \label{key} and not \label{}
-- \includegraphics[options]{name}
-- \footnotetext[number]{text} and so on
- All commands means all commands. So please add all possible combinations, including mandatory options and all optional options in all possible combinations.
This list can be quite long but all users will appreciate the completeness.
For example (taken from class-beamer.cwl):
\begin{frame}
\begin{frame}<overlay specification>
\begin{frame}<overlay specification>[<default overlay specification>]
\begin{frame}<overlay specification>[<default overlay specification>][options]
\begin{frame}<overlay specification>[<default overlay specification>][options]{title}
\begin{frame}<overlay specification>[<default overlay specification>][options]{title}{subtitle}
\begin{frame}[<default overlay specification>]
\begin{frame}[<default overlay specification>][options]
\begin{frame}[<default overlay specification>][options]{title}
\begin{frame}[<default overlay specification>][options]{title}{subtitle}
\begin{frame}[<default overlay specification>][options]{title}{subtitle}
\begin{frame}[options]
\begin{frame}[options]{title}
\begin{frame}[options]{title}{subtitle}
\begin{frame}[options]{title}{subtitle}
\begin{frame}{title}
\begin{frame}{subtitle}
\end{frame}
- Only include the \end{env} command once, but all combinations with \begin{env}{}[]<>...
- If you declare an environment in which the \item command is valid you have to suffix the \begin{...} declaration with \item, like in latex-document.cwl \begin{itemize}\item.
- A starred version of a command must also be added
\circle{diameter}
\circle*{diameter}
Getting assistance:
- You can see some examples at http://websvn.kde.org/trunk/extragear/office/kile/kile/complete/tex
- If in doubt don't hesitate to mail to kile-devel@lists.sourceforge.net and ask, we will be glad to help you :)
The Kile development team

22
TODO

@ -0,0 +1,22 @@
TODO
- allow users to set a preferred shell
- improving template support
- create a plain text importer (one that would convert % to \%, $ to \$ etc.)
- create a fast powerful (La)TeX parser
- recursive sectioning: also parse sections that were inserted with
\input or \include (optional)
- file_selector could use a configurable filter. Now only *.tex files are
shown, some people might use a .ltx extension for their LaTeX files (or
something completely different).
- #142987 project load crash
- strange ref error see http://sourceforge.net/forum/forum.php?thread_id=1746112&forum_id=292014 and BTS
docu:
- explain tool stuff and the magic %... abbreviations

File diff suppressed because it is too large Load Diff

910
aclocal.m4 vendored

@ -0,0 +1,910 @@
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(AC_AUTOCONF_VERSION, [2.61],,
[m4_warning([this file was generated for autoconf 2.61.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.10'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.10.1], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
# _AM_AUTOCONF_VERSION(VERSION)
# -----------------------------
# aclocal traces this macro to find the Autoconf version.
# This is a private macro too. Using m4_define simplifies
# the logic in aclocal, which can simply ignore this definition.
m4_define([_AM_AUTOCONF_VERSION], [])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.10.1])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run. This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
#
# $ac_aux_dir/missing
# fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
# fails if $ac_aux_dir is absolute,
# fails when called from a subdirectory in a VPATH build with
# a relative $ac_aux_dir
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
# harmless because $srcdir is `.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
# MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
#
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND],
[dnl Rely on autoconf to set up CDPATH properly.
AC_PREREQ([2.50])dnl
# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
])
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
[AC_PREREQ(2.52)dnl
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])dnl
AC_SUBST([$1_FALSE])dnl
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
if $2; then
$1_TRUE=
$1_FALSE='#'
else
$1_TRUE='#'
$1_FALSE=
fi
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
fi])])
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 9
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# _AM_DEPENDENCIES(NAME)
# ----------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX", "GCJ", or "OBJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], UPC, [depcc="$UPC" am_compiler_list=],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
am_cv_$1_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
#
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
# Solaris 8's {/usr,}/bin/sh.
touch sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
case $depmode in
nosideeffect)
# after this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
none) break ;;
esac
# We check with `-c' and `-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle `-M -o', and we need to detect this.
if depmode=$depmode \
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_$1_dependencies_compiler_type=$depmode
break
fi
fi
done
cd ..
rm -rf conftest.dir
else
am_cv_$1_dependencies_compiler_type=none
fi
])
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
AM_CONDITIONAL([am__fastdep$1], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
])
# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
AC_DEFUN([AM_SET_DEPDIR],
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
])
# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
[AC_ARG_ENABLE(dependency-tracking,
[ --disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
AC_SUBST([AMDEPBACKSLASH])dnl
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
])
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
#serial 3
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named `Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# Grep'ing the whole file is not good either: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running `make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
# AM_OUTPUT_DEPENDENCY_COMMANDS
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each `.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 13
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out. PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition. After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.60])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
# test to see if srcdir already configured
if test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
fi
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
else
CYGPATH_W=echo
fi
fi
AC_SUBST([CYGPATH_W])
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
AM_MISSING_PROG(AUTOCONF, autoconf)
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_CC],
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_CXX],
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES(OBJC)],
[define([AC_PROG_OBJC],
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
])
])
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
_am_arg=$1
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$_am_arg | $_am_arg:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
AC_DEFUN([AM_MAINTAINER_MODE],
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
dnl maintainer-mode is disabled by default
AC_ARG_ENABLE(maintainer-mode,
[ --enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer],
USE_MAINTAINER_MODE=$enableval,
USE_MAINTAINER_MODE=no)
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
MAINT=$MAINTAINER_MODE_TRUE
AC_SUBST(MAINT)dnl
]
)
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# AM_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo done
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
am__include=include
am__quote=
_am_result=GNU
fi
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
am__quote="\""
_am_result=BSD
fi
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 5
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it supports --run.
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
AC_MSG_WARN([`missing' script is too old or missing])
fi
])
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_MKDIR_P
# ---------------
# Check for `mkdir -p'.
AC_DEFUN([AM_PROG_MKDIR_P],
[AC_PREREQ([2.60])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
dnl while keeping a definition of mkdir_p for backward compatibility.
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
dnl Makefile.ins that do not define MKDIR_P, so we do our own
dnl adjustment using top_builddir (which is defined more often than
dnl MKDIR_P).
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
case $mkdir_p in
[[\\/$]]* | ?:[[\\/]]*) ;;
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
esac
])
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# _AM_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
# _AM_SET_OPTION(NAME)
# ------------------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
# _AM_SET_OPTIONS(OPTIONS)
# ----------------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftest.file`
fi
rm -f conftest.file
if test "$[*]" != "X $srcdir/configure conftest.file" \
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
test "$[2]" = conftest.file
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT(yes)])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_STRIP
# ---------------------
# One issue with vendor `install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
# always use install-sh in `make install-strip', and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
# Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'. However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Copyright (C) 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
# This macro is traced by Automake.
AC_DEFUN([_AM_SUBST_NOTMAKE])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# _AM_PROG_TAR(FORMAT)
# --------------------
# Check how to create a tarball in format FORMAT.
# FORMAT should be one of `v7', `ustar', or `pax'.
#
# Substitute a variable $(am__tar) that is a command
# writing to stdout a FORMAT-tarball containing the directory
# $tardir.
# tardir=directory && $(am__tar) > result.tar
#
# Substitute a variable $(am__untar) that extract such
# a tarball read from stdin.
# $(am__untar) < result.tar
AC_DEFUN([_AM_PROG_TAR],
[# Always define AMTAR for backward compatibility.
AM_MISSING_PROG([AMTAR], [tar])
m4_if([$1], [v7],
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
[m4_case([$1], [ustar],, [pax],,
[m4_fatal([Unknown tar format])])
AC_MSG_CHECKING([how to create a $1 tar archive])
# Loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
# Do not fold the above two line into one, because Tru64 sh and
# Solaris sh will not grok spaces in the rhs of `-'.
for _am_tool in $_am_tools
do
case $_am_tool in
gnutar)
for _am_tar in tar gnutar gtar;
do
AM_RUN_LOG([$_am_tar --version]) && break
done
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
am__untar="$_am_tar -xf -"
;;
plaintar)
# Must skip GNU tar: if it does not support --format= it doesn't create
# ustar tarball either.
(tar --version) >/dev/null 2>&1 && continue
am__tar='tar chf - "$$tardir"'
am__tar_='tar chf - "$tardir"'
am__untar='tar xf -'
;;
pax)
am__tar='pax -L -x $1 -w "$$tardir"'
am__tar_='pax -L -x $1 -w "$tardir"'
am__untar='pax -r'
;;
cpio)
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
am__untar='cpio -i -H $1 -d'
;;
none)
am__tar=false
am__tar_=false
am__untar=false
;;
esac
# If the value was cached, stop now. We just wanted to have am__tar
# and am__untar set.
test -n "${am_cv_prog_tar_$1}" && break
# tar/untar a dummy directory, and stop if the command works
rm -rf conftest.dir
mkdir conftest.dir
echo GrepMe > conftest.dir/file
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
rm -rf conftest.dir
if test -s conftest.tar; then
AM_RUN_LOG([$am__untar <conftest.tar])
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
fi
done
rm -rf conftest.dir
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
m4_include([acinclude.m4])

@ -0,0 +1,240 @@
/* config.h.in. Generated from configure.in by autoheader. */
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
#undef HAVE_CARBON_CARBON_H
/* Define if you have the CoreAudio API */
#undef HAVE_COREAUDIO
/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H
/* Defines if your system has the crypt function */
#undef HAVE_CRYPT
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if you have libjpeg */
#undef HAVE_LIBJPEG
/* Define if you have libpng */
#undef HAVE_LIBPNG
/* Define if you have a working libpthread (will enable threaded code) */
#undef HAVE_LIBPTHREAD
/* Define if you have libz */
#undef HAVE_LIBZ
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define if your system needs _NSGetEnviron to set up the environment */
#undef HAVE_NSGETENVIRON
/* Define if you have res_init */
#undef HAVE_RES_INIT
/* Define if you have the res_init prototype */
#undef HAVE_RES_INIT_PROTO
/* Define if you have a STL implementation by SGI */
#undef HAVE_SGI_STL
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define if you have strlcat */
#undef HAVE_STRLCAT
/* Define if you have the strlcat prototype */
#undef HAVE_STRLCAT_PROTO
/* Define if you have strlcpy */
#undef HAVE_STRLCPY
/* Define if you have the strlcpy prototype */
#undef HAVE_STRLCPY_PROTO
/* Define to 1 if you have the <sys/bitypes.h> header file. */
#undef HAVE_SYS_BITYPES_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Suffix for lib directories */
#undef KDELIBSUFF
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of `char *', as computed by sizeof. */
#undef SIZEOF_CHAR_P
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* The size of `size_t', as computed by sizeof. */
#undef SIZEOF_SIZE_T
/* The size of `unsigned long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* If we use arts volume */
#undef USE_ARTS
/* Version number of package */
#undef VERSION
/* Defined if compiling without arts */
#undef WITHOUT_ARTS
/*
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
* headers and I'm too lazy to write a configure test as long as only
* unixware is related
*/
#ifdef _UNIXWARE
#define HAVE_BOOLEAN
#endif
/*
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
* that defines bzero.
*/
#if defined(_AIX)
#include <strings.h>
#endif
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
# include <sys/time.h>
# include <crt_externs.h>
# define environ (*_NSGetEnviron())
#endif
#if !defined(HAVE_RES_INIT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int res_init(void);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCAT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcat(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCPY_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcpy(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
/*
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif
#if defined(__SVR4) && !defined(__svr4__)
#define __svr4__ 1
#endif
/* type to use in place of socklen_t if not defined */
#undef kde_socklen_t
/* type to use in place of socklen_t if not defined (deprecated, use
kde_socklen_t) */
#undef ksize_t

@ -0,0 +1,3 @@
./admin/configure.in.min
configure.in.in
configure.in.bot

@ -0,0 +1,256 @@
dnl =======================================================
dnl FILE: ./admin/configure.in.min
dnl =======================================================
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
dnl Boston, MA 02110-1301, USA.
# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas
dnl Process this file with autoconf to produce a configure script.
AC_INIT(acinclude.m4) dnl a source file from your sub dir
dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH
dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(kile-2.0.1, "3.5.9") dnl searches for some needed programs
AM_MAINTAINER_MODE
KDE_SET_PREFIX
dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files
AM_KDE_WITH_NLS
KDE_USE_QT(3.2)
AC_PATH_KDE
dnl =======================================================
dnl FILE: configure.in.in
dnl =======================================================
#MIN_CONFIG(3.2)
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
if test "$build_arts" = "yes"; then
AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
LIB_ARTS="-lartskde"
AC_SUBST(LIB_ARTS)
fi
KDE_INIT_DOXYGEN([The API Reference], [Version $VERSION])
KDE_CREATE_SUBDIRSLIST
AM_CONDITIONAL(doc_SUBDIR_included, test "x$doc_SUBDIR_included" = xyes)
AM_CONDITIONAL(src_SUBDIR_included, test "x$src_SUBDIR_included" = xyes)
AM_CONDITIONAL(translations_SUBDIR_included, test "x$translations_SUBDIR_included" = xyes)
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ doc/Makefile ])
AC_CONFIG_FILES([ src/Makefile ])
AC_CONFIG_FILES([ src/kile/Makefile ])
AC_CONFIG_FILES([ src/kile/complete/Makefile ])
AC_CONFIG_FILES([ src/kile/complete/abbreviation/Makefile ])
AC_CONFIG_FILES([ src/kile/complete/dictionary/Makefile ])
AC_CONFIG_FILES([ src/kile/complete/tex/Makefile ])
AC_CONFIG_FILES([ src/kile/encodings/Makefile ])
AC_CONFIG_FILES([ src/kile/help/Makefile ])
AC_CONFIG_FILES([ src/kile/icons/Makefile ])
AC_CONFIG_FILES([ src/kile/icons/actions/Makefile ])
AC_CONFIG_FILES([ src/kile/pics/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/arrows/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/cyrillic/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/delimiters/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/greek/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/misc-math/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/misc-text/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/operators/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/relation/Makefile ])
AC_CONFIG_FILES([ src/kile/symbols/special/Makefile ])
AC_CONFIG_FILES([ src/kile/syntax/Makefile ])
AC_CONFIG_FILES([ src/kile/templates/Makefile ])
AC_CONFIG_FILES([ src/kile/test/Makefile ])
AC_CONFIG_FILES([ translations/Makefile ])
AC_CONFIG_FILES([ translations/ar/Makefile ])
AC_CONFIG_FILES([ translations/ar/messages/Makefile ])
AC_CONFIG_FILES([ translations/bg/Makefile ])
AC_CONFIG_FILES([ translations/bg/messages/Makefile ])
AC_CONFIG_FILES([ translations/br/Makefile ])
AC_CONFIG_FILES([ translations/br/messages/Makefile ])
AC_CONFIG_FILES([ translations/ca/Makefile ])
AC_CONFIG_FILES([ translations/ca/messages/Makefile ])
AC_CONFIG_FILES([ translations/cs/Makefile ])
AC_CONFIG_FILES([ translations/cs/messages/Makefile ])
AC_CONFIG_FILES([ translations/cy/Makefile ])
AC_CONFIG_FILES([ translations/cy/messages/Makefile ])
AC_CONFIG_FILES([ translations/da/Makefile ])
AC_CONFIG_FILES([ translations/da/doc/Makefile ])
AC_CONFIG_FILES([ translations/da/messages/Makefile ])
AC_CONFIG_FILES([ translations/de/Makefile ])
AC_CONFIG_FILES([ translations/de/messages/Makefile ])
AC_CONFIG_FILES([ translations/el/Makefile ])
AC_CONFIG_FILES([ translations/el/messages/Makefile ])
AC_CONFIG_FILES([ translations/en_GB/Makefile ])
AC_CONFIG_FILES([ translations/en_GB/messages/Makefile ])
AC_CONFIG_FILES([ translations/es/Makefile ])
AC_CONFIG_FILES([ translations/es/doc/Makefile ])
AC_CONFIG_FILES([ translations/es/messages/Makefile ])
AC_CONFIG_FILES([ translations/et/Makefile ])
AC_CONFIG_FILES([ translations/et/doc/Makefile ])
AC_CONFIG_FILES([ translations/et/messages/Makefile ])
AC_CONFIG_FILES([ translations/eu/Makefile ])
AC_CONFIG_FILES([ translations/eu/messages/Makefile ])
AC_CONFIG_FILES([ translations/fi/Makefile ])
AC_CONFIG_FILES([ translations/fi/messages/Makefile ])
AC_CONFIG_FILES([ translations/fr/Makefile ])
AC_CONFIG_FILES([ translations/fr/messages/Makefile ])
AC_CONFIG_FILES([ translations/ga/Makefile ])
AC_CONFIG_FILES([ translations/ga/messages/Makefile ])
AC_CONFIG_FILES([ translations/gl/Makefile ])
AC_CONFIG_FILES([ translations/gl/messages/Makefile ])
AC_CONFIG_FILES([ translations/hi/Makefile ])
AC_CONFIG_FILES([ translations/hi/messages/Makefile ])
AC_CONFIG_FILES([ translations/hu/Makefile ])
AC_CONFIG_FILES([ translations/hu/messages/Makefile ])
AC_CONFIG_FILES([ translations/is/Makefile ])
AC_CONFIG_FILES([ translations/is/messages/Makefile ])
AC_CONFIG_FILES([ translations/it/Makefile ])
AC_CONFIG_FILES([ translations/it/doc/Makefile ])
AC_CONFIG_FILES([ translations/it/messages/Makefile ])
AC_CONFIG_FILES([ translations/ja/Makefile ])
AC_CONFIG_FILES([ translations/ja/messages/Makefile ])
AC_CONFIG_FILES([ translations/lt/Makefile ])
AC_CONFIG_FILES([ translations/lt/messages/Makefile ])
AC_CONFIG_FILES([ translations/ms/Makefile ])
AC_CONFIG_FILES([ translations/ms/messages/Makefile ])
AC_CONFIG_FILES([ translations/mt/Makefile ])
AC_CONFIG_FILES([ translations/mt/messages/Makefile ])
AC_CONFIG_FILES([ translations/nb/Makefile ])
AC_CONFIG_FILES([ translations/nb/messages/Makefile ])
AC_CONFIG_FILES([ translations/nds/Makefile ])
AC_CONFIG_FILES([ translations/nds/messages/Makefile ])
AC_CONFIG_FILES([ translations/nl/Makefile ])
AC_CONFIG_FILES([ translations/nl/doc/Makefile ])
AC_CONFIG_FILES([ translations/nl/messages/Makefile ])
AC_CONFIG_FILES([ translations/nn/Makefile ])
AC_CONFIG_FILES([ translations/nn/messages/Makefile ])
AC_CONFIG_FILES([ translations/pa/Makefile ])
AC_CONFIG_FILES([ translations/pa/messages/Makefile ])
AC_CONFIG_FILES([ translations/pl/Makefile ])
AC_CONFIG_FILES([ translations/pl/messages/Makefile ])
AC_CONFIG_FILES([ translations/pt/Makefile ])
AC_CONFIG_FILES([ translations/pt/doc/Makefile ])
AC_CONFIG_FILES([ translations/pt/messages/Makefile ])
AC_CONFIG_FILES([ translations/pt_BR/Makefile ])
AC_CONFIG_FILES([ translations/pt_BR/messages/Makefile ])
AC_CONFIG_FILES([ translations/ro/Makefile ])
AC_CONFIG_FILES([ translations/ro/messages/Makefile ])
AC_CONFIG_FILES([ translations/ru/Makefile ])
AC_CONFIG_FILES([ translations/ru/messages/Makefile ])
AC_CONFIG_FILES([ translations/rw/Makefile ])
AC_CONFIG_FILES([ translations/rw/messages/Makefile ])
AC_CONFIG_FILES([ translations/sk/Makefile ])
AC_CONFIG_FILES([ translations/sk/messages/Makefile ])
AC_CONFIG_FILES([ translations/sr/Makefile ])
AC_CONFIG_FILES([ translations/sr/messages/Makefile ])
AC_CONFIG_FILES([ translations/sr@Latn/Makefile ])
AC_CONFIG_FILES([ translations/sr@Latn/messages/Makefile ])
AC_CONFIG_FILES([ translations/sv/Makefile ])
AC_CONFIG_FILES([ translations/sv/doc/Makefile ])
AC_CONFIG_FILES([ translations/sv/messages/Makefile ])
AC_CONFIG_FILES([ translations/ta/Makefile ])
AC_CONFIG_FILES([ translations/ta/messages/Makefile ])
AC_CONFIG_FILES([ translations/th/Makefile ])
AC_CONFIG_FILES([ translations/th/messages/Makefile ])
AC_CONFIG_FILES([ translations/tr/Makefile ])
AC_CONFIG_FILES([ translations/tr/messages/Makefile ])
AC_CONFIG_FILES([ translations/uk/Makefile ])
AC_CONFIG_FILES([ translations/uk/messages/Makefile ])
AC_CONFIG_FILES([ translations/zh_CN/Makefile ])
AC_CONFIG_FILES([ translations/zh_CN/messages/Makefile ])
AC_OUTPUT
dnl Put here things to be done at the very end - telling users
dnl about additional packages to install. Better yet is giving
dnl each project / subdr its own configure.in.bot.
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then
echo ""
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi
fi
fi
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
echo ""
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
echo ""
echo "For better performance, consider including the Qt visibility supporting patch"
echo "located at:"
echo ""
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
echo ""
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
echo "everything will continue to work just fine without it."
echo ""
fi
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

@ -0,0 +1,4 @@
dnl Put here things to be done at the very end - telling users
dnl about additional packages to install. Better yet is giving
dnl each project / subdr its own configure.in.bot.

@ -0,0 +1,11 @@
#MIN_CONFIG(3.2)
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
if test "$build_arts" = "yes"; then
AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
LIB_ARTS="-lartskde"
AC_SUBST(LIB_ARTS)
fi
KDE_INIT_DOXYGEN([The API Reference], [Version $VERSION])

@ -0,0 +1,2 @@
KDE_LANG = en
KDE_DOCS = kile

@ -0,0 +1 @@
- add section on how to use character encodings in Kile

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,57 @@
This document describes Kile's DCOP interface, the parts of the Lyx protocol known by Kile and
the services Kile can use from other KDE apps.
1. Kile's DCOP interface
Open a file either by absolute or relative path:
virtual void openDocument(const QString &);
Insert text at the cursor position in the current document; this can be used to replace Lyx's pipe mechanism:
virtual void insertText(const QString &);
Same effect as openDocument; kept for backward compatibility:
virtual void fileSelected(const QString &);
Close the current document:
virtual void closeDocument();
Open a Kile project file, either by absolute or relative path:
virtual void openProject(const QString &);
Jump to the given line in the current document; please note that the parameter is not of the type 'int' but of 'QString' instead:
virtual void setLine(const QString &);
Raise Kile's main window; does not steal the focus:
virtual void setActive();
Run the given tool; the return values are { Running = 0, ConfigureFailed, NoLauncherInstalled, NoValidTarget, NoValidSource, TargetHasWrongPermissions, NoValidPrereqs, CouldNotLaunch, SelfCheckFailed}:
virtual int run(const QString &);
Run the given tool with a specific configuration as second parameter; returns the same values as the function above:
virtual int runWith(const QString &, const QString &);
2. Kile's Lyx Pipe emulation
The following Lyx commands are understood by Kile.
Insert the citations $Name1, Name2, ... at the current cursor postion; the citation command is hard coded to '\cite':
:citation-insert:$Name1,$Name2
Insert the command \bibliography with the files named $myBib1, $myBib2, ... at the current cursor position:
:bibtex-database-add:$myBib
Insert the string $text at the current cursor position:
:paste:$text
3. Services usable Kile
Kile can ask a BibTeX manager to insert all marked citations; for example, via the menu item "LaTeX->References->cite from viewBib".
Currently only KBib (http://user.digisurf.com.au/~thachly/kbib) is supported. If you want to get your application added, please contact us
at kile-devel _ aht_ lists.sourceforge.net.
Valid for Kile 2.0, written at 10/08/2007
The Kile Development Team

@ -0,0 +1,139 @@
PROJECT( kile )
CMAKE_MINIMUM_REQUIRED( VERSION 2.4.4 FATAL_ERROR )
SET( KILE_VERSION CACHE STRING "Kile's version; can be used to install special documentation files in share/doc/kile-$KILE_VERSION/" )
SET( kile_PO_FILE "kile.po" )
SET( kile_DOCBOOK "index.docbook" )
MACRO( KILE_ADD_DOCBOOK_DIRECTORY _sources _relative_dir _docbook _language )
# only depend on images
FILE( GLOB_RECURSE _dependencies ${CMAKE_CURRENT_SOURCE_DIR}/${_relative_dir}/*.[pP][nN][gG] )
FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir} )
SET( _source_docbook ${CMAKE_CURRENT_SOURCE_DIR}/${_relative_dir}/${_docbook} )
SET( _compiled_docbook ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir}/index.cache.bz2 )
ADD_CUSTOM_COMMAND(OUTPUT ${_compiled_docbook}
COMMAND ${KILE_MEINPROC} --check --cache index.cache.bz2 ${_source_docbook}
DEPENDS ${_dependencies} ${_source_docbook}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir}
COMMENT "Compiling ${_language} docbook in ${_relative_dir}/${_docbook}" )
INSTALL( FILES ${_compiled_docbook} ${_dependencies} DESTINATION share/doc/HTML/${_language})
SET( ${_sources} ${${_sources}} ${_compiled_docbook} )
ENDMACRO( KILE_ADD_DOCBOOK_DIRECTORY _sources _docbook _language )
MACRO( KILE_ADD_TRANSLATION_DIRECTORY _sources _relative_dir _file _language )
FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir} )
GET_FILENAME_COMPONENT(_base_name ${_file} NAME_WE)
SET( _source_file ${CMAKE_CURRENT_SOURCE_DIR}/${_relative_dir}/${_file} )
SET( _base_compiled_file ${_base_name}.mo)
SET( _compiled_file ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir}/${_base_compiled_file} )
ADD_CUSTOM_COMMAND(OUTPUT ${_compiled_file}
COMMAND ${KILE_MSGFMT} -o ${_compiled_file} ${_source_file}
DEPENDS ${_source_file}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir}
COMMENT "Compiling ${_language} translation file" )
INSTALL( FILES ${_compiled_file} DESTINATION share/locale/${_language}/LC_MESSAGES )
SET( ${_sources} ${${_sources}} ${_compiled_file} )
ENDMACRO( KILE_ADD_TRANSLATION_DIRECTORY _sources _relative_dir _file _language )
MACRO( KILE_ADD_TRANSLATION_DIRECTORIES _documentation_sources _translation_sources _dir )
FILE( GLOB _subdirectories ${_dir}/* )
FOREACH( _entry ${_subdirectories} )
IF( IS_DIRECTORY ${_entry} )
GET_FILENAME_COMPONENT( _language ${_entry} NAME )
IF( KILE_MSGFMT AND EXISTS ${_entry}/messages )
KILE_ADD_TRANSLATION_DIRECTORY( ${_translation_sources} translations/${_language}/messages ${kile_PO_FILE} ${_language} )
SET(_translations_built ${_translations_built} ${_language} )
ENDIF( KILE_MSGFMT AND EXISTS ${_entry}/messages )
IF( KILE_MEINPROC AND EXISTS ${_entry}/doc )
KILE_ADD_DOCBOOK_DIRECTORY( ${_documentation_sources} translations/${_language}/doc ${kile_DOCBOOK} ${_language} )
SET(_docbooks_built ${_docbooks_built} ${_language} )
ENDIF( KILE_MEINPROC AND EXISTS ${_entry}/doc )
ENDIF( IS_DIRECTORY ${_entry} )
ENDFOREACH( _entry ${_subdirectories} )
IF( _translations_built )
MESSAGE( STATUS "Building translations for ${_translations_built}" )
ELSE( _translations_built )
MESSAGE( STATUS "Not building translations" )
ENDIF( _translations_built )
IF( _docbooks_built )
MESSAGE( STATUS "Building documentation for ${_docbooks_built}" )
ELSE( _docbooks_built )
MESSAGE( STATUS "Not building additional documentation" )
ENDIF( _docbooks_built )
ENDMACRO( KILE_ADD_TRANSLATION_DIRECTORIES _documentation_sources _translation_sources _dir )
MACRO( KILE_FIND_DOC_TOOLS )
FIND_PROGRAM( KILE_MEINPROC "meinproc" DOC "path of the meinproc executable")
IF( KILE_MEINPROC )
MESSAGE( STATUS "Found meinproc executable: ${KILE_MEINPROC}" )
ELSE( KILE_MEINPROC )
MESSAGE( STATUS "meinproc executable not found" )
ENDIF( KILE_MEINPROC )
FIND_PROGRAM( KILE_MSGFMT "msgfmt" DOC "path of the msgfmt executable")
IF( KILE_MEINPROC )
MESSAGE( STATUS "Found msgfmt executable: ${KILE_MSGFMT}" )
ELSE( KILE_MEINPROC )
MESSAGE( STATUS "msgfmt executable not found" )
ENDIF( KILE_MEINPROC )
IF( KILE_MEINPROC AND KILE_MSGFMT )
SET( KILE_DOC_TOOLS_FOUND true )
ENDIF( KILE_MEINPROC AND KILE_MSGFMT )
ENDMACRO( KILE_FIND_DOC_TOOLS )
IF( EXISTS ${kile_SOURCE_DIR}/doc OR EXISTS ${kile_SOURCE_DIR}/translations )
KILE_FIND_DOC_TOOLS( )
ENDIF( EXISTS ${kile_SOURCE_DIR}/doc OR EXISTS ${kile_SOURCE_DIR}/translations )
IF( EXISTS ${kile_SOURCE_DIR}/doc )
IF( KILE_MEINPROC )
MESSAGE( STATUS "Building standard documentation")
KILE_ADD_DOCBOOK_DIRECTORY( kile_DOCUMENTATION_SOURCES doc index.docbook en )
ENDIF( KILE_MEINPROC )
ELSE( EXISTS ${kile_SOURCE_DIR}/doc )
MESSAGE( STATUS "Not building standard documentation")
ENDIF( EXISTS ${kile_SOURCE_DIR}/doc )
IF( EXISTS ${kile_SOURCE_DIR}/translations )
IF( KILE_MEINPROC OR KILE_MSGFMT )
KILE_ADD_TRANSLATION_DIRECTORIES( kile_DOCUMENTATION_SOURCES kile_TRANSLATION_SOURCES ${kile_SOURCE_DIR}/translations )
ENDIF( KILE_MEINPROC OR KILE_MSGFMT )
ELSE( EXISTS ${kile_SOURCE_DIR}/translations )
MESSAGE( STATUS "Not building translations")
ENDIF( EXISTS ${kile_SOURCE_DIR}/translations )
IF( kile_DOCUMENTATION_SOURCES )
ADD_CUSTOM_TARGET(docbooks ALL DEPENDS ${kile_DOCUMENTATION_SOURCES})
ENDIF( kile_DOCUMENTATION_SOURCES )
IF( kile_TRANSLATION_SOURCES )
ADD_CUSTOM_TARGET(translations ALL DEPENDS ${kile_TRANSLATION_SOURCES})
ENDIF( kile_TRANSLATION_SOURCES)
ADD_SUBDIRECTORY( kile )
########### install files ###############
INSTALL( FILES x-kilepr.desktop DESTINATION share/mimelink/text )
INSTALL( FILES kile.upd kile1.6_upd.pl kile1.7_upd.pl kile1.9_upd.pl kile1.9-1_upd.pl kile2.0-1_upd.pl kile2.0-2_upd.pl kile2.0-3_upd.pl kile2.0-4_upd.pl kile2.0-5_upd.pl DESTINATION share/apps/kconf_update )
IF( KILE_VERSION )
SET(_KILE_SPECIAL_DOC_DIR "share/doc/kile-${KILE_VERSION}")
ELSE( KILE_VERSION )
SET(_KILE_SPECIAL_DOC_DIR "share/doc/kile")
ENDIF( KILE_VERSION )
INSTALL( FILES AUTHORS ChangeLog README README.cwl kile-remote-control.txt README.MacOSX TODO DESTINATION ${_KILE_SPECIAL_DOC_DIR})

@ -0,0 +1,397 @@
GNU Free Documentation License
Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
world-wide, royalty-free license, unlimited in duration, to use that
work under the conditions stated herein. The "Document", below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
(or to related matters) and contains nothing that could fall directly
within that overall subject. (Thus, if the Document is in part a
textbook of mathematics, a Secondary Section may not explain any
mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML, PostScript or PDF designed for human modification. Examples of
transparent image formats include PNG, XCF and JPG. Opaque formats
include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a computer-network location from which the general network-using
public has access to download using public-standard network protocols
a complete Transparent copy of the Document, free of added material.
If you use the latter option, you must take reasonably prudent steps,
when you begin distribution of Opaque copies in quantity, to ensure
that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has fewer than five),
unless they release you from this requirement.
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section Entitled "History", Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section Entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications",
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
7. AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
resulting from the compilation is not used to limit the legal rights
of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also include
the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such
parties remain in full compliance.
10. FUTURE REVISIONS OF THIS LICENSE
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
http://www.gnu.org/copyleft/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.

@ -0,0 +1,222 @@
<!DOCTYPE kdevelop>
<kdevelop>
<general>
<author>Jeroen Wijnhout</author>
<email>Jeroen.Wijnhout@kdemail.net</email>
<version>$VERSION$</version>
<projectmanagement>KDevKDEAutoProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<keywords>
<keyword>Qt</keyword>
<keyword>KDE</keyword>
</keywords>
<projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath>
<description/>
<ignoreparts/>
<secondaryLanguages/>
</general>
<kdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
<group pattern="*.png" name="Icons" />
<group pattern="*.po;*.ts" name="Translations" />
<group pattern="*" name="Others" />
<hidenonprojectfiles>false</hidenonprojectfiles>
<hidenonlocation>false</hidenonlocation>
</groups>
<tree>
<hidenonprojectfiles>false</hidenonprojectfiles>
<hidepatterns></hidepatterns>
<showvcsfields>true</showvcsfields>
</tree>
</kdevfileview>
<kdevdoctreeview>
<ignoretocs>
<toc>gtk</toc>
<toc>gnustep</toc>
<toc>python</toc>
<toc>php</toc>
<toc>perl</toc>
<toc>gnome1</toc>
<toc>w3c-svg</toc>
<toc>w3c-uaag10</toc>
<toc>w3c-dom-level2-html</toc>
<toc>sw</toc>
<toc>ruby</toc>
<toc>haskell</toc>
<toc>kdev3api</toc>
<toc>opengl</toc>
<toc>ada</toc>
<toc>clanlib</toc>
<toc>wxwindows_bugs</toc>
<toc>sdl</toc>
<toc>ruby_bugs</toc>
<toc>php_bugs</toc>
<toc>perl_bugs</toc>
<toc>python_bugs</toc>
<toc>pascal_bugs_fp</toc>
<toc>java_bugs_sun</toc>
<toc>haskell_bugs_ghc</toc>
<toc>java_bugs_gcc</toc>
<toc>gtk_bugs</toc>
<toc>fortran_bugs_gcc</toc>
<toc>ada_bugs_gcc</toc>
</ignoretocs>
<projectdoc>
<userdocDir>/home/kde-dev/kde/src/kile/head/kdeextragear-2/doc/kile/</userdocDir>
<apidocDir>/home/kde-dev/kde/build/kile/head/kdeextragear-2/kile/html/</apidocDir>
</projectdoc>
<ignoreqt_xml>
<toc>qmake User Guide</toc>
<toc>Guide to the Qt Translation Tools</toc>
<toc>Qt Assistant Manual</toc>
<toc>Qt Designer Manual</toc>
</ignoreqt_xml>
<ignoredoxygen/>
<ignorekdocs/>
<ignoredevhelp>
<toc>gdk-pixbuf</toc>
<toc>libbonoboui</toc>
<toc>libbonobo</toc>
<toc>gtk</toc>
<toc>gobject</toc>
<toc>glib</toc>
<toc>gdk</toc>
<toc>bonobo-activation</toc>
</ignoredevhelp>
</kdevdoctreeview>
<kdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
<programargs/>
<gdbpath/>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>false</floatingtoolbar>
<runappinappdirectory>true</runappinappdirectory>
<configGdbScript/>
<runShellScript/>
<runGdbScript/>
</general>
<display>
<staticmembers>false</staticmembers>
<demanglenames>true</demanglenames>
<outputradix>10</outputradix>
</display>
</kdevdebugger>
<kdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
</kdevfilecreate>
<kdevautoproject>
<make>
<envvars>
<envvar value="1" name="WANT_AUTOCONF_2_5" />
<envvar value="1" name="WANT_AUTOMAKE_1_6" />
</envvars>
<abortonerror>false</abortonerror>
<numberofjobs>1</numberofjobs>
<dontact>false</dontact>
<makebin>unsermake</makebin>
<prio>0</prio>
</make>
<general>
<useconfiguration>default</useconfiguration>
</general>
<run>
<mainprogram>kile/kile/kile</mainprogram>
<programargs/>
<terminal>false</terminal>
<autocompile>true</autocompile>
<envvars/>
<directoryradio>build</directoryradio>
<customdirectory>/home/wijnhout/Devel/KDE/bin/</customdirectory>
</run>
<configurations>
<default>
<configargs>--enable-debug=full --prefix=/opt/kde3</configargs>
<builddir>build-kde-3.4</builddir>
<topsourcedir>..</topsourcedir>
<cppflags/>
<ldflags/>
<ccompiler>kdevgccoptions</ccompiler>
<cxxcompiler>kdevgppoptions</cxxcompiler>
<f77compiler>kdevpgf77options</f77compiler>
<ccompilerbinary/>
<cxxcompilerbinary/>
<f77compilerbinary/>
<cflags/>
<cxxflags>-pg</cxxflags>
<f77flags/>
<envvars/>
</default>
</configurations>
</kdevautoproject>
<cppsupportpart>
<codecompletion/>
<filetemplates>
<choosefiles>false</choosefiles>
<interfaceURL/>
<implementationURL/>
<interfacesuffix>.h</interfacesuffix>
<implementationsuffix>.cpp</implementationsuffix>
<lowercasefilenames>true</lowercasefilenames>
</filetemplates>
</cppsupportpart>
<kdevclassview>
<folderhierarchy>true</folderhierarchy>
<depthoffolders>2</depthoffolders>
</kdevclassview>
<kdevcvs>
<cvsoptions>-f</cvsoptions>
<commitoptions/>
<addoptions/>
<logoptions/>
<updateoptions>-dP</updateoptions>
<removeoptions>-f</removeoptions>
<revertoptions>-C -d -P</revertoptions>
<diffoptions>-u3 -p</diffoptions>
<rshoptions/>
</kdevcvs>
<kdevcppsupport>
<codecompletion>
<includeGlobalFunctions>true</includeGlobalFunctions>
<includeTypes>true</includeTypes>
<includeEnums>true</includeEnums>
<includeTypedefs>false</includeTypedefs>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<headerCompletionDelay>250</headerCompletionDelay>
</codecompletion>
<references/>
<qt>
<used>true</used>
<version>3</version>
<root>/usr/lib/qt3</root>
</qt>
<creategettersetter>
<prefixGet/>
<prefixSet>set</prefixSet>
<prefixVariable>m_,_</prefixVariable>
<parameterName>theValue</parameterName>
<inlineGet>true</inlineGet>
<inlineSet>true</inlineSet>
</creategettersetter>
</kdevcppsupport>
<kdevcvsservice>
<recursivewhenupdate>true</recursivewhenupdate>
<prunedirswhenupdate>true</prunedirswhenupdate>
<createdirswhenupdate>true</createdirswhenupdate>
<recursivewhencommitremove>true</recursivewhencommitremove>
<revertoptions>-C</revertoptions>
</kdevcvsservice>
</kdevelop>

@ -0,0 +1,15 @@
####### kdevelop will overwrite this part!!! (begin)##########
SUBDIRS = kile
mimetypetextdata_DATA = x-kilepr.desktop
mimetypetextdatadir = $(kde_mimedir)/text
update_DATA = kile.upd
update_SCRIPTS = kile1.6_upd.pl kile1.7_upd.pl kile1.9-1_upd.pl kile1.9_upd.pl \
kile2.0-1_upd.pl kile2.0-2_upd.pl kile2.0-3_upd.pl kile2.0-4_upd.pl kile2.0-5_upd.pl
updatedir = $(kde_datadir)/kconf_update
EXTRA_DIST = kile.kdevprj admin AUTHORS COPYING ChangeLog kile-remote-control.txt README README.cwl README.MacOSX kile.lsm $(mimetypetextdata_DATA)

@ -0,0 +1,532 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Kile Bug Hunting Protocol</title><style type="text/css">
body { background-color:white; color:black }
td { text-align:center; background-color:#eee }
th { text-align:center; background-color:#228; color:white }
td.sum { text-align:left }
td.sumdone { text-align:left; background-color:#ccc }
td.done { background-color:#ccc }
td.subhead { text-align:center; background-color:#ccf }
td.datehead { text-align:center; background-color:#ccf }
td.space { background-color:white }
td.date { text-align:left }
td.dateholiday { text-align:left; color:red }
</style>
</head><body>
<h1>Kile Bug Hunting Protocol</h1>
<table border="0" cellpadding="3" cellspacing="3">
<tr>
<th class="sum">Task</th>
<th>Priority</th>
<th>Completed</th>
<th>Due Date</th>
</tr>
<tr>
<td class="sum">
<a name="libkcal-439576309.563"></a>
<b>Bug Hunting</b>
<div align="right"><a href="#sublibkcal-439576309.563">Sub-Tasks</a></div>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="subhead" colspan="4"><a name="sublibkcal-439576309.563"></a>Sub-Tasks of: <a href="#libkcal-439576309.563"><b>Bug Hunting</b></a></td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-984451268.463"></a>
<b>Session Management</b>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-553179975.872"></a>
<b>Templates</b>
<p>- create<br />- remove<br />- icons<br />- same name<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-756448440.281"></a>
<b>Convert</b>
<p>- check encoding<br />- go over all examples<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1233439575.576"></a>
<b>Statistics</b>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1523220832.882"></a>
<b>Advanced Editing</b>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-666792863.127"></a>
<b>Structure View</b>
<p>- content<br />
- updating
<br /> - close<br /> - open<br /> - switch<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1956520011.991"></a>
<b>Tools</b>
<p>- create new tools<br />- create new configs <br />- remove tools<br />- remove default config<br />- put tools on toolbar<br /><br />- watch file<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-270596009.732"></a>
<b>Log Parsing</b>
<p>- go over testcases<br />- check error browsing (using both ways)<br />- view log file<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-571614760.948"></a>
<b>Cleaning</b>
<p>- modify the extension list<br />- check if auto-clean works<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-432339186.181"></a>
<b>Projects</b>
<div align="right"><a href="#sublibkcal-432339186.181">Sub-Tasks</a></div>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-965801818.761"></a>
<b>User Tags</b>
<p>- add<br />- edit<br />- remove<br />- test %C %M %<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-101464808.391"></a>
<b>Shortcuts</b>
<p>test all shortcuts<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-419506450.331"></a>
<b>Tags</b>
<p>- test _all_ tags<br />- check the tips given in the Log/Message view<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-2024654010.663"></a>
<b>Wizards</b>
<p>- try out all wizards<br />- no document open<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-601018983.329"></a>
<b>Spell checking</b>
<p>- LaTeX commands should be ignored<br />- random replace/ignore etc.<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-2064369941.864"></a>
<b>Master Document</b>
<p>play with:<br />- setting master document explicitly<br />- automatic detection in projects<br />- override in project settings dialog<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1902481457.645"></a>
<b>Watch File</b>
<p>- also test with QuickBuild<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-830301444.587"></a>
<b>System Check</b>
<p>- make each tool unavailable or not working<br />- also test using a Kile installed in $HOME dir<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1370349546.711"></a>
<b>GUI</b>
<p>- hide/show side/bottom bar (pay attention to the minimal size)<br />- check if toolbars are restored correctly<br /> - hidden/shown<br /> - icon size<br /> - text?<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-309067887.612"></a>
<b>Settings</b>
<div align="right"><a href="#sublibkcal-309067887.612">Sub-Tasks</a></div>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-201152747.1056"></a>
<b>Help</b>
<p>- LaTeX reference<br />- Handbook<br />- Context sensitive help<br />- teTeX docs (what happens if not installed?)<br />- about Kile<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="subhead" colspan="4"><a name="sublibkcal-432339186.181"></a>Sub-Tasks of: <a href="#libkcal-432339186.181"><b>Projects</b></a></td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-2090044041.879"></a>
<b>New Projects</b>
<p>- try to use invalid names<br />- try to create already existing project or file<br />- monkey test<br /><br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1923455343.572"></a>
<b>Project Options</b>
<p>check whether or not all project options are respected<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-191369577.684"></a>
<b>Archive</b>
<p>- in/exclude files<br />- stress test: how many files can we handle?<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-931760223.707"></a>
<b>Sharing files</b>
<p>- open/close projects that share files (make sure we cover all possibilities, file open in one project not in the other, ...)<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="subhead" colspan="4"><a name="sublibkcal-309067887.612"></a>Sub-Tasks of: <a href="#libkcal-309067887.612"><b>Settings</b></a></td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1637132949.758"></a>
<b>General</b>
<p>- check all options<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-584767411.506"></a>
<b>Build</b>
<p>- check default size of the widget (tends to be too small)<br />- create/remove tools<br />- change type/class of tools, check if all tabs are changed accordingly<br />- pay special attention to the QuickBuild configuration<br />- default settings<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1303619548.1088"></a>
<b>LaTeX</b>
<p>- check all options<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-1413628404.454"></a>
<b>Complete</b>
<p>- check all options<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td class="sum">
<a name="libkcal-2129115244.1001"></a>
<b>Help</b>
<p>- check all options<br /></p>
</td>
<td>
3
</td>
<td>
0 %
</td>
<td>
&nbsp;
</td>
</tr>
</table>
<p>This page was created by <a href="mailto:Jeroen.Wijnhout@kdemail.net">Jeroen Wijnhout</a> with <a href="http://korganizer.kde.org">KOrganizer</a></p>
</body></html>

@ -0,0 +1,2 @@
export UNSERMAKE=no
./createPackage.sh -ab trunk/extragear/office -a kile --i18n-sub extragear-office --admin branches/KDE/3.5/kde-common/admin -av 1.9 --package

@ -0,0 +1,876 @@
#!/bin/bash
#
# Extract an application from KDE svn, including documentation and translations.
#
# Authors: Michael Buesch <mbuesch@freenet.de>
# Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>
# Sebastian Trueg
# Aurelien Gateau
# Klas Kalass
# License: GPL (http://www.gnu.org/)
#
#
# Directory lay-out of packages
# Application:
# + name-version
# + admin
# + src
# + doc
# + translations
# + nl
# + messages
# + doc
# + de (etc.)
#
# If the --notoplevel parameter is used everything under src is put into the root dir
#
# Translations:
# + nl
# + messages
# + doc
# + de (etc.)
COPYRIGHT="2005 Michael Buesch <mbuesch@freenet.de>
2004-2005 Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>
2003-2004 Sebastian Trueg
2002 Aurelien Gateau
2002-2004 Klas Kalass"
LICENSE="GNU General Public License v2 or later"
SCRIPTNAME="createPackage.sh"
SCRIPTVERSION='$Revision$'
SCRIPTVERSION="`echo $SCRIPTVERSION | cut -d ' ' -f2`"
function showVersion
{
echo "$SCRIPTNAME revision $SCRIPTVERSION"
}
function showHelp
{
showVersion
echo -e "
Extract an application from KDE svn, including documentation and translations.
Copyright $COPYRIGHT
License: $LICENSE
usage:
$0 -ab <PATH> -a <NAME> [OPTIONS]
These parameters are mandatory:
-ab|--app-base <PATH> Relative (to svnroot) path to the KDE or extragear module.
Example:
trunk/extragear/utils
If you want to checkout from a branch, you might use:
branches/foobar/1.2
-a|--app <NAME> Name of the application to checkout.
This is the subdir you want to checkout in --app-base.
The following options are available:
-d|--svnroot <URL> Base URL of the svn repository.
svn://anonsvn.kde.org/home/kde is the default.
-ib|--i18n-base <PATH> Path to the i18n translations base.
Default:
trunk/l10n
-is|--i18n-sub <PATH> Path to the i18n files under the
\$i18n-base/\$LANGUAGE/messages
directories. Example:
extragear-office
-ids|--i18n-docsub <PATH> Path to the i18n docbook files under the
\$i18n-base/\$LANGUAGE/docs
directories. Example:
kdeextragear-2
Default:
path of --i18n-sub
--admin <PATH> Path to the /admin/ directory.
Default:
trunk/KDE/kde-common/admin
-b|--builddir <DIRNAME> Name of the temporary working directory where
all files will be put. Default is \"./build\"
-av|--appversion <VERSION> Version of the application (only for correct
naming of the tar archives).
--nodoc Do not try to get any documentation.
--noi18n Do not search for any translations.
--split Make separate packages for the application and translations.
--package [TYPE] Create tarballs (.tar.gz and/or .tar.bz2).
You can specify an optional package type: \"gzip\" or \"bzip2\"
If no type is given, both types will be generated.
--packagedir <TARBALLDIR> Place a copy of the packages into TARBALLDIR.
--postprocess <SCRIPT> Runs SCRIPT on the package, after all data is gathered, but before
the tarball is generated. This allows packagers to give the
\"final touch\" to the package.
--pofiles <POFILES> Space seperated list of pofiles this application uses without the extension.
Defaults to the name of the application.
-l|--languages <LANGUAGES> Space seperated list of languages to search for
translations. If no languages are specified, all
available languages will be included.
-el|--exclude-languages <LANGUAGES> Space seperated list of languages not to include
in the package.
--logfile <FILE> Write all logging information to FILE.
If FILE is \"no\", no logfile will be created.
--notoplevel Do not create an additional src directory. Do not checkout the top level files.
Use configure.in.in and Makefile.am from the application's root directory.
-v|--version Version of this script
-h|--help This Help"
}
#
# Some simple helper functions.
#
function printlog
{
if [ -n "$LOGFILE" ]; then
echo -e "$SCRIPTNAME: $*" >> $LOGFILE
fi
}
function printnlog
{
if [ -n "$LOGFILE" ]; then
echo -n -e "$SCRIPTNAME: $*" >> $LOGFILE
fi
}
function print
{
echo -e "$SCRIPTNAME: $*"
printlog $*
}
function printn
{
echo -n -e "$SCRIPTNAME: $*"
printnlog $*
}
function runCommand
{
stdoutlog="$LOGFILE"
if [ -z "$stdoutlog" ]; then
stdoutlog="/dev/null"
fi
$* >> $stdoutlog 2>&1
LASTRESULT=$?
print " [$1 returned $LASTRESULT]"
}
function runCommandRedirect
{
destinationfile=$1
shift
stdoutlog="$LOGFILE"
if [ -z "$stdoutlog" ]; then
stdoutlog="/dev/null"
fi
$* > $destinationfile 2>>$stdoutlog
LASTRESULT=$?
if [ $LASTRESULT -ne 0 ]; then
rm $destinationfile
fi
print " [$1 returned $LASTRESULT]"
}
function testParameter
{
if [ -z "$2" ]; then
echo "Please give a value to parameter $1"
exit 1
fi
}
function makeDir
{
cd $BUILDDIR
print " Creating directory $*"
runCommand mkdir $*
}
#
# Removes the .svn directories
#
function removeVCDirs
{
if ! [ -d "$BUILDDIR/$*" ]; then
return
fi
print " Removing VCDirs $*"
cd $BUILDDIR/$*
find . -type d -a -name '.svn' | xargs rm -rf
}
#
# This is our work-horse. getResource retrieves all
# data needed to assemble a working package.
# Available resources:
# topleveldir, admindir, source, documentation,
# languagelist, guitranslation, doctranslation
#
function getResource
{
DESTINATION=$2
SINGLEFILEHACK="no"
case $1 in
topleveldir)
COMMAND="svn export -N $SVN_CHECKOUT_OPTIONS $SVNROOT/$APPBASE $DESTINATION"
;;
admindir)
COMMAND="svn export $SVN_CHECKOUT_OPTIONS $SVNROOT/$ADMINDIR $DESTINATION"
;;
source)
COMMAND="svn export $SVN_CHECKOUT_OPTIONS $SVNROOT/$APPBASE/$APPNAME $DESTINATION"
;;
documentation)
COMMAND="svn export $SVN_CHECKOUT_OPTIONS $SVNROOT/$APPBASE/doc/$APPNAME $DESTINATION"
;;
languagelist)
SINGLEFILEHACK="yes"
COMMAND="svn cat $SVN_CHECKOUT_OPTIONS $SVNROOT/$I18NBASE/subdirs"
;;
guitranslation)
DESTINATION=$3/$4.po
SINGLEFILEHACK="yes"
COMMAND="svn cat $SVN_CHECKOUT_OPTIONS $SVNROOT/$I18NBASE/$2/messages/$I18NSUB/$4.po"
;;
doctranslation)
DESTINATION=$3
COMMAND="svn export $SVN_CHECKOUT_OPTIONS $SVNROOT/$I18NBASE/$2/docs/$I18NDOCSUB/$APPNAME $DESTINATION"
;;
*)
print "ERROR: Unknown resource $1"
exit 1
;;
esac
print " Retrieving resource: $1"
printlog " getResource $1: $COMMAND"
cd $BUILDDIR
if [ $SINGLEFILEHACK = "yes" ]; then
runCommandRedirect $DESTINATION $COMMAND
else
runCommand $COMMAND
fi
if [ $LASTRESULT != "0" ]; then
print "Warning: Resource \"$1\" is not available."
fi
return $LASTRESULT
}
#
# Creates the build dir, the dir where the packages
# are assembled.
#
function setupBuildDir
{
print "Creating the build directory..."
print " ($BUILDDIR)"
# clean up first
if [ -d $BUILDDIR ]; then
print " Removing the old build directory"
rm -rf $BUILDDIR
fi
mkdir $BUILDDIR
}
#
# Gather all data in the build dir needed to build
# the application (without translations).
#
function assembleApplicationData
{
print "Assembling the source code..."
APPDIR=$APPNAME-$APPVERSION
print " ($APPDIR)"
if [ $TOPLEVEL = "yes" ]; then
getResource "topleveldir" $APPDIR
fi
getResource "admindir" $APPDIR/admin
if [ $TOPLEVEL = "yes" ]; then
getResource "source" $APPDIR/src
else
getResource "source" $APPDIR
fi
}
#
# Copies the GNU (README, TODO, Changelog, etc.) files.
#
function moveGNUFiles
{
print " Moving the standard GNU files"
for file in $GNUFiles
do
if [ -f $BUILDDIR/$APPDIR/src/$file ]; then
mv $BUILDDIR/$APPDIR/src/$file $BUILDDIR/$1
fi
done
}
#
# Cleanup the application or i18n directory by removing
# unneccessary files and directories.
#
function cleanupDirectory
{
dir="$1"
print "Removing unneccessary files and directories"
for file in $CLEANUPFILES
do
path="$dir/$file"
if [ -f "$path" ]; then
rm -f $path
printlog " Removed file: $path"
elif [ -d "$path" ]; then
rm -Rf $path
printlog " Removed directory: $path"
fi
done
}
#
# After all data for the app is gathered, some files
# still need to be shuffled around.
#
function postProcessApplicationDir
{
print "Post-processing the application directory..."
if [ $TOPLEVEL = "yes" ]; then
moveGNUFiles $APPDIR
fi
if [ ! -z "$POSTPROCESSSCRIPT" ]; then
print "Running post-processing script..."
cd $BUILDDIR/$APPDIR
$POSTPROCESSSCRIPT
err="$?"
if [ $err -ne 0 ]; then
print "ERROR: Post-processing script failed (return status: $err)"
exit $err
fi
print "Post-processing script finished."
fi
}
function retrieveDocumentation
{
if [ $GETDOC = "no" ]; then
return
fi
print "Retrieving the documentation..."
DOCDIR=$APPDIR/doc
print " ($DOCDIR)"
getResource "documentation" $DOCDIR
}
#
# Determines what languages need to be retrieved.
# If LANGUAGES was not set using the -l switch,
# the kde-i18n/subdirs file is used.
#
function getLanguageList
{
print " Determining which languages to include..."
if [ -z "$LANGUAGES" ]; then
getResource "languagelist" languagelist
if [ -e $BUILDDIR/languagelist ]; then
LANGUAGES=`cat $BUILDDIR/languagelist`
rm $BUILDDIR/languagelist
else
print "ERROR:"
print "ERROR: Failed to automatically detect which languages to include."
print "ERROR:"
exit 1
fi
fi
# Remove the excluded languages from the list
LANGLIST=""
for language in $LANGUAGES ; do
EXCLUDE="false"
for exclang in $EXCLUDELANGUAGES ; do
if [ "$exclang" = "$language" ]; then
EXCLUDE="true"
break
fi
done
if [ $EXCLUDE = "false" ]; then
LANGLIST="$LANGLIST $language"
fi
done
LANGUAGES=$LANGLIST
print "Language list: $LANGUAGES"
}
#
# Creates the dir that holds the translations. This is either
# a "translations" dir in the application build dir, or, if the
# --split switch is used, the root dir of a separate i18n package.
#
function setupI18NDir
{
if [ $SPLIT = "yes" ]; then
I18NDIR="$APPNAME-i18n-$APPVERSION"
getResource "topleveldir" $I18NDIR
getResource "admindir" $I18NDIR/admin
moveGNUFiles $I18NDIR
TRANSDIR=$I18NDIR
else
I18NDIR=$APPDIR
TRANSDIR="$I18NDIR/translations"
makeDir $TRANSDIR
fi
}
function createTranslationDirMakefile
{
if [ $GETI18N = "no" ]; then
return
fi
print " Creating Makefile.am in $1."
CONTENTS="SUBDIRS=$INCLUDED_LANGUAGES"
echo $CONTENTS > $1/Makefile.am
}
function createTranslationMakefile
{
print " Creating Makefile.am in $1."
CONTENTS="SUBDIRS="
if [ -d "$1/messages" ]; then
CONTENTS="$CONTENTS messages"
fi
if [ -d "$1/doc" ]; then
CONTENTS="$CONTENTS doc";
fi
echo $CONTENTS > $1/Makefile.am
}
function createTranslationMakefiles
{
if [ $GETI18N = "no" ]; then
return
fi
for language in $INCLUDED_LANGUAGES ; do
createTranslationMakefile $BUILDDIR/$TRANSDIR/$language
done
}
function createGUITranslationMakefile
{
print " Creating Makefile.am in $2."
echo "KDE_LANG = $1
SUBDIRS = \$(AUTODIRS)
POFILES = AUTO" > $2/Makefile.am
}
function createDocTranslationMakefile
{
print " Creating Makefile.am in $2."
echo "KDE_LANG = $1
KDE_DOCS=$APPNAME" > $2/Makefile.am
}
#
# Get the .po files and put them in xx/messages
# subdirectories, where xx is the language ISO code.
#
function retrieveGUITranslations
{
if [ $GETI18N = "no" ]; then
return
fi
print "Retrieving GUI translations..."
setupI18NDir
print " ($TRANSDIR)"
# determine which languages to get
getLanguageList
# then get them (its really simple actually)
INCLUDED_LANGUAGES=""
for language in $LANGUAGES
do
print " Including language $language"
makeDir $TRANSDIR/$language
makeDir $TRANSDIR/$language/messages
INCLUDE_THIS_LANG="yes"
for pofile in $APP_POFILES; do
getResource "guitranslation" $language $TRANSDIR/$language/messages $pofile
if [ ! -e $BUILDDIR/$TRANSDIR/$language/messages/$pofile.po ]; then
INCLUDE_THIS_LANG="no"
fi
done
if [ $INCLUDE_THIS_LANG = "yes" ]; then
createGUITranslationMakefile $language $BUILDDIR/$TRANSDIR/$language/messages
INCLUDED_LANGUAGES="$INCLUDED_LANGUAGES $language"
else
rm -rf $TRANSDIR/$language
fi
done
}
function retrieveDocTranslations
{
if [ $GETI18N = "no" ]; then
return
fi
print "Retrieving documentation translations..."
for language in $INCLUDED_LANGUAGES ; do
print " Including documentation for language $language"
getResource "doctranslation" $language $TRANSDIR/$language/doc
if [ -e $BUILDDIR/$TRANSDIR/$language/doc/index.docbook ]
then
createDocTranslationMakefile $language $BUILDDIR/$TRANSDIR/$language/doc
else
print " No translations for $language docs available."
rm -rf $TRANSDIR/$language/doc
fi
done
}
#
# Create the configure script and Makefile.in's.
#
function packageApplication
{
cd $BUILDDIR
print "Creating configure script and Makefile.in files"
(cd $APPDIR; runCommand make -f admin/Makefile.common cvs)
cleanupDirectory $APPDIR
TARNAME="$APPNAME-$APPVERSION.tar"
if [ $PACKAGE = "gzip" ] || [ $PACKAGE = "yes" ]; then
print "Packaging application ($TARNAME.gz)..."
$GZIP $TARNAME.gz $APPDIR
if [ $BUILDDIR != $TARBALLDIR ]; then
cp $TARNAME.gz $TARBALLDIR
fi
fi
if [ $PACKAGE = "bzip2" ] || [ $PACKAGE = "yes" ]; then
print "Packaging application ($TARNAME.bz2)..."
$BZIP2 $TARNAME.bz2 $APPDIR
if [ $BUILDDIR != $TARBALLDIR ]; then
cp $TARNAME.bz2 $TARBALLDIR
fi
fi
}
#
# Create the configure script and Makefile.in's.
#
function packageTranslations
{
if [ $SPLIT != "yes" ] || [ $GETI18N != "yes" ]; then
return
fi
cd $BUILDDIR
print "Creating translations configure script and Makefile.in files"
(cd $I18NDIR; runCommand make -f admin/Makefile.common cvs)
cleanupDirectory $I18NDIR
TARNAME="$APPNAME-i18n-$APPVERSION.tar"
if [ $PACKAGE = "gzip" ] || [ $PACKAGE = "yes" ]; then
print "Packaging translations ($TARNAME.gz)..."
$GZIP $TARNAME.gz $I18NDIR
if [ $BUILDDIR != $TARBALLDIR ]; then
cp $TARNAME.gz $TARBALLDIR
fi
fi
if [ $PACKAGE = "bzip2" ] || [ $PACKAGE = "yes" ]; then
print "Packaging translations ($TARNAME.bz2)..."
$BZIP2 $TARNAME.bz2 $I18NDIR
if [ $BUILDDIR != $TARBALLDIR ]; then
cp $TARNAME.bz2 $TARBALLDIR
fi
fi
}
#
# Force the script to quit
#
function cancelScript
{
errorcode="$1"
if [ -z "$errorcode" ]
then
errorcode="1"
fi
print "Script canceled ($errorcode)"
exit $errorcode
}
#
# Do basic parameter checks, print some basic stuff
# and initialize basic things.
#
function initBasic
{
trap "cancelScript" SIGINT SIGTERM
if [ -n "$LOGFILE" ]; then
echo "$SCRIPTNAME revision $SCRIPTVERSION `date`" > $LOGFILE
fi
if [ -z "$APPBASE" ]; then
print "You need to specify an application base path (--app-base). See $SCRIPTNAME --help for more info."
exit 1
fi
if [ -t "$APPNAME" ]; then
print "You need to specify an application name (--app). See $SCRIPTNAME --help for more info."
exit 1
fi
if [ "$GETI18N" = "yes" ] && [ -z "$I18NSUB" ]; then
print "You need to specify the i18n subdir or disable i18n checkout (--i18n-sub or --noi18n). See $SCRIPTNAME --help for more info."
exit 1
fi
if [ -z "$I18NDOCSUB" ]; then
I18NDOCSUB="$I18NSUB"
fi
if [ -z "$APP_POFILES" ]; then
APP_POFILES="$APPNAME"
fi
print "Using svn-root: $SVNROOT"
}
function initVars
{
LOGFILE="$PWD/$SCRIPTNAME.log"
APPBASE=""
APPNAME=""
SVNROOT="svn://anonsvn.kde.org/home/kde"
I18NBASE="trunk/l10n"
I18NSUB=""
I18NDOCSUB=""
APP_POFILES=""
ADMINDIR="trunk/KDE/kde-common/admin"
LASTRESULT="0"
BUILDDIR="$PWD/build"
TARBALLDIR=$BUILDDIR
APPVERSION="`date +%d.%m.%y`"
GETDOC="yes"
GETI18N="yes"
SPLIT="no"
TOPLEVEL="yes"
PLAINCONFIGURE="no"
LISTTAGS="no"
PACKAGE="no"
LANGUAGES=""
EXCLUDELANGUAGES="xx"
GNUFiles="AUTHORS COPYING ChangeLog INSTALL TODO README README.MacOSX README.cwl kile-remote-control.txt Building-with-cmake.txt"
CLEANUPFILES="autom4te.cache Makefile.cvs"
POSTPROCESSSCRIPT=""
SVN_CHECKOUT_OPTIONS=""
BZIP2="tar jcf"
GZIP="tar zcf"
}
####################################################################
## ##
## Here we start: ##
## ##
####################################################################
# Set the default values for options.
initVars
# Process the options given on the command-line.
while [ "$#" -gt 0 ]
do
case $1 in
-ab|--app-base)
testParameter $1 $2
APPBASE="$2"
shift
;;
-a|--app)
testParameter $1 $2
APPNAME="$2"
shift
;;
-d|--svnroot)
testParameter $1 $2
SVNROOT="$2"
shift
;;
-ib|--i18n-base)
testParameter $1 $2
I18NBASE="$2"
shift
;;
-is|--i18n-sub)
testParameter $1 $2
I18NSUB="$2"
shift
;;
-ids|--i18n-docsub)
testParameter $1 $2
I18NDOCSUB="$2"
shift
;;
--admin)
testParameter $1 $2
ADMINDIR="$2"
shift
;;
-b|--builddir)
testParameter $1 $2
BUILDDIR="$2"
shift
;;
-av|--appversion)
testParameter $1 $2
APPVERSION="$2"
shift
;;
--pofiles)
testParameter $1 $2
APP_POFILES="$APP_POFILES $2"
shift
;;
--nodoc)
GETDOC="no"
;;
--noi18n)
GETI18N="no"
;;
--split)
SPLIT="yes"
;;
--notoplevel)
TOPLEVEL="no"
;;
--package)
PKGTYPE="$2"
if [ "$PKGTYPE" = "gzip" ] || [ "$PKGTYPE" = "bzip2" ]
then
shift
PACKAGE="$PKGTYPE"
else
PACKAGE="yes"
fi
;;
--packagedir)
testParameter $1 $2
TARBALLDIR=$2
shift
;;
--postprocess)
testParameter $1 $2
POSTPROCESSSCRIPT=$2
shift
;;
-l|--languages)
testParameter $1 $2
LANGUAGES="$LANGUAGES $2"
shift
;;
-el|--exclude-languages)
testParameter $1 $2
EXCLUDELANGUAGES="$EXCLUDELANGUAGES $2"
shift
;;
--logfile)
testParameter $1 $2
if [ "$2" = "no" ]
then
LOGFILE=""
else
if [ "`echo $2 | cut -c1`" = "/" ]
then
LOGFILE=$2
else
LOGFILE=$PWD/$2
fi
fi
shift
;;
-h|--help)
showHelp
exit 0
;;
-v|--version)
showVersion
exit 0
;;
*)
echo "Invalid parameter $1"
exit 1
;;
esac
# process the next parameter
shift
done
initBasic
# Create the builddir, the place where the package will be assembled.
# If no builddir is specified is specified "./$APPNAME-build" is used.
setupBuildDir
assembleApplicationData
retrieveDocumentation
retrieveGUITranslations
retrieveDocTranslations
createTranslationMakefiles
createTranslationDirMakefile $BUILDDIR/$TRANSDIR
postProcessApplicationDir
packageApplication
packageTranslations
# vim: set et ts=4 sts=4:

@ -0,0 +1,2 @@
export UNSERMAKE=no
./createPackage.sh -ab trunk/extragear/office -a kile --noi18n --admin branches/KDE/3.5/kde-common/admin -av 1.9 --package

File diff suppressed because one or more lines are too long

@ -0,0 +1,17 @@
Begin3
Title: Kile
Version: 2.0
Description: LaTeX editor for KDE
Keywords:
Author: Thomas Braun
Michel Ludwig
Holger Danielsson
Jeroen Wijnhout
Pascal Brachet
Maintained-by: Michel Ludwig <michel.ludwig{at}kdemail.net>
Primary-site: http://kile.sourceforge.net/download.php
Home-page: http://kile.sourceforge.net
Original-site:
Platforms: Linux and other Unices
Copying-policy: GNU Public License
End

@ -0,0 +1,97 @@
#Configuration Update for Kile
#
# Kile-1.5
#
Id=Kile1.5v1
File=kilerc
RemoveGroup=Structure
RemoveGroup=Editor
RemoveGroup=Files
#
# Kile-1.6
#
Id=Kile1.6v1
File=kilerc
Options=overwrite
Script=kile1.6_upd.pl,perl
#
Group=User
Key=Template Encoding,TemplateEncoding
#
Group=Editor Ext
Key=Complete Environment,CompleteEnvironment
#
Group=Complete
Key=enabled,CompleteEnabled
Key=cursor,CompleteCursor
Key=bullets,CompleteBullets
Key=closeenv,CompleteCloseEnv
Key=autocomplete,CompleteAuto
Key=changedlists,CompleteChangedLists
Key=tex,CompleteTex
Key=dict,CompleteDict
Key=abbrev,CompleteAbbrev
#
Group=Environments
Key=list,EnvList
Key=math,EnvMath
Key=tabular,EnvTabular
#
Group=Files
Key=Last Document,LastDocument
Key=Input Encoding,InputEncoding
#
Group=Quick
Key=Class,QuickClass
Key=Typeface,QuickTypeface
Key=Papersize,QuickPapersize
Key=Document Classes,QuickDocumentClasses
Key=Papersizes,QuickPapersizes
Key=Encodings,QuickEncodings
#
# Kile-1.7
#
Id=Kile1.7v1
File=kilerc
Script=kile1.7_upd.pl,perl
#
# Kile-1.9
#
Id=Kile1.9v1
File=kilerc
Options=overwrite
Script=kile1.9_upd.pl,perl
#
Id=Kile1.9v2
File=kilerc
Options=overwrite
Group=Complete
Script=kile1.9-1_upd.pl,perl
#
# Kile-2.0
#
Id=Kile2.0v1
File=kilerc
Script=kile2.0-1_upd.pl,perl
#
Id=Kile2.0v2
File=kilerc
Script=kile2.0-2_upd.pl,perl
#
Id=Kile2.0v3
File=kilerc
Options=overwrite
Group=Complete
Script=kile2.0-3_upd.pl,perl
#
Id=Kile2.0v4
File=kilerc
Options=overwrite
Group=Complete
Script=kile2.0-4_upd.pl,perl
#
Id=Kile2.0v5
File=kilerc
Options=overwrite
Group=Complete
Script=kile2.0-5_upd.pl,perl

@ -0,0 +1,162 @@
ADD_SUBDIRECTORY( icons )
ADD_SUBDIRECTORY( pics )
ADD_SUBDIRECTORY( symbols )
ADD_SUBDIRECTORY( templates )
ADD_SUBDIRECTORY( syntax )
ADD_SUBDIRECTORY( complete )
ADD_SUBDIRECTORY( help )
ADD_SUBDIRECTORY( encodings )
ADD_SUBDIRECTORY( test )
INCLUDE( KDE3Macros )
INCLUDE( FindPerl )
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} )
########### next target ###############
# taken from KDE4's KJS CMakeLists.txt file
SET(CREATE_HASH_TABLE ${CMAKE_CURRENT_SOURCE_DIR}/create_hash_table )
MACRO(CREATE_LUT _srcs_LIST _in_FILE _out_FILE _dep_FILE)
ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} > ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} )
SET( ${_srcs_LIST} ${${_srcs_LIST}} ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE})
ENDMACRO(CREATE_LUT)
CREATE_LUT(kile_SRCS kilejscript.cpp kilejscript.lut.h kilejscript.cpp)
SET(kile_SRCS
${kile_SRCS}
latexcmd.cpp
latexcmddialog.cpp
texdocdialog.cpp
userhelp.cpp
userhelpdialog.cpp
floatdialog.cpp
mathenvdialog.cpp
tabulardialog.cpp
postscriptdialog.cpp
previewconfigwidget.cpp
quickpreview.cpp
includegraphicsdialog.cpp
newfilewizard.cpp
managetemplatesdialog.cpp
templates.cpp
usermenudialog.cpp
kileconfigdialog.cpp
tabbingdialog.cpp
symbolview.cpp
quickdocumentdialog.cpp
kilefileselect.cpp
kileapplication.cpp
docpart.cpp
kile.cpp
main.cpp
kileactions.cpp
kilestdactions.cpp
kileinfo.cpp
kiledocumentinfo.cpp
kileproject.cpp
kileprojectdlgs.cpp
kileprojectview.cpp
kilelistselector.cpp
kilelyxserver.cpp
latexoutputfilter.cpp
outputinfo.cpp
latexoutputinfo.cpp
outputfilter.cpp
kilegrepdialog.cpp
kiletool.cpp
kilelauncher.cpp
kiletoolmanager.cpp
kilestdtools.cpp
kilelogwidget.cpp
kileoutputwidget.cpp
kilekonsolewidget.cpp
kilewizard.cpp
kilestructurewidget.cpp
codecompletion.cpp
configcodecompletion.cpp
kiletoolconfigwidget.cpp
kileedit.cpp
cleandialog.cpp
kilehelp.cpp
configstructure.cpp
convert.cpp
kiledocmanager.cpp
kileviewmanager.cpp
kileeventfilter.cpp
kileerrorhandler.cpp
configcheckerdlg.cpp
configtester.cpp
kilesidebar.cpp
plaintolatexconverter.cpp
kileuntitled.cpp
kilestatsdlg.cpp
kilestatswidget.cpp
previewwidget.cpp
kilejscript.h
kilejscript.cpp
scriptsmanagementwidget.h
scriptsmanagementwidget.cpp
editorkeysequencemanager.h
editorkeysequencemanager.cpp
kileversion.cpp
kileabbrevview.cpp
kileextensions.cpp
kilemultitabbar.cpp
)
KDE3_AUTOMOC(${kile_SRCS})
SET( kile_UI
helpconfigwidget.ui
latexconfigwidget.ui
generalconfigwidget.ui
configcheckerwidget.ui
toolconfigwidget.ui
librarytoolconfigwidget.ui
processtoolconfigwidget.ui
quicktoolconfigwidget.ui
latextoolconfigwidget.ui
newtoolwizard.ui
envconfigwidget.ui
structureconfigwidget.ui
symbolviewconfig.ui
scriptingconfigwidget.ui
graphicsconfigwidget.ui
newdocumentwidget.ui
)
KDE3_ADD_UI_FILES(kile_SRCS ${kile_UI} )
SET( kile_DCOP_SKEL_SRCS
kileappIface.h
)
KDE3_ADD_DCOP_SKELS(kile_SRCS ${kile_DCOP_SKEL_SRCS})
SET( kile_KCFG_SRCS
kileconfig.kcfgc
)
KDE3_ADD_KCFG_FILES(kile_SRCS ${kile_KCFG_SRCS})
KDE3_ADD_EXECUTABLE(kile ${kile_SRCS})
TARGET_LINK_LIBRARIES(kile ${QT_AND_KDECORE_LIBS} kjs kdeprint ktexteditor katepartinterfaces khtml )
INSTALL( TARGETS kile DESTINATION bin )
########### install files ###############
INSTALL( FILES kile.desktop DESTINATION share/applications/kde )
INSTALL( FILES kile.kcfg DESTINATION share/config.kcfg )
INSTALL( FILES kileui.rc docpartui.rc kilestdtools.rc tips DESTINATION share/apps/kile )
KDE3_INSTALL_ICONS( hicolor )

@ -0,0 +1,116 @@
####### kdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = kile
## INCLUDES were found outside kdevelop specific part
kile_SOURCES = latexcmd.cpp latexcmddialog.cpp texdocdialog.cpp userhelp.cpp \
userhelpdialog.cpp floatdialog.cpp mathenvdialog.cpp tabulardialog.cpp \
postscriptdialog.cpp previewconfigwidget.cpp quickpreview.cpp includegraphicsdialog.cpp \
newfilewizard.cpp managetemplatesdialog.cpp templates.cpp usermenudialog.cpp \
kileconfigdialog.cpp tabbingdialog.cpp symbolview.cpp quickdocumentdialog.cpp \
kilefileselect.cpp kileapplication.cpp docpart.cpp kile.cpp main.cpp kileactions.cpp \
kilestdactions.cpp kileinfo.cpp kiledocumentinfo.cpp kileproject.cpp kileprojectdlgs.cpp \
kileprojectview.cpp kilelistselector.cpp kilelyxserver.cpp latexoutputfilter.cpp \
outputinfo.cpp latexoutputinfo.cpp outputfilter.cpp kilegrepdialog.cpp kiletool.cpp \
kilelauncher.cpp kiletoolmanager.cpp kilestdtools.cpp kilelogwidget.cpp \
kileoutputwidget.cpp kilekonsolewidget.cpp kilewizard.cpp kilestructurewidget.cpp \
codecompletion.cpp configcodecompletion.cpp kiletoolconfigwidget.cpp kileedit.cpp \
cleandialog.cpp kilehelp.cpp configstructure.cpp kileappIface.skel convert.cpp \
helpconfigwidget.ui kiledocmanager.cpp kileviewmanager.cpp kileeventfilter.cpp \
latexconfigwidget.ui kileconfig.kcfgc generalconfigwidget.ui kileerrorhandler.cpp \
configcheckerdlg.cpp configcheckerwidget.ui configtester.cpp kilesidebar.cpp \
toolconfigwidget.ui librarytoolconfigwidget.ui processtoolconfigwidget.ui \
quicktoolconfigwidget.ui plaintolatexconverter.cpp latextoolconfigwidget.ui newtoolwizard.ui \
kileuntitled.cpp kilestatsdlg.cpp kilestatswidget.cpp envconfigwidget.ui \
structureconfigwidget.ui previewwidget.cpp kilejscript.h kilejscript.cpp \
scriptsmanagementwidget.h scriptsmanagementwidget.cpp editorkeysequencemanager.h \
editorkeysequencemanager.cpp scriptingconfigwidget.ui kileabbrevview.cpp kileextensions.cpp \
kileversion.cpp graphicsconfigwidget.ui kilemultitabbar.cpp newdocumentwidget.ui\
symbolviewconfig.ui
kile_LDADD = -lkjs -lkdeprint -lktexteditor -lkatepartinterfaces $(LIB_KSPELL) $(LIB_KHTML)
SUBDIRS = icons pics symbols templates syntax complete help encodings test
EXTRA_DIST = main.cpp kile.cpp kile.h \
docpart.cpp docpart.h kileappIface.h kileapplication.cpp kileapplication.h kile.desktop kilefileselect.cpp kilefileselect.h kileui.rc docpartui.rc kmultiverttabbar.cpp kmultiverttabbar.h letterdialog.cpp letterdialog.h quickdocumentdialog.cpp quickdocumentdialog.h symbolview.cpp symbolview.h tabbingdialog.cpp tabbingdialog.h \
kileconfigdialog.cpp kileconfigdialog.h usermenudialog.cpp \
usermenudialog.h kileabbrevview.cpp kileabbrevview.h \
newfilewizard.cpp newfilewizard.h templates.cpp templates.h managetemplatesdialog.cpp \
managetemplatesdialog.h kileinfo.h kileinfo.cpp kilestdactions.cpp \
kilestdactions.h kileproject.h kileproject.cpp kileprojectdlgs.cpp \
kileprojectdlgs.h kileprojectview.cpp kileprojectview.h \
kilelistselector.cpp kilelistselector.h kilelyxserver.cpp kilelyxserver.h \
latexoutputfilter.cpp outputinfo.cpp latexoutputinfo.cpp \
outputfilter.cpp latexoutputfilter.h outputinfo.h latexoutputinfo.h \
includegraphicsdialog.h includegraphicsdialog.cpp kiletoolconfigwidget.cpp kiletoolconfigwidget.h outputfilter.h kilegrepdialog.cpp kilegrepdialog.h codecompletion.h codecompletion.cpp configcodecompletion.cpp configcodecompletion.h kileedit.cpp cleandialog.cpp kileedit.h cleandialog.h kilehelp.cpp kilehelp.h configstructure.cpp configstructure.h configenvironment.h convert.h convert.cpp \
kileconstants.h kilejscript.h kilejscript.cpp scriptsmanagementwidget.h scriptsmanagementwidget.cpp editorkeysequencemanager.h editorkeysequencemanager.cpp kilemultitabbar.cpp kilemultitabbar.h kilemultitabbar_p.h
xdg_apps_DATA = kile.desktop
kde_kcfg_DATA = kile.kcfg
KDE_ICON = AUTO
####### kdevelop will overwrite this part!!! (end)############
# These paths are KDE specific. Use them:
# kde_appsdir Where your application's menu entry (.desktop) should go to.
# kde_icondir Where your icon should go to - better use KDE_ICON.
# kde_sounddir Where your sounds should go to.
# kde_htmldir Where your docs should go to. (contains lang subdirs)
# kde_datadir Where you install application data. (Use a subdir)
# kde_locale Where translation files should go to. (contains lang subdirs)
# kde_cgidir Where cgi-bin executables should go to.
# kde_confdir Where config files should go to (system-wide ones with default values).
# kde_mimedir Where mimetypes .desktop files should go to.
# kde_servicesdir Where services .desktop files should go to.
# kde_servicetypesdir Where servicetypes .desktop files should go to.
# kde_toolbardir Where general toolbar icons should go to (deprecated, use KDE_ICON).
# kde_wallpaperdir Where general wallpapers should go to.
# kde_templatesdir Where templates for the "New" menu (Konqueror/KDesktop) should go to.
# kde_bindir Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
# kde_libdir Where shared libraries should go to. Use lib_LTLIBRARIES.
# kde_moduledir Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
# kde_styledir Where Qt/KDE widget styles should go to (new in KDE 3).
# kde_designerdir Where Qt Designer plugins should go to (new in KDE 3).
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
METASOURCES = AUTO
# the library search path.
kile_LDFLAGS = $(all_libraries) $(KDE_RPATH)
rcdir = $(kde_datadir)/kile
rc_DATA = kileui.rc docpartui.rc kilestdtools.rc tips
messages: rc.cpp
$(PREPARETIPS) > tips.txt
LIST=`find . -name \*.h -o -name \*.txt -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/kile.pot; \
fi
rm -f tips.txt
syntaxdir = $(kde_appsdir)/katepart/syntax
noinst_HEADERS = kilestatsdlg.h configcheckerdlg.h configtester.h convert.h \
envconfigwidget.h kileconstants.h kiledebug.h kiledocmanager.h kileerrorhandler.h \
kileeventfilter.h kilekonsolewidget.h kilelauncher.h kilelogwidget.h kilemultitabbar.h \
kilemultitabbar_p.h kileoutputwidget.h kilesidebar.h kilestatswidget.h kilestdtools.h \
kilestructurewidget.h kiletool.h kiletool_enums.h kiletoolmanager.h kileuntitled.h \
kileversion.h kileviewmanager.h kilewizard.h latexconfigwidget.h \
plaintolatexconverter.h structureconfigwidget.h
CREATE_HASH_TABLE = $(srcdir)/create_hash_table
kilejscript.lut.h : $(srcdir)/kilejscript.cpp $(CREATE_HASH_TABLE)
$(PERL) $(CREATE_HASH_TABLE) $(srcdir)/kilejscript.cpp > $@
kilejscript.lo: kilejscript.lut.h
kilejscript.o: kilejscript.lut.h
LUT_FILES = kilejscript.lut.h
CLEANFILES = $(LUT_FILES)

@ -0,0 +1,96 @@
/***************************************************************************
date : Jan 22 2004
version : 0.10
copyright : (C) 2004 by Holger Danielsson
email : holger.danielsson@t-online.de
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
#include "cleandialog.h"
#include <klocale.h>
#include <kiconloader.h>
#include <kpushbutton.h>
#include <klistview.h>
#include <qlayout.h>
#include <qlabel.h>
#include <qpixmap.h>
#include <qfileinfo.h>
#include "kiledebug.h"
namespace KileDialog
{
Clean::Clean(QWidget *parent, const QString & filename, const QStringList & extlist) :
KDialogBase( KDialogBase::Plain, i18n("Delete Files"), Ok | Cancel, Ok, parent, 0, true, true),
m_extlist(extlist)
{
// Layout
QVBoxLayout *vbox = new QVBoxLayout(plainPage(), 6,6 );
// label widgets
QWidget *labelwidget = new QWidget(plainPage());
QHBoxLayout *labellayout = new QHBoxLayout(labelwidget);
// line 1: picture and label
QLabel *picture = new QLabel("", labelwidget);
picture->setPixmap( KGlobal::instance()->iconLoader()->loadIcon("messagebox_warning", KIcon::NoGroup, KIcon::SizeMedium) );
QLabel *label = new QLabel(i18n( "Do you really want to delete these files?" ), labelwidget);
labellayout->addWidget(picture);
labellayout->addSpacing(20);
labellayout->addWidget(label);
// line 2: listview
listview = new KListView(plainPage());
listview->addColumn(i18n("Files"));
listview->setSorting(-1);
// insert items into listview
QString base = QFileInfo(filename).baseName(true);
for (uint i=0; i < m_extlist.count(); ++i)
{
QCheckListItem *item = new QCheckListItem(listview, base + m_extlist[i], QCheckListItem::CheckBox);
item->setOn(true);
listview->insertItem(item);
}
vbox->addWidget(labelwidget,0,Qt::AlignHCenter);
vbox->addWidget(listview);
}
Clean::~Clean()
{}
// get all selected items
const QStringList & Clean::getCleanlist()
{
QStringList templist;
QCheckListItem *item = (QCheckListItem *)listview->firstChild();
int i = m_extlist.count() - 1;
while ( item )
{
if ( item->isOn() && item->text(0).endsWith(m_extlist[i]) )
templist.append(m_extlist[i]);
item = (QCheckListItem *)item->nextSibling();
--i;
}
m_extlist = templist;
return m_extlist;
}
}
#include "cleandialog.moc"

@ -0,0 +1,46 @@
/***************************************************************************
date : Jan 22 2004
version : 0.10
copyright : (C) 2004 by Holger Danielsson
email : holger.danielsson@t-online.de
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
#ifndef CLEANDIALOG_H
#define CLEANDIALOG_H
#include <kdialogbase.h>
#include <qstringlist.h>
class KListView;
/**
*@author Holger Danielsson
*/
namespace KileDialog
{
class Clean : public KDialogBase
{
Q_OBJECT
public:
Clean(QWidget *parent, const QString & filename, const QStringList &extlist);
~Clean();
const QStringList & getCleanlist();
private:
KListView *listview;
QStringList m_extlist;
};
}
#endif

File diff suppressed because it is too large Load Diff

@ -0,0 +1,211 @@
/***************************************************************************
date : Mar 21 2007
version : 0.40
copyright : (C) 2004-2007 by Holger Danielsson
email : holger.danielsson@versanet.de
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
#ifndef CODECOMPLETION_H
#define CODECOMPLETION_H
#include <qobject.h>
#include <kate/view.h>
#include <kate/document.h>
#include <ktexteditor/codecompletioninterface.h>
#include <kconfig.h>
#include "latexcmd.h"
#include "kileabbrevview.h"
//default bullet char (a cross)
static const QChar s_bullet_char = QChar(0xd7);
static const QString s_bullet = QString(&s_bullet_char, 1);
/**
*@author Holger Danielsson
*/
class QTimer;
class KileInfo;
namespace KileDocument
{
//FIXME fix the way the Kate::View is passed, I'm not 100% confident m_view doesn't turn into a wild pointer
//FIXME refactor the complete class, it's pretty ugly, there are too many methods with similar names suggesting that the code could be more efficient
class CodeCompletion : public QObject
{
Q_OBJECT
public:
CodeCompletion(KileInfo *ki);
~CodeCompletion();
enum Mode
{
cmLatex,
cmEnvironment,
cmDictionary,
cmAbbreviation,
cmLabel,
cmDocumentWord
};
enum Type
{
ctNone,
ctReference,
ctCitation
};
enum KateConfigFlags
{
cfAutoIndent= 0x1,
cfAutoBrackets= 0x40
};
bool isActive();
bool inProgress();
bool autoComplete();
CodeCompletion::Mode getMode();
CodeCompletion::Type getType();
CodeCompletion::Type getType(const QString &text);
KileInfo* info() const { return m_ki;}
void readConfig(KConfig *config);
void readKateConfigFlags(KConfig *config);
void saveLocalChanges();
void setAbbreviationListview(KileAbbrevView *listview);
public slots:
//in these two methods we should set m_view
void slotCharactersInserted(int, int, const QString&);
void editComplete(Kate::View *view, KileDocument::CodeCompletion::Mode mode);
void slotCompletionDone(KTextEditor::CompletionEntry);
void slotCompleteValueList();
void slotCompletionAborted();
void slotFilterCompletion(KTextEditor::CompletionEntry* c,QString *s);
// a abbreviation was modified ind the abbreviation view (add, edit or delete)
// so the abbreviation list was must also be updated
void slotUpdateAbbrevList(const QString &ds, const QString &as);
private:
void completeWord(const QString &text, CodeCompletion::Mode mode);
QString filterCompletionText(const QString &text, const QString &type);
void CompletionDone(KTextEditor::CompletionEntry);
void CompletionAborted();
void completeFromList(const QStringList *list,const QString &pattern=QString::null);
void editCompleteList(KileDocument::CodeCompletion::Type type,const QString &pattern=QString::null);
bool getCompleteWord(bool latexmode, QString &text, KileDocument::CodeCompletion::Type &type);
bool getReferenceWord(QString &text);
bool oddBackslashes(const QString& text, int index);
void appendNewCommands(QValueList<KTextEditor::CompletionEntry> & list);
void getDocumentWords(const QString &text,QValueList<KTextEditor::CompletionEntry> &list);
bool completeAutoAbbreviation(const QString &text);
QString getAbbreviationWord(uint row, uint col);
CodeCompletion::Type insideReference(QString &startpattern);
private:
// wordlists
QValueList<KTextEditor::CompletionEntry> m_texlist;
QValueList<KTextEditor::CompletionEntry> m_dictlist;
QValueList<KTextEditor::CompletionEntry> m_abbrevlist;
QValueList<KTextEditor::CompletionEntry> m_labellist;
KileInfo *m_ki;
QTimer *m_completeTimer;
// some flags
bool m_isenabled;
bool m_setcursor;
bool m_setbullets;
bool m_closeenv;
bool m_autocomplete;
bool m_autocompletetext;
bool m_autocompleteabbrev;
bool m_citationMove;
bool m_autoDollar;
int m_latexthreshold;
int m_textthreshold;
// flags from Kate configuration
bool m_autobrackets;
bool m_autoindent;
// state of complete: some flags
bool m_firstconfig;
bool m_inprogress;
bool m_ref;
bool m_kilecompletion;
// undo text
bool m_undo;
// special types: ref, bib
CodeCompletion::Type m_type;
CodeCompletion::Type m_keylistType;
// local abbreviation
QString m_localAbbrevFile;
KileAbbrevView *m_abbrevListview;
// internal parameter
Kate::View *m_view; // View
QString m_text; // current pattern
uint m_textlen; // length of current pattern
CodeCompletion::Mode m_mode; // completion mode
uint m_ycursor,m_xcursor,m_xstart; // current cursor position
uint m_yoffset,m_xoffset; // offset of the new cursor position
QString buildLatexText(const QString &text, uint &ypos, uint &xpos);
QString buildEnvironmentText(const QString &text, const QString &type, const QString &prefix, uint &ypos, uint &xpos);
QString getWhiteSpace(const QString &s);
QString buildAbbreviationText(const QString &text);
QString buildLabelText(const QString &text);
QString parseText(const QString &text, uint &ypos, uint &xpos, bool checkgroup);
QString stripParameter(const QString &text);
void setWordlist(const QStringList &files,const QString &dir, QValueList<KTextEditor::CompletionEntry> *entrylist);
void readWordlist(QStringList &wordlist, const QString &filename, bool global);
void addCommandsToTexlist(QStringList &wordlist);
void setReferences();
QString getCommandList(KileDocument::CmdAttribute attrtype);
void setCompletionEntries(QValueList<KTextEditor::CompletionEntry> *list, const QStringList &wordlist);
void setCompletionEntriesTexmode(QValueList<KTextEditor::CompletionEntry> *list, const QStringList &wordlist);
uint countEntries(const QString &pattern, QValueList<KTextEditor::CompletionEntry> *list, QString *entry, QString *type);
void addAbbreviationEntry( const QString &entry );
void deleteAbbreviationEntry( const QString &entry );
QString findExpansion(const QString &abbrev);
void autoInsertDollar();
};
}
#endif

@ -0,0 +1,3 @@
ADD_SUBDIRECTORY( abbreviation )
ADD_SUBDIRECTORY( tex )
ADD_SUBDIRECTORY( dictionary )

@ -0,0 +1 @@
SUBDIRS=abbreviation tex dictionary

@ -0,0 +1,4 @@
########### install files ###############
INSTALL( FILES example.cwl DESTINATION share/apps/kile/complete/abbreviation )

@ -0,0 +1,2 @@
abbcompletedir = $(kde_datadir)/kile/complete/abbreviation
abbcomplete_DATA = example.cwl

@ -0,0 +1,14 @@
# abbreviation mode: example
# dani/8.1.2004
ba=baseline
bab=babel package
bar=baselineskip rubber length
bdc=book document class
bi=bibliography styles
bip=bibliography style parameters
bs=\backslash
cc=\textsc{CodeCompletion}
kile=KDE integrated LaTeX editor
x=\
T=\TeX
L=\LaTeX

@ -0,0 +1,4 @@
########### install files ###############
INSTALL( FILES example.cwl metapost.cwl DESTINATION share/apps/kile/complete/dictionary )

@ -0,0 +1,2 @@
dictcompletedir = $(kde_datadir)/kile/complete/dictionary
dictcomplete_DATA = example.cwl metapost.cwl

@ -0,0 +1,12 @@
# dictionary mode: example
# dani/8.1.2004
afterpage
align environment
aligned environment
alltt
amsbook
amsfonts
annotate
annotation
arabic
array environment

@ -0,0 +1,307 @@
# replacement for the removed metapost view
# 11.02.2007 tbraun
beginfig();
endfig;
extra_beginfig()
extra_endfig
begingraph()
endgraph
begingroup
endgroup
for upto
forever:
forsuffixes :
endfor
if :
else :
fi
abs
addto also
addto contour
addto doublepath
ahangle
ahlength
and
angle
arclength
arctime of
augment.
auto.
Autoform
autogrid()
background
bbox
bboxmargin
beveled
black
blue
bluepart
boolean
bot
boxit
boxjoin()
bp
bpath
btex etex
buildcycle()
butt
ceiling
char
charcode
circleit
circmargin
clip
color
controls
cosd
curl
currentpen
currentpicture
cutafter
cutbefore
cutdraw
cycle
dashed
dashpattern
day
dd
decimal
decr
defaultdx:=
defaultdy:=
defaultfont:=
defaultpen:=
defaultscale:=
def enddef
direction of
directionpoint of
directiontime of
ditto
div
dotlabel.
dotlabels.
dotprod
down
downto
draw
draw_mark()
draw_marked()
drawarrow
drawblarrow
drawboxed()
drawboxes()
drawoptions()
drawshadowed()
drawunboxed()
epsilon
evenly
exitif
exitunless
expr
Fe_base
Fe_plus
fill
filldraw
fixpos()
fixsize()
floor
fontsize
format()
frame.
fullcircle
gdata()
gdotlabel.
gdraw
gdrawarrow
gdrawdblarrow
getmid
gfill
glabel.
Gmarks
Gminlog
Gpaths
green
greenpart
grid.
halfcircle
hex
hide()
identity
image()
in
incr()
infinity
infont
init_numbers()
input
interim
intersectionpoint
intersectiontimes
inverse
itick.
joinup()
known
label.
labeloffset
labels.
left
length
let
lft
linear
linecap:=
linejoin:=
llcorner
llft
log
loggingall
lrcorner
lrt
makepath
makepen
mark_angle()
mark_rt_angle()
max
mexp
mfplain
middlepoint()
midpoint()
min
mitered
miterlimit:=
Mlog
mlog
mm
mod
month
mp
mpxbreak
Mreadpath()
Mten
newinternal
normaldeviate
not
nullpicture
numeric
oct
odd
or
origin
otick.
OUT
pair
path
pausing
pc
pen
pencircle
penoffset
pensquare
pic
pickup
picture
plot
point of
postcontrol
precontrol
primarydef enddef
pt
quartecircle
readfrom
red
redpart
reflectedabout()
reverse
right
rotated
rotatedaround()
round
rounded
rt
Sabs
Sadd
sarith
save
scaled
Scvnum
Sdiv
secondarydef enddef
self
setbounds to
setcoords()
setrange()
shifted
shipout
show
showdependencies
showstopping
showtoken
showvariable
sind
slanted
Sleq
Smul
Sneq
special
sqrt
squared
Ssub
step
str
string
stroked
subpath
substring
tertiarydef enddef
text
thelabel.
time
top
tracingall
tracingcapsules
tracingchoices
tracingcommands
tracingequations
tracinglostchars
tracingmacros
tracingnone
tracingonline
tracingoutput
tracingrestores
tracingspecs
tracingstats
tracingtitles
transform
transformed
true
truecorners:=
ulcorner
ulft
undraw
unfill
unfilldraw
uniformdeviate
unitsquare
unitvector
unknown
until
up
urcorner
urt
vardef enddef
whatever[]
white
withcolor
withdots
withpen
write to
xpart
xscaled
xxpart
xypart
year
yscaled
yxpart
yypart
zscaled

@ -0,0 +1,100 @@
########### install files ###############
# get this cwl list with "for i in `ls *.cwl -1`; do echo "$i"; done"
SET(kile_texCompleteFiles
acronym.cwl
amsopn.cwl
afterpage.cwl
amsbsy.cwl
amsfonts.cwl
amsmath.cwl
amssymb.cwl
amsthm.cwl
array.cwl
attachfile.cwl
beamerfoils.cwl
beamerprosper.cwl
beamerseminar.cwl
beamertexpower.cwl
booktabs.cwl
braket.cwl
calc.cwl
class-beamer.cwl
class-letter.cwl
class-scrartcl,scrreprt,scrbook.cwl
class-scrlttr2.cwl
color.cwl
colortbl.cwl
coordsys.cwl
currvita.cwl
cyrillic.cwl
diagxy.cwl
doi.cwl
enumerate.cwl
fancybox.cwl
fancyhdr.cwl
fancyunits-base.cwl
fancyunits_big-fractions.cwl
fancyunits_medium-fractions.cwl
fancyunits-np.cwl
fancyunits-per.cwl
fancyunits_small-fractions.cwl
fancyvrb.cwl
fontspec.cwl
graphicx.cwl
hyperref.cwl
ifthen.cwl
import.cwl
jurabib.cwl
latex-209.cwl
latex-dev.cwl
latex-document.cwl
latex-l2tabu.cwl
latex-mathsymbols.cwl
layout.cwl
listings.cwl
logsys.cwl
longtable.cwl
lscape.cwl
manyfoot.cwl
mdwlist.cwl
multicol.cwl
multido.cwl
pdfpages.cwl
psfrag.cwl
pst-3d.cwl
pst-blur.cwl
pst-char.cwl
pst-coil.cwl
pst-eps.cwl
pst-fill.cwl
pst-node.cwl
pst-plot.cwl
pstricks.cwl
pst-text.cwl
pst-tree.cwl
rotating.cwl
scraddr.cwl
scrdate.cwl
scrlfile.cwl
scrpage2.cwl
scrtime.cwl
setspace.cwl
subfig.cwl
supertabular.cwl
svninfo.cwl
svn-multi.cwl
tabularx.cwl
tex.cwl
textcomp.cwl
url.cwl
varioref.cwl
verse.cwl
virginialake.cwl
xifthen.cwl
xltxtra.cwl
xtab.cwl
yfonts.cwl
)
INSTALL( FILES ${kile_texCompleteFiles} DESTINATION share/apps/kile/complete/tex )

@ -0,0 +1,95 @@
texcompletedir = $(kde_datadir)/kile/complete/tex
texcomplete_DATA = \
acronym.cwl \
afterpage.cwl \
amsbsy.cwl \
amsfonts.cwl \
amsmath.cwl \
amsopn.cwl \
amssymb.cwl \
amsthm.cwl \
array.cwl \
attachfile.cwl \
beamerfoils.cwl \
beamerprosper.cwl \
beamerseminar.cwl \
beamertexpower.cwl \
booktabs.cwl \
braket.cwl \
calc.cwl \
class-beamer.cwl \
class-letter.cwl \
class-scrartcl,scrreprt,scrbook.cwl \
class-scrlttr2.cwl \
color.cwl \
colortbl.cwl \
coordsys.cwl \
currvita.cwl \
cyrillic.cwl \
diagxy.cwl \
doi.cwl \
enumerate.cwl \
fancybox.cwl \
fancyhdr.cwl \
fancyunits-base.cwl \
fancyunits_big-fractions.cwl \
fancyunits_medium-fractions.cwl \
fancyunits-np.cwl \
fancyunits-per.cwl \
fancyunits_small-fractions.cwl \
fancyvrb.cwl \
fontspec.cwl \
graphicx.cwl \
hyperref.cwl \
ifthen.cwl \
import.cwl \
jurabib.cwl \
latex-209.cwl \
latex-dev.cwl \
latex-document.cwl \
latex-l2tabu.cwl \
latex-mathsymbols.cwl \
layout.cwl \
listings.cwl \
logsys.cwl \
longtable.cwl \
lscape.cwl \
manyfoot.cwl \
mdwlist.cwl \
multicol.cwl \
multido.cwl \
pdfpages.cwl \
psfrag.cwl \
pst-3d.cwl \
pst-blur.cwl \
pst-char.cwl \
pst-coil.cwl \
pst-eps.cwl \
pst-fill.cwl \
pst-node.cwl \
pst-plot.cwl \
pstricks.cwl \
pst-text.cwl \
pst-tree.cwl \
rotating.cwl \
scraddr.cwl \
scrdate.cwl \
scrlfile.cwl \
scrpage2.cwl \
scrtime.cwl \
setspace.cwl \
subfig.cwl \
supertabular.cwl \
svninfo.cwl \
svn-multi.cwl \
tabularx.cwl \
tex.cwl \
textcomp.cwl \
url.cwl \
varioref.cwl \
verse.cwl \
virginialake.cwl \
xifthen.cwl \
xltxtra.cwl \
xtab.cwl \
yfonts.cwl

@ -0,0 +1,38 @@
# acronym package
# ygrange 04/16/2007
# URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/acronym.html
\begin{acronym}
\begin{acronym}[longest]
\acro{acronym}{full name}
\acro{acronym}[short name]{full name}
\acroextra{additional info}
\end{acronym}
\acresetall
\ac{acronym}
\ac*{acronym}
\acf{acronym}
\acf*{acronym}
\acs{acronym}
\acs*{acronym}
\acl{acronym}
\acl*{acronym}
\acp{acronym}
\acp*{acronym}
\acfp{acronym}
\acfp*{acronym}
\acsp{acronym}
\acsp*{acronym}
\aclp{acronym}
\aclp*{acronym}
\acfi{acronym}
\acfi*{acronym}
\acsu{acronym}
\acsu*{acronym}
\aclu{acronym}
\aclu*{acronym}
\acused{acronym}
\acsfont
\acffont
\acfsfont

@ -0,0 +1,3 @@
# tex/latex mode: Tex commands
# neeraavi 20 Mar 2007
\afterpage{command}

@ -0,0 +1,4 @@
# Commands from AMSBSY package
# neeraavi 22 Mar 2007
\boldsymbol{symbol}
\pmb{symbol}

@ -0,0 +1,33 @@
# tbraun
# ctan: amsfonts package
# 07/13/2007
\ulcorner
\urcorner
\llcorner
\lrcorner
\dashrightarrow
\dashleftarrow
\rightleftharpoons
\angle
\hbar
\sqsubset
\sqsupset
\mho
\mathfrak
\square
\lozenge
\mathbb{text}
\mathfrak{text}
\mathbf{text}
\vartriangleright
\vartriangleleft
\trianglerighteq
\trianglelefteq
\rightsquigarrow
\lhd
\unlhd
\rhd
\unrhd
\widehat{letter}
\widetilde{letter}

@ -0,0 +1,142 @@
# mode: amsmath.sty
# dani/2006-02-19
\AmS
\AmSfont
\begin{align}
\begin{align*}
\begin{alignat}[alignment]{n}
\begin{alignat*}[alignment]{n}
\begin{alignat}{n}
\begin{alignat*}{n}
\begin{aligned}
\begin{aligned}[alignment]
\begin{alignedat}
\begin{bmatrix}
\begin{Bmatrix}
\begin{cases}
\begin{equation*}
\begin{flalign}
\begin{flalign*}
\begin{gather}
\begin{gather*}
\begin{gathered}
\begin{gathered}[alignment]
\begin{matrix}
\begin{multline}
\begin{multline*}
\begin{pmatrix}
\begin{smallmatrix}
\begin{split}
\begin{subarray}
\begin{subarray}[align]
\begin{subequations}
\begin{vmatrix}
\begin{Vmatrix}
\begin{xalignat}
\begin{xalignat*}
\begin{xxalignat}
\binom{above}{below}
\boxed{argument}
\cfrac[align]{numerator}{denominator}
\cfrac{numerator}{denominator}
\dbinom{above}{below}
\ddddot{text}
\dddot{text}
\DeclareMathOperator{command}{text}
\DeclareMathOperator*{command}{text}
\dfrac{numerator}{denominator}
\displaybreak
\displaybreak[value]
\dotsb
\dotsc
\dotsi
\dotsm
\dotso
\end{align}
\end{align*}
\end{alignat}
\end{alignat*}
\end{aligned}
\end{alignedat}
\end{bmatrix}
\end{Bmatrix}
\end{cases}
\end{equation*}
\end{flalign}
\end{flalign*}
\end{gather}
\end{gather*}
\end{gathered}
\end{matrix}
\end{multline}
\end{multline*}
\end{pmatrix}
\end{smallmatrix}
\end{split}
\end{subarray}
\end{subequations}
\end{vmatrix}
\end{Vmatrix}
\end{xalignat}
\end{xalignat*}
\end{xxalignat}
\eqref{label}
\hdotsfor{columns}
\hdotsfor[multiplier]{columns}
\idotsint
\iiiint
\iiint
\iint
\impliedby
\implies
\intertext{word or phrase}
\leftroot{argument}
\lvert
\lVert
\medspace
\mod{value}
\mspace{dimen}
\negmedspace
\negthickspace
\negthinspace
\nobreakdash
\notag
\operatorname{name}
\operatornamewithlimits{name}
\overleftrightarrow{argument}
\overset{superscript}{argument}
\pod{value}
\raisetag{dimen}
\rvert
\rVert
\sideset{left}{right}{symbol}
\smash{argument}
\smash[valign]{argument}
\substack{argument}
\tag{label}
\tag*{label}
\tbinom{above}{below}
\text{word or phrase}
\tfrac{numerator}{denominator}
\thickspace
\thinspace
\underleftarrow{argument}
\underleftrightarrow{argument}
\underrightarrow{argument}
\underset{subscript}{argument}
\uproot{argument}
\varDelta
\varGamma
\varLambda
\varOmega
\varPhi
\varPi
\varPsi
\varSigma
\varTheta
\varUpsilon
\varXi
\xleftarrow[subscript]{superscript}
\xleftarrow{superscript}
\xrightarrow[subscript]{superscript}
\xrightarrow{superscript}

@ -0,0 +1,42 @@
# amsopn package
# tbraun 4/09/2007
\nolimits
\arccos
\arcsin
\arctan
\arg
\cos
\cosh
\cot
\coth
\csc
\deg
\det
\dim
\exp
\gcd
\hom
\inf
\injlim
\ker
\lg
\lim
\liminf
\limsup
\ln
\log
\max
\min
\Pr
\projlim
\sec
\sin
\sinh
\sup
\tan
\tanh
\operatornamewithlimits
\varinjlim
\varprojlim
\varliminf
\varlimsup

@ -0,0 +1,207 @@
# amssymb package
# tbraun 01.06.2007
\approxeq
\backepsilon
\backprime
\backsim
\backsimeq
\barwedge
\Bbbk
\because
\beth
\between
\bigstar
\blacklozenge
\blacksquare
\blacktriangle
\blacktriangledown
\blacktriangleleft
\blacktriangleright
\boxdot
\boxminus
\boxplus
\boxtimes
\bumpeq
\Bumpeq
\Cap
\centerdot
\circeq
\circlearrowleft
\circlearrowright
\circledast
\circledcirc
\circleddash
\circledS
\complement
\Cup
\curlyeqprec
\curlyeqsucc
\curlyvee
\curlywedge
\curvearrowleft
\curvearrowright
\daleth
\diagdown
\diagup
\digamma
\divideontimes
\doteqdot
\dotplus
\doublebarwedge
\downdownarrows
\downharpoonleft
\downharpoonright
\eqcirc
\eqsim
\eqslantgtr
\eqslantless
\eth
\fallingdotseq
\Finv
\Game
\geqq
\geqslant
\ggg
\gimel
\gnapprox
\gneq
\gneqq
\gnsim
\gtrapprox
\gtrdot
\gtreqless
\gtreqqless
\gtrless
\gtrsim
\gvertneqq
\hslash
\intercal
\leftarrowtail
\leftleftarrows
\leftrightarrows
\leftrightharpoons
\leftrightsquigarrow
\leftthreetimes
\leqq
\leqslant
\lessapprox
\lessdot
\lesseqgtr
\lesseqqgtr
\lessgtr
\lesssim
\Lleftarrow
\lll
\lnapprox
\lneq
\lneqq
\lnsim
\looparrowleft
\looparrowright
\lozenge
\Lsh
\ltimes
\lvertneqq
\measuredangle
\multimap
\ncong
\nexists
\ngeq
\ngeqq
\ngeqslant
\ngtr
\nleftarrow
\nLeftarrow
\nleftrightarrow
\nLeftrightarrow
\nleq
\nleqq
\nleqslant
\nless
\nmid
\nparallel
\nprec
\npreceq
\nrightarrow
\nRightarrow
\nshortmid
\nshortparallel
\nsim
\nsubseteq
\nsubseteqq
\nsucc
\nsucceq
\nsupseteq
\nsupseteqq
\ntriangleleft
\ntrianglelefteq
\ntriangleright
\ntrianglerighteq
\nvdash
\nvDash
\nVdash
\nVDash
\pitchfork
\precapprox
\preccurlyeq
\precnapprox
\precneqq
\precnsim
\precsim
psamsfonts
\rightarrowtail
\rightleftarrows
\rightrightarrows
\rightsquigarrow
\rightthreetimes
\risingdotseq
\Rrightarrow
\Rsh
\rtimes
\shortmid
\shortparallel
\smallfrown
\smallsetminus
\smallsmile
\sphericalangle
\square
\Subset
\subseteqq
\subsetneq
\subsetneqq
\succapprox
\succcurlyeq
\succnapprox
\succneqq
\succnsim
\succsim
\Supset
\supseteqq
\supsetneq
\supsetneqq
\therefore
\thickapprox
\thicksim
\triangledown
\trianglelefteq
\triangleq
\trianglerighteq
\twoheadleftarrow
\twoheadrightarrow
\upharpoonleft
\upharpoonright
\upuparrows
\varkappa
\varnothing
\varpropto
\varsubsetneq
\varsubsetneqq
\varsupsetneq
\varsupsetneqq
\vartriangle
\vartriangleleft
\vartriangleright
\vDash
\Vdash
\veebar
\Vvdash

@ -0,0 +1,18 @@
# amsthm
# Ryan Reich/2007-11-03
# http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=amsthm
\newtheorem{envname}{caption}
\newtheorem{envname}{caption}[within]
\newtheorem{envname}[numberedlike]{caption}
\newtheorem*{envname}{caption}
\newtheorem*{envname}{caption}[within]
\newtheorem*{envname}[numberedlike]{caption}
\theoremstyle{style}
\swapnumbers
\newtheoremstyle{stylename}{spaceabove}{spacebelow}{bodyfont}{indentamt}{headfont}{headpunct}{headspace}{headspec}
\begin{proof}
\begin{proof}[caption]
\end{proof}
\qedsymbol
\qedhere
\qed

@ -0,0 +1,8 @@
# mode: array.sty
# dani/2006-02-18
\extrarowheight
\extratabsurround
\firsthline
\lasthline
\newcolumntype{name}{argument}
\showcols

@ -0,0 +1,12 @@
# attachfile package
# mario 09/06/2007
# URL: http://tug.ctan.org/tex-archive/macros/latex/contrib/attachfile/
\attachfile[options]{filename}
\attachfile{filename}
\attachfilesetup{options}
\noattachfile[options]
\notextattachfile[options]{text}
\notextattachfile{text}
\textattachfile[options]{filename}{text}
\textattachfile{filename}{text}

@ -0,0 +1,17 @@
# tbraun 11/5/2006
# added commands for beamer emulation package
\begin{boldequation}*
\begin{boldequation}
\end{boldequation}
\MyLogo{logo text}
\LogoOn
\LogoOff
\foilhead[dimension]{frame title}
\foilhead{frame title}
\rotatefoilhead[dimension]{frame title}
\rotatefoilhead{frame title}
\endfoil
\FoilTeX
\bm{text}
\bmstyle{text}{more text}

@ -0,0 +1,49 @@
# tbraun 11/5/2006
# added commands for beamer emulation package
\begin{slides}[options]{frame title}
\begin{slides}{frame title}
\end{slides}
\begin{notes}{title}
\end{notes}
\begin{Itemize}\item
\end{Itemize}
\begin{itemstep}\item
\end{itemstep}
\begin{enumstep}\item
\end{enumstep}
\email{text}
\institution{text}
\Logo(x,y){logo}
\Logo{logo}
\overlays{number}{slide environment}
\fromSlide{slide number}{text}
\fromSlide*{slide number}{text}
\fromSlide{slide number}{text}
\onlySlide{slide number}{text}
\onlySlide*{slide number}{text}
\onlySlide{slide number}{text}
\untilSlide{slide number}{text}
\untilsSlide*{slide number}{text}
\untilsSlide{slide number}{text}
\FromSlide{slide number}
\OnlySlide{slide number}
\UntilSlide{slide number}
\slideCaption{text}
\fontTitle{text}
\fontText{text}
\PDFtransition{prosper transition}
\hiddenitem
\prosperpart[options]{text}
\prosperpart{text}
\tsection*{section name}
\tsection{section name}
\tsectionandpart*{part text}
\tsectionandpart{part text}
\dualslide[x][y][z]{options}{left column}{right column}
\dualslide[y][z]{options}{left column}{right column}
\dualslide[z]{options}{left column}{right column}
\dualslide{options}{left column}{right column}
\PDForPS{PostScript text}{PDF text}
\onlyInPDF<PDF text>
\onlyInPS<PS text>

@ -0,0 +1,14 @@
# tbraun 11/5/2006
# added commands for beamer emulation package
\begin{slide}*
\begin{slide}
\end{slide}
\overlay{number}
\red
\blue
\green
\ifslide
\ifslidesonly
\ifarticle
\ifportrait

@ -0,0 +1,21 @@
# tbraun 11/5/2006
# added commands for beamer emulation package
\stepwise{text}
\parstepwise{text}
\liststepwise{text}
\step{text}
\steponce{text}
\switch{alternate text}{text}
\bstep{text}
\dstep
\vstep
\restep{text}
\reswitch{alternate text}<text>
\rebstep<text>
\redstep
\revstep
\boxedsteps
\nonboxedsteps
\code{text}
\codeswitch

@ -0,0 +1,15 @@
# mode: booktabs.sty
# dani/2006-02-18
\addlinespace
\addlinespace[space]
\bottomrule
\bottomrule[width]
\cmidrule{a-b}
\cmidrule(trim){a-b}
\cmidrule[width](trim){a-b}
\midrule
\midrule[width]
\morecmidrules
\specialrule[width]{abovespace}{belowspace}
\toprule
\toprule[width]

@ -0,0 +1,8 @@
\bra{text}
\Bra{text}
\ket{text}
\Ket{text}
\braket{text}
\Braket{text}
\set{text}
\Set{text}

@ -0,0 +1,21 @@
# calc package
# nja 17 July 2007
# url: http://www.ctan.org/tex-archive/help/Catalogue/entries/calc.html
\setcounter{ctr}{num}
\addtocounter{ctr}{num}
\setlength{cmd}{len}
\addtolength{cmd}{len}
\real{decimal constant}
\ratio{dimen expression}{dimen expression}
\widthof{text}
\heightof{text}
\depthof{text}
\totalheightof{text}
\settototalheight{cmd}{text}
\maxof{type expression}{type expression}
\minof{type expression}{type expression}

@ -0,0 +1,446 @@
# tbraun 11/5/2006
# added most/all beamer commands
# be sure to use an up to date kile svn version, only that will work properly with the strange syntax here
# 11/24/2006 added missing commands, thanks to Marco Bertolini
\begin{frame}
\begin{frame}<overlay specification>
\begin{frame}<overlay specification>[<default overlay specification>]
\begin{frame}<overlay specification>[<default overlay specification>][options]
\begin{frame}<overlay specification>[<default overlay specification>][options]{title}
\begin{frame}<overlay specification>[<default overlay specification>][options]{title}{subtitle}
\begin{frame}[<default overlay specification>]
\begin{frame}[<default overlay specification>][options]
\begin{frame}[<default overlay specification>][options]{title}
\begin{frame}[<default overlay specification>][options]{title}{subtitle}
\begin{frame}[<default overlay specification>][options]{title}{subtitle}
\begin{frame}[options]
\begin{frame}[options]{title}
\begin{frame}[options]{title}{subtitle}
\begin{frame}[options]{title}{subtitle}
\begin{frame}{title}
\begin{frame}{subtitle}
\end{frame}
\begin{thebibliography}{longest label text}
\end{thebibliography}
\begin{itemize}[<default overlay specification>]\item
\begin{itemize}\item
\end{itemize}
\begin{enumerate}[<default overlay specification>][mini template]\item
\begin{enumerate}[mini template]\item
\begin{enumerate}\item
\end{enumerate}
\begin{description}[<default overlay specification>][long text]\item
\begin{description}[long text]\item
\begin{description}\item
\end{description}
\begin{structureenv}<overlay specification>
\begin{structureenv}
\end{structureenv}
\begin{alertenv}<overlay specification>
\begin{alertenv}
\end{alertenv}
\begin{block}<action specification>{block title}<action specification>
\end{block}
\begin{alertblock}<action specification>{block title}<action specification>
\end{alertblock}
\begin{exampleblock}<action specification>{block title}<overlay specification>
\end{exampleblock}
\begin{theorem}<action specification>[additional text]<action specification>
\begin{theorem}<action specification><action specification>
\end{theorem}
\begin{definition}<action specification>[additional text]<action specification>
\begin{definition}<action specification><action specification>
\end{definition}
\begin{example}<action specification>[additional text]<action specification>
\begin{example}<action specification><action specification>
\end{example}
\begin{proof}<action specification>[proof name]<action specification>
\begin{proof}<action specification><action specification>
\end{proof}
\begin{beamercolorbox}[options]{beamer color}
\begin{beamercolorbox}{beamer color}
\end{beamercolorbox}
\begin{beamerboxesrounded}[options]{head}
\begin{beamerboxesrounded}{head}
\end{beamerboxesrounded}
\begin{columns}[options]
\begin{columns}
\end{columns}
\begin{column}[placement]{column width}
\begin{column}{column width}
\end{column}
\begin{semiverbatim}
\end{semiverbatim}
\begin{abstract}<action specification>
\end{abstract}
\begin{verse}<action specification>
\end{verse}
\begin{quotation}<action specification>
\end{quotation}
\begin{quote}<action specification>
\end{quote}
\begin{onlyenv}<overlay specification>
\begin{onlyenv}
\end{onlyenv}
\begin{altenv}<overlay specification>{begin text}{end text}{alternate begin text}{alternate end text}<overlay specification>
\begin{altenv}{begin text}{end text}{alternate begin text}{alternate end text}<overlay specification>
\end{altenv}
\begin{overlayarea}{area width}{area height}
\end{overlayarea}
\begin{overprint}[area width]
\begin{overprint}
\end{overprint}
\begin{actionenv}<action specification>
\end{actionenv}
\movie[options]{poster text}{movie filename}
\movie{poster text}{movie filename}
\hyperlinkmovie[options]{movie label}{text}
\hyperlinkmovie{movie label}{text}
\animate
\animate<overlay specification>
\animatevalue<start slide - end slide>{name}{start value}{end value}
\animatevalue{name}{start value}{end value}
\multiinclude[<default overlay specification>][options]{base file name}
\multiinclude[options]{base file name}
\multiinclude{base file name}
\sound[options]{sound poster text}{sound filename}
\sound{sound poster text}{sound filename}
\hyperlinksound[options]{sound label}{text}
\hyperlinksound{sound label}{text}
\hyperlinkmute{text}
\transblindshorizontal<overlay specification>[options]
\transblindshorizontal<overlay specification>
\transblindshorizontal[options]
\transblindshorizontal
\transblindsvertical<overlay specification>[options]
\transblindsvertical<overlay specification>
\transblindsvertical[options]
\transblindsvertical
\transboxin<overlay specification>[options]
\transboxin<overlay specification>
\transboxin[options]
\transboxin
\transboxout<overlay specification>[options]
\transboxout<overlay specification>
\transboxout[options]
\transboxout
\transdissolve<overlay specification>[options]
\transdissolve<overlay specification>
\transdissolve[options]
\transdissolve
\transglitter<overlay specification>[options]
\transglitter<overlay specification>
\transglitter[options]
\transglitter
\transsplitverticalin<overlay specification>[options]
\transsplitverticalin<overlay specification>
\transsplitverticalin[options]
\transsplitverticalin
\transsplitverticalout<overlay specification>[options]
\transsplitverticalout<overlay specification>
\transsplitverticalout[options]
\transsplitverticalout
\transsplithorizontalin<overlay specification>[options]
\transsplithorizontalin<overlay specification>
\transsplithorizontalin[options]
\transsplithorizontalin
\transsplithorizontalout<overlay specification>[options]
\transsplithorizontalout<overlay specification>
\transsplithorizontalout[options]
\transsplithorizontalout
\transwipe<overlay specification>[options]
\transwipe<overlay specification>
\transwipe[options]
\transwipe
\transduration<overlay specification>{number of seconds}
\transduration{number of seconds}
\usebeamercolor*[fg or bg]{beamer-color name}
\usebeamercolor*{beamer-color name}
\usebeamercolor[fg or bg]{beamer-color name}
\usebeamercolor{beamer-color name}
\ifbeamercolorempty[fg or bg]{beamer-color name}{if undefined}{if defined}
\ifbeamercolorempty{beamer-color name}{if undefined}{if defined}
\setbeamercolor*{beamer-color name}{options}
\setbeamercolor{beamer-color name}{options}
\setbeamercovered{options}
\opaqueness{percentage of opaqueness}
\opaqueness<overlay specification>{percentage of opaqueness}
\opaqueness{percentage of opaqueness}
\usebeamertemplate{element name}
\usebeamertemplate*{element name}
\usebeamertemplate**{element name}
\usebeamertemplate***{element name}
\ifbeamertemplateempty{beamer template name}{executed if empty}{executed otherwise}
\expandbeamertemplate{beamer template name}
\setbeamertemplate{element name}[predefined option]{args}
\setbeamertemplate{element name}{args}
\addtobeamertemplate{element name}{pre-text}{post-text}
\defbeamertemplate<mode specification>*{element name}{predefined option}[argument number][default optional argument]{predefined text}[action]{action command}
\defbeamertemplate<mode specification>*{element name}{predefined option}[default optional argument]{predefined text}[action]{action command}
\defbeamertemplate<mode specification>*{element name}{predefined option}{predefined text}[action]{action command}
\defbeamertemplate<mode specification>*{element name}{predefined option}[argument number][default optional argument]{predefined text}
\defbeamertemplate<mode specification>*{element name}{predefined option}[argument number]{predefined text}
\defbeamertemplate<mode specification>*{element name}{predefined option}{predefined text}
\defbeamertemplate{element name}{predefined option}[argument number][default optional argument]{predefined text}[action]{action command}
\defbeamertemplate{element name}{predefined option}[default optional argument]{predefined text}[action]{action command}
\defbeamertemplate{element name}{predefined option}{predefined text}[action]{action command}
\defbeamertemplate{element name}{predefined option}[argument number][default optional argument]{predefined text}
\defbeamertemplate{element name}{predefined option}[argument number]{predefined text}
\defbeamertemplate{element name}{predefined option}{predefined text}
\defbeamertemplatealias{element name}{new predefined option name}{existing predefined option name}
\defbeamertemplateparent{parent template name}[predefined option name]{child template list} [argument number][default optional argument]{arguments for children}
\defbeamertemplateparent{parent template name}{child template list} [argument number][default optional argument]{arguments for children}
\defbeamertemplateparent{parent template name}{child template list} [default optional argument]{arguments for children}
\defbeamertemplateparent{parent template name}{child template list} {arguments for children}
\usebeamerfont*{beamer-font name}
\usebeamerfont{beamer-font name}
\setbeamerfont*{beamer-font name}{attributes}
\setbeamerfont{beamer-font name}{attributes}
\insertnavigation
\insertpagenumber
\insertsection
\insertsectionnavigation
\insertsectionnavigationhorizontal
\insertshortauthor
\insertshortdate
\insertshortinstitute
\insertshortpart
\insertshorttitle
\insertshortsubtitle
\insertsubsection
\insertsubsectionnavigation
\insertsubsectionnavigationhorizontal
\insertverticalnavigation
\insertframenumber
\inserttotalframenumber
\insertframestartpage
\insertframeendpage
\insertsubsectionstartpage
\insertsubsectionendpage
\insertsectionstartpage
\insertsectionendpage
\insertpartstartpage
\insertpartendpage
\insertpresentationstartpage
\insertpresentationendpage
\insertappendixstartpage
\insertappendixendpage
\insertdocumentstartpage
\insertdocumentendpage
\setbeamersize{}
\insertsectionhead
\insertsectionheadnumber
\insertpartheadnumber
\insertsubsectionhead
\insertsubsectionheadnumber
\insertslidenavigationsymbol
\insertframenavigationsymbol
\insertsubsectionnavigationsymbol
\insertsectionnavigationsymbol
\insertdocnavigationsymbol
\insertbackfindforwardnavigationsymbol
\insertenumlabel
\insertenumlabel
\insertsubsubenumlabel
\insertdescriptionitem
\inserttheoremheadfont
\inserttheoremname
\inserttheoremnumber
\inserttheoremaddition
\inserttheorempunctuation
\insertcaption
\insertcaptionname
\insertcaptionnumber
\insertfootnotetext
\insertfootnotemark
\insertnote
\insertslideintonotes
\logo{logo text}
\insertlogo
\frametitle<overlay specification>[short frame title]{frame title text}
\frametitle<overlay specification>{frame title text}
\frametitle[short frame title]{frame title text}
\frametitle{frame title text}
\framesubtitle<overlay specification>{frame subtitle text}
\framesubtitle{frame subtitle text}
\setbeamersize{options}
\titlepage
\maketitle
\title[short title]{title}
\title{title}
\subtitle[short subtitle]{subtitle}
\subtitle{subtitle}
\author[short author names]{author names}
\author{author names}
\institute[short institute]{institute}
\institute{institute}
\date[short date]{date}
\date{date}
\titlegraphic{text}
\subject{text}
\keywords{text}
\section<mode specification>[short section name]{section name}
\section<mode specification>{section name}
\section[short section name]{section name}
\section{section name}
\section<mode specification>*[short section name]{section name}
\section<mode specification>*{section name}
\section*[short section name]{section name}
\section*{section name}
\subsection<mode specification>[short section name]{section name}
\subsection<mode specification>{section name}
\subsection[short section name]{section name}
\subsection{section name}
\subsection<mode specification>*[short section name]{section name}
\subsection<mode specification>*{section name}
\subsection*[short section name]{section name}
\subsection*{section name}
\subsubsection<mode specification>[short section name]{section name}
\subsubsection<mode specification>{section name}
\subsubsection[short section name]{section name}
\subsubsection{section name}
\subsubsection<mode specification>*[short section name]{section name}
\subsubsection<mode specification>*{section name}
\subsubsection*[short section name]{section name}
\subsubsection*{section name}
\AtBeginSection[special star text]{text}
\AtBeginSection{text}
\AtBeginSubsection[special star text]{text}
\AtBeginSubsection{text}
\AtBeginSubsubsection[special star text]{text}
\AtBeginSubsubsection{text}
\part<mode specification>[short part name]{part name}
\part<mode specification>{part name}
\part[short part name]{part name}
\part{part name}
\partpage
\AtBeginPart{text}
\lecture[short lecture name]{lecture name}{lecture label}
\lecture{lecture name}{lecture label}
\includeonlylecture{lecture label}
\AtBeginLecture{text}
\tableofcontents[comma-separated option list]
\tableofcontents
\bibitem<overlay specification>[citation text]{label name}
\bibitem<overlay specification>{label name}
\bibitem[citation text]{label name}
\bibitem{label name}
\appendix<mode specification>
\appendix
\hypertarget<overlay specification>{target name}{text}
\hypertarget{target name}{text}
\beamerbutton{button text}
\beamergotobutton{button text}
\beamerskipbutton{button text}
\beamerreturnbutton{button text}
\hyperlink<overlay specification>{target name}{link text}<overlay specification>
\hyperlink{target name}{link text}<overlay specification>
\hyperlink{target name}{link text}
\hyperlinkslideprev<overlay specification>{link text}
\hyperlinkslideprev{link text}
\hyperlinkslidenext<overlay specification>{link text}
\hyperlinkslidenext{link text}
\hyperlinkframestart<overlay specification>{link text}
\hyperlinkframestart{link text}
\hyperlinkframeend<overlay specification>{link text}
\hyperlinkframeend{link text}
\hyperlinkframestartnext<overlay specification>{link text}
\hyperlinkframestartnext{link text}
\hyperlinkframeendprev<overlay specification>{link text}
\hyperlinkframeendprev{link text}
\hyperlinkpresentationstart<overlay specification>{link text}
\hyperlinkpresentationstart{link text}
\hyperlinkpresentationend<overlay specification>{link text}
\hyperlinkpresentationend{link text}
\hyperlinkappendixstart<overlay specification>{link text}
\hyperlinkappendixstart{link text}
\hyperlinkappendixend<overlay specification>{link text}
\hyperlinkappendixend{link text}
\hyperlinkdocumentstart<overlay specification>{link text}
\hyperlinkdocumentstart{link text}
\hyperlinkdocumentend<overlay specification>{link text}
\hyperlinkdocumentend{link text}
\againframe<overlay specification>[<default overlay specification>][options]{name}
\againframe<overlay specification>[options]{name}
\againframe<overlay specification>{name}
\againframe[<default overlay specification>][options]{name}
\againframe[options]{name}
\againframe{name}
\framezoom<button overlay specification><zoomed overlay specification>[options](upper left x,upper left y)(zoom area width,zoom area depth)
\framezoom<button overlay specification><zoomed overlay specification>(upper left x,upper left y)(zoom area width,zoom area depth)
\structure<overlay specification>{text}
\structure{text}
\alert<overlay specification>{highlighted text}
\alert{highlighted text}
\newtheorem*{environment name}[numbered same as]{head text}[number within]
\newtheorem*{environment name}{head text}[number within]
\newtheorem*{environment name}{head text}
\newtheorem{environment name}[numbered same as]{head text}[number within]
\newtheorem{environment name}{head text}[number within]
\newtheorem{environment name}{head text}
\footnote<overlay specification>[options]{text}
\footnote<overlay specification>{text}
\footnote[options]{text}
\footnote{text}
\setjobnamebeamerversion{filename without extension}
\includeslide[options]{label name}
\includeslide{label name}
\mode<mode specification>{text}
\mode{text}
\mode<mode specification>
\mode*
\mode
\note<overlay specification>[options]{note text}
\note<overlay specification>{note text}
\note[options]{note text}
\note{note text}
\AtBeginNote{text}
\AtEndNote{text}
\pause[number]
\pause
\onslide<overlay specification>{text}
\onslide+<overlay specification>{text}
\onslide*<overlay specification>{text}
\onslide<overlay specification>
\onslide
\only<overlay specification>{text}<overlay specification>
\only{text}<overlay specification>
\only{text}
\uncover<overlay specification>{text}
\uncover{text}
\visible<overlay specification>{text}
\visible{text}
\invisible<overlay specification>{text}
\invisible{text}
\alt<overlay specification>{default text}{alternative text}<overlay specification>
\alt{default text}{alternative text}<overlay specification>
\alt{default text}{alternative text}
\temporal{before slide text}{default text}{after slide text}
\temporal<overlay specification>{before slide text}{default text}{after slide text}
\temporal{before slide text}{default text}{after slide text}
\item<alert specification>[item label]<alert specification>
\item<alert specification><alert specification>
\item[item label]<alert specification>
\item[item label]
\item
\label<overlay specification>{label name}
\label{label name}
\resetcounteronoverlays{counter name}
\resetcountonoverlays{count register name}
\action<action specification>{text}
\action{text}
\beamerdefaultoverlayspecification{default overlay specification}
\usetheme[options]{name list}
\usetheme{name list}
\usecolortheme[options]{name list}
\usecolortheme{name list}
\usefonttheme[options]{name}
\usefonttheme{name}
\useinnertheme[options]{name}
\useinnertheme{name}
\useoutertheme[options]{name}
\useoutertheme{name}
\addheadbox{beamer color}{box template}
\addfootbox{beamer color}{box template}
\includeonlyframes{frame label list}

@ -0,0 +1,15 @@
# latex mode: LaTeX commands (letter class)
# dani/2006-02-18
\begin{letter}{name}
\end{letter}
\address{returnaddress}
\signature{yourname}
\opening{text}
\closing{text}
\cc{text}
\encl{text}
\name{text}
\ps{text}
\location{address}
\telephone{number}
\subject{text}

@ -0,0 +1,124 @@
# mode: koma classes (scrartcl,scrreprt,scrbook)
# dani/2006-02-21
\addchap[short]{title}
\addchap{title}
\addchap*{title}
\addpart[short]{title}
\addpart{title}
\addpart*{title}
\addsec[short]{title}
\addsec{title}
\addsec*{title}
\addtokomafont{name}{cmd}
\areaset[bcor]{width}{height}
\areaset{width}{height}
\begin{addmargin}{indent}
\begin{addmargin*}{indent}
\begin{addmargin}[leftindent]{indent}
\begin{addmargin*}[middleindent]{indent}
\begin{captionbeside}[short]{title}
\begin{captionbeside}[short]{title}[pos]
\begin{captionbeside}[short]{title}[pos][width]
\begin{captionbeside}{title}
\begin{captionbeside}{title}[pos]
\begin{captionbeside}{title}[pos][width]
\begin{captionbeside}{title}[pos][width][offset]
\begin{labeling}[div]{template}\item
\begin{labeling}{template}\item
\captionabove[entry]{text}
\captionabove{text}
\captionbelow[entry]{text}
\captionbelow{text}
\chapappifchapterprefix{text}
\dedication{text}
\deffootnote{indent}{parindent}{definition}
\deffootnotemark{definition}
\deffootnote[width]{indent}{parindent}{definition}
\dictumauthorformat{cmd}
\dictum[author]{text}
\dictum{text}
\end{addmargin}
\end{addmargin*}
\end{captionbeside}
\end{captionbeside}[short]{title}[pos][width][offset]
\end{labeling}
\enlargethispage
\extratitle{shorttitle}
\ifpdfoutput{then}{else}
\ifthispageodd{true}{false}
\ifthispagewasodd..\else..\fi
\linespread{factor}
\lowertitleback{text}
\maketitle{pagenumber}
\marginline{text}
\markboth
\markleft
\markright
\minisec{title}
\othersectionlevelsformat{level}
\publishers{text}
\setbibpreamble{text}
\setcapindent{indent}
\setcapindent*{indent}
\setcapmargin{indent}
\setcapmargin*{indent}
\setcapmargin[left]{indent}
\setcapmargin*[middle]{indent}
\setcapwidth[align]{width}
\setcapwidth{width}
\setchapterpreamble[pos]{text}
\setchapterpreamble[pos][width]{text}
\setchapterpreamble{text}
\SetDIVList{list}
\setindexpreamble{text}
\setkomafont{name}{cmd}
\setpartpreamble[pos]{text}
\setpartpreamble[pos][width]{text}
\setpartpreamble{text}
\subject{text}
\textsubscript{text}
\textsuperscript{text}
\titlehead{head}
\typearea[bcor]{div}
\typearea{div}
\uppertitleback{text}
\usekomafont{name}
# macros
\appendixmore
\autodot
\backmatter
\capfont
\caplabelfont
\captionformat
\chapapp
\chapterformat
\chaptermarkformat
\chapterpagestyle
\cleardoubleemptypage
\cleardoubleplainpage
\cleardoublestandardpage
\contentsname
\descfont
\dictumwidth
\figureformat
\frontmatter
\indexpagestyle
\listfigurename
\listtablename
\mainmatter
\partformat
\partpagestyle
\raggeddictum
\raggeddictumauthor
\raggeddictumtext
\raggedsection
\sectfont
\sectionmarkformat
\setcaphanging
\subsectionmarkformat
\tableformat
\titlepagestyle
# variable
\pdfoutput
\pdfpageheight
\pdfpagewidth

@ -0,0 +1,91 @@
# mode: koma letter class (scrlttr2)
# dani/2006-02-21
\addrchar
\addrentry{last}{first}{address}{tel}{f1}{f2}{f3}{f4}{comment}{short}
\addtolengthplength[factor]{length}{plength}
\addtolengthplength{length}{plength}
\addtoreffields{name}
\adrchar
\adrentry{last}{first}{address}{tel}{f1}{f2}{comment}{short}
\AtBeginLetter{commands}
\bankname
\begin{letter}{name}
\captionsamerican
\captionsaustrian
\captionsbritish
\captionscroatian
\captionsdutch
\captionsenglish
\captionsfinnish
\captionsfrench
\captionsgerman
\captionsitalian
\captionsngerman
\captionsspanish
\captionsUKenglish
\captionsUSenglish
\ccname
\cc{text}
\closing{text}
\customername
\dateamerican
\dateaustrian
\datebritish
\datecroatian
\datedutch
\dateenglish
\datefinnish
\datefrench
\dategerman
\dateitalian
\datename
\datengerman
\datespanish
\dateUKenglish
\dateUSenglish
\defaultreffields
\emailname
\enclname
\encl{text}
\end{letter}
\faxname
\firstfoot{text}
\firsthead{text}
\headfromname
\headtoname
\ifkomavarempty{name}{true}{false}
\ifkomavarempty*{name}{true}{false}
\invoicename
\KOMAoptions{list}
\LetterOptionNeedsPapersize{option}{papersize}
\LoadLetterOption{name}
\myrefname
\newcaptionname{language}{name}{text}
\newkomavar[alias]{name}
\newkomavar*[alias]{name}
\newkomavar{name}
\newkomavar*{name}
\nextfoot{text}
\nexthead{text}
\opening{text}
\phonename
\providecaptionname{language}{name}{text}
\ps{text}
\raggedsignature
\removereffields
\renewcaptionname{language}{name}{text}
\setkomavar{name}[alias]{value}
\setkomavar*{name}[alias]{value}
\setkomavar{name}{value}
\setkomavar*{name}{value}
\setlengthtoplength[factor]{length}{plength}
\setlengthtoplength{length}{plength}
\subjectname
\usekomavar[alias]{name}
\usekomavar*[alias]{name}
\usekomavar{name}
\usekomavar*{name}
\useplength{name}
\wwwname
\yourmailname
\yourrefname

@ -0,0 +1,13 @@
# color.sty
# tbraun 11/2/2006
\textcolor{declared-color}{text}
\textcolor[model]{color-spec}{text}
\pagecolor[declared-color}
\definecolor{name}{model}{color-spec}
\normalcolor
\color[model]{color}
\color{declared-color}
\colorbox[model]{declared-color}{text}
\colorbox{declared-color}{text}
\fcolorbox[model]{border-color}{fill-color}{text}
\fcolorbox{declared-border-color}{declared-fill-color}{text}

@ -0,0 +1,12 @@
# colortbl package
# neeraavi 26 Mar 2007
\arrayrulecolor{declared-color}
\arrayrulecolor[color model]{color}
\cellcolor{declared-color}
\cellcolor[color model]{color}[left overhang][right overhang]
\columncolor{declared-color}
\columncolor[color model]{color}[left overhang][right overhang]
\doublerulesepcolor{declared-color}
\doublerulesepcolor[color model]{color}
\rowcolor{declared-color}
\rowcolor[color model]{color}[left overhang][right overhang]

@ -0,0 +1,25 @@
#coordsys.cwl
#for coordsys package
#neeraavi 26 Mar 2007
\numbline[spacing]{from}{to}
\numbline*[spacing]{from}{to}
\vnumbline[spacing]{from}{to}
\vnumbline*[spacing]{from}{to}
\coordsys[h-spacing][v-spacing](lower-left)(upper-right)
\coordsys*[h-spacing][v-spacing](lower-leftl)(upper-right)
\fcoordsys[h-spacing][v-spacing](lower-left)(upper-right)
\fcoordsys*[h-spacing][v-spacing](lower-leftl)(upper-right)
\bcoordsys[h-spacing][v-spacing](lower-left)(upper-right)
\bcoordsys*[h-spacing][v-spacing](lower-leftl)(upper-right)
\window[h-spacing][v-spacing](lower-left)(upper-right)
\window*[h-spacing][v-spacing](lower-leftl)(upper-right)
\coordgrid[h-spacing][v-spacing](lower-left)(upper-right)
\coordgrid*[h-spacing][v-spacing](lower-leftl)(upper-right)
\gridstyle{thin-declaration}{thick-declaration}
\sethlabel[alignment]{label}
\setvlabel[alignment]{label}
\htickratio
\vtickratio
\rescaleby[symb]{num}{den}{cmd}
\tickstyle{thin-declaration}{thick-declaration}
\ticklength

@ -0,0 +1,14 @@
# currvita.sty
# tbraun 11/15/2006
\begin{cv}{heading of the curriculum vitae}
\end{cv}
\begin{cvlist}{heading of the list}\item
\end{cvlist}
\cvplace{location}
\cvheadingfont
\cvlistheadingfont
\cvlabelfont
\cvlabelwidth
\cvlabelskip
\cvlabelsep
\cvbibname

@ -0,0 +1,159 @@
# created 08/05/2006 by tbraun
\CYRA
\CYRB
\CYRV
\CYRG
\CYRD
\CYRE
\CYRYO
\CYRZH
\CYRZ
\CYRI
\CYRISHRT
\CYRK
\CYRL
\CYRM
\CYRN
\CYRO
\CYRP
\CYRR
\CYRS
\CYRT
\CYRU
\CYRF
\CYRH
\CYRC
\CYRCH
\CYRSH
\CYRSHCH
\CYRHRDSN
\CYRERY
\CYRSFTSN
\CYREREV
\CYRYU
\CYRYA
\cyra
\cyrb
\cyrv
\cyrg
\cyrd
\cyre
\cyryo
\cyrzh
\cyrz
\cyri
\cyrishrt
\cyrk
\cyrl
\cyrm
\cyrn
\cyro
\cyrp
\cyrr
\cyrs
\cyrt
\cyru
\cyrf
\cyrh
\cyrc
\cyrch
\cyrsh
\cyrshch
\cyrhrdsn
\cyrery
\cyrsftsn
\cyrerev
\cyryu
\cyrya
\CYRABHCH
\CYRABHCHDSC
\CYRZHDSC
\CYRABHDZE
\CYRZDSC
\CYRKHK
\CYRKHCRS
\CYRKDSC
\CYRKVCRS
\CYRLJE
\CYRLDSC
\CYRMDSC
\CYRNDSC
\CYRNG
\CYRNJE
\CYRNHK
\CYROTLD
\CYRPHK
\CYRRTICK
\CYRSDSC
\CYRTDSC
\CYRTSHE
\CYRDJE
\CYRUSHRT
\CYRSHHA
\CYRGHK
\CYRGUP
\CYRGHCRS
\CYRHDSC
\CYRDZHE
\CYRDZE
\CYRTETSE
\CYRCHLDSC
\CYRCHVCRS
\CYRCHRDSC
\CYRSEMISFTSN
\CYRIE
\CYRSCHWA
\CYRII
\CYRJE
\CYRYI
\CYRY
\CYRYHCRS
\CYRAE
\CYRABHHA
\CYRpalochka
\cyrabhch
\cyrabhchdsc
\cyrzhdsc
\cyrabhdze
\cyrzdsc
\cyrkhk
\cyrkhcrs
\cyrkdsc
\cyrkvcrs
\cyrlje
\cyrldsc
\cyrmdsc
\cyrndsc
\cyrng
\cyrnje
\cyrnhk
\cyrotld
\cyrphk
\cyrrtick
\cyrsdsc
\cyrtdsc
\cyrtshe
\cyrdje
\cyrushrt
\cyrshha
\cyrghk
\cyrgup
\cyrghcrs
\cyrhdsc
\cyrdzhe
\cyrdze
\cyrtetse
\cyrchldsc
\cyrchvcrs
\cyrchrdsc
\cyrsemisftsn
\cyrie
\cyrschwa
\cyrii
\cyrje
\cyryi
\cyry
\cyryhcrs
\cyrae
\cyrabhha

@ -0,0 +1,43 @@
# diagxy package - Michael Barr's commutative-diagram package
# freyj 04/04/2007
# version 2: freyj 7/10/2007
#-----------------
# delimiters
\bfig
\efig
# in-line macros
\to/{sh}/^{L}_{L}
\mon^{L}_{L}
\epi^{L}_{L}
\toleft^{L}_{L}
\monleft^{L}_{L}
\epileft^{L}_{L}
# diagram macros
\place({x},{y})[{item}]
\twoar({dx},{dy})
\morphism({x},{y})|{p}|/{sh}/<{dx},{dy}>[{N}`{N};{L}]
\square({x},{y})|{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}]
\hsquares({x},{y})|{p}{p}{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}/<{dx},{dx},{dy}>[{N}`{N}`{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}`{L}`{L}]
\vsquares({x},{y})|{p}{p}{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}/<{dx},{dy},{dy}>[{N}`{N}`{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}`{L}`{L}]
\ptriangle({x},{y})|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N};{L}`{L}`{L}]
\qtriangle({x},{y})|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N};{L}`{L}`{L}]
\dtriangle({x},{y})|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N};{L}`{L}`{L}]
\btriangle({x},{y})|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N};{L}`{L}`{L}]
\Atriangle({x},{y})|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N};{L}`{L}`{L}]
\Vtriangle({x},{y})|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N};{L}`{L}`{L}]
\Ctriangle({x},{y})|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N};{L}`{L}`{L}]
\Dtriangle({x},{y})|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N};{L}`{L}`{L}]
\Atrianglepair({x},{y})|{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}]
\Vtrianglepair({x},{y})|{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}]
\Ctrianglepair({x},{y})|{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}]
\Dtrianglepair({x},{y})|{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}]
\pullback({x},{y})|{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}/<{dx}`{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}]|{p}{p}{p}|/{sh}`{sh}`{sh}/<{dx},{dy}>[{N};{L}`{L}`{L}]
\Square({x},{y})|{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}/<{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}] # width automatically determined
\hSquares({x},{y})|{p}{p}{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}/<{dy}>[{N}`{N}`{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}`{L}`{L}] # width automatically determined
\vSquares({x},{y})|{p}{p}{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}/<{dy},{dy}>[{N}`{N}`{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}`{L}`{L}] # width automatically determined
\cube({x},{y})|{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}]({x},{y})|{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>[{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}]|{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}/[{L}`{L}`{L}`{L}]
\node {id}({x},{y})[{N}]
\arrow|{p}|/{sh}/[{id}`{id};{L}]
\Loop({x},{y}){N}({dirstart},{dirend})_{L}
\iiixiii({x},{y})|{p}{p}{p}{p}{p}{p}{p}{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>{zeroes}<{dx},{dy}>[{N}`{N}`{N}`{N}`{N}`{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}`{L}`{L}`{L}`{L}`{L}`{L}`{L}]
\iiixii({x},{y})|{p}{p}{p}{p}{p}{p}{p}|/{sh}`{sh}`{sh}`{sh}`{sh}`{sh}`{sh}/<{dx},{dy}>{zeroes}<{dx},{dy}>[{N}`{N}`{N}`{N}`{N}`{N};{L}`{L}`{L}`{L}`{L}`{L}`{L}]

@ -0,0 +1,7 @@
# tbraun
# ctan: doi package
# 07/4/2007
\doi{ref}
\doitext

@ -0,0 +1,3 @@
# mode: enumerate.sty
# dani/2006-02-18
\begin{enumerate}[option]

@ -0,0 +1,58 @@
# mode: fancybox.sty
# dani/2006-02-18
\begin{Bcenter}
\begin{Bdescription}\item
\begin{Bdescription}[valign]\item
\begin{Benumerate}\item
\begin{Benumerate}[valign]\item
\begin{Beqnarray}
\begin{Beqnarray*}
\begin{Bflushleft}
\begin{Bflushright}
\begin{Bitemize}\item
\begin{Bitemize}[valign]\item
\begin{BVerbatim}
\begin{BVerbatim}[pos]
\begin{landfloat}{float}{rotation command}
\begin{Landscape}{paperwidth}{paperheight}{rotation command}
\begin{LandScape}{rotation command}
\begin{LVerbatim}
\begin{Sbox}
\begin{Verbatim}
\boxput(x,y){lr stuff11}{lr stuff2}
\boxput*(x,y){lr stuff11}{lr stuff2}
\BVerbatimInput{file}
\BVerbatimInput[pos]{file}
\cornersize*{dim}
\cornersize{num}
\doublebox{argument}
\end{Bcenter}
\end{Bdescription}
\end{Benumerate}
\end{Beqnarray}
\end{Beqnarray*}
\end{Bflushleft}
\end{Bflushright}
\end{Bitemize}
\end{BVerbatim}
\end{landfloat}
\end{Landscape}
\end{LandScape}
\end{LVerbatim}
\end{Sbox}
\end{Verbatim}
\fancypage{cmds1}{cmds2}
\fancyput(x,y){lr stuff}
\fancyput*(x,y){lr stuff}
\LVerbatimInput{file}
\ovalbox{argument}
\Ovalbox{argument}
\shadowbox{argument}
\shadowsize
\TheSbox
\thisfancypage{cmds1}{cmds2}
\thisfancyput(x,y){lr stuff}
\thisfancyput*(x,y){lr stuff}
\Verb
\VerbatimInput{file}
\VerbBox{cmd}{lr stuff}

@ -0,0 +1,21 @@
# mode: fancyhdr.sty
# dani/2006-02-18
\chead[LH-even]{LH-odd}
\chead{stuff}
\fancyfootoffset{length}
\fancyfootoffset[place]{length}
\fancyfoot[option]{stuff}
\fancyfoot{stuff}
\fancyheadoffset{length}
\fancyheadoffset[place]{length}
\fancyhead[option]{stuff}
\fancyhead{stuff}
\fancyhfoffset{length}
\fancyhfoffset[place]{length}
\fancyhf[option]{stuff}
\fancyhf{stuff}
\fancypagestyle{name}{style}
\lhead[LH-even]{LH-odd}
\lhead{stuff}
\rhead[LH-even]{LH-odd}
\rhead{stuff}

@ -0,0 +1,175 @@
# fancyunits package
# get it from http://www.physics.ox.ac.uk/users/bauke/LaTeX/Tips_und_Tricks/fancyunits/index.html
# tbraun 27.06.2007
# basic commands
\unit{number}{unit commands}
\addunit{new unit command}{text}
\pow{number}
\ufrac{}{}
\Ufrac{}{}
\UFrac{}{}
\per
\power{text}{exponent}
\Square{text}
\Squared
\cubic{base}
\cubed
\fourth{base}
\reciprocal{text}
\rp{text}
\rpsquare{text}
\rpsquared
\rpcubic{text}
\rpcubed
\rpfourth{text}
\metre
\meter
\kilogram
\second
\ampere
\kelvin
\mole
\candela
\yocto
\zepto
\atto
\fempto
\pico
\nano
\micro
\milli
\centi
\deci
\deca
\deka
\hecto
\kilo
\mega
\giga
\tera
\peta
\exa
\zetta
\yotta
\yoctod
\zeptod
\attod
\femptod
\picod
\nanod
\microd
\millid
\centid
\decid
\decad
\dekad
\decaD
\hectod
\kilod
\megad
\gigad
\terad
\petad
\exad
\zettad
\yottad
\rad
\sterad
\radian
\steradian
\hertz
\newton
\pascal
\joule
\watt
\coulomb
\volt
\farad
\ohm
\weber
\tesla
\henry
\celsius
\degreecelsius
\lumen
\lux
\becquerel
\Gray
\sievert
## derived units in base units
\radianbase
\steradianbase
\hertzbase
\newtonbase
\pascalbase
\joulebase
\wattbase
\coulombbase
\voltbase
\faradbase
\ohmbase
\siemensbase
\weberbase
\teslabase
\henrybase
\celsiusbase
\degreecelsiusbase
\lumenbase
\luxbase
\becquerelbase
\Graybase
\sievertbase
## derived units
\derradian
\dersteradian
\derhertz
\dernewton
\derpascal
\derjoule
\derwatt
\dercoulomb
\dervolt
\derfarad
\derohm
\dersiemens
\derweber
\dertesla
\derhenry
\dercelsius
\derdegreecelsius
\derlumen
\derlux
\derbecquerel
\derGray
\dersievert
# non SI units
\minute
\hour
\dday
\degree
\paminute
\parsecond
\angstrom
\AstroE
\lightyear
\parsec
\gal
\liter
\litre
\atomicmass
\gram
\ton
\tonne
\barn
\hectare
\are
\bbar
\curie
\rem
\roentgen
\oersted
\electronvolt

@ -0,0 +1,60 @@
# fancyunits package
# get it from http://www.physics.ox.ac.uk/users/bauke/LaTeX/Tips_und_Tricks/fancyunits/index.html
# tbraun 27.06.2007
# commands in np form
\Graypersecondnp
\metrepersquaresecondnp
\joulepermolenp
\molepercubicmetrenp
\radianpersquaresecondnp
\kilogramsquaremetrepersecondnp
\radianpersecondnp
\Squaremetrepercubicmetrenp
\coulombpermolnp
\amperepersquaremetrenp
\kilogrampercubicmetrenp
\Squaremetrepernewtonsecondnp
\pascalsecondnp
\coulombpercubicmetrenp
\voltpermetrenp
\coulombpersquaremetrenp
\faradpermetrenp
\wattpersquaremetrenp
\joulepersquaremetrenp
\newtonpercubicmetrenp
\newtonperkilogramnp
\jouleperkelvinnp
\jouleperkilogramnp
\coulombperkilogramnp
\Squaremetrepersecondnp
\Squaremetrepersquaresecondnp
\kilogrammetrepersecondnp
\candelapersquaremetrenp
\amperepermetrenp
\jouleperteslanp
\henrypermetrenp
\kilogrampersecondnp
\kilogrampersquaremetresecondnp
\kilogrampersquaremetrenp
\kilogrampermetrenp
\joulepermolekelvinnp
\kilogramperkilomolenp
\kilogramsquaremetrenp
\kilogrammetrepersquaresecondnp
\newtonpersquaremetrenp
\persquaremetresecondnp
\wattperkilogramnp
\wattpercubicmetrenp
\wattpersquaremetresteradiannp
\jouleperkilogramkelvinnp
\Squaremetreperkilogramnp
\cubicmetreperkilogramnp
\newtonpermetrenp
\wattpermetrekelvinnp
\newtonmetrenp
\Squaremetrepercubicsecondnp
\metrepersecondnp
\joulepercubicmetrenp
\kilogrampercubicmetrecoulombnp
\cubicmetrepersecondnp
\kilogrampersecondcubicmetrenp

@ -0,0 +1,71 @@
# fancyunits package
# get it from http://www.physics.ox.ac.uk/users/bauke/LaTeX/Tips_und_Tricks/fancyunits/index.html
# tbraun 27.06.2007
# commands in per form
\Squaremetre
\cubicmetre
\Graypersecond
\metrepersquaresecond
\joulepermole
\molepercubicmetre
\radianpersquaresecond
\kilogramsquaremetrepersecond
\radianpersecond
\Squaremetrepercubicmetre
\coulombpermol
\amperepersquaremetre
\kilogrampercubicmetre
\Squaremetrepernewtonsecond
\pascalsecond
\coulombpercubicmetre
\amperemetresecond
\voltpermetre
\coulombpersquaremetre
\faradpermetre
\ohmmetre
\kilowatthour
\wattpersquaremetre
\joulepersquaremetre
\newtonpercubicmetre
\newtonperkilogram
\jouleperkelvin
\jouleperkilogram
\coulombperkilogram
\Squaremetrepersecond
\rpsquaremetrepersecond
\Squaremetrepersquaresecond
\rpsquaremetrepersquaresecond
\kilogrammetrepersecond
\candelapersquaremetre
\amperepermetre
\joulepertesla
\henrypermetre
\kilogrampersecond
\kilogrampersquaremetresecond
\kilogrampersquaremetre
\kilogrampermetre
\joulepermolekelvin
\kilogramperkilomole
\kilogramsquaremetre
\kilogrammetrepersquaresecond
\newtonpersquaremetre
\persquaremetresecond
\wattperkilogram
\wattpercubicmetre
\wattpersquaremetresteradian
\jouleperkilogramkelvin
\Squaremetreperkilogram
\rpsquaremetreperkilogram
\cubicmetreperkilogram
\rpcubicmetreperkilogram
\newtonpermetre
\Celsius
\wattpermetrekelvin
\newtonmetre
\Squaremetrepercubicsecond
\metrepersecond
\joulepercubicmetre
\kilogrampercubicmetrecoulomb
\cubicmetrepersecond
\rpcubicmetrepersecond
\kilogrampersecondcubicmetre

@ -0,0 +1,58 @@
# fancyunits package
# get it from http://www.physics.ox.ac.uk/users/bauke/LaTeX/Tips_und_Tricks/fancyunits/index.html
# tbraun 27.06.2007
# commands in UF form
\GraypersecondUF
\metrepersquaresecondUF
\joulepermoleUF
\molepercubicmetreUF
\radianpersquaresecondUF
\kilogramsquaremetrepersecondUF
\radianpersecondUF
\SquaremetrepercubicmetreUF
\coulombpermolUF
\amperepersquaremetreUF
\kilogrampercubicmetreUF
\SquaremetrepernewtonsecondUF
\pascalsecondUF
\coulombpercubicmetreUF
\voltpermetreUF
\coulombpersquaremetreUF
\faradpermetreUF
\wattpersquaremetreUF
\joulepersquaremetreUF
\newtonpercubicmetreUF
\newtonperkilogramUF
\jouleperkelvinUF
\jouleperkilogramUF
\coulombperkilogramUF
\SquaremetrepersecondUF
\SquaremetrepersquaresecondUF
\kilogrammetrepersecondUF
\candelapersquaremetreUF
\amperepermetreUF
\jouleperteslaUF
\henrypermetreUF
\kilogrampersecondUF
\kilogrampersquaremetresecondUF
\kilogrampersquaremetreUF
\kilogrampermetreUF
\joulepermolekelvinUF
\kilogramperkilomoleUF
\kilogrammetrepersquaresecondUF
\newtonpersquaremetreUF
\persquaremetresecondUF
\wattperkilogramUF
\wattpercubicmetreUF
\wattpersquaremetresteradianUF
\jouleperkilogramkelvinUF
\SquaremetreperkilogramUF
\cubicmetreperkilogramUF
\newtonpermetreUF
\wattpermetrekelvinUF
\SquaremetrepercubicsecondUF
\metrepersecondUF
\joulepercubicmetreUF
\kilogrampercubicmetrecoulombUF
\cubicmetrepersecondUF
\kilogrampersecondcubicmetreUF

@ -0,0 +1,58 @@
# fancyunits package
# get it from http://www.physics.ox.ac.uk/users/bauke/LaTeX/Tips_und_Tricks/fancyunits/index.html
# tbraun 27.06.2007
# commands in Uf form
\GraypersecondUf
\metrepersquaresecondUf
\joulepermoleUf
\molepercubicmetreUf
\radianpersquaresecondUf
\kilogramsquaremetrepersecondUf
\radianpersecondUf
\SquaremetrepercubicmetreUf
\coulombpermolUf
\amperepersquaremetreUf
\kilogrampercubicmetreUf
\SquaremetrepernewtonsecondUf
\pascalsecondUf
\coulombpercubicmetreUf
\voltpermetreUf
\coulombpersquaremetreUf
\faradpermetreUf
\wattpersquaremetreUf
\joulepersquaremetreUf
\newtonpercubicmetreUf
\newtonperkilogramUf
\jouleperkelvinUf
\jouleperkilogramUf
\coulombperkilogramUf
\SquaremetrepersecondUf
\SquaremetrepersquaresecondUf
\kilogrammetrepersecondUf
\candelapersquaremetreUf
\amperepermetreUf
\jouleperteslaUf
\henrypermetreUf
\kilogrampersecondUf
\kilogrampersquaremetresecondUf
\kilogrampersquaremetreUf
\kilogrampermetreUf
\joulepermolekelvinUf
\kilogramperkilomoleUf
\kilogrammetrepersquaresecondUf
\newtonpersquaremetreUf
\persquaremetresecondUf
\wattperkilogramUf
\wattpercubicmetreUf
\wattpersquaremetresteradianUf
\jouleperkilogramkelvinUf
\SquaremetreperkilogramUf
\cubicmetreperkilogramUf
\newtonpermetreUf
\wattpermetrekelvinUf
\SquaremetrepercubicsecondUf
\metrepersecondUf
\joulepercubicmetreUf
\kilogrampercubicmetrecoulombUf
\cubicmetrepersecondUf
\kilogrampersecondcubicmetreUf

@ -0,0 +1,58 @@
# fancyunits package
# get it from http://www.physics.ox.ac.uk/users/bauke/LaTeX/Tips_und_Tricks/fancyunits/index.html
# tbraun 27.06.2007
# commands in uf form
\Grayperseconduf
\metrepersquareseconduf
\joulepermoleuf
\molepercubicmetreuf
\radianpersquareseconduf
\kilogramsquaremetreperseconduf
\radianperseconduf
\Squaremetrepercubicmetreuf
\coulombpermoluf
\amperepersquaremetreuf
\kilogrampercubicmetreuf
\Squaremetrepernewtonseconduf
\pascalseconduf
\coulombpercubicmetreuf
\voltpermetreuf
\coulombpersquaremetreuf
\faradpermetreuf
\wattpersquaremetreuf
\joulepersquaremetreuf
\newtonpercubicmetreuf
\newtonperkilogramuf
\jouleperkelvinuf
\jouleperkilogramuf
\coulombperkilogramuf
\Squaremetreperseconduf
\Squaremetrepersquareseconduf
\kilogrammetreperseconduf
\candelapersquaremetreuf
\amperepermetreuf
\jouleperteslauf
\henrypermetreuf
\kilogramperseconduf
\kilogrampersquaremetreseconduf
\kilogrampersquaremetreuf
\kilogrampermetreuf
\joulepermolekelvinuf
\kilogramperkilomoleuf
\kilogrammetrepersquareseconduf
\newtonpersquaremetreuf
\persquaremetreseconduf
\wattperkilogramuf
\wattpercubicmetreuf
\wattpersquaremetresteradianuf
\jouleperkilogramkelvinuf
\Squaremetreperkilogramuf
\cubicmetreperkilogramuf
\newtonpermetreuf
\wattpermetrekelvinuf
\Squaremetrepercubicseconduf
\metreperseconduf
\joulepercubicmetreuf
\kilogrampercubicmetrecoulombuf
\cubicmetreperseconduf
\kilogrampersecondcubicmetreuf

@ -0,0 +1,14 @@
#fancyvrb.cwl
#for fancyvrb package
#neeraavi 12 Apr 2007
\VerbatimFootnotes
\DefineShortVerb{verb}
\UndefineShortVerb{verb}
\begin{Verbatim}
\begin{Verbatim}[key=value]
\end{Verbatim}
\begin{Verbatim*}
\end{Verbatim*}
\begin{BVerbatim*}
\end{BVerbatim*}

@ -0,0 +1,49 @@
# fontspec 1.14 package
# nja 17 July 2007
# url: http://www.ctan.org/tex-archive/help/Catalogue/entries/fontspec.html
\usepackage[cm-default/lm-default/math/no-math/config/no-config/quiet]{fontspec}
\fontspec{fontname}
\fontspec[fontfeature=option]{fontname}
\fontspec[fontfeature=option,fontfeature=option]{fontname}
\setmainfont{fontname}
\setmainfont[fontfeature=option]{fontname}
\setmainfont[fontfeature=option,fontfeature=option]{fontname}
\setsansfont{fontname}
\setsansfont[fontfeature=option]{fontname}
\setsansfont[fontfeature=option,fontfeature=option]{fontname}
\setmonofont{fontname}
\setmonofont[fontfeature=option]{fontname}
\setmonofont[fontfeature=option,fontfeature=option]{fontname}
\newfontfamily<fontinstance>{fontname}
\newfontface<fontface>{fontname}
\newfontface<fontface>[fontfeature=option]{fontname}
\newfontface<fontface>[fontfeature=option,fontfeature=option]{fontname}
\setmathrm
\setboldmathrm
\setmathsf
\setmathtt
\defaultfontfeatures{fontfeature=option}
\defaultfontfeatures{fontfeature=option,fontfeature=option}
\addfontfeatures{fontfeatures}
\addfontfeatures{fontfeature=option,fontfeature=option}
\newfontscript{fontspecname}{OpenTypedefinition}
\newfontlanguage{fontspecname}{OpenTypedefinition}
\newAATfeature{feature}{option}{featurecode}{selectorcode}
\newfeaturecode{feature}{option}{featurecode}{selectorcode}
\newICUfeature{feature}{option}{featuretag}
\newfontfeature{name}{inputstring}
\aliasfontfeature{existingname}{newname}
\aliasfontfeatureoption{fontfeature}{existingname}{newname}

@ -0,0 +1,25 @@
# graphicx package
# mario 09/06/2007
# URL: http://tug.ctan.org/tex-archive/macros/latex/required/graphics/
\color{name}
\color[model]{specification}
\color{specification}
\colorbox{name}{text}
\colorbox[model]{specification}{text}
\DeclareGraphicsExtensions{ext-list}
\DeclareGraphicsRule{ext}{type}{read-file}{command}
\definecolor{name}{model}{colour specification}
\fcolorbox{name1}{name2}{text}
\fcolorbox[model]{specification1}{specification2}{text}
\graphicspath{dir-list}
\includegraphics*[key val list]{file}
\includegraphics[key val list]{file}
\pagecolor{name}
\pagecolor[model]{specification}
\reflectbox{text}
\resizebox*{h-length}{v-length}{text}
\rotatebox[key val list]{angle}{text}
\scalebox{h-scale}[v-scale]{text}
\setkeys{Gin}{key val}
\textcolor{name}{text}
\textcolor[model]{specification}{text}

@ -0,0 +1,35 @@
# hyperref package
# neeraavi 21 Mar 2007
\hypersetup{options}
\href{URL}{text}
\url{URL}
\nolinkurl{URL}
\hyperbaseurl{URL}
\hyperimage{imageURL}{text}
\hyperdef{category}{name}{text}
\hyperref{URL}{category}{name}{text}
\hyperref[label]{text}
\hyperlink{name}{text}
\hypertarget{name}{text}
\phantomsection
\autoref{label}
\ref*{label}
\pageref*{label}
\pdfstringdef{macroname}{TEXstring}
\texorpdfstring{TEXstring}{PDFstring}
\hypercalcbp{dimen specification}
\Acrobatmenu{menuoption}{text}
\TextField[parameters]{label}
\CheckBox[parameters]{label}
\ChoiceMenu[parameters]{label}{choices}
\PushButton[parameters]{label}
\Submit[parameters]{label}
\Reset[parameters]{label}
\LayoutTextField{label}{field}
\LayoutChoiceField{label}{field}
\LayoutCheckField{label}{field}
\MakeRadioField{width}{height}
\MakeCheckField{width}{height}
\MakeTextField{width}{height}
\MakeChoiceField{width}{height}
\MakeButtonField{text}

@ -0,0 +1,18 @@
# ifthen 1.1 package
# nja 17 July 2007
# url: http://www.ctan.org/tex-archive/help/Catalogue/entries/ifthen.html
\ifthenelse{test}{then clause}{else clause}
\isodd{number}
\isundefined{command}
\equal{string}{string}
\AND
\OR
\NOT
\lengthtest{dimen operator dimen}
\boolean{name}
\newboolean{name}
\provideboolean{name}
\setboolean{name}{truth value}
\whiledo{test}{while clause}

@ -0,0 +1,11 @@
# tbraun
# 2006/30/05
\import{full path}{file}
\import*{full path}{file}
\subimport{relative path}{file}
\subimport*{relative path}{file}
\includefrom{full path}{file}
\includefrom*{full path}{file}
\subincludefrom{relative path}{file}
\subincludefrom*{relative path}{file}

@ -0,0 +1,32 @@
# jurabib package
# author: Francisco Fernández Labastida 10 Apr 2007
# last modified: Ben E. Hard 27 august 2007
\cite[page-range]{key}
\cite[Annotator/See][page-range]{key}
\cite*[page-range]{key}
\cite*[Annotator/See][page-range]{key}
\citefield[page-range]{field}{key}
\citenotitlefortype{article,book,…}
\citeswithoutentry{key1,key2,…}
\citetitle[page-range]{key}
\citetitle[Annotator/See][page-range]{key}
\citetitlefortype{article,book,…}
\footcite[page-range]{key}
\footcite[Annotator/See][page-range]{key}
\footcite*[page-range]{key}
\footcite*[Annotator/See][page-range]{key}
\footcitetitle[page-range]{key}
\footcitetitle[Annotator/See][page-range]{key}
\footfullcite[page-range]{key}
\footfullcite[Annotator/See][page-range]{key}
\fullcite[page-range]{key}
\fullcite[Annotator/See][page-range]{key}
\nextcitefull{key1,key2,…}
\nextcitenotitle{key1,key2,…}
\nextcitereset{key1,key2,…}
\nextciteshort{key1,key2,…}
\nobibliography{bibfile}
\noibidem
\noidem
\nocite{key-or-*}

@ -0,0 +1,5 @@
# latex mode: LaTeX commands (latex 2.09 level)
# obsolete commands from LaTeX 2.09
# dani/2006-02-18
\documentstyle[options]{style}
\documentstyle{style}

@ -0,0 +1,177 @@
# latex mode: LaTeX commands (package level)
# dani/2006-02-18
# commands with big Letters and others
\AtBeginDocument{code}
\AtEndDocument{code}
\AtEndOfClass{code}
\AtEndOfPackage{code}
\CheckCommand{cmd}[args][default]{def}
\CheckCommand{cmd}[args]{def}
\CheckCommand{cmd}{def}
\CurrentOption
\DeclareOption*{code}
\DeclareOption{option}{code}
\DeclareRobustCommand
\ExecuteOptions{optionlist}
\IfFileExists{file}{then}{else}
\InputIfFileExists{file}{then}{else}
\LoadClass[optionlist]{class}
\LoadClass[optionlist]{class}[release]
\LoadClass{class}
\LoadClass{class}[release]
\NeedsTeXFormat{format}
\NeedsTeXFormat{format}[release]
\OptionNotUsed
\PackageError{text}
\PackageInfo{text}
\PackageWarning{text}
\PackageWarningNoLine{text}
\PassOptionsToClass{optionlist}{class}
\PassOptionsToPackage{optionlist}{package}
\ProcessOptions
\ProcessOptions*
\ProvidesClass{name}
\ProvidesClass{name}[release]
\ProvidesFile{ma,e}
\ProvidesFile{name}{release}
\ProvidesPackage{name}
\ProvidesPackage{name}[release]
\RequirePackage[optionlist]{package}
\RequirePackage[optionlist]{package}[release]
\RequirePackage{package}
\RequirePackage{package}[release]
# counter, lengths and dimens
\setcounter{counter}{value}
\setlanguage{language}
\setlength{\gnat}{length}
\setpapersize{layout}
\settodepth{\gnat}{text}
\settoheight{\gnat}{text}
\settowidth{\gnat}{text}
\addto
\addtocontents{file}{text}
\addtocounter{counter}{value}
\addtolength{\gnat}{length}
\addtoversion
\addvspace{length}
\deffootnote[width}{indention}{par indention}{definition}
\newcounter{foo}
\newcounter{foo}[counter]
\refstepcounter{counter}
\restorecr
\reversemarginpar
\stepcounter{counter}
\stretch{number}
\usecounter{counter}
\usefont{enc}{family}{series}{shape}
\value{counter}
\newfont{cmd}{fontname}
# counter representative
\thechapter
\theenumi
\theenumiv
\theequation
\thefigure
\thefootnote
\thefootnotemark
\thehours
\theminutes
\thempfn
\thempfootnote
\thepage
\theparagraph
\thepart
\thesection
\thesubparagraph
\thesubsection
\thesubsubsection
\thetable
# boxes
\savebox{cmd}[width][pos]{text}
\savebox{cmd}[width]{text}
\savebox{cmd}{text}
\dashbox{dashlength}(width,height)[position]{text}
\dashbox{dashlength}(width,height){text}
\makebox(width,height)[position]{text}
\makebox(width,height){text}
\makebox[width][position]{text}
\makebox[width]{text}
\usebox{\box}
\raisebox{distance}[extendabove][extendbelow]{text}
\raisebox{distance}[extendabove]{text}
\raisebox{distance}{text}
\newsavebox{\box}
# variables
\belowcaptionskip
\binoppenalty
\bottomfraction
\bottomnumber
\dblfigrule
\dblfloatpagefraction
\dblfloatsep
\dbltextfloatsep
\dbltopfraction
\dbltopnumber
\defaultscriptratio
\defaultscriptscriptratio
\doublerulesep
\emergencystretch
\footnotesep
\footskip
\intextsep
\itemindent
\itemsep
\labelenumi
\labelitemi
\labelitemii
\labelitemiii
\labelitemiv
\labelsep
\labelwidth
\leftmargin
\leftmargini
\leftmarginii
\leftmarginiii
\leftmarginiv
\leftmarginv
\leftmarginvi
\leftmark
\marginparpush
\marginparsep
\marginparwidth
\paperheight
\paperwidth
\tabbingsep
\tabcolsep
\topfigrule
\topfraction
\topmargin
\topnumber
\topsep
\totalheight
\totalnumber
\textfloatsep
\textfraction
\abovecaptionskip
\addpenalty
\arraycolsep
\arrayrulewidth
\arraystretch
\badness
\baselinestretch
\columnsep
\columnseprule
\columnwidth
\evensidemargin
\extracolsep
\fboxrule
\fboxsep
\floatpagefraction
\floatsep
\headheight
\headsep
\height
\partopsep
\parsep
\lineskiplimits
\footheight

@ -0,0 +1,462 @@
# latex mode: LaTeX commands (document level)
# dani/2006-02-18
# tbraun/2006-08-03 removed dup inserted by me ...
# tbraun/2007-02-24 added left/right variants
\abstractname{name}
\addcontentsline{file}{secunit}{entry}
\Alph{counter}
\alph{counter}
\and
\appendix
\appendixname
\arabic{counter}
\author{names}
\begin{}
\begin{abstract}
\begin{alltt}
\begin{array}{cols}
\begin{array}[pos]{cols}
\begin{center}