MDL-14739: TinyMCE 3.0.8, along with Moodle-specific Modules, as included by Mauno Korpelainen.

This commit is contained in:
scyrma 2008-05-09 09:29:20 +00:00
parent a50323a329
commit b5278b2d70
462 changed files with 48801 additions and 0 deletions

View file

@ -0,0 +1,154 @@
tinyMCE.addI18n({en:{
common:{
edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?",
apply:"Apply",
insert:"Insert",
update:"Update",
cancel:"Cancel",
close:"Close",
browse:"Browse",
class_name:"Class",
not_set:"-- Not set --",
clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?",
clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.",
popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
invalid_data:"Error: Invalid values entered, these are marked in red.",
more_colors:"More colors"
},
contextmenu:{
align:"Alignment",
left:"Left",
center:"Center",
right:"Right",
full:"Full"
},
insertdatetime:{
date_fmt:"%Y-%m-%d",
time_fmt:"%H:%M:%S",
insertdate_desc:"Insert date",
inserttime_desc:"Insert time",
months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
},
print:{
print_desc:"Print"
},
preview:{
preview_desc:"Preview"
},
directionality:{
ltr_desc:"Direction left to right",
rtl_desc:"Direction right to left"
},
layer:{
insertlayer_desc:"Insert new layer",
forward_desc:"Move forward",
backward_desc:"Move backward",
absolute_desc:"Toggle absolute positioning",
content:"New layer..."
},
save:{
save_desc:"Save",
cancel_desc:"Cancel all changes"
},
nonbreaking:{
nonbreaking_desc:"Insert non-breaking space character"
},
iespell:{
iespell_desc:"Run spell checking",
download:"ieSpell not detected. Do you want to install it now?"
},
advhr:{
advhr_desc:"Horizontale rule"
},
emotions:{
emotions_desc:"Emotions"
},
searchreplace:{
search_desc:"Find",
replace_desc:"Find/Replace"
},
advimage:{
image_desc:"Insert/edit image"
},
advlink:{
link_desc:"Insert/edit link"
},
xhtmlxtras:{
cite_desc:"Citation",
abbr_desc:"Abbreviation",
acronym_desc:"Acronym",
del_desc:"Deletion",
ins_desc:"Insertion",
attribs_desc:"Insert/Edit Attributes"
},
style:{
desc:"Edit CSS Style"
},
paste:{
paste_text_desc:"Paste as Plain Text",
paste_word_desc:"Paste from Word",
selectall_desc:"Select All"
},
paste_dlg:{
text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
text_linebreaks:"Keep linebreaks",
word_title:"Use CTRL+V on your keyboard to paste the text into the window."
},
table:{
desc:"Inserts a new table",
row_before_desc:"Insert row before",
row_after_desc:"Insert row after",
delete_row_desc:"Delete row",
col_before_desc:"Insert column before",
col_after_desc:"Insert column after",
delete_col_desc:"Remove column",
split_cells_desc:"Split merged table cells",
merge_cells_desc:"Merge table cells",
row_desc:"Table row properties",
cell_desc:"Table cell properties",
props_desc:"Table properties",
paste_row_before_desc:"Paste table row before",
paste_row_after_desc:"Paste table row after",
cut_row_desc:"Cut table row",
copy_row_desc:"Copy table row",
del:"Delete table",
row:"Row",
col:"Column",
cell:"Cell"
},
autosave:{
unload_msg:"The changes you made will be lost if you navigate away from this page."
},
fullscreen:{
desc:"Toggle fullscreen mode"
},
media:{
desc:"Insert / edit embedded media",
edit:"Edit embedded media"
},
fullpage:{
desc:"Document properties"
},
template:{
desc:"Insert predefined template content"
},
visualchars:{
desc:"Visual control characters on/off."
},
spellchecker:{
desc:"Toggle spellchecker",
menu:"Spellchecker settings",
ignore_word:"Ignore word",
ignore_words:"Ignore all",
langs:"Languages",
wait:"Please wait...",
sug:"Suggestions",
no_sug:"No suggestions",
no_mpell:"No misspellings found."
},
pagebreak:{
desc:"Insert page break."
}}});

View file

@ -0,0 +1,504 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, 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.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
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 and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, 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 library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete 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 distribute a copy of this License along with the
Library.
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 Library or any portion
of it, thus forming a work based on the Library, 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) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
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 Library, 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 Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you 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.
If distribution of 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 satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be 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.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library 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.
9. 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 Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
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 with
this License.
11. 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 Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library 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 Library.
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.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library 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.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser 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 Library
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 Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
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
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "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
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. 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 LIBRARY 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
LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

View file

@ -0,0 +1,5 @@
input.radio {border:1px none #000; background:transparent; vertical-align:middle;}
.panel_wrapper div.current {height:80px;}
#width {width:50px; vertical-align:middle;}
#width2 {width:50px; vertical-align:middle;}
#size {width:100px;}

View file

@ -0,0 +1 @@
(function(){tinymce.create('tinymce.plugins.AdvancedHRPlugin',{init:function(ed,url){ed.addCommand('mceAdvancedHr',function(){ed.windowManager.open({file:url+'/rule.htm',width:250+parseInt(ed.getLang('advhr.delta_width',0)),height:160+parseInt(ed.getLang('advhr.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('advhr',{title:'advhr.advhr_desc',cmd:'mceAdvancedHr'});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('advhr',n.nodeName=='HR');});ed.onClick.add(function(ed,e){e=e.target;if(e.nodeName==='HR')ed.selection.select(e);});},getInfo:function(){return{longname:'Advanced HR',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advhr',tinymce.plugins.AdvancedHRPlugin);})();

View file

@ -0,0 +1,54 @@
/**
* $Id$
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
tinymce.create('tinymce.plugins.AdvancedHRPlugin', {
init : function(ed, url) {
// Register commands
ed.addCommand('mceAdvancedHr', function() {
ed.windowManager.open({
file : url + '/rule.htm',
width : 250 + parseInt(ed.getLang('advhr.delta_width', 0)),
height : 160 + parseInt(ed.getLang('advhr.delta_height', 0)),
inline : 1
}, {
plugin_url : url
});
});
// Register buttons
ed.addButton('advhr', {
title : 'advhr.advhr_desc',
cmd : 'mceAdvancedHr'
});
ed.onNodeChange.add(function(ed, cm, n) {
cm.setActive('advhr', n.nodeName == 'HR');
});
ed.onClick.add(function(ed, e) {
e = e.target;
if (e.nodeName === 'HR')
ed.selection.select(e);
});
},
getInfo : function() {
return {
longname : 'Advanced HR',
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',
version : tinymce.majorVersion + "." + tinymce.minorVersion
};
}
});
// Register plugin
tinymce.PluginManager.add('advhr', tinymce.plugins.AdvancedHRPlugin);
})();

View file

@ -0,0 +1,34 @@
var AdvHRDialog = {
init : function(ed) {
var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w;
w = dom.getAttrib(n, 'width');
f.width.value = w ? parseInt(w) : '';
f.size.value = dom.getAttrib(n, 'size');
f.noshade.checked = !!dom.getAttrib(n, 'noshade');
selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px');
},
update : function() {
var ed = tinyMCEPopup.editor, h, f = document.forms[0];
h = '<hr';
if (f.size.value)
h += ' size="' + f.size.value + '"';
if (f.width.value)
h += ' width="' + f.width.value + (f.width2.value == '%' ? '%' : '') + '"';
if (f.noshade.checked)
h += ' noshade="noshade"';
h += ' />';
ed.execCommand("mceInsertContent", false, h);
tinyMCEPopup.close();
}
};
tinyMCEPopup.requireLangPack();
tinyMCEPopup.onInit.add(AdvHRDialog.init, AdvHRDialog);

View file

@ -0,0 +1,5 @@
tinyMCE.addI18n('en.advhr_dlg',{
width:"Width",
size:"Height",
noshade:"No shadow"
});

View file

@ -0,0 +1,63 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{#advhr.advhr_desc}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/rule.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script>
<link href="css/advhr.css" rel="stylesheet" type="text/css" />
<base target="_self" />
</head>
<body>
<form onsubmit="AdvHRDialog.update();return false;" action="#">
<div class="tabs">
<ul>
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advhr.advhr_desc}</a></span></li>
</ul>
</div>
<div class="panel_wrapper">
<div id="general_panel" class="panel current">
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td><label for="width">{#advhr_dlg.width}</label></td>
<td nowrap="nowrap">
<input id="width" name="width" type="text" value="" class="mceFocus" />
<select name="width2" id="width2">
<option value="">px</option>
<option value="%">%</option>
</select>
</td>
</tr>
<tr>
<td><label for="size">{#advhr_dlg.size}</label></td>
<td><select id="size" name="size">
<option value="">Normal</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select></td>
</tr>
<tr>
<td><label for="noshade">{#advhr_dlg.noshade}</label></td>
<td><input type="checkbox" name="noshade" id="noshade" class="radio" /></td>
</tr>
</table>
</div>
</div>
<div class="mceActionPanel">
<div style="float: left">
<input type="submit" id="insert" name="insert" value="{#insert}" />
</div>
<div style="float: right">
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
</div>
</div>
</form>
</body>
</html>

View file

@ -0,0 +1,13 @@
#src_list, #over_list, #out_list {width:280px;}
.mceActionPanel {margin-top:7px;}
.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;}
.checkbox {border:0;}
.panel_wrapper div.current {height:305px;}
#prev {margin:0; border:1px solid #000; width:99%; height:150px; overflow:auto;}
#align, #classlist {width:150px;}
#width, #height {vertical-align:middle; width:50px; text-align:center;}
#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;}
#class_list {width:180px;}
input {width: 280px;}
#constrain, #onmousemovecheck {width:auto;}
#id, #dir, #lang, #usemap, #longdesc {width:200px;}

View file

@ -0,0 +1 @@
(function(){tinymce.create('tinymce.plugins.AdvancedImagePlugin',{init:function(ed,url){ed.addCommand('mceAdvImage',function(){if(ed.dom.getAttrib(ed.selection.getNode(),'class').indexOf('mceItem')!=-1)return;ed.windowManager.open({file:url+'/image.htm',width:480+parseInt(ed.getLang('advimage.delta_width',0)),height:385+parseInt(ed.getLang('advimage.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('image',{title:'advimage.image_desc',cmd:'mceAdvImage'});},getInfo:function(){return{longname:'Advanced image',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advimage',tinymce.plugins.AdvancedImagePlugin);})();

View file

@ -0,0 +1,47 @@
/**
* $Id$
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
tinymce.create('tinymce.plugins.AdvancedImagePlugin', {
init : function(ed, url) {
// Register commands
ed.addCommand('mceAdvImage', function() {
// Internal image object like a flash placeholder
if (ed.dom.getAttrib(ed.selection.getNode(), 'class').indexOf('mceItem') != -1)
return;
ed.windowManager.open({
file : url + '/image.htm',
width : 480 + parseInt(ed.getLang('advimage.delta_width', 0)),
height : 385 + parseInt(ed.getLang('advimage.delta_height', 0)),
inline : 1
}, {
plugin_url : url
});
});
// Register buttons
ed.addButton('image', {
title : 'advimage.image_desc',
cmd : 'mceAdvImage'
});
},
getInfo : function() {
return {
longname : 'Advanced image',
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage',
version : tinymce.majorVersion + "." + tinymce.minorVersion
};
}
});
// Register plugin
tinymce.PluginManager.add('advimage', tinymce.plugins.AdvancedImagePlugin);
})();

View file

@ -0,0 +1,237 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{#advimage_dlg.dialog_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script>
<script type="text/javascript" src="js/image.js"></script>
<link href="css/advimage.css" rel="stylesheet" type="text/css" />
<base target="_self" />
</head>
<body id="advimage" style="display: none">
<form onsubmit="ImageDialog.insert();return false;" action="#">
<div class="tabs">
<ul>
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advimage_dlg.tab_general}</a></span></li>
<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#advimage_dlg.tab_appearance}</a></span></li>
<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advimage_dlg.tab_advanced}</a></span></li>
</ul>
</div>
<div class="panel_wrapper">
<div id="general_panel" class="panel current">
<fieldset>
<legend>{#advimage_dlg.general}</legend>
<table class="properties">
<tr>
<td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td>
<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" /></td>
<td id="srcbrowsercontainer">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><label for="src_list">{#advimage_dlg.image_list}</label></td>
<td><select id="src_list" name="src_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;document.getElementById('title').value=this.options[this.selectedIndex].text;ImageDialog.showPreviewImage(this.options[this.selectedIndex].value);"></select></td>
</tr>
<tr>
<td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td>
<td colspan="2"><input id="alt" name="alt" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td>
<td colspan="2"><input id="title" name="title" type="text" value="" /></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend>{#advimage_dlg.preview}</legend>
<div id="prev"></div>
</fieldset>
</div>
<div id="appearance_panel" class="panel">
<fieldset>
<legend>{#advimage_dlg.tab_appearance}</legend>
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td>
<td><select id="align" name="align" onchange="ImageDialog.updateStyle('align');ImageDialog.changeAppearance();">
<option value="">{#not_set}</option>
<option value="baseline">{#advimage_dlg.align_baseline}</option>
<option value="top">{#advimage_dlg.align_top}</option>
<option value="middle">{#advimage_dlg.align_middle}</option>
<option value="bottom">{#advimage_dlg.align_bottom}</option>
<option value="text-top">{#advimage_dlg.align_texttop}</option>
<option value="text-bottom">{#advimage_dlg.align_textbottom}</option>
<option value="left">{#advimage_dlg.align_left}</option>
<option value="right">{#advimage_dlg.align_right}</option>
</select>
</td>
<td rowspan="6" valign="top">
<div class="alignPreview">
<img id="alignSampleImg" src="img/sample.gif" alt="{#advimage_dlg.example_img}" />
Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam
nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum
edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam
erat volutpat.
</div>
</td>
</tr>
<tr>
<td class="column1"><label id="widthlabel" for="width">{#advimage_dlg.dimensions}</label></td>
<td nowrap="nowrap">
<input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeHeight();" /> x
<input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeWidth();" /> px
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
<td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td>
</tr>
</table></td>
</tr>
<tr>
<td class="column1"><label id="vspacelabel" for="vspace">{#advimage_dlg.vspace}</label></td>
<td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" />
</td>
</tr>
<tr>
<td class="column1"><label id="hspacelabel" for="hspace">{#advimage_dlg.hspace}</label></td>
<td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" /></td>
</tr>
<tr>
<td class="column1"><label id="borderlabel" for="border">{#advimage_dlg.border}</label></td>
<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" /></td>
</tr>
<tr>
<td><label for="class_list">{#class_name}</label></td>
<td><select id="class_list" name="class_list"></select></td>
</tr>
<tr>
<td class="column1"><label id="stylelabel" for="style">{#advimage_dlg.style}</label></td>
<td colspan="2"><input id="style" name="style" type="text" value="" onchange="ImageDialog.changeAppearance();" /></td>
</tr>
<!-- <tr>
<td class="column1"><label id="classeslabel" for="classes">{#advimage_dlg.classes}</label></td>
<td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
</tr> -->
</table>
</fieldset>
</div>
<div id="advanced_panel" class="panel">
<fieldset>
<legend>{#advimage_dlg.swap_image}</legend>
<input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" />
<label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label>
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<tr>
<td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td>
<td id="onmouseoversrccontainer">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><label for="over_list">{#advimage_dlg.image_list}</label></td>
<td><select id="over_list" name="over_list" onchange="document.getElementById('onmouseoversrc').value=this.options[this.selectedIndex].value;"></select></td>
</tr>
<tr>
<td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td>
<td class="column2"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td>
<td id="onmouseoutsrccontainer">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><label for="out_list">{#advimage_dlg.image_list}</label></td>
<td><select id="out_list" name="out_list" onchange="document.getElementById('onmouseoutsrc').value=this.options[this.selectedIndex].value;"></select></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend>{#advimage_dlg.misc}</legend>
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td>
<td><input id="id" name="id" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td>
<td>
<select id="dir" name="dir" onchange="ImageDialog.changeAppearance();">
<option value="">{#not_set}</option>
<option value="ltr">{#advimage_dlg.ltr}</option>
<option value="rtl">{#advimage_dlg.rtl}</option>
</select>
</td>
</tr>
<tr>
<td class="column1"><label id="langlabel" for="lang">{#advimage_dlg.langcode}</label></td>
<td>
<input id="lang" name="lang" type="text" value="" />
</td>
</tr>
<tr>
<td class="column1"><label id="usemaplabel" for="usemap">{#advimage_dlg.map}</label></td>
<td>
<input id="usemap" name="usemap" type="text" value="" />
</td>
</tr>
<tr>
<td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input id="longdesc" name="longdesc" type="text" value="" /></td>
<td id="longdesccontainer">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div class="mceActionPanel">
<div style="float: left">
<input type="submit" id="insert" name="insert" value="{#insert}" />
</div>
<div style="float: right">
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
</div>
</div>
</form>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -0,0 +1,440 @@
var ImageDialog = {
preInit : function() {
var url;
tinyMCEPopup.requireLangPack();
if (url = tinyMCEPopup.getParam("external_image_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
},
init : function(ed) {
var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, dom = ed.dom, n = ed.selection.getNode();
tinyMCEPopup.resizeToInnerSize();
this.fillClassList('class_list');
this.fillFileList('src_list', 'tinyMCEImageList');
this.fillFileList('over_list', 'tinyMCEImageList');
this.fillFileList('out_list', 'tinyMCEImageList');
if (n.nodeName == 'IMG') {
nl.src.value = dom.getAttrib(n, 'src');
nl.width.value = dom.getAttrib(n, 'width');
nl.height.value = dom.getAttrib(n, 'height');
nl.alt.value = dom.getAttrib(n, 'alt');
nl.title.value = dom.getAttrib(n, 'title');
nl.vspace.value = this.getAttrib(n, 'vspace');
nl.hspace.value = this.getAttrib(n, 'hspace');
nl.border.value = this.getAttrib(n, 'border');
selectByValue(f, 'align', this.getAttrib(n, 'align'));
selectByValue(f, 'class_list', dom.getAttrib(n, 'class'));
nl.style.value = dom.getAttrib(n, 'style');
nl.id.value = dom.getAttrib(n, 'id');
nl.dir.value = dom.getAttrib(n, 'dir');
nl.lang.value = dom.getAttrib(n, 'lang');
nl.usemap.value = dom.getAttrib(n, 'usemap');
nl.longdesc.value = dom.getAttrib(n, 'longdesc');
nl.insert.value = ed.getLang('update');
if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseover')))
nl.onmouseoversrc.value = dom.getAttrib(n, 'onmouseover').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1');
if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseout')))
nl.onmouseoutsrc.value = dom.getAttrib(n, 'onmouseout').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1');
if (ed.settings.inline_styles) {
// Move attribs to styles
if (dom.getAttrib(n, 'align'))
this.updateStyle('align');
if (dom.getAttrib(n, 'hspace'))
this.updateStyle('hspace');
if (dom.getAttrib(n, 'border'))
this.updateStyle('border');
if (dom.getAttrib(n, 'vspace'))
this.updateStyle('vspace');
}
}
// Setup browse button
document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image');
if (isVisible('srcbrowser'))
document.getElementById('src').style.width = '260px';
// Setup browse button
document.getElementById('onmouseoversrccontainer').innerHTML = getBrowserHTML('overbrowser','onmouseoversrc','image','theme_advanced_image');
if (isVisible('overbrowser'))
document.getElementById('onmouseoversrc').style.width = '260px';
// Setup browse button
document.getElementById('onmouseoutsrccontainer').innerHTML = getBrowserHTML('outbrowser','onmouseoutsrc','image','theme_advanced_image');
if (isVisible('outbrowser'))
document.getElementById('onmouseoutsrc').style.width = '260px';
// If option enabled default contrain proportions to checked
if (ed.getParam("advimage_constrain_proportions", true))
f.constrain.checked = true;
// Check swap image if valid data
if (nl.onmouseoversrc.value || nl.onmouseoutsrc.value)
this.setSwapImage(true);
else
this.setSwapImage(false);
this.changeAppearance();
this.showPreviewImage(nl.src.value, 1);
},
insert : function(file, title) {
var ed = tinyMCEPopup.editor, t = this, f = document.forms[0];
if (f.src.value === '') {
if (ed.selection.getNode().nodeName == 'IMG') {
ed.dom.remove(ed.selection.getNode());
ed.execCommand('mceRepaint');
}
tinyMCEPopup.close();
return;
}
if (tinyMCEPopup.getParam("accessibility_warnings", 1)) {
if (!f.alt.value) {
tinyMCEPopup.editor.windowManager.confirm(tinyMCEPopup.getLang('advimage_dlg.missing_alt'), function(s) {
if (s)
t.insertAndClose();
});
return;
}
}
t.insertAndClose();
},
insertAndClose : function() {
var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el;
tinyMCEPopup.restoreSelection();
// Fixes crash in Safari
if (tinymce.isWebKit)
ed.getWin().focus();
if (!ed.settings.inline_styles) {
args = {
vspace : nl.vspace.value,
hspace : nl.hspace.value,
border : nl.border.value,
align : getSelectValue(f, 'align')
};
} else {
// Remove deprecated values
args = {
vspace : '',
hspace : '',
border : '',
align : ''
};
}
tinymce.extend(args, {
src : nl.src.value,
width : nl.width.value,
height : nl.height.value,
alt : nl.alt.value,
title : nl.title.value,
'class' : getSelectValue(f, 'class_list'),
style : nl.style.value,
id : nl.id.value,
dir : nl.dir.value,
lang : nl.lang.value,
usemap : nl.usemap.value,
longdesc : nl.longdesc.value
});
args.onmouseover = args.onmouseout = '';
if (f.onmousemovecheck.checked) {
if (nl.onmouseoversrc.value)
args.onmouseover = "this.src='" + nl.onmouseoversrc.value + "';";
if (nl.onmouseoutsrc.value)
args.onmouseout = "this.src='" + nl.onmouseoutsrc.value + "';";
}
el = ed.selection.getNode();
if (el && el.nodeName == 'IMG') {
ed.dom.setAttribs(el, args);
} else {
ed.execCommand('mceInsertContent', false, '<img id="__mce_tmp" src="javascript:;" />', {skip_undo : 1});
ed.dom.setAttribs('__mce_tmp', args);
ed.dom.setAttrib('__mce_tmp', 'id', '');
ed.undoManager.add();
}
tinyMCEPopup.close();
},
getAttrib : function(e, at) {
var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2;
if (ed.settings.inline_styles) {
switch (at) {
case 'align':
if (v = dom.getStyle(e, 'float'))
return v;
if (v = dom.getStyle(e, 'vertical-align'))
return v;
break;
case 'hspace':
v = dom.getStyle(e, 'margin-left')
v2 = dom.getStyle(e, 'margin-right');
if (v && v == v2)
return parseInt(v.replace(/[^0-9]/g, ''));
break;
case 'vspace':
v = dom.getStyle(e, 'margin-top')
v2 = dom.getStyle(e, 'margin-bottom');
if (v && v == v2)
return parseInt(v.replace(/[^0-9]/g, ''));
break;
case 'border':
v = 0;
tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) {
sv = dom.getStyle(e, 'border-' + sv + '-width');
// False or not the same as prev
if (!sv || (sv != v && v !== 0)) {
v = 0;
return false;
}
if (sv)
v = sv;
});
if (v)
return parseInt(v.replace(/[^0-9]/g, ''));
break;
}
}
if (v = dom.getAttrib(e, at))
return v;
return '';
},
setSwapImage : function(st) {
var f = document.forms[0];
f.onmousemovecheck.checked = st;
setBrowserDisabled('overbrowser', !st);
setBrowserDisabled('outbrowser', !st);
if (f.over_list)
f.over_list.disabled = !st;
if (f.out_list)
f.out_list.disabled = !st;
f.onmouseoversrc.disabled = !st;
f.onmouseoutsrc.disabled = !st;
},
fillClassList : function(id) {
var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
if (v = tinyMCEPopup.getParam('theme_advanced_styles')) {
cl = [];
tinymce.each(v.split(';'), function(v) {
var p = v.split('=');
cl.push({'title' : p[0], 'class' : p[1]});
});
} else
cl = tinyMCEPopup.editor.dom.getClasses();
if (cl.length > 0) {
lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), '');
tinymce.each(cl, function(o) {
lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']);
});
} else
dom.remove(dom.getParent(id, 'tr'));
},
fillFileList : function(id, l) {
var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
l = window[l];
if (l && l.length > 0) {
lst.options[lst.options.length] = new Option('', '');
tinymce.each(l, function(o) {
lst.options[lst.options.length] = new Option(o[0], o[1]);
});
} else
dom.remove(dom.getParent(id, 'tr'));
},
resetImageData : function() {
var f = document.forms[0];
f.elements.width.value = f.elements.height.value = '';
},
updateImageData : function(img, st) {
var f = document.forms[0];
if (!st) {
f.elements.width.value = img.width;
f.elements.height.value = img.height;
}
this.preloadImg = img;
},
changeAppearance : function() {
var ed = tinyMCEPopup.editor, f = document.forms[0], img = document.getElementById('alignSampleImg');
if (img) {
if (ed.getParam('inline_styles')) {
ed.dom.setAttrib(img, 'style', f.style.value);
} else {
img.align = f.align.value;
img.border = f.border.value;
img.hspace = f.hspace.value;
img.vspace = f.vspace.value;
}
}
},
changeHeight : function() {
var f = document.forms[0], tp, t = this;
if (!f.constrain.checked || !t.preloadImg) {
return;
}
if (f.width.value == "" || f.height.value == "")
return;
tp = (parseInt(f.width.value) / parseInt(t.preloadImg.width)) * t.preloadImg.height;
f.height.value = tp.toFixed(0);
},
changeWidth : function() {
var f = document.forms[0], tp, t = this;
if (!f.constrain.checked || !t.preloadImg) {
return;
}
if (f.width.value == "" || f.height.value == "")
return;
tp = (parseInt(f.height.value) / parseInt(t.preloadImg.height)) * t.preloadImg.width;
f.width.value = tp.toFixed(0);
},
updateStyle : function(ty) {
var dom = tinyMCEPopup.dom, st, v, f = document.forms[0], img = dom.create('img', {style : dom.get('style').value});
if (tinyMCEPopup.editor.settings.inline_styles) {
// Handle align
if (ty == 'align') {
dom.setStyle(img, 'float', '');
dom.setStyle(img, 'vertical-align', '');
v = getSelectValue(f, 'align');
if (v) {
if (v == 'left' || v == 'right')
dom.setStyle(img, 'float', v);
else
img.style.verticalAlign = v;
}
}
// Handle border
if (ty == 'border') {
dom.setStyle(img, 'border', '');
v = f.border.value;
if (v || v == '0') {
if (v == '0')
img.style.border = '';
else
img.style.border = v + 'px solid black';
}
}
// Handle hspace
if (ty == 'hspace') {
dom.setStyle(img, 'marginLeft', '');
dom.setStyle(img, 'marginRight', '');
v = f.hspace.value;
if (v) {
img.style.marginLeft = v + 'px';
img.style.marginRight = v + 'px';
}
}
// Handle vspace
if (ty == 'vspace') {
dom.setStyle(img, 'marginTop', '');
dom.setStyle(img, 'marginBottom', '');
v = f.vspace.value;
if (v) {
img.style.marginTop = v + 'px';
img.style.marginBottom = v + 'px';
}
}
// Merge
dom.get('style').value = dom.serializeStyle(dom.parseStyle(img.style.cssText));
}
},
changeMouseMove : function() {
},
showPreviewImage : function(u, st) {
if (!u) {
tinyMCEPopup.dom.setHTML('prev', '');
return;
}
if (!st && tinyMCEPopup.getParam("advimage_update_dimensions_onchange", true))
this.resetImageData();
u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u);
if (!st)
tinyMCEPopup.dom.setHTML('prev', '<img id="previewImg" src="' + u + '" border="0" onload="ImageDialog.updateImageData(this);" onerror="ImageDialog.resetImageData();" />');
else
tinyMCEPopup.dom.setHTML('prev', '<img id="previewImg" src="' + u + '" border="0" onload="ImageDialog.updateImageData(this, 1);" />');
}
};
ImageDialog.preInit();
tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog);

View file

@ -0,0 +1,43 @@
tinyMCE.addI18n('en.advimage_dlg',{
tab_general:"General",
tab_appearance:"Appearance",
tab_advanced:"Advanced",
general:"General",
title:"Title",
preview:"Preview",
constrain_proportions:"Constrain proportions",
langdir:"Language direction",
langcode:"Language code",
long_desc:"Long description link",
style:"Style",
classes:"Classes",
ltr:"Left to right",
rtl:"Right to left",
id:"Id",
map:"Image map",
swap_image:"Swap image",
alt_image:"Alternative image",
mouseover:"for mouse over",
mouseout:"for mouse out",
misc:"Miscellaneous",
example_img:"Appearance preview image",
missing_alt:"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.",
dialog_title:"Insert/edit image",
src:"Image URL",
alt:"Image description",
list:"Image list",
border:"Border",
dimensions:"Dimensions",
vspace:"Vertical space",
hspace:"Horizontal space",
align:"Alignment",
align_baseline:"Baseline",
align_top:"Top",
align_middle:"Middle",
align_bottom:"Bottom",
align_texttop:"Text top",
align_textbottom:"Text bottom",
align_left:"Left",
align_right:"Right",
image_list:"Image list"
});

View file

@ -0,0 +1,8 @@
.mceLinkList, .mceAnchorList, #targetlist {width:280px;}
.mceActionPanel {margin-top:7px;}
.panel_wrapper div.current {height:320px;}
#classlist, #title, #href {width:280px;}
#popupurl, #popupname {width:200px;}
#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;}
#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;}
#events_panel input {width:200px;}

View file

@ -0,0 +1 @@
(function(){tinymce.create('tinymce.plugins.AdvancedLinkPlugin',{init:function(ed,url){this.editor=ed;ed.addCommand('mceAdvLink',function(){var se=ed.selection;if(se.isCollapsed()&&!ed.dom.getParent(se.getNode(),'A'))return;ed.windowManager.open({file:url+'/link.htm',width:480+parseInt(ed.getLang('advlink.delta_width',0)),height:400+parseInt(ed.getLang('advlink.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('link',{title:'advlink.link_desc',cmd:'mceAdvLink'});ed.addShortcut('ctrl+k','advlink.advlink_desc','mceAdvLink');ed.onNodeChange.add(function(ed,cm,n,co){cm.setDisabled('link',co&&n.nodeName!='A');cm.setActive('link',n.nodeName=='A'&&!n.name);});},getInfo:function(){return{longname:'Advanced link',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advlink',tinymce.plugins.AdvancedLinkPlugin);})();

View file

@ -0,0 +1,58 @@
/**
* $Id$
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
tinymce.create('tinymce.plugins.AdvancedLinkPlugin', {
init : function(ed, url) {
this.editor = ed;
// Register commands
ed.addCommand('mceAdvLink', function() {
var se = ed.selection;
// No selection and not in link
if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A'))
return;
ed.windowManager.open({
file : url + '/link.htm',
width : 480 + parseInt(ed.getLang('advlink.delta_width', 0)),
height : 400 + parseInt(ed.getLang('advlink.delta_height', 0)),
inline : 1
}, {
plugin_url : url
});
});
// Register buttons
ed.addButton('link', {
title : 'advlink.link_desc',
cmd : 'mceAdvLink'
});
ed.addShortcut('ctrl+k', 'advlink.advlink_desc', 'mceAdvLink');
ed.onNodeChange.add(function(ed, cm, n, co) {
cm.setDisabled('link', co && n.nodeName != 'A');
cm.setActive('link', n.nodeName == 'A' && !n.name);
});
},
getInfo : function() {
return {
longname : 'Advanced link',
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
version : tinymce.majorVersion + "." + tinymce.minorVersion
};
}
});
// Register plugin
tinymce.PluginManager.add('advlink', tinymce.plugins.AdvancedLinkPlugin);
})();

View file

@ -0,0 +1,552 @@
/* Functions for the advlink plugin popup */
tinyMCEPopup.requireLangPack();
var templates = {
"window.open" : "window.open('${url}','${target}','${options}')"
};
function preinit() {
var url;
if (url = tinyMCEPopup.getParam("external_link_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
}
function changeClass() {
var formObj = document.forms[0];
formObj.classes.value = getSelectValue(formObj, 'classlist');
}
function init() {
tinyMCEPopup.resizeToInnerSize();
var formObj = document.forms[0];
var inst = tinyMCEPopup.editor;
var elm = inst.selection.getNode();
var action = "insert";
var html;
document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink');
document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink');
document.getElementById('linklisthrefcontainer').innerHTML = getLinkListHTML('linklisthref','href');
document.getElementById('anchorlistcontainer').innerHTML = getAnchorListHTML('anchorlist','href');
document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target');
// Link list
html = getLinkListHTML('linklisthref','href');
if (html == "")
document.getElementById("linklisthrefrow").style.display = 'none';
else
document.getElementById("linklisthrefcontainer").innerHTML = html;
// Resize some elements
if (isVisible('hrefbrowser'))
document.getElementById('href').style.width = '260px';
if (isVisible('popupurlbrowser'))
document.getElementById('popupurl').style.width = '180px';
elm = inst.dom.getParent(elm, "A");
if (elm != null && elm.nodeName == "A")
action = "update";
formObj.insert.value = tinyMCEPopup.getLang(action, 'Insert', true);
setPopupControlsDisabled(true);
if (action == "update") {
var href = inst.dom.getAttrib(elm, 'href');
var onclick = inst.dom.getAttrib(elm, 'onclick');
// Setup form data
setFormValue('href', href);
setFormValue('title', inst.dom.getAttrib(elm, 'title'));
setFormValue('id', inst.dom.getAttrib(elm, 'id'));
setFormValue('style', inst.dom.getAttrib(elm, "style"));
setFormValue('rel', inst.dom.getAttrib(elm, 'rel'));
setFormValue('rev', inst.dom.getAttrib(elm, 'rev'));
setFormValue('charset', inst.dom.getAttrib(elm, 'charset'));
setFormValue('hreflang', inst.dom.getAttrib(elm, 'hreflang'));
setFormValue('dir', inst.dom.getAttrib(elm, 'dir'));
setFormValue('lang', inst.dom.getAttrib(elm, 'lang'));
setFormValue('tabindex', inst.dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : ""));
setFormValue('accesskey', inst.dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : ""));
setFormValue('type', inst.dom.getAttrib(elm, 'type'));
setFormValue('onfocus', inst.dom.getAttrib(elm, 'onfocus'));
setFormValue('onblur', inst.dom.getAttrib(elm, 'onblur'));
setFormValue('onclick', onclick);
setFormValue('ondblclick', inst.dom.getAttrib(elm, 'ondblclick'));
setFormValue('onmousedown', inst.dom.getAttrib(elm, 'onmousedown'));
setFormValue('onmouseup', inst.dom.getAttrib(elm, 'onmouseup'));
setFormValue('onmouseover', inst.dom.getAttrib(elm, 'onmouseover'));
setFormValue('onmousemove', inst.dom.getAttrib(elm, 'onmousemove'));
setFormValue('onmouseout', inst.dom.getAttrib(elm, 'onmouseout'));
setFormValue('onkeypress', inst.dom.getAttrib(elm, 'onkeypress'));
setFormValue('onkeydown', inst.dom.getAttrib(elm, 'onkeydown'));
setFormValue('onkeyup', inst.dom.getAttrib(elm, 'onkeyup'));
setFormValue('target', inst.dom.getAttrib(elm, 'target'));
setFormValue('classes', inst.dom.getAttrib(elm, 'class'));
// Parse onclick data
if (onclick != null && onclick.indexOf('window.open') != -1)
parseWindowOpen(onclick);
else
parseFunction(onclick);
// Select by the values
selectByValue(formObj, 'dir', inst.dom.getAttrib(elm, 'dir'));
selectByValue(formObj, 'rel', inst.dom.getAttrib(elm, 'rel'));
selectByValue(formObj, 'rev', inst.dom.getAttrib(elm, 'rev'));
selectByValue(formObj, 'linklisthref', href);
if (href.charAt(0) == '#')
selectByValue(formObj, 'anchorlist', href);
addClassesToList('classlist', 'advlink_styles');
selectByValue(formObj, 'classlist', inst.dom.getAttrib(elm, 'class'), true);
selectByValue(formObj, 'targetlist', inst.dom.getAttrib(elm, 'target'), true);
} else
addClassesToList('classlist', 'advlink_styles');
}
function checkPrefix(n) {
if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_email')))
n.value = 'mailto:' + n.value;
if (/^\s*www./i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_external')))
n.value = 'http://' + n.value;
}
function setFormValue(name, value) {
document.forms[0].elements[name].value = value;
}
function parseWindowOpen(onclick) {
var formObj = document.forms[0];
// Preprocess center code
if (onclick.indexOf('return false;') != -1) {
formObj.popupreturn.checked = true;
onclick = onclick.replace('return false;', '');
} else
formObj.popupreturn.checked = false;
var onClickData = parseLink(onclick);
if (onClickData != null) {
formObj.ispopup.checked = true;
setPopupControlsDisabled(false);
var onClickWindowOptions = parseOptions(onClickData['options']);
var url = onClickData['url'];
formObj.popupname.value = onClickData['target'];
formObj.popupurl.value = url;
formObj.popupwidth.value = getOption(onClickWindowOptions, 'width');
formObj.popupheight.value = getOption(onClickWindowOptions, 'height');
formObj.popupleft.value = getOption(onClickWindowOptions, 'left');
formObj.popuptop.value = getOption(onClickWindowOptions, 'top');
if (formObj.popupleft.value.indexOf('screen') != -1)
formObj.popupleft.value = "c";
if (formObj.popuptop.value.indexOf('screen') != -1)
formObj.popuptop.value = "c";
formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes";
formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes";
formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes";
formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes";
formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes";
formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes";
formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes";
buildOnClick();
}
}
function parseFunction(onclick) {
var formObj = document.forms[0];
var onClickData = parseLink(onclick);
// TODO: Add stuff here
}
function getOption(opts, name) {
return typeof(opts[name]) == "undefined" ? "" : opts[name];
}
function setPopupControlsDisabled(state) {
var formObj = document.forms[0];
formObj.popupname.disabled = state;
formObj.popupurl.disabled = state;
formObj.popupwidth.disabled = state;
formObj.popupheight.disabled = state;
formObj.popupleft.disabled = state;
formObj.popuptop.disabled = state;
formObj.popuplocation.disabled = state;
formObj.popupscrollbars.disabled = state;
formObj.popupmenubar.disabled = state;
formObj.popupresizable.disabled = state;
formObj.popuptoolbar.disabled = state;
formObj.popupstatus.disabled = state;
formObj.popupreturn.disabled = state;
formObj.popupdependent.disabled = state;
setBrowserDisabled('popupurlbrowser', state);
}
function parseLink(link) {
link = link.replace(new RegExp('&#39;', 'g'), "'");
var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1");
// Is function name a template function
var template = templates[fnName];
if (template) {
// Build regexp
var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi"));
var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\(";
var replaceStr = "";
for (var i=0; i<variableNames.length; i++) {
// Is string value
if (variableNames[i].indexOf("'${") != -1)
regExp += "'(.*)'";
else // Number value
regExp += "([0-9]*)";
replaceStr += "$" + (i+1);
// Cleanup variable name
variableNames[i] = variableNames[i].replace(new RegExp("[^A-Za-z0-9]", "gi"), "");
if (i != variableNames.length-1) {
regExp += "\\s*,\\s*";
replaceStr += "<delim>";
} else
regExp += ".*";
}
regExp += "\\);?";
// Build variable array
var variables = new Array();
variables["_function"] = fnName;
var variableValues = link.replace(new RegExp(regExp, "gi"), replaceStr).split('<delim>');
for (var i=0; i<variableNames.length; i++)
variables[variableNames[i]] = variableValues[i];
return variables;
}
return null;
}
function parseOptions(opts) {
if (opts == null || opts == "")
return new Array();
// Cleanup the options
opts = opts.toLowerCase();
opts = opts.replace(/;/g, ",");
opts = opts.replace(/[^0-9a-z=,]/g, "");
var optionChunks = opts.split(',');
var options = new Array();
for (var i=0; i<optionChunks.length; i++) {
var parts = optionChunks[i].split('=');
if (parts.length == 2)
options[parts[0]] = parts[1];
}
return options;
}
function buildOnClick() {
var formObj = document.forms[0];
if (!formObj.ispopup.checked) {
formObj.onclick.value = "";
return;
}
var onclick = "window.open('";
var url = formObj.popupurl.value;
onclick += url + "','";
onclick += formObj.popupname.value + "','";
if (formObj.popuplocation.checked)
onclick += "location=yes,";
if (formObj.popupscrollbars.checked)
onclick += "scrollbars=yes,";
if (formObj.popupmenubar.checked)
onclick += "menubar=yes,";
if (formObj.popupresizable.checked)
onclick += "resizable=yes,";
if (formObj.popuptoolbar.checked)
onclick += "toolbar=yes,";
if (formObj.popupstatus.checked)
onclick += "status=yes,";
if (formObj.popupdependent.checked)
onclick += "dependent=yes,";
if (formObj.popupwidth.value != "")
onclick += "width=" + formObj.popupwidth.value + ",";
if (formObj.popupheight.value != "")
onclick += "height=" + formObj.popupheight.value + ",";
if (formObj.popupleft.value != "") {
if (formObj.popupleft.value != "c")
onclick += "left=" + formObj.popupleft.value + ",";
else
onclick += "left='+(screen.availWidth/2-" + (formObj.popupwidth.value/2) + ")+',";
}
if (formObj.popuptop.value != "") {
if (formObj.popuptop.value != "c")
onclick += "top=" + formObj.popuptop.value + ",";
else
onclick += "top='+(screen.availHeight/2-" + (formObj.popupheight.value/2) + ")+',";
}
if (onclick.charAt(onclick.length-1) == ',')
onclick = onclick.substring(0, onclick.length-1);
onclick += "');";
if (formObj.popupreturn.checked)
onclick += "return false;";
// tinyMCE.debug(onclick);
formObj.onclick.value = onclick;
if (formObj.href.value == "")
formObj.href.value = url;
}
function setAttrib(elm, attrib, value) {
var formObj = document.forms[0];
var valueElm = formObj.elements[attrib.toLowerCase()];
var dom = tinyMCEPopup.editor.dom;
if (typeof(value) == "undefined" || value == null) {
value = "";
if (valueElm)
value = valueElm.value;
}
// Clean up the style
if (attrib == 'style')
value = dom.serializeStyle(dom.parseStyle(value));
dom.setAttrib(elm, attrib, value);
}
function getAnchorListHTML(id, target) {
var inst = tinyMCEPopup.editor;
var nodes = inst.dom.select('a.mceItemAnchor,img.mceItemAnchor'), name, i;
var html = "";
html += '<select id="' + id + '" name="' + id + '" class="mceAnchorList" o2nfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target + '.value=';
html += 'this.options[this.selectedIndex].value;">';
html += '<option value="">---</option>';
for (i=0; i<nodes.length; i++) {
if ((name = inst.dom.getAttrib(nodes[i], "name")) != "")
html += '<option value="#' + name + '">' + name + '</option>';
}
html += '</select>';
return html;
}
function insertAction() {
var inst = tinyMCEPopup.editor;
var elm, elementArray, i;
elm = inst.selection.getNode();
checkPrefix(document.forms[0].href);
elm = inst.dom.getParent(elm, "A");
// Remove element if there is no href
if (!document.forms[0].href.value) {
tinyMCEPopup.execCommand("mceBeginUndoLevel");
i = inst.selection.getBookmark();
inst.dom.remove(elm, 1);
inst.selection.moveToBookmark(i);
tinyMCEPopup.execCommand("mceEndUndoLevel");
tinyMCEPopup.close();
return;
}
tinyMCEPopup.execCommand("mceBeginUndoLevel");
// Create new anchor elements
if (elm == null) {
tinyMCEPopup.execCommand("CreateLink", false, "#mce_temp_url#", {skip_undo : 1});
elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';});
for (i=0; i<elementArray.length; i++) {
elm = elementArray[i];
// Move cursor to end
try {
tinyMCEPopup.editor.selection.collapse(false);
} catch (ex) {
// Ignore
}
// Move cursor behind the new anchor
// Don't remember why this was needed so it's now removed
/*
if (tinyMCE.isGecko) {
var sp = inst.getDoc().createTextNode(" ");
if (elm.nextSibling)
elm.parentNode.insertBefore(sp, elm.nextSibling);
else
elm.parentNode.appendChild(sp);
// Set range after link
var rng = inst.getDoc().createRange();
rng.setStartAfter(elm);
rng.setEndAfter(elm);
// Update selection
var sel = inst.getSel();
sel.removeAllRanges();
sel.addRange(rng);
}
*/
setAllAttribs(elm);
}
} else
setAllAttribs(elm);
tinyMCEPopup.execCommand("mceEndUndoLevel");
tinyMCEPopup.close();
}
function setAllAttribs(elm) {
var formObj = document.forms[0];
var href = formObj.href.value;
var target = getSelectValue(formObj, 'targetlist');
setAttrib(elm, 'href', href);
setAttrib(elm, 'mce_href', href);
setAttrib(elm, 'title');
setAttrib(elm, 'target', target == '_self' ? '' : target);
setAttrib(elm, 'id');
setAttrib(elm, 'style');
setAttrib(elm, 'class', getSelectValue(formObj, 'classlist'));
setAttrib(elm, 'rel');
setAttrib(elm, 'rev');
setAttrib(elm, 'charset');
setAttrib(elm, 'hreflang');
setAttrib(elm, 'dir');
setAttrib(elm, 'lang');
setAttrib(elm, 'tabindex');
setAttrib(elm, 'accesskey');
setAttrib(elm, 'type');
setAttrib(elm, 'onfocus');
setAttrib(elm, 'onblur');
setAttrib(elm, 'onclick');
setAttrib(elm, 'ondblclick');
setAttrib(elm, 'onmousedown');
setAttrib(elm, 'onmouseup');
setAttrib(elm, 'onmouseover');
setAttrib(elm, 'onmousemove');
setAttrib(elm, 'onmouseout');
setAttrib(elm, 'onkeypress');
setAttrib(elm, 'onkeydown');
setAttrib(elm, 'onkeyup');
// Refresh in old MSIE
if (tinyMCE.isMSIE5)
elm.outerHTML = elm.outerHTML;
}
function getSelectValue(form_obj, field_name) {
var elm = form_obj.elements[field_name];
if (elm == null || elm.options == null)
return "";
return elm.options[elm.selectedIndex].value;
}
function getLinkListHTML(elm_id, target_form_element, onchange_func) {
if (typeof(tinyMCELinkList) == "undefined" || tinyMCELinkList.length == 0)
return "";
var html = "";
html += '<select id="' + elm_id + '" name="' + elm_id + '"';
html += ' class="mceLinkList" onfoc2us="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target_form_element + '.value=';
html += 'this.options[this.selectedIndex].value;';
if (typeof(onchange_func) != "undefined")
html += onchange_func + '(\'' + target_form_element + '\',this.options[this.selectedIndex].text,this.options[this.selectedIndex].value);';
html += '"><option value="">---</option>';
for (var i=0; i<tinyMCELinkList.length; i++)
html += '<option value="' + tinyMCELinkList[i][1] + '">' + tinyMCELinkList[i][0] + '</option>';
html += '</select>';
return html;
// tinyMCE.debug('-- image list start --', html, '-- image list end --');
}
function getTargetListHTML(elm_id, target_form_element) {
var targets = tinyMCEPopup.getParam('theme_advanced_link_targets', '').split(';');
var html = '';
html += '<select id="' + elm_id + '" name="' + elm_id + '" onf2ocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target_form_element + '.value=';
html += 'this.options[this.selectedIndex].value;">';
html += '<option value="_self">' + tinyMCEPopup.getLang('advlink_dlg.target_same') + '</option>';
html += '<option value="_blank">' + tinyMCEPopup.getLang('advlink_dlg.target_blank') + ' (_blank)</option>';
html += '<option value="_parent">' + tinyMCEPopup.getLang('advlink_dlg.target_parent') + ' (_parent)</option>';
html += '<option value="_top">' + tinyMCEPopup.getLang('advlink_dlg.target_top') + ' (_top)</option>';
for (var i=0; i<targets.length; i++) {
var key, value;
if (targets[i] == "")
continue;
key = targets[i].split('=')[0];
value = targets[i].split('=')[1];
html += '<option value="' + key + '">' + value + ' (' + key + ')</option>';
}
html += '</select>';
return html;
}
// While loading
preinit();
tinyMCEPopup.onInit.add(init);

View file

@ -0,0 +1,52 @@
tinyMCE.addI18n('en.advlink_dlg',{
title:"Insert/edit link",
url:"Link URL",
target:"Target",
titlefield:"Title",
is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?",
is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?",
list:"Link list",
general_tab:"General",
popup_tab:"Popup",
events_tab:"Events",
advanced_tab:"Advanced",
general_props:"General properties",
popup_props:"Popup properties",
event_props:"Events",
advanced_props:"Advanced properties",
popup_opts:"Options",
anchor_names:"Anchors",
target_same:"Open in this window / frame",
target_parent:"Open in parent window / frame",
target_top:"Open in top frame (replaces all frames)",
target_blank:"Open in new window",
popup:"Javascript popup",
popup_url:"Popup URL",
popup_name:"Window name",
popup_return:"Insert 'return false'",
popup_scrollbars:"Show scrollbars",
popup_statusbar:"Show status bar",
popup_toolbar:"Show toolbars",
popup_menubar:"Show menu bar",
popup_location:"Show location bar",
popup_resizable:"Make window resizable",
popup_dependent:"Dependent (Mozilla/Firefox only)",
popup_size:"Size",
popup_position:"Position (X/Y)",
id:"Id",
style:"Style",
classes:"Classes",
target_name:"Target name",
langdir:"Language direction",
target_langcode:"Target language",
langcode:"Language code",
encoding:"Target character encoding",
mime:"Target MIME type",
rel:"Relationship page to target",
rev:"Relationship target to page",
tabindex:"Tabindex",
accesskey:"Accesskey",
ltr:"Left to right",
rtl:"Right to left",
link_list:"Link list"
});

View file

@ -0,0 +1,339 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{#advlink_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script>
<script type="text/javascript" src="js/advlink.js"></script>
<link href="css/advlink.css" rel="stylesheet" type="text/css" />
<base target="_self" />
</head>
<body id="advlink" style="display: none">
<form onsubmit="insertAction();return false;" action="#">
<div class="tabs">
<ul>
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li>
<li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li>
<li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li>
<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li>
</ul>
</div>
<div class="panel_wrapper">
<div id="general_panel" class="panel current">
<fieldset>
<legend>{#advlink_dlg.general_props}</legend>
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td nowrap="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td>
<td id="hrefbrowsercontainer">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr id="linklisthrefrow">
<td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
<td colspan="2" id="linklisthrefcontainer">&nbsp;</td>
</tr>
<tr>
<td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
<td colspan="2" id="anchorlistcontainer">&nbsp;</td>
</tr>
<tr>
<td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
<td id="targetlistcontainer">&nbsp;</td>
</tr>
<tr>
<td nowrap="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
<td><input id="title" name="title" type="text" value="" /></td>
</tr>
<tr>
<td><label id="classlabel" for="classlist">{#class_name}</label></td>
<td>
<select id="classlist" name="classlist" onchange="changeClass();">
<option value="" selected>{#not_set}</option>
</select>
</td>
</tr>
</table>
</fieldset>
</div>
<div id="popup_panel" class="panel">
<fieldset>
<legend>{#advlink_dlg.popup_props}</legend>
<input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
<label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td nowrap="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
<td id="popupurlbrowsercontainer">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td nowrap="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label>&nbsp;</td>
<td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
</tr>
<tr>
<td nowrap="nowrap"><label>{#advlink_dlg.popup_size}</label>&nbsp;</td>
<td nowrap="nowrap">
<input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x
<input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px
</td>
</tr>
<tr>
<td nowrap="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label>&nbsp;</td>
<td nowrap="nowrap">
<input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> /
<input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center)
</td>
</tr>
</table>
<fieldset>
<legend>{#advlink_dlg.popup_opts}</legend>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
<td nowrap="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td>
<td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td>
<td nowrap="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td>
</tr>
<tr>
<td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td>
<td nowrap="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td>
<td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td>
<td nowrap="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td>
</tr>
<tr>
<td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td>
<td nowrap="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td>
<td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td>
<td nowrap="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td>
</tr>
<tr>
<td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td>
<td nowrap="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td>
<td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td>
<td nowrap="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td>
</tr>
</table>
</fieldset>
</fieldset>
</div>
<div id="advanced_panel" class="panel">
<fieldset>
<legend>{#advlink_dlg.advanced_props}</legend>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td>
<td><input id="id" name="id" type="text" value="" /></td>
</tr>
<tr>
<td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td>
<td><input type="text" id="style" name="style" value="" /></td>
</tr>
<tr>
<td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td>
<td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
</tr>
<tr>
<td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td>
<td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td>
</tr>
<tr>
<td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td>
<td>
<select id="dir" name="dir">
<option value="">{#not_set}</option>
<option value="ltr">{#advlink_dlg.ltr}</option>
<option value="rtl">{#advlink_dlg.rtl}</option>
</select>
</td>
</tr>
<tr>
<td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td>
<td><input type="text" id="hreflang" name="hreflang" value="" /></td>
</tr>
<tr>
<td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td>
<td>
<input id="lang" name="lang" type="text" value="" />
</td>
</tr>
<tr>
<td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td>
<td><input type="text" id="charset" name="charset" value="" /></td>
</tr>
<tr>
<td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td>
<td><input type="text" id="type" name="type" value="" /></td>
</tr>
<tr>
<td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
<td><select id="rel" name="rel">
<option value="">{#not_set}</option>
<option value="lightbox">Lightbox</option>
<option value="alternate">Alternate</option>
<option value="designates">Designates</option>
<option value="stylesheet">Stylesheet</option>
<option value="start">Start</option>
<option value="next">Next</option>
<option value="prev">Prev</option>
<option value="contents">Contents</option>
<option value="index">Index</option>
<option value="glossary">Glossary</option>
<option value="copyright">Copyright</option>
<option value="chapter">Chapter</option>
<option value="subsection">Subsection</option>
<option value="appendix">Appendix</option>
<option value="help">Help</option>
<option value="bookmark">Bookmark</option>
<option value="nofollow">No Follow</option>
<option value="tag">Tag</option>
</select>
</td>
</tr>
<tr>
<td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td>
<td><select id="rev" name="rev">
<option value="">{#not_set}</option>
<option value="alternate">Alternate</option>
<option value="designates">Designates</option>
<option value="stylesheet">Stylesheet</option>
<option value="start">Start</option>
<option value="next">Next</option>
<option value="prev">Prev</option>
<option value="contents">Contents</option>
<option value="index">Index</option>
<option value="glossary">Glossary</option>
<option value="copyright">Copyright</option>
<option value="chapter">Chapter</option>
<option value="subsection">Subsection</option>
<option value="appendix">Appendix</option>
<option value="help">Help</option>
<option value="bookmark">Bookmark</option>
</select>
</td>
</tr>
<tr>
<td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td>
<td><input type="text" id="tabindex" name="tabindex" value="" /></td>
</tr>
<tr>
<td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td>
<td><input type="text" id="accesskey" name="accesskey" value="" /></td>
</tr>
</table>
</fieldset>
</div>
<div id="events_panel" class="panel">
<fieldset>
<legend>{#advlink_dlg.event_props}</legend>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td class="column1"><label for="onfocus">onfocus</label></td>
<td><input id="onfocus" name="onfocus" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onblur">onblur</label></td>
<td><input id="onblur" name="onblur" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onclick">onclick</label></td>
<td><input id="onclick" name="onclick" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="ondblclick">ondblclick</label></td>
<td><input id="ondblclick" name="ondblclick" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onmousedown">onmousedown</label></td>
<td><input id="onmousedown" name="onmousedown" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onmouseup">onmouseup</label></td>
<td><input id="onmouseup" name="onmouseup" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onmouseover">onmouseover</label></td>
<td><input id="onmouseover" name="onmouseover" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onmousemove">onmousemove</label></td>
<td><input id="onmousemove" name="onmousemove" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onmouseout">onmouseout</label></td>
<td><input id="onmouseout" name="onmouseout" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onkeypress">onkeypress</label></td>
<td><input id="onkeypress" name="onkeypress" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onkeydown">onkeydown</label></td>
<td><input id="onkeydown" name="onkeydown" type="text" value="" /></td>
</tr>
<tr>
<td class="column1"><label for="onkeyup">onkeyup</label></td>
<td><input id="onkeyup" name="onkeyup" type="text" value="" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div class="mceActionPanel">
<div style="float: left">
<input type="submit" id="insert" name="insert" value="{#insert}" />
</div>
<div style="float: right">
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
</div>
</div>
</form>
</body>
</html>

View file

@ -0,0 +1 @@
(function(){tinymce.create('tinymce.plugins.AutoSavePlugin',{init:function(ed,url){var t=this;t.editor=ed;window.onbeforeunload=tinymce.plugins.AutoSavePlugin._beforeUnloadHandler;},getInfo:function(){return{longname:'Auto save',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave',version:tinymce.majorVersion+"."+tinymce.minorVersion};},'static':{_beforeUnloadHandler:function(){var msg;tinymce.each(tinyMCE.editors,function(ed){if(ed.getParam("fullscreen_is_enabled"))return;if(ed.isDirty()){msg=ed.getLang("autosave.unload_msg");return false;}});return msg;}}});tinymce.PluginManager.add('autosave',tinymce.plugins.AutoSavePlugin);})();

View file

@ -0,0 +1,51 @@
/**
* $Id$
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
tinymce.create('tinymce.plugins.AutoSavePlugin', {
init : function(ed, url) {
var t = this;
t.editor = ed;
window.onbeforeunload = tinymce.plugins.AutoSavePlugin._beforeUnloadHandler;
},
getInfo : function() {
return {
longname : 'Auto save',
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave',
version : tinymce.majorVersion + "." + tinymce.minorVersion
};
},
// Private plugin internal methods
'static' : {
_beforeUnloadHandler : function() {
var msg;
tinymce.each(tinyMCE.editors, function(ed) {
if (ed.getParam("fullscreen_is_enabled"))
return;
if (ed.isDirty()) {
msg = ed.getLang("autosave.unload_msg");
return false;
}
});
return msg;
}
}
});
// Register plugin
tinymce.PluginManager.add('autosave', tinymce.plugins.AutoSavePlugin);
})();

View file

@ -0,0 +1 @@
(function(){tinymce.create('tinymce.plugins.BBCodePlugin',{init:function(ed,url){var t=this,dialect=ed.getParam('bbcode_dialect','punbb').toLowerCase();ed.onBeforeSetContent.add(function(ed,o){o.content=t['_'+dialect+'_bbcode2html'](o.content);});ed.onPostProcess.add(function(ed,o){if(o.set)o.content=t['_'+dialect+'_bbcode2html'](o.content);if(o.get)o.content=t['_'+dialect+'_html2bbcode'](o.content);});},getInfo:function(){return{longname:'BBCode Plugin',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode',version:tinymce.majorVersion+"."+tinymce.minorVersion};},_punbb_html2bbcode:function(s){s=tinymce.trim(s);function rep(re,str){s=s.replace(re,str);};rep(/<a.*?href=\"(.*?)\".*?>(.*?)<\/a>/gi,"[url=$1]$2[/url]");rep(/<font.*?color=\"(.*?)\".*?class=\"codeStyle\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");rep(/<font.*?color=\"(.*?)\".*?class=\"quoteStyle\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");rep(/<font.*?class=\"codeStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");rep(/<font.*?class=\"quoteStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");rep(/<span style=\"color: ?(.*?);\">(.*?)<\/span>/gi,"[color=$1]$2[/color]");rep(/<font.*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[color=$1]$2[/color]");rep(/<span style=\"font-size:(.*?);\">(.*?)<\/span>/gi,"[size=$1]$2[/size]");rep(/<font>(.*?)<\/font>/gi,"$1");rep(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]");rep(/<span class=\"codeStyle\">(.*?)<\/span>/gi,"[code]$1[/code]");rep(/<span class=\"quoteStyle\">(.*?)<\/span>/gi,"[quote]$1[/quote]");rep(/<strong class=\"codeStyle\">(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");rep(/<strong class=\"quoteStyle\">(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");rep(/<em class=\"codeStyle\">(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");rep(/<em class=\"quoteStyle\">(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");rep(/<u class=\"codeStyle\">(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");rep(/<u class=\"quoteStyle\">(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");rep(/<\/(strong|b)>/gi,"[/b]");rep(/<(strong|b)>/gi,"[b]");rep(/<\/(em|i)>/gi,"[/i]");rep(/<(em|i)>/gi,"[i]");rep(/<\/u>/gi,"[/u]");rep(/<span style=\"text-decoration: ?underline;\">(.*?)<\/span>/gi,"[u]$1[/u]");rep(/<u>/gi,"[u]");rep(/<br \/>/gi,"\n");rep(/<br\/>/gi,"\n");rep(/<br>/gi,"\n");rep(/<p>/gi,"");rep(/<\/p>/gi,"\n");rep(/&nbsp;/gi," ");rep(/&quot;/gi,"\"");rep(/&lt;/gi,"<");rep(/&gt;/gi,">");rep(/&amp;/gi,"&");return s;},_punbb_bbcode2html:function(s){s=tinymce.trim(s);function rep(re,str){s=s.replace(re,str);};rep(/\n/gi,"<br />");rep(/\[b\]/gi,"<strong>");rep(/\[\/b\]/gi,"</strong>");rep(/\[i\]/gi,"<em>");rep(/\[\/i\]/gi,"</em>");rep(/\[u\]/gi,"<u>");rep(/\[\/u\]/gi,"</u>");rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"<a href=\"$1\">$2</a>");rep(/\[url\](.*?)\[\/url\]/gi,"<a href=\"$1\">$1</a>");rep(/\[img\](.*?)\[\/img\]/gi,"<img src=\"$1\" />");rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"<font color=\"$1\">$2</font>");rep(/\[code\](.*?)\[\/code\]/gi,"<span class=\"codeStyle\">$1</span>&nbsp;");rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"<span class=\"quoteStyle\">$1</span>&nbsp;");return s;}});tinymce.PluginManager.add('bbcode',tinymce.plugins.BBCodePlugin);})();

View file

@ -0,0 +1,115 @@
/**
* $Id$
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
tinymce.create('tinymce.plugins.BBCodePlugin', {
init : function(ed, url) {
var t = this, dialect = ed.getParam('bbcode_dialect', 'punbb').toLowerCase();
ed.onBeforeSetContent.add(function(ed, o) {
o.content = t['_' + dialect + '_bbcode2html'](o.content);
});
ed.onPostProcess.add(function(ed, o) {
if (o.set)
o.content = t['_' + dialect + '_bbcode2html'](o.content);
if (o.get)
o.content = t['_' + dialect + '_html2bbcode'](o.content);
});
},
getInfo : function() {
return {
longname : 'BBCode Plugin',
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode',
version : tinymce.majorVersion + "." + tinymce.minorVersion
};
},
// Private methods
// HTML -> BBCode in PunBB dialect
_punbb_html2bbcode : function(s) {
s = tinymce.trim(s);
function rep(re, str) {
s = s.replace(re, str);
};
// example: <strong> to [b]
rep(/<a.*?href=\"(.*?)\".*?>(.*?)<\/a>/gi,"[url=$1]$2[/url]");
rep(/<font.*?color=\"(.*?)\".*?class=\"codeStyle\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");
rep(/<font.*?color=\"(.*?)\".*?class=\"quoteStyle\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");
rep(/<font.*?class=\"codeStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");
rep(/<font.*?class=\"quoteStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");
rep(/<span style=\"color: ?(.*?);\">(.*?)<\/span>/gi,"[color=$1]$2[/color]");
rep(/<font.*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[color=$1]$2[/color]");
rep(/<span style=\"font-size:(.*?);\">(.*?)<\/span>/gi,"[size=$1]$2[/size]");
rep(/<font>(.*?)<\/font>/gi,"$1");
rep(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]");
rep(/<span class=\"codeStyle\">(.*?)<\/span>/gi,"[code]$1[/code]");
rep(/<span class=\"quoteStyle\">(.*?)<\/span>/gi,"[quote]$1[/quote]");
rep(/<strong class=\"codeStyle\">(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");
rep(/<strong class=\"quoteStyle\">(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");
rep(/<em class=\"codeStyle\">(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");
rep(/<em class=\"quoteStyle\">(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");
rep(/<u class=\"codeStyle\">(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");
rep(/<u class=\"quoteStyle\">(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");
rep(/<\/(strong|b)>/gi,"[/b]");
rep(/<(strong|b)>/gi,"[b]");
rep(/<\/(em|i)>/gi,"[/i]");
rep(/<(em|i)>/gi,"[i]");
rep(/<\/u>/gi,"[/u]");
rep(/<span style=\"text-decoration: ?underline;\">(.*?)<\/span>/gi,"[u]$1[/u]");
rep(/<u>/gi,"[u]");
rep(/<br \/>/gi,"\n");
rep(/<br\/>/gi,"\n");
rep(/<br>/gi,"\n");
rep(/<p>/gi,"");
rep(/<\/p>/gi,"\n");
rep(/&nbsp;/gi," ");
rep(/&quot;/gi,"\"");
rep(/&lt;/gi,"<");
rep(/&gt;/gi,">");
rep(/&amp;/gi,"&");
return s;
},
// BBCode -> HTML from PunBB dialect
_punbb_bbcode2html : function(s) {
s = tinymce.trim(s);
function rep(re, str) {
s = s.replace(re, str);
};
// example: [b] to <strong>
rep(/\n/gi,"<br />");
rep(/\[b\]/gi,"<strong>");
rep(/\[\/b\]/gi,"</strong>");
rep(/\[i\]/gi,"<em>");
rep(/\[\/i\]/gi,"</em>");
rep(/\[u\]/gi,"<u>");
rep(/\[\/u\]/gi,"</u>");
rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"<a href=\"$1\">$2</a>");
rep(/\[url\](.*?)\[\/url\]/gi,"<a href=\"$1\">$1</a>");
rep(/\[img\](.*?)\[\/img\]/gi,"<img src=\"$1\" />");
rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"<font color=\"$1\">$2</font>");
rep(/\[code\](.*?)\[\/code\]/gi,"<span class=\"codeStyle\">$1</span>&nbsp;");
rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"<span class=\"quoteStyle\">$1</span>&nbsp;");
return s;
}
});
// Register plugin
tinymce.PluginManager.add('bbcode', tinymce.plugins.BBCodePlugin);
})();

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,613 @@
/**
* $Id$
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, is = tinymce.is;
tinymce.create('tinymce.plugins.Compat2x', {
getInfo : function() {
return {
longname : 'Compat2x',
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/compat2x',
version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
};
}
});
(function() {
// Extend tinyMCE/EditorManager
tinymce.extend(tinyMCE, {
addToLang : function(p, l) {
each(l, function(v, k) {
tinyMCE.i18n[(tinyMCE.settings.language || 'en') + '.' + (p ? p + '_' : '') + k] = v;
});
},
getInstanceById : function(n) {
return this.get(n);
}
});
})();
(function() {
var EditorManager = tinymce.EditorManager;
tinyMCE.instances = {};
tinyMCE.plugins = {};
tinymce.PluginManager.onAdd.add(function(pm, n, p) {
tinyMCE.plugins[n] = p;
});
tinyMCE.majorVersion = tinymce.majorVersion;
tinyMCE.minorVersion = tinymce.minorVersion;
tinyMCE.releaseDate = tinymce.releaseDate;
tinyMCE.baseURL = tinymce.baseURL;
tinyMCE.isIE = tinyMCE.isMSIE = tinymce.isIE || tinymce.isOpera;
tinyMCE.isMSIE5 = tinymce.isIE;
tinyMCE.isMSIE5_0 = tinymce.isIE;
tinyMCE.isMSIE7 = tinymce.isIE;
tinyMCE.isGecko = tinymce.isGecko;
tinyMCE.isSafari = tinymce.isWebKit;
tinyMCE.isOpera = tinymce.isOpera;
tinyMCE.isMac = false;
tinyMCE.isNS7 = false;
tinyMCE.isNS71 = false;
tinyMCE.compat = true;
// Extend tinyMCE class
TinyMCE_Engine = tinyMCE;
tinymce.extend(tinyMCE, {
getParam : function(n, dv) {
return this.activeEditor.getParam(n, dv);
},
addEvent : function(e, na, f, sc) {
tinymce.dom.Event.add(e, na, f, sc || this);
},
getControlHTML : function(n) {
return EditorManager.activeEditor.controlManager.createControl(n);
},
loadCSS : function(u) {
tinymce.DOM.loadCSS(u);
},
importCSS : function(doc, u) {
if (doc == document)
this.loadCSS(u);
else
new tinymce.dom.DOMUtils(doc).loadCSS(u);
},
log : function() {
console.debug.apply(console, arguments);
},
getLang : function(n, dv) {
var v = EditorManager.activeEditor.getLang(n.replace(/^lang_/g, ''), dv);
// Is number
if (/^[0-9\-.]+$/g.test(v))
return parseInt(v);
return v;
},
isInstance : function(o) {
return o != null && typeof(o) == "object" && o.execCommand;
},
triggerNodeChange : function() {
EditorManager.activeEditor.nodeChanged();
},
regexpReplace : function(in_str, reg_exp, replace_str, opts) {
var re;
if (in_str == null)
return in_str;
if (typeof(opts) == "undefined")
opts = 'g';
re = new RegExp(reg_exp, opts);
return in_str.replace(re, replace_str);
},
trim : function(s) {
return tinymce.trim(s);
},
xmlEncode : function(s) {
return tinymce.DOM.encode(s);
},
explode : function(s, d) {
var o = [];
tinymce.each(s.split(d), function(v) {
if (v != '')
o.push(v);
});
return o;
},
switchClass : function(id, cls) {
var b;
if (/^mceButton/.test(cls)) {
b = EditorManager.activeEditor.controlManager.get(id);
if (!b)
return;
switch (cls) {
case "mceButtonNormal":
b.setDisabled(false);
b.setActive(false);
return;
case "mceButtonDisabled":
b.setDisabled(true);
return;
case "mceButtonSelected":
b.setActive(true);
b.setDisabled(false);
return;
}
}
},
addCSSClass : function(e, n, b) {
return tinymce.DOM.addClass(e, n, b);
},
hasCSSClass : function(e, n) {
return tinymce.DOM.hasClass(e, n);
},
removeCSSClass : function(e, n) {
return tinymce.DOM.removeClass(e, n);
},
getCSSClasses : function() {
var cl = EditorManager.activeEditor.dom.getClasses(), o = [];
each(cl, function(c) {
o.push(c['class']);
});
return o;
},
setWindowArg : function(n, v) {
EditorManager.activeEditor.windowManager.params[n] = v;
},
getWindowArg : function(n, dv) {
var wm = EditorManager.activeEditor.windowManager, v;
v = wm.getParam(n);
if (v === '')
return '';
return v || wm.getFeature(n) || dv;
},
getParentNode : function(n, f) {
return this._getDOM().getParent(n, f);
},
selectElements : function(n, na, f) {
var i, a = [], nl, x;
for (x=0, na = na.split(','); x<na.length; x++)
for (i=0, nl = n.getElementsByTagName(na[x]); i<nl.length; i++)
(!f || f(nl[i])) && a.push(nl[i]);
return a;
},
getNodeTree : function(n, na, t, nn) {
return this.selectNodes(n, function(n) {
return (!t || n.nodeType == t) && (!nn || n.nodeName == nn);
}, na ? na : []);
},
getAttrib : function(e, n, dv) {
return this._getDOM().getAttrib(e, n, dv);
},
setAttrib : function(e, n, v) {
return this._getDOM().setAttrib(e, n, v);
},
getElementsByAttributeValue : function(n, e, a, v) {
var i, nl = n.getElementsByTagName(e), o = [];
for (i=0; i<nl.length; i++) {
if (tinyMCE.getAttrib(nl[i], a).indexOf(v) != -1)
o[o.length] = nl[i];
}
return o;
},
selectNodes : function(n, f, a) {
var i;
if (!a)
a = [];
if (f(n))
a[a.length] = n;
if (n.hasChildNodes()) {
for (i=0; i<n.childNodes.length; i++)
tinyMCE.selectNodes(n.childNodes[i], f, a);
}
return a;
},
getContent : function() {
return EditorManager.activeEditor.getContent();
},
getParentElement : function(n, na, f) {
if (na)
na = new RegExp('^(' + na.toUpperCase().replace(/,/g, '|') + ')$', 'g');
return this._getDOM().getParent(n, function(n) {
return n.nodeType == 1 && (!na || na.test(n.nodeName)) && (!f || f(n));
}, this.activeEditor.getBody());
},
importPluginLanguagePack : function(n) {
tinymce.PluginManager.requireLangPack(n);
},
getButtonHTML : function(cn, lang, img, c, u, v) {
var ed = EditorManager.activeEditor;
img = img.replace(/\{\$pluginurl\}/g, tinyMCE.pluginURL);
img = img.replace(/\{\$themeurl\}/g, tinyMCE.themeURL);
lang = lang.replace(/^lang_/g, '');
return ed.controlManager.createButton(cn, {
title : lang,
command : c,
ui : u,
value : v,
scope : this,
'class' : 'compat',
image : img
});
},
addSelectAccessibility : function(e, s, w) {
// Add event handlers
if (!s._isAccessible) {
s.onkeydown = tinyMCE.accessibleEventHandler;
s.onblur = tinyMCE.accessibleEventHandler;
s._isAccessible = true;
s._win = w;
}
return false;
},
accessibleEventHandler : function(e) {
var elm, win = this._win;
e = tinymce.isIE ? win.event : e;
elm = tinymce.isIE ? e.srcElement : e.target;
// Unpiggyback onchange on blur
if (e.type == "blur") {
if (elm.oldonchange) {
elm.onchange = elm.oldonchange;
elm.oldonchange = null;
}
return true;
}
// Piggyback onchange
if (elm.nodeName == "SELECT" && !elm.oldonchange) {
elm.oldonchange = elm.onchange;
elm.onchange = null;
}
// Execute onchange and remove piggyback
if (e.keyCode == 13 || e.keyCode == 32) {
elm.onchange = elm.oldonchange;
elm.onchange();
elm.oldonchange = null;
tinyMCE.cancelEvent(e);
return false;
}
return true;
},
cancelEvent : function(e) {
return tinymce.dom.Event.cancel(e);
},
handleVisualAid : function(e) {
EditorManager.activeEditor.addVisual(e);
},
getAbsPosition : function(n, r) {
return tinymce.DOM.getPos(n, r);
},
cleanupEventStr : function(s) {
s = "" + s;
s = s.replace('function anonymous()\n{\n', '');
s = s.replace('\n}', '');
s = s.replace(/^return true;/gi, ''); // Remove event blocker
return s;
},
getVisualAidClass : function(s) {
// TODO: Implement
return s;
},
parseStyle : function(s) {
return this._getDOM().parseStyle(s);
},
serializeStyle : function(s) {
return this._getDOM().serializeStyle(s);
},
openWindow : function(tpl, args) {
var ed = EditorManager.activeEditor, o = {}, n;
// Convert name/value array to object
for (n in tpl)
o[n] = tpl[n];
tpl = o;
args = args || {};
tpl.url = new tinymce.util.URI(tinymce.ThemeManager.themeURLs[ed.settings.theme]).toAbsolute(tpl.file);
tpl.inline = tpl.inline || args.inline;
ed.windowManager.open(tpl, args);
},
closeWindow : function(win) {
EditorManager.activeEditor.windowManager.close(win);
},
getOuterHTML : function(e) {
return tinymce.DOM.getOuterHTML(e);
},
setOuterHTML : function(e, h, d) {
return tinymce.DOM.setOuterHTML(e, h, d);
},
hasPlugin : function(n) {
return tinymce.PluginManager.get(n) != null;
},
_setEventsEnabled : function() {
// Ignore it!!
},
addPlugin : function(pn, f) {
var t = this;
function PluginWrapper(ed) {
tinyMCE.selectedInstance = ed;
ed.onInit.add(function() {
t.settings = ed.settings;
t.settings['base_href'] = tinyMCE.documentBasePath;
tinyMCE.settings = t.settings;
tinyMCE.documentBasePath = ed.documentBasePath;
//ed.formElement = DOM.get(ed.id);
if (f.initInstance)
f.initInstance(ed);
ed.contentDocument = ed.getDoc();
ed.contentWindow = ed.getWin();
ed.undoRedo = ed.undoManager;
ed.startContent = ed.getContent({format : 'raw'});
tinyMCE.instances[ed.id] = ed;
tinyMCE.loadedFiles = [];
});
ed.onActivate.add(function() {
tinyMCE.settings = ed.settings;
tinyMCE.selectedInstance = ed;
});
/* if (f.removeInstance) {
ed.onDestroy.add(function() {
return f.removeInstance(ed.id);
});
}*/
if (f.handleNodeChange) {
ed.onNodeChange.add(function(ed, cm, n) {
f.handleNodeChange(ed.id, n, 0, 0, false, !ed.selection.isCollapsed());
});
}
if (f.onChange) {
ed.onChange.add(function(ed, n) {
return f.onChange(ed);
});
}
if (f.cleanup) {
ed.onGetContent.add(function() {
//f.cleanup(type, content, inst);
});
}
this.getInfo = function() {
return f.getInfo();
};
this.createControl = function(n) {
tinyMCE.pluginURL = tinymce.baseURL + '/plugins/' + pn;
tinyMCE.themeURL = tinymce.baseURL + '/themes/' + tinyMCE.activeEditor.settings.theme;
if (f.getControlHTML)
return f.getControlHTML(n);
return null;
};
this.execCommand = function(cmd, ui, val) {
if (f.execCommand)
return f.execCommand(ed.id, ed.getBody(), cmd, ui, val);
return false;
};
};
tinymce.PluginManager.add(pn, PluginWrapper);
},
_getDOM : function() {
return tinyMCE.activeEditor ? tinyMCE.activeEditor.dom : tinymce.DOM;
},
convertRelativeToAbsoluteURL : function(b, u) {
return new tinymce.util.URI(b).toAbsolute(u);
},
convertAbsoluteURLToRelativeURL : function(b, u) {
return new tinymce.util.URI(b).toRelative(u);
}
});
// Extend Editor class
tinymce.extend(tinymce.Editor.prototype, {
getFocusElement : function() {
return this.selection.getNode();
},
getData : function(n) {
if (!this.data)
this.data = [];
if (!this.data[n])
this.data[n] = [];
return this.data[n];
},
hasPlugin : function(n) {
return this.plugins[n] != null;
},
getContainerWin : function() {
return window;
},
getHTML : function(raw) {
return this.getContent({ format : raw ? 'raw' : 'html'});
},
setHTML : function(h) {
this.setContent(h);
},
getSel : function() {
return this.selection.getSel();
},
getRng : function() {
return this.selection.getRng();
},
isHidden : function() {
var s;
if (!tinymce.isGecko)
return false;
s = this.getSel();
// Weird, wheres that cursor selection?
return (!s || !s.rangeCount || s.rangeCount == 0);
},
translate : function(s) {
var c = this.settings.language, o;
o = tinymce.EditorManager.i18n[c + '.' + s] || s.replace(/{\#([^}]+)\}/g, function(a, b) {
return tinymce.EditorManager.i18n[c + '.' + b] || '{#' + b + '}';
});
o = o.replace(/{\$lang_([^}]+)\}/g, function(a, b) {
return tinymce.EditorManager.i18n[c + '.' + b] || '{$lang_' + b + '}';
});
return o;
},
repaint : function() {
this.execCommand('mceRepaint');
}
});
// Extend selection
tinymce.extend(tinymce.dom.Selection.prototype, {
getSelectedText : function() {
return this.getContent({format : 'text'});
},
getSelectedHTML : function() {
return this.getContent({format : 'html'});
},
getFocusElement : function() {
return this.getNode();
},
selectNode : function(node, collapse, select_text_node, to_start) {
var t = this;
t.select(node, select_text_node || 0);
if (!is(collapse))
collapse = true;
if (collapse) {
if (!is(to_start))
to_start = true;
t.collapse(to_start);
}
}
});
}).call(this);
// Register plugin
tinymce.PluginManager.add('compat2x', tinymce.plugins.Compat2x);
})();

View file

@ -0,0 +1 @@
(function(){var Event=tinymce.dom.Event,each=tinymce.each,DOM=tinymce.DOM;tinymce.create('tinymce.plugins.ContextMenu',{init:function(ed){var t=this;t.editor=ed;t.onContextMenu=new tinymce.util.Dispatcher(this);ed.onContextMenu.add(function(ed,e){if(!e.ctrlKey){t._getMenu(ed).showMenu(e.clientX,e.clientY);Event.cancel(e);}});function hide(){if(t._menu){t._menu.removeAll();t._menu.destroy();}};ed.onMouseDown.add(hide);ed.onKeyDown.add(hide);Event.add(document,'click',hide);},_getMenu:function(ed){var t=this,m=t._menu,se=ed.selection,col=se.isCollapsed(),el=se.getNode()||ed.getBody(),am,p1,p2;if(m){m.removeAll();m.destroy();}p1=DOM.getPos(ed.getContentAreaContainer());p2=DOM.getPos(ed.getContainer());m=ed.controlManager.createDropMenu('contextmenu',{offset_x:p1.x,offset_y:p1.y,constrain:1});t._menu=m;m.add({title:'advanced.cut_desc',icon:'cut',cmd:'Cut'}).setDisabled(col);m.add({title:'advanced.copy_desc',icon:'copy',cmd:'Copy'}).setDisabled(col);m.add({title:'advanced.paste_desc',icon:'paste',cmd:'Paste'});if((el.nodeName=='A'&&!ed.dom.getAttrib(el,'name'))||!col){m.addSeparator();m.add({title:'advanced.link_desc',icon:'link',cmd:ed.plugins.advlink?'mceAdvLink':'mceLink',ui:true});m.add({title:'advanced.unlink_desc',icon:'unlink',cmd:'UnLink'});}m.addSeparator();m.add({title:'advanced.image_desc',icon:'image',cmd:ed.plugins.advimage?'mceAdvImage':'mceImage',ui:true});m.addSeparator();am=m.addMenu({title:'contextmenu.align'});am.add({title:'contextmenu.left',icon:'justifyleft',cmd:'JustifyLeft'});am.add({title:'contextmenu.center',icon:'justifycenter',cmd:'JustifyCenter'});am.add({title:'contextmenu.right',icon:'justifyright',cmd:'JustifyRight'});am.add({title:'contextmenu.full',icon:'justifyfull',cmd:'JustifyFull'});t.onContextMenu.dispatch(t,m,el,col);return m;}});tinymce.PluginManager.add('contextmenu',tinymce.plugins.ContextMenu);})();

View file

@ -0,0 +1,86 @@
/**
* $Id$
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
var Event = tinymce.dom.Event, each = tinymce.each, DOM = tinymce.DOM;
tinymce.create('tinymce.plugins.ContextMenu', {
init : function(ed) {
var t = this;
t.editor = ed;
t.onContextMenu = new tinymce.util.Dispatcher(this);
ed.onContextMenu.add(function(ed, e) {
if (!e.ctrlKey) {
t._getMenu(ed).showMenu(e.clientX, e.clientY);
Event.cancel(e);
}
});
function hide() {
if (t._menu) {
t._menu.removeAll();
t._menu.destroy();
}
};
ed.onMouseDown.add(hide);
ed.onKeyDown.add(hide);
Event.add(document, 'click', hide);
},
_getMenu : function(ed) {
var t = this, m = t._menu, se = ed.selection, col = se.isCollapsed(), el = se.getNode() || ed.getBody(), am, p1, p2;
if (m) {
m.removeAll();
m.destroy();
}
p1 = DOM.getPos(ed.getContentAreaContainer());
p2 = DOM.getPos(ed.getContainer());
m = ed.controlManager.createDropMenu('contextmenu', {
offset_x : p1.x,
offset_y : p1.y,
/* vp_offset_x : p2.x,
vp_offset_y : p2.y,*/
constrain : 1
});
t._menu = m;
m.add({title : 'advanced.cut_desc', icon : 'cut', cmd : 'Cut'}).setDisabled(col);
m.add({title : 'advanced.copy_desc', icon : 'copy', cmd : 'Copy'}).setDisabled(col);
m.add({title : 'advanced.paste_desc', icon : 'paste', cmd : 'Paste'});
if ((el.nodeName == 'A' && !ed.dom.getAttrib(el, 'name')) || !col) {
m.addSeparator();
m.add({title : 'advanced.link_desc', icon : 'link', cmd : ed.plugins.advlink ? 'mceAdvLink' : 'mceLink', ui : true});
m.add({title : 'advanced.unlink_desc', icon : 'unlink', cmd : 'UnLink'});
}
m.addSeparator();
m.add({title : 'advanced.image_desc', icon : 'image', cmd : ed.plugins.advimage ? 'mceAdvImage' : 'mceImage', ui : true});
m.addSeparator();
am = m.addMenu({title : 'contextmenu.align'});
am.add({title : 'contextmenu.left', icon : 'justifyleft', cmd : 'JustifyLeft'});
am.add({title : 'contextmenu.center', icon : 'justifycenter', cmd : 'JustifyCenter'});
am.add({title : 'contextmenu.right', icon : 'justifyright', cmd : 'JustifyRight'});
am.add({title : 'contextmenu.full', icon : 'justifyfull', cmd : 'JustifyFull'});
t.onContextMenu.dispatch(t, m, el, col);
return m;
}
});
// Register plugin
tinymce.PluginManager.add('contextmenu', tinymce.plugins.ContextMenu);
})();

View file

@ -0,0 +1 @@
(function(){tinymce.create('tinymce.plugins.Directionality',{init:function(ed,url){var t=this;t.editor=ed;ed.addCommand('mceDirectionLTR',function(){var e=ed.dom.getParent(ed.selection.getNode(),ed.dom.isBlock);if(e){if(ed.dom.getAttrib(e,"dir")!="ltr")ed.dom.setAttrib(e,"dir","ltr");else ed.dom.setAttrib(e,"dir","");}ed.nodeChanged();});ed.addCommand('mceDirectionRTL',function(){var e=ed.dom.getParent(ed.selection.getNode(),ed.dom.isBlock);if(e){if(ed.dom.getAttrib(e,"dir")!="rtl")ed.dom.setAttrib(e,"dir","rtl");else ed.dom.setAttrib(e,"dir","");}ed.nodeChanged();});ed.addButton('ltr',{title:'directionality.ltr_desc',cmd:'mceDirectionLTR'});ed.addButton('rtl',{title:'directionality.rtl_desc',cmd:'mceDirectionRTL'});ed.onNodeChange.add(t._nodeChange,t);},getInfo:function(){return{longname:'Directionality',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality',version:tinymce.majorVersion+"."+tinymce.minorVersion};},_nodeChange:function(ed,cm,n){var dom=ed.dom,dir;n=dom.getParent(n,dom.isBlock);if(!n){cm.setDisabled('ltr',1);cm.setDisabled('rtl',1);return;}dir=dom.getAttrib(n,'dir');cm.setActive('ltr',dir=="ltr");cm.setDisabled('ltr',0);cm.setActive('rtl',dir=="rtl");cm.setDisabled('rtl',0);}});tinymce.PluginManager.add('directionality',tinymce.plugins.Directionality);})();

View file

@ -0,0 +1,79 @@
/**
* $Id$
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
tinymce.create('tinymce.plugins.Directionality', {
init : function(ed, url) {
var t = this;
t.editor = ed;
ed.addCommand('mceDirectionLTR', function() {
var e = ed.dom.getParent(ed.selection.getNode(), ed.dom.isBlock);
if (e) {
if (ed.dom.getAttrib(e, "dir") != "ltr")
ed.dom.setAttrib(e, "dir", "ltr");
else
ed.dom.setAttrib(e, "dir", "");
}
ed.nodeChanged();
});
ed.addCommand('mceDirectionRTL', function() {
var e = ed.dom.getParent(ed.selection.getNode(), ed.dom.isBlock);
if (e) {
if (ed.dom.getAttrib(e, "dir") != "rtl")
ed.dom.setAttrib(e, "dir", "rtl");
else
ed.dom.setAttrib(e, "dir", "");
}
ed.nodeChanged();
});
ed.addButton('ltr', {title : 'directionality.ltr_desc', cmd : 'mceDirectionLTR'});
ed.addButton('rtl', {title : 'directionality.rtl_desc', cmd : 'mceDirectionRTL'});
ed.onNodeChange.add(t._nodeChange, t);
},
getInfo : function() {
return {
longname : 'Directionality',
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality',
version : tinymce.majorVersion + "." + tinymce.minorVersion
};
},
// Private methods
_nodeChange : function(ed, cm, n) {
var dom = ed.dom, dir;
n = dom.getParent(n, dom.isBlock);
if (!n) {
cm.setDisabled('ltr', 1);
cm.setDisabled('rtl', 1);
return;
}
dir = dom.getAttrib(n, 'dir');
cm.setActive('ltr', dir == "ltr");
cm.setDisabled('ltr', 0);
cm.setActive('rtl', dir == "rtl");
cm.setDisabled('rtl', 0);
}
});
// Register plugin
tinymce.PluginManager.add('directionality', tinymce.plugins.Directionality);
})();

View file

@ -0,0 +1,30 @@
<html>
<head>
<title>DragMath Documentation - License</title>
</head>
<body>
<span style=" color: #000099; font-size: x-large; font-family: Arial;"><strong>DragMath copyright information</strong></span>
<span style=" font-size: small; font-family: Arial;">
<p>DragMath is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)
</p><p>
All source code in this package is written by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> except the libraries used. The copyright information for the libaries is included below:</p>
<br>
<p>
<h4>JDOM<br> <a href="http://www.jdom.org">http://www.jdom.org</a></h4>
JDOM is available under an Apache-style open source license, with the acknowledgment clause removed. This license is among the least restrictive license available, enabling developers to use JDOM in creating new products without requiring them to release their own products as open source. This is the license model used by the Apache Project, which created the Apache server. The license is available at the top of every source file and in LICENSE.txt in the root of the distribution.
</p>
<br>
<p>
<h4>JEP<br><a href="https://sourceforge.net/projects/jep/">https://sourceforge.net/projects/jep/</a></h4>
JEP is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)</p>
<p>
<br>
<h4>glyFX Common Toolbar Set Icons<br> <a href="http://www.glyfx.com">http://www.glyfx.com</a></h4>
Icons used in software, license found at; <a href="http://www.glyfx.com/license-toolbar.html">http://www.glyfx.com/license-toolbar.html</a></p>
</span>
</body>
</html>

View file

@ -0,0 +1,341 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 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
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

View file

@ -0,0 +1,66 @@
<html>
<head>
<title>DragMath - README</title>
</head>
<body>
<span style=" color: #000099; font-size: x-large; font-family: Arial;"><strong>
DragMath README
</strong></span>
<span style=" font-size: small; font-family: Arial;">
<p>
<font size=3>
<p>
<br>
This is an open-source drag and drop equation editor written in Java. Once an expression is created the user can convert it into a variety of different linear syntax for mathematics, including MathML, LaTeX, Maple, Maxima or any user defined style.
</p>
DragMath Website:<a href="www.dragmath.bham.ac.uk">www.dragmath.bham.ac.uk</a><br>
SoureForge.net Project:<a href="http://sourceforge.net/projects/dragmath">http://sourceforge.net/projects/dragmath</a>
</p>
<br>
<p>
<b>Package Contents:</b>
</p>
<br>
<dl>
<dt><b>README.html</b>
<dd>This file</dd>
</dt>
<br>
<dt><b>LICENSE-gpl.txt</b>
<dd>License Agreement</dd>
</dt>
<br>
<dt><b>COPYRIGHT.html </b>
<dd>Copyright Information</dd>
</dt>
<br>
<dt><b>Release Notes.html </b>
<dd>Release Notes for this version</dd>
</dt>
<br>
<dt><b>index.html</b>
<dd>DragMath Website including Demonstrations</dd>
</dt>
<br><br>
<dt><b>doc/</b>
<dd>Documentation</dd>
</dt>
<br>
<br>
<dt><b>applet/classes/</b>
<dl>
<dt><b>formats/</b>
<dd>Export formats</dd>
</dt>
<dt><b>lang/</b>
<dd>Language files</dd>
</dt>
</dl>
</dt>
</dl>
</font>
</span>
</body>
</html>

View file

@ -0,0 +1,34 @@
<html>
<head>
<title>DragMath - Release Notes for Version 0.7.1</title>
</head>
<body>
<span style=" color: #000099; font-size: x-large; font-family: Arial;"><strong>
Release Notes for DragMath 0.7.1
</strong></span>
<span style=" font-size: small; font-family: Arial;">
<p>
<font size=3>
<b><a href="www.dragmath.bham.ac.uk">www.dragmath.bham.ac.uk</a></b>
</p>
<br>
<b>DragMath 0.7.1 released 28/02/2008</b>
<p>
New Features:
</p>
<ol>
<li>Export to image</li>
</ol>
New languages:
</p>
<ol>
<li>Portuguese (Brazilian)</li>
</ol>
<br>
</font>
</span>
</body>
</html>

View file

@ -0,0 +1,4 @@
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\HotEqn\HotEqn.class --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/HotEqn HotEqn.class
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\HotEqn\HotEqn.jar --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/HotEqn HotEqn.jar
2008.01.23 10:48 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\HotEqn\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/HotEqn WS_FTP.LOG
2008.01.23 10:59 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\HotEqn\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/HotEqn WS_FTP.LOG

View file

@ -0,0 +1,67 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>DragMath Latex Example</title>
<script>
function renderLatex() {
var ans = document.DragMath.getMathExpression();
var source = '<html>'
+ '<body>'
+ '<h4>Latex Syntax: '
+ ans
+ '</h4>'
+ '<applet code="HotEqn.class" codebase="HotEqn" archive="HotEqn.jar" height="300" width="600" name="my equation">'
+ '<param name="equation" value="'
+ ans
+ '"/>'
+ '</applet>'
+ '</body>'
+ '</html>'
+ '';
var target = document.getElementById('outputID');
var doc = target.contentDocument;
if (doc == undefined || doc == null)
doc = target.contentWindow.document;
doc.open();
doc.write(source);
doc.close();
}
</script>
</head>
<body>
<div id="mainContent">
<DIV align=left><FONT face=Arial color=#000080
size=6><STRONG>DragMath Latex Example</STRONG></FONT></DIV>
<br><br>
<applet name="DragMath" codebase="classes" code="Display.MainApplet.class" archive="Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,jep.jar" width=540 height=333>
<param name=language value="en">
<param name=showOutputToolBar value="false">
<param name=outputFormat value="Latex">
To use this page you need a Java-enabled browser. Download the latest Java plug-in from <a href="http://www.java.com">Java.com</a>
</applet >
<br>
<form>
<input type='button' value='Render Latex' onclick='renderLatex(); return true;' />
</form>
<H2>Latex Rendering:</H2>
<iframe id='outputID' src='' width='98%' height='150'>
</iframe>
</div>
<br>
Latex rendering performed by freeware Java applet <a href="http://www.atp.ruhr-uni-bochum.de/VCLab/software/HotEqn/HotEqn.html">HotEqn </a>
</body>
</html>

View file

@ -0,0 +1,64 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>DragMath MathML Example</title>
<script>
function renderMathML() {
var ans = document.DragMath.getMathExpression();
var source = '<?xml version="1.0"?>'
+ '<!DOCTYPE html PUBLIC'
+ ' "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"'
+ ' "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"'
+ '['
+ ' <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">'
+ ']>'
+ ''
+ '<body>'
+ ans
+ '</body>'
+ '';
var target = document.getElementById('outputID');
target.setAttribute('src','data:text/xml;charset=utf-8,' + escape(source));
}
function resetMathML() {
var source = 'The MathML rendering will appear here.';
var target = document.getElementById('outputID');
target.setAttribute('src','data:text/html,' + escape(source));
}
</script>
</head>
<body>
<div id="mainContent">
<DIV align=left><FONT face=Arial color=#000080
size=6><STRONG>DragMath MathML Example</STRONG></FONT></DIV>
<br><br>
<applet name="DragMath" codebase="classes" code="Display.MainApplet.class" archive="Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,jep.jar" width=540 height=333>
<param name=language value="en">
<param name=outputFormat value="MathML">
To use this page you need a Java-enabled browser. Download the latest Java plug-in from <a href="http://www.java.com">Java.com</a>
</applet >
<br>
<form>
<input type='button' value='Render MathML' onclick='renderMathML(); return true;' />
</form>
<H2>MathML Rendering:</H2>
<iframe id='outputID' src='data:text/html' width='98%' height='150'>
You need a MathML-enabled Gecko-based browser.
</iframe>
</div>
<br>
JavaScript used for rendering from <a href="http://www.mozilla.org/projects/mathml/demo/tester.html">Mozilla website</a>, re-used under <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons License</a>
</body>
</html>

View file

@ -0,0 +1,49 @@
<html>
<head>
<title>DragMath Maxima Example</title>
<script language="JavaScript">
var thedata;
var newwin;
var thenumber;
function edit(textarea)
{
thenumber = textarea;
thedata = document.forms['exampleform'].elements[textarea].value
newwin = window.open("MaximaPopup.html","","width=565,height=400,resizable")
}
</script>
</head>
<body>
<DIV align=left><FONT face=Arial color=#000080
size=6><STRONG>DragMath Maxima Example</STRONG></FONT></DIV>
<br><br>
<FORM name="exampleform">
<p>Factorise 20*x+5
<br>
<input type="text" id="data0" name="data0" cols="15" />
<input type="button" value="Editor" onclick="edit('data0')">
</p>
<p>Differentiate 2·x5+2·x4-x3+3·x2-2·x with respect to x
<br>
<input type="text" id="data1" name="data1" cols="15">
<input type="button" value="Editor" onclick="edit('data1')">
</p>
<p>Integrate cos( 5·x ) with respect to x
<br>
<input type="text" id="data3" name="data3" cols="15">
<input type="button" value="Editor" onclick="edit('data3')">
</p>
<input type="submit" name="submit" value="Submit" />
</FORM>
</body>
</html>

View file

@ -0,0 +1,39 @@
<html>
<head>
<script language="Javascript">
var exp = opener.document.forms['exampleform'].elements[opener.thenumber].value
document.write('<applet name="DragMath" codebase="classes" code="Display.MainApplet.class" archive="Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,jep.jar" width=540 height=333>',
'<param name=language value="en">',
'<param name=outputFormat value="Maxima">',
'<param name=openWithExpression value="' + exp + '">',
'To use this page you need a Java-enabled browser. Download the latest Java plug-in from <a href="http://www.java.com">Java.com</a>',
'</applet>');
var whichone;
function writedata()
{
whichone = opener.thenumber
}
function updateit()
{
var applet = document.DragMath;
var ans = document.DragMath.getMathExpression();
opener.document.forms['exampleform'].elements[whichone].value = ans
window.close()
}
</script>
<body onload="writedata()">
<form name="checkit">
<input type="hidden" cols="20" id="data" />
<br />
<input type="button" value="Save &amp; Close" onclick="updateit()">
</body>
</html>

View file

@ -0,0 +1,6 @@
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\Latex.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet Latex.html
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\MathML.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet MathML.html
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\Maxima.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet Maxima.html
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\MaximaPopup.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet MaximaPopup.html
2008.01.23 10:48 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet WS_FTP.LOG
2008.01.23 10:59 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet WS_FTP.LOG

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : Config.xml
Created on : 13 December 2007, 19:28
Author : Alex Billingsley
Description:
Purpose of the document follows.
-->
<Config>
<Languages>
<Lang displayName="Català" fileName="ca"></Lang>
<Lang displayName="čeština" fileName="cz"></Lang>
<Lang displayName="Deutsch" fileName="de"></Lang>
<Lang displayName="English" fileName="en"></Lang>
<Lang displayName="Español" fileName="es"></Lang>
<Lang displayName="français" fileName="fr"></Lang>
<Lang displayName="Nederlands" fileName="nl"></Lang>
<Lang displayName="polski" fileName="pl"></Lang>
<Lang displayName="Pyccĸий" fileName="ru"></Lang>
<Lang displayName="svenska" fileName="sv"></Lang>
<Lang displayName="português brasileiro" fileName="pt-br"></Lang>
</Languages>
<Formats>
<Format displayName="LaTeX" fileName="Latex"></Format>
<Format displayName="Maple" fileName="Maple"></Format>
<Format displayName="MathML" fileName="MathML"></Format>
<Format displayName="Maxima" fileName="Maxima"></Format>
</Formats>
</Config>

View file

@ -0,0 +1,3 @@
2008.01.23 10:09 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\Display\MainApplet.class --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/Display MainApplet.class
2008.01.23 10:48 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\Display\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/Display WS_FTP.LOG
2008.01.23 10:58 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\Display\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/Display WS_FTP.LOG

View file

@ -0,0 +1,541 @@
<?xml version="1.0" encoding="UTF-8"?>
<Syntax>
<name AutoBrackets="false">Latex</name>
<Initial>
<output1></output1>
<output2></output2>
</Initial>
<Text>
<output1></output1>
<output2></output2>
</Text>
<Variable>
<output1></output1>
<output2></output2>
</Variable>
<RealNumber>
<output1></output1>
<output2></output2>
</RealNumber>
<!-- Nary Operators -->
<Add>
<output>+</output>
</Add>
<Multiply>
<output> \cdot </output>
</Multiply>
<Multiply2>
<output> \times </output>
</Multiply2>
<Equals>
<output>=</output>
</Equals>
<Union>
<output> \cup </output>
</Union>
<Intersection>
<output> \cap </output>
</Intersection>
<Comma>
<output>,</output>
</Comma>
<Equiv>
<output> \equiv </output>
</Equiv>
<!-- Functions -->
<UMinus>
<output1>-</output1>
<output2></output2>
</UMinus>
<Factorial brackets="false">
<output1>{</output1>
<output2>}!</output2>
</Factorial>
<NaturalLogarithm>
<output1> \ln </output1>
<output2></output2>
</NaturalLogarithm>
<Logarithm>
<output1> \log </output1>
<output2></output2>
</Logarithm>
<Sine>
<output1> \sin </output1>
<output2></output2>
</Sine>
<Cosine>
<output1> \cos </output1>
<output2></output2>
</Cosine>
<Tangent>
<output1> \tan </output1>
<output2></output2>
</Tangent>
<ArcSine>
<output1> \sin^{-1} </output1>
<output2></output2>
</ArcSine>
<ArcCosine>
<output1> \cos^{-1} </output1>
<output2></output2>
</ArcCosine>
<ArcTangent>
<output1> \tan^{-1} </output1>
<output2></output2>
</ArcTangent>
<SineH>
<output1> \sinh </output1>
<output2></output2>
</SineH>
<CosineH>
<output1> \cosh </output1>
<output2></output2>
</CosineH>
<TanH>
<output1> \tanh </output1>
<output2></output2>
</TanH>
<ArcSineH>
<output1> \sinh^{-1} </output1>
<output2></output2>
</ArcSineH>
<ArcCosineH>
<output1> \cosh^{-1} </output1>
<output2></output2>
</ArcCosineH>
<ArcTanH>
<output1> \tanh^{-1} </output1>
<output2></output2>
</ArcTanH>
<SquareRoot brackets="false">
<output1> \sqrt{</output1>
<output2>} </output2>
</SquareRoot>
<Exp brackets="false">
<output1> e^{</output1>
<output2>} </output2>
</Exp>
<Max>
<output1>\max</output1>
<output2></output2>
</Max>
<Min>
<output1>\min</output1>
<output2></output2>
</Min>
<Determinant>
<output1>\det</output1>
<output2></output2>
</Determinant>
<Trace>
<output1>Tr</output1>
<output2></output2>
</Trace>
<!-- Binary Operators -->
<NotEqual>
<output1></output1>
<output2> \neq </output2>
<output3></output3>
</NotEqual>
<PlusMinus>
<output1></output1>
<output2> \pm </output2>
<output3></output3>
</PlusMinus>
<Assignment>
<output1></output1>
<output2>:=</output2>
<output3></output3>
</Assignment>
<Subtract>
<output1></output1>
<output2>-</output2>
<output3></output3>
</Subtract>
<Divide brackets="false">
<output1> \frac{</output1>
<output2>}{</output2>
<output3>} </output3>
</Divide>
<Divide2>
<output1></output1>
<output2> \div </output2>
<output3></output3>
</Divide2>
<LessThan>
<output1></output1>
<output2><![CDATA[<]]></output2>
<output3></output3>
</LessThan>
<GreaterThan>
<output1></output1>
<output2>></output2>
<output3></output3>
</GreaterThan>
<LTEQ>
<output1></output1>
<output2> \le </output2>
<output3></output3>
</LTEQ>
<GTEQ>
<output1></output1>
<output2> \ge </output2>
<output3></output3>
</GTEQ>
<Subset>
<output1></output1>
<output2> \subset </output2>
<output3></output3>
</Subset>
<SubsetEq>
<output1></output1>
<output2> \subseteq </output2>
<output3></output3>
</SubsetEq>
<NSubset>
<output1></output1>
<output2> \not\subset </output2>
<output3></output3>
</NSubset>
<NSubsetEq>
<output1></output1>
<output2> \not\subseteq </output2>
<output3></output3>
</NSubsetEq>
<Power>
<output1></output1>
<output2>^{</output2>
<output3>}</output3>
</Power>
<Subscript>
<output1></output1>
<output2>_{</output2>
<output3>}</output3>
</Subscript>
<NthRoot reverse="true" brackets="false">
<output1> \sqrt[</output1>
<output2>]{</output2>
<output3>} </output3>
</NthRoot>
<Function>
<output1></output1>
<output2>\left(</output2>
<output3>\right)</output3>
</Function>
<LeftArrow>
<output1></output1>
<output2> \leftarrow </output2>
<output3></output3>
</LeftArrow>
<RightArrow>
<output1></output1>
<output2> \rightarrow </output2>
<output3></output3>
</RightArrow>
<UpArrow>
<output1></output1>
<output2> \uparrow </output2>
<output3></output3>
</UpArrow>
<DownArrow>
<output1></output1>
<output2> \downarrow </output2>
<output3></output3>
</DownArrow>
<LeftDblArrow>
<output1></output1>
<output2> \Leftarrow </output2>
<output3></output3>
</LeftDblArrow>
<RightDblArrow>
<output1></output1>
<output2> \Rightarrow </output2>
<output3></output3>
</RightDblArrow>
<LeftRightArrow>
<output1></output1>
<output2> \leftrightarrow </output2>
<output3></output3>
</LeftRightArrow>
<LeftRightDblArrow>
<output1></output1>
<output2> \Leftrightarrow </output2>
<output3></output3>
</LeftRightDblArrow>
<NorthEastArrow>
<output1></output1>
<output2> \nearrow </output2>
<output3></output3>
</NorthEastArrow>
<SouthEastArrow>
<output1></output1>
<output2> \searrow </output2>
<output3></output3>
</SouthEastArrow>
<NorthWestArrow>
<output1></output1>
<output2> \nwarrow </output2>
<output3></output3>
</NorthWestArrow>
<SouthWestArrow>
<output1></output1>
<output2> \swarrow </output2>
<output3></output3>
</SouthWestArrow>
<Exists>
<output1></output1>
<output2> \exists </output2>
<output3></output3>
</Exists>
<ForAll>
<output1></output1>
<output2> \forall </output2>
<output3></output3>
</ForAll>
<IsIn>
<output1></output1>
<output2> \epsilon </output2>
<output3></output3>
</IsIn>
<NotExists>
<output1></output1>
<output2> \not\exists </output2>
<output3></output3>
</NotExists>
<NotIn>
<output1></output1>
<output2> \not\epsilon </output2>
<output3></output3>
</NotIn>
<SimEq>
<output1></output1>
<output2> \simeq </output2>
<output3></output3>
</SimEq>
<Or>
<output1></output1>
<output2> \vee </output2>
<output3></output3>
</Or>
<And>
<output1></output1>
<output2> \wedge </output2>
<output3></output3>
</And>
<Not>
<output1></output1>
<output2> \neg </output2>
<output3></output3>
</Not>
<!-- Nary Functions -->
<Integral>
<output1> \int </output1>
<output2>\,d</output2>
<output3></output3>
</Integral>
<Differential order="1,0">
<output1> \frac{d}{d</output1>
<output2>}</output2>
<output3></output3>
</Differential>
<PartialDifferential order="1,0">
<output1> \frac{\partial}{\partial </output1>
<output2>}</output2>
<output3></output3>
</PartialDifferential>
<Sum order="1,2,3,0">
<output1> \sum_{{</output1>
<output2>}={</output2>
<output3>}}^{</output3>
<output4>}</output4>
<output5></output5>
</Sum>
<Product order="1,2,3,0">
<output1> \prod_{{</output1>
<output2>}={</output2>
<output3>}}^{</output3>
<output4>}</output4>
<output5></output5>
</Product>
<Limit order="1,2,0">
<output1> \lim_{</output1>
<output2>\to</output2>
<output3>}</output3>
<output4></output4>
</Limit>
<Evaluate>
<output1></output1>
<output2>\left|_{{</output2>
<output3>}={</output3>
<output4>}}</output4>
</Evaluate>
<DefiniteIntegral order="2,3,0,1">
<output1> \int_{</output1>
<output2>}^{</output2>
<output3>}</output3>
<output4>\,d</output4>
<output5></output5>
</DefiniteIntegral>
<!-- Matrix -->
<Matrix>
<matrixStart> \left( \begin{array}{ccc} </matrixStart>
<rowStart></rowStart>
<elementStart></elementStart>
<elementEnd></elementEnd>
<elementSeparator><![CDATA[ & ]]></elementSeparator>
<rowEnd>\\</rowEnd>
<rowSeparator></rowSeparator>
<matrixEnd> \end{array} \right) </matrixEnd>
</Matrix>
<!-- Grouping -->
<BracketsRnd>
<output1>\left(</output1>
<output2>\right)</output2>
</BracketsRnd>
<BracketsCurl>
<output1>\{</output1>
<output2>\}</output2>
</BracketsCurl>
<BracketsSq>
<output1>\left[</output1>
<output2>\right]</output2>
</BracketsSq>
<Abs>
<output1>\left|</output1>
<output2>\right|</output2>
</Abs>
<!-- Symbols -->
<Infinity>
<output>\infty</output>
</Infinity>
>
<output> \Gamma </output>
</Γ>
>
<output> \Delta </output>
</Δ>
>
<output> \Theta </output>
</Θ>
>
<output> \Lamda </output>
</Λ>
>
<output> \Xi </output>
</Ξ>
>
<output> \Pi </output>
</Π>
>
<output> \Sigma </output>
</Σ>
<Υ>
<output> \Upsilon </output>
</Υ>
>
<output> \Phi </output>
</Φ>
>
<output> \Psi </output>
</Ψ>
>
<output> \Omega </output>
</Ω>
<α>
<output> \alpha </output>
</α>
>
<output> \beta </output>
</β>
<γ>
<output> \gamma </output>
</γ>
>
<output> \delta </output>
</δ>
>
<output> \epsilon </output>
</ε>
>
<output> \zeta </output>
</ζ>
>
<output> \eta </output>
</η>
>
<output> \theta </output>
</θ>
<ι>
<output> \iota </output>
</ι>
>
<output> \kappa </output>
</κ>
>
<output> \lambda </output>
</λ>
>
<output> \mu </output>
</μ>
<ν>
<output> \nu </output>
</ν>
>
<output> \xi </output>
</ξ>
>
<output> \pi </output>
</π>
<ρ>
<output> \rho </output>
</ρ>
<σ>
<output> \sigma </output>
</σ>
>
<output> \tau </output>
</τ>
<υ>
<output> \upsilon </output>
</υ>
>
<output> \phi </output>
</φ>
>
<output> \chi </output>
</χ>
>
<output> \psi </output>
</ψ>
>
<output> \omega </output>
</ω>
</Syntax>

View file

@ -0,0 +1,539 @@
<?xml version="1.0" encoding="UTF-8"?>
<Syntax>
<name AutoBrackets="true">Maple</name>
<Initial>
<output1></output1>
<output2></output2>
</Initial>
<Text>
<output1></output1>
<output2></output2>
</Text>
<Variable>
<output1></output1>
<output2></output2>
</Variable>
<RealNumber>
<output1></output1>
<output2></output2>
</RealNumber>
<!-- Nary Operators -->
<Add>
<output>+</output>
</Add>
<Multiply>
<output>*</output>
</Multiply>
<Multiply2>
<output>*</output>
</Multiply2>
<Equals>
<output>=</output>
</Equals>
<Union>
<output> union </output>
</Union>
<Intersection>
<output> intersect </output>
</Intersection>
<Comma>
<output>,</output>
</Comma>
<Equiv>
<output></output>
</Equiv>
<!-- Functions -->
<UMinus>
<output1>-</output1>
<output2></output2>
</UMinus>
<Factorial>
<output1>factorial</output1>
<output2></output2>
</Factorial>
<NaturalLogarithm>
<output1>ln</output1>
<output2></output2>
</NaturalLogarithm>
<Logarithm>
<output1>log</output1>
<output2></output2>
</Logarithm>
<Sine>
<output1>sin</output1>
<output2></output2>
</Sine>
<Cosine>
<output1>cos</output1>
<output2></output2>
</Cosine>
<Tangent>
<output1>tan</output1>
<output2></output2>
</Tangent>
<ArcSine>
<output1>arcsin</output1>
<output2></output2>
</ArcSine>
<ArcCosine>
<output1>arccos</output1>
<output2></output2>
</ArcCosine>
<ArcTangent>
<output1>arctan</output1>
<output2></output2>
</ArcTangent>
<SineH>
<output1>sinh</output1>
<output2></output2>
</SineH>
<CosineH>
<output1>cosh</output1>
<output2></output2>
</CosineH>
<TanH>
<output1>tanh</output1>
<output2></output2>
</TanH>
<ArcSineH>
<output1>arcsinh</output1>
<output2></output2>
</ArcSineH>
<ArcCosineH>
<output1>arccosh</output1>
<output2></output2>
</ArcCosineH>
<ArcTanH>
<output1>arctanh</output1>
<output2></output2>
</ArcTanH>
<SquareRoot>
<output1>sqrt</output1>
<output2></output2>
</SquareRoot>
<Exp>
<output1>exp</output1>
<output2></output2>
</Exp>
<Max>
<output1>max</output1>
<output2></output2>
</Max>
<Min>
<output1>min</output1>
<output2></output2>
</Min>
<Determinant>
<output1>det</output1>
<output2></output2>
</Determinant>
<Trace>
<output1>trace</output1>
<output2></output2>
</Trace>
<!-- Binary Operators -->
<NotEqual>
<output1></output1>
<output2></output2>
<output3></output3>
</NotEqual>
<PlusMinus>
<output1></output1>
<output2>±</output2>
<output3></output3>
</PlusMinus>
<Assignment>
<output1></output1>
<output2>:=</output2>
<output3></output3>
</Assignment>
<Subtract>
<output1></output1>
<output2>-</output2>
<output3></output3>
</Subtract>
<Divide>
<output1></output1>
<output2>/</output2>
<output3></output3>
</Divide>
<Divide2>
<output1></output1>
<output2>/</output2>
<output3></output3>
</Divide2>
<LessThan>
<output1></output1>
<output2><![CDATA[<]]></output2>
<output3></output3>
</LessThan>
<GreaterThan>
<output1></output1>
<output2>></output2>
<output3></output3>
</GreaterThan>
<LTEQ>
<output1></output1>
<output2><![CDATA[<=]]></output2>
<output3></output3>
</LTEQ>
<GTEQ>
<output1></output1>
<output2>>=</output2>
<output3></output3>
</GTEQ>
<Subset>
<output1>`subset`(</output1>
<output2>,</output2>
<output3>)</output3>
</Subset>
<SubsetEq>
<output1>`subset`(</output1>
<output2>,</output2>
<output3>)</output3>
</SubsetEq>
<NSubset>
<output1>not `subset`(</output1>
<output2>,</output2>
<output3>)</output3>
</NSubset>
<NSubsetEq>
<output1>not `subset`(</output1>
<output2>,</output2>
<output3>)</output3>
</NSubsetEq>
<Power>
<output1></output1>
<output2>^</output2>
<output3></output3>
</Power>
<Subscript>
<output1></output1>
<output2>[</output2>
<output3>]</output3>
</Subscript>
<NthRoot>
<output1>surd(</output1>
<output2>,</output2>
<output3>)</output3>
</NthRoot>
<Function>
<output1></output1>
<output2>(</output2>
<output3>)</output3>
</Function>
<LeftArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</LeftArrow>
<RightArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</RightArrow>
<UpArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</UpArrow>
<DownArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</DownArrow>
<LeftDblArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</LeftDblArrow>
<RightDblArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</RightDblArrow>
<LeftRightArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</LeftRightArrow>
<LeftRightDblArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</LeftRightDblArrow>
<NorthEastArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</NorthEastArrow>
<SouthEastArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</SouthEastArrow>
<NorthWestArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</NorthWestArrow>
<SouthWestArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</SouthWestArrow>
<Exists>
<output1></output1>
<output2></output2>
<output3></output3>
</Exists>
<ForAll>
<output1></output1>
<output2></output2>
<output3></output3>
</ForAll>
<IsIn>
<output1></output1>
<output2></output2>
<output3></output3>
</IsIn>
<NotExists>
<output1></output1>
<output2></output2>
<output3></output3>
</NotExists>
<NotIn>
<output1></output1>
<output2></output2>
<output3></output3>
</NotIn>
<SimEq>
<output1></output1>
<output2></output2>
<output3></output3>
</SimEq>
<Or>
<output1></output1>
<output2></output2>
<output3></output3>
</Or>
<And>
<output1></output1>
<output2></output2>
<output3></output3>
</And>
<Not>
<output1></output1>
<output2>¬</output2>
<output3></output3>
</Not>
<!-- Nary Functions -->
<Integral>
<output1>int(</output1>
<output2>,</output2>
<output3>)</output3>
</Integral>
<Differential>
<output1>diff(</output1>
<output2>,</output2>
<output3>)</output3>
</Differential>
<PartialDifferential>
<output1>diff(</output1>
<output2>,</output2>
<output3>)</output3>
</PartialDifferential>
<Sum>
<output1>sum(</output1>
<output2>,</output2>
<output3>=</output3>
<output4>..</output4>
<output5>)</output5>
</Sum>
<Product>
<output1>product(</output1>
<output2>,</output2>
<output3>=</output3>
<output4>..</output4>
<output5>)</output5>
</Product>
<Limit>
<output1>limit(</output1>
<output2>,</output2>
<output3>=</output3>
<output4>)</output4>
</Limit>
<Evaluate order="2,3,1">
<output1>subs(</output1>
<output2>=</output2>
<output3>,</output3>
<output4>)</output4>
</Evaluate>
<DefiniteIntegral>
<output1>int(</output1>
<output2>,</output2>
<output3>=</output3>
<output4>..</output4>
<output5>)</output5>
</DefiniteIntegral>
<!-- Matrix -->
<Matrix>
<matrixStart>Matrix([</matrixStart>
<rowStart>[</rowStart>
<elementStart></elementStart>
<elementEnd></elementEnd>
<elementSeparator>,</elementSeparator>
<rowEnd>]</rowEnd>
<rowSeparator>,</rowSeparator>
<matrixEnd>])</matrixEnd>
</Matrix>
<!-- Grouping -->
<BracketsRnd>
<output1>(</output1>
<output2>)</output2>
</BracketsRnd>
<BracketsCurl>
<output1>{</output1>
<output2>}</output2>
</BracketsCurl>
<BracketsSq>
<output1>[</output1>
<output2>]</output2>
</BracketsSq>
<Abs>
<output1>abs(</output1>
<output2>)</output2>
</Abs>
<!-- Symbols -->
<Infinity>
<output>infinity</output>
</Infinity>
>
<output> Gamma </output>
</Γ>
>
<output> Delta </output>
</Δ>
>
<output> Theta </output>
</Θ>
>
<output> Lamda </output>
</Λ>
>
<output> Xi </output>
</Ξ>
>
<output> PI </output>
</Π>
>
<output> Sigma </output>
</Σ>
<Υ>
<output> Upsilon </output>
</Υ>
>
<output> Phi </output>
</Φ>
>
<output> Psi </output>
</Ψ>
>
<output> Omega </output>
</Ω>
<α>
<output> alpha </output>
</α>
>
<output> beta </output>
</β>
<γ>
<output> gamma </output>
</γ>
>
<output> delta </output>
</δ>
>
<output> epsilon </output>
</ε>
>
<output> zeta </output>
</ζ>
>
<output> eta </output>
</η>
>
<output> theta </output>
</θ>
<ι>
<output> iota </output>
</ι>
>
<output> kappa </output>
</κ>
>
<output> lambda </output>
</λ>
>
<output> mu </output>
</μ>
<ν>
<output> nu </output>
</ν>
>
<output> xi </output>
</ξ>
>
<output> Pi </output>
</π>
<ρ>
<output> rho </output>
</ρ>
<σ>
<output> sigma </output>
</σ>
>
<output> tau </output>
</τ>
<υ>
<output> upsilon </output>
</υ>
>
<output> phi </output>
</φ>
>
<output> chi </output>
</χ>
>
<output> psi </output>
</ψ>
>
<output> omega </output>
</ω>
</Syntax>

View file

@ -0,0 +1,539 @@
<?xml version="1.0" encoding="UTF-8"?>
<Syntax>
<name AutoBrackets="false">MathML</name>
<Initial>
<output1><![CDATA[ <math xmlns="http://www.w3.org/1998/Math/MathML"> ]]></output1>
<output2><![CDATA[</math>]]></output2>
</Initial>
<Text>
<output1><![CDATA[<mtext>]]></output1>
<output2><![CDATA[</mtext>]]></output2>
</Text>
<Variable>
<output1><![CDATA[<mi>]]></output1>
<output2><![CDATA[</mi>]]></output2>
</Variable>
<RealNumber>
<output1><![CDATA[<mn>]]></output1>
<output2><![CDATA[</mn>]]></output2>
</RealNumber>
<!-- Nary Operators -->
<Add>
<output><![CDATA[<mo> &plus; </mo>]]></output>
</Add>
<Multiply>
<output><![CDATA[<mo> &sdot; </mo>]]></output>
</Multiply>
<Multiply2>
<output><![CDATA[<mo> &times; </mo>]]></output>
</Multiply2>
<Equals>
<output><![CDATA[<mo> &equals; </mo>]]></output>
</Equals>
<Union>
<output><![CDATA[<mo> &Union; </mo>]]></output>
</Union>
<Intersection>
<output><![CDATA[<mo> &Intersection; </mo>]]></output>
</Intersection>
<Comma>
<output><![CDATA[<mo> &comma; </mo>]]></output>
</Comma>
<Equiv>
<output><![CDATA[ <mo> &equiv; </mo>]]></output>
</Equiv>
<!-- Functions -->
<UMinus>
<output1><![CDATA[<mo> &minus; </mo]]></output1>
<output2></output2>
</UMinus>
<Factorial brackets="false">
<output1><![CDATA[<mrow>]]></output1>
<output2><![CDATA[<mo>!</mo></mrow>]]></output2>
</Factorial>
<NaturalLogarithm>
<output1><![CDATA[<mi> ln </mi>]]></output1>
<output2></output2>
</NaturalLogarithm>
<Logarithm>
<output1><![CDATA[<mi> log </mi>]]></output1>
<output2></output2>
</Logarithm>
<Sine>
<output1><![CDATA[<mi> sin </mi>]]></output1>
<output2></output2>
</Sine>
<Cosine>
<output1><![CDATA[<mi> cos </mi>]]></output1>
<output2></output2>
</Cosine>
<Tangent>
<output1><![CDATA[<mi> tan </mi>]]></output1>
<output2></output2>
</Tangent>
<ArcSine>
<output1><![CDATA[ <msup> <mrow><mi>sin</mi></mrow><mrow><mn>-1</mn></mrow></msup> ]]></output1>
<output2></output2>
</ArcSine>
<ArcCosine>
<output1><![CDATA[ <msup> <mrow><mi>cos</mi></mrow><mrow><mn>-1</mn></mrow></msup> ]]></output1>
<output2></output2>
</ArcCosine>
<ArcTangent>
<output1><![CDATA[ <msup> <mrow><mi>tan</mi></mrow><mrow><mn>-1</mn></mrow></msup> ]]></output1>
<output2></output2>
</ArcTangent>
<SineH>
<output1><![CDATA[<mi> sinh </mi>]]></output1>
<output2></output2>
</SineH>
<CosineH>
<output1><![CDATA[<mi> cosh </mi>]]></output1>
<output2></output2>
</CosineH>
<TanH>
<output1><![CDATA[<mi> tanh </mi>]]></output1>
<output2></output2>
</TanH>
<ArcSineH>
<output1><![CDATA[ <msup> <mrow><mi>sinh</mi></mrow><mrow><mn>-1</mn></mrow></msup> ]]></output1>
<output2></output2>
</ArcSineH>
<ArcCosineH>
<output1><![CDATA[ <msup> <mrow><mi>cosh</mi></mrow><mrow><mn>-1</mn></mrow></msup> ]]></output1>
<output2></output2>
</ArcCosineH>
<ArcTanH>
<output1><![CDATA[ <msup> <mrow><mi>tanh</mi></mrow><mrow><mn>-1</mn></mrow></msup> ]]></output1>
<output2></output2>
</ArcTanH>
<SquareRoot brackets="false">
<output1><![CDATA[<msqrt> <mrow>]]></output1>
<output2><![CDATA[</mrow> </msqrt>]]></output2>
</SquareRoot>
<Exp brackets="false">
<output1><![CDATA[ <msup> <mrow><mtext>e</mtext></mrow> <mrow>]]></output1>
<output2><![CDATA[</mrow> </msup>]]></output2>
</Exp>
<Max>
<output1><![CDATA[<mi> max </mi>]]></output1>
<output2></output2>
</Max>
<Min>
<output1><![CDATA[<mi> min </mi>]]></output1>
<output2></output2>
</Min>
<Determinant>
<output1><![CDATA[<mi> det </mi>]]></output1>
<output2></output2>
</Determinant>
<Trace>
<output1><![CDATA[<mi> trace </mi>]]></output1>
<output2></output2>
</Trace>
<!-- Binary Operators -->
<NotEqual>
<output1></output1>
<output2><![CDATA[<mo> &ne; </mo>]]></output2>
<output3></output3>
</NotEqual>
<PlusMinus>
<output1></output1>
<output2><![CDATA[<mo> &PlusMinus; </mo>]]></output2>
<output3></output3>
</PlusMinus>
<Assignment>
<output1></output1>
<output2><![CDATA[<mo> &Assign; </mo>]]></output2>
<output3></output3>
</Assignment>
<Subtract>
<output1></output1>
<output2><![CDATA[<mo> &minus; </mo>]]></output2>
<output3></output3>
</Subtract>
<Divide brackets="false">
<output1><![CDATA[<mfrac> <mrow>]]></output1>
<output2><![CDATA[</mrow> <mrow>]]></output2>
<output3><![CDATA[</mrow> </mfrac>]]></output3>
</Divide>
<Divide2>
<output1></output1>
<output2><![CDATA[<mo> &divide; </mo>]]></output2>
<output3></output3>
</Divide2>
<LessThan>
<output1></output1>
<output2><![CDATA[<mo> &lt; </mo>]]></output2>
<output3></output3>
</LessThan>
<GreaterThan>
<output1></output1>
<output2><![CDATA[<mo> &gt; </mo>]]></output2>
<output3></output3>
</GreaterThan>
<LTEQ>
<output1></output1>
<output2><![CDATA[<mo> &leq; </mo>]]></output2>
<output3></output3>
</LTEQ>
<GTEQ>
<output1></output1>
<output2><![CDATA[<mo> &geq; </mo>]]></output2>
<output3></output3>
</GTEQ>
<Subset>
<output1></output1>
<output2><![CDATA[<mo> &subset; </mo>]]></output2>
<output3></output3>
</Subset>
<SubsetEq>
<output1></output1>
<output2><![CDATA[<mo> &subseteq; </mo>]]></output2>
<output3></output3>
</SubsetEq>
<NSubset>
<output1></output1>
<output2><![CDATA[<mo> &nsub; </mo> ]]></output2>
<output3></output3>
</NSubset>
<NSubsetEq>
<output1></output1>
<output2><![CDATA[<mo> &nsubseteq; </mo>]]></output2>
<output3></output3>
</NSubsetEq>
<Power>
<output1><![CDATA[<msup> <mrow>]]></output1>
<output2><![CDATA[</mrow> <mrow>]]></output2>
<output3><![CDATA[</mrow> </msup>]]></output3>
</Power>
<Subscript>
<output1><![CDATA[<msub> <mrow>]]></output1>
<output2><![CDATA[ </mrow> <mrow> ]]></output2>
<output3><![CDATA[ </mrow> </msub>]]></output3>
</Subscript>
<NthRoot brackets="false">
<output1><![CDATA[<mroot> <mrow>]]></output1>
<output2><![CDATA[</mrow> <mrow>]]></output2>
<output3><![CDATA[</mrow> </mroot>]]></output3>
</NthRoot>
<Function>
<output1><![CDATA[<mrow>]]></output1>
<output2><![CDATA[</mrow> <mfenced> <mrow>]]></output2>
<output3><![CDATA[</mrow> </mfenced>]]></output3>
</Function>
<!-- Nary Functions -->
<Integral>
<output1><![CDATA[<mrow><mo>&int;</mo> <mrow>]]></output1>
<output2><![CDATA[</mrow> <mo>&DifferentialD;</mo> <mrow>]]></output2>
<output3><![CDATA[</mrow> </mrow>]]></output3>
</Integral>
<Differential order="1,0">
<output1><![CDATA[<mrow> <mfrac> <mrow><mo>&DifferentialD;</mo></mrow> <mrow><mo>&DifferentialD;</mo>]]></output1>
<output2><![CDATA[</mrow> </mfrac> <mrow>]]></output2>
<output3><![CDATA[</mrow> </mrow>]]></output3>
</Differential>
<PartialDifferential order="1,0">
<output1><![CDATA[<mrow> <mfrac> <mrow><mo>&part;</mo></mrow> <mrow><mo>&part;</mo>]]></output1>
<output2><![CDATA[</mrow> </mfrac> <mrow>]]></output2>
<output3><![CDATA[</mrow> </mrow>]]></output3>
</PartialDifferential>
<Sum order="1,2,3,0">
<output1><![CDATA[<mrow> <munderover> <mo>&sum;</mo> <mrow>]]></output1>
<output2><![CDATA[ <mo> &equals; </mo>]]></output2>
<output3><![CDATA[</mrow> <mrow>]]></output3>
<output4><![CDATA[</mrow> </munderover> <mrow>]]></output4>
<output5><![CDATA[</mrow> </mrow>]]></output5>
</Sum>
<Product order="1,2,3,0">
<output1><![CDATA[<mrow> <munderover> <mo>&prod;</mo> <mrow>]]></output1>
<output2><![CDATA[<mo> &equals; </mo>]]></output2>
<output3><![CDATA[</mrow> <mrow>]]></output3>
<output4><![CDATA[</mrow> </munderover> <mrow>]]></output4>
<output5><![CDATA[</mrow> </mrow>]]></output5>
</Product>
<Limit order="1,2,0">
<output1><![CDATA[<mrow> <munder> <mrow> <mi>lim</mi> </mrow> <mrow>]]></output1>
<output2><![CDATA[ <mo>&rarr;</mo> ]]></output2>
<output3><![CDATA[</mrow> </munder> <mrow>]]></output3>
<output4><![CDATA[</mrow> </mrow>]]></output4>
</Limit>
<Evaluate>
<output1></output1>
<output2><![CDATA[<msub> <mrow> <mi>|</mi> </mrow> <mrow>]]></output2>
<output3><![CDATA[ <mo> &equals; </mo>]]></output3>
<output4><![CDATA[ </mrow> </msub>]]></output4>
</Evaluate>
<DefiniteIntegral order="2,3,0,1">
<output1><![CDATA[<mrow> <msubsup> <mo>&int;</mo> <mrow>]]></output1>
<output2><![CDATA[</mrow> <mrow>]]></output2>
<output3><![CDATA[</mrow> </msubsup> <mrow>]]></output3>
<output4><![CDATA[</mrow> <mo>&DifferentialD;</mo> <mrow>]]></output4>
<output5><![CDATA[</mrow> </mrow>]]></output5>
</DefiniteIntegral>
<LeftArrow>
<output1></output1>
<output2><![CDATA[ <mo> &larr; </mo>]]></output2>
<output3></output3>
</LeftArrow>
<RightArrow>
<output1></output1>
<output2><![CDATA[ <mo> &rarr; </mo>]]></output2>
<output3></output3>
</RightArrow>
<UpArrow>
<output1></output1>
<output2><![CDATA[ <mo> &uarr; </mo>]]></output2>
<output3></output3>
</UpArrow>
<DownArrow>
<output1></output1>
<output2><![CDATA[ <mo> &darr; </mo>]]></output2>
<output3></output3>
</DownArrow>
<LeftDblArrow>
<output1></output1>
<output2><![CDATA[ <mo> &lArr; </mo>]]></output2>
<output3></output3>
</LeftDblArrow>
<RightDblArrow>
<output1></output1>
<output2><![CDATA[ <mo> &rArr; </mo>]]></output2>
<output3></output3>
</RightDblArrow>
<LeftRightArrow>
<output1></output1>
<output2><![CDATA[ <mo> &harr; </mo>]]></output2>
<output3></output3>
</LeftRightArrow>
<LeftRightDblArrow>
<output1></output1>
<output2><![CDATA[ <mo> &hArr; </mo>]]></output2>
<output3></output3>
</LeftRightDblArrow>
<NorthEastArrow>
<output1></output1>
<output2><![CDATA[ <mo> &nearr; </mo>]]></output2>
<output3></output3>
</NorthEastArrow>
<SouthEastArrow>
<output1></output1>
<output2><![CDATA[ <mo> &searr; </mo>]]></output2>
<output3></output3>
</SouthEastArrow>
<NorthWestArrow>
<output1></output1>
<output2><![CDATA[ <mo> &nwarr; </mo>]]></output2>
<output3></output3>
</NorthWestArrow>
<SouthWestArrow>
<output1></output1>
<output2><![CDATA[ <mo> &swarr; </mo>]]></output2>
<output3></output3>
</SouthWestArrow>
<Exists>
<output1></output1>
<output2><![CDATA[ <mo> &exist; </mo>]]></output2>
<output3></output3>
</Exists>
<ForAll>
<output1></output1>
<output2><![CDATA[ <mo> &forall; </mo>]]></output2>
<output3></output3>
</ForAll>
<IsIn>
<output1></output1>
<output2><![CDATA[ <mo> &isin; </mo>]]></output2>
<output3></output3>
</IsIn>
<NotExists>
<output1></output1>
<output2><![CDATA[ <mo> &nexists; </mo>]]></output2>
<output3></output3>
</NotExists>
<NotIn>
<output1></output1>
<output2><![CDATA[ <mo> &notin; </mo>]]></output2>
<output3></output3>
</NotIn>
<SimEq>
<output1></output1>
<output2><![CDATA[ <mo> &simeq; </mo>]]></output2>
<output3></output3>
</SimEq>
<Or>
<output1></output1>
<output2><![CDATA[ <mo> &or; </mo>]]></output2>
<output3></output3>
</Or>
<And>
<output1></output1>
<output2><![CDATA[ <mo> &and; </mo>]]></output2>
<output3></output3>
</And>
<Not>
<output1></output1>
<output2><![CDATA[ <mo> &not; </mo>]]></output2>
<output3></output3>
</Not>
<!-- Grouping -->
<BracketsRnd>
<output1><![CDATA[<mfenced> <mrow>]]></output1>
<output2><![CDATA[</mrow> </mfenced>]]></output2>
</BracketsRnd>
<BracketsCurl>
<output1><![CDATA[<mfenced open="{" close="}"><mrow>]]></output1>
<output2><![CDATA[</mrow></mfenced>]]></output2>
</BracketsCurl>
<BracketsSq>
<output1><![CDATA[<mfenced open="[" close="]"><mrow>]]></output1>
<output2><![CDATA[</mrow></mfenced>]]></output2>
</BracketsSq>
<Abs>
<output1><![CDATA[<mfenced open="|" close="|"><mrow>]]></output1>
<output2><![CDATA[</mrow></mfenced>]]></output2>
</Abs>
<!-- Matrix -->
<Matrix>
<matrixStart><![CDATA[<mfenced open="[" close="]"><mtable>]]></matrixStart>
<rowStart><![CDATA[<mtr>]]></rowStart>
<elementStart><![CDATA[<mtd>]]></elementStart>
<elementEnd><![CDATA[</mtd>]]></elementEnd>
<elementSeparator></elementSeparator>
<rowEnd><![CDATA[</mtr>]]></rowEnd>
<rowSeparator></rowSeparator>
<matrixEnd><![CDATA[</mtable></mfenced>]]></matrixEnd>
</Matrix>
<!-- Symbols -->
<Infinity>
<output><![CDATA[<mi> &infin; </mi>]]></output>
</Infinity>
>
<output> <![CDATA[<mi> &Gamma; </mi>]]> </output>
</Γ>
>
<output> <![CDATA[<mi> &Delta; </mi>]]> </output>
</Δ>
>
<output> <![CDATA[<mi> &Theta; </mi>]]> </output>
</Θ>
>
<output> <![CDATA[<mi> &Lamda; </mi>]]> </output>
</Λ>
>
<output> <![CDATA[<mi> &Xi; </mi>]]> </output>
</Ξ>
>
<output> <![CDATA[<mi> &Pi; </mi>]]> </output>
</Π>
>
<output> <![CDATA[<mi> &Sigma; </mi>]]> </output>
</Σ>
<Υ>
<output> <![CDATA[<mi> &Upsilon; </mi>]]> </output>
</Υ>
>
<output> <![CDATA[<mi> &Phi; </mi>]]> </output>
</Φ>
>
<output> <![CDATA[<mi> &Psi; </mi>]]> </output>
</Ψ>
>
<output> <![CDATA[<mi> &Omega; </mi>]]> </output>
</Ω>
<α>
<output> <![CDATA[<mi> &alpha; </mi>]]> </output>
</α>
>
<output> <![CDATA[<mi> &beta; </mi>]]> </output>
</β>
<γ>
<output> <![CDATA[<mi> &gamma; </mi>]]> </output>
</γ>
>
<output> <![CDATA[<mi> &delta; </mi>]]> </output>
</δ>
>
<output> <![CDATA[<mi> &epsi; </mi>]]> </output>
</ε>
>
<output> <![CDATA[<mi> &zeta; </mi>]]> </output>
</ζ>
>
<output> <![CDATA[<mi> &eta; </mi>]]> </output>
</η>
>
<output> <![CDATA[<mi> &theta; </mi>]]> </output>
</θ>
<ι>
<output> <![CDATA[<mi> &iota; </mi>]]> </output>
</ι>
>
<output> <![CDATA[<mi> &kappa; </mi>]]> </output>
</κ>
>
<output> <![CDATA[<mi> &lamda; </mi>]]> </output>
</λ>
>
<output> <![CDATA[<mi> &mu; </mi>]]> </output>
</μ>
<ν>
<output> <![CDATA[<mi> &nu; </mi>]]> </output>
</ν>
>
<output> <![CDATA[<mi> &xi; </mi>]]> </output>
</ξ>
>
<output> <![CDATA[<mi> &pi; </mi>]]> </output>
</π>
<ρ>
<output> <![CDATA[<mi> &rho; </mi>]]> </output>
</ρ>
<σ>
<output> <![CDATA[<mi> &sigma; </mi>]]> </output>
</σ>
>
<output> <![CDATA[<mi> &tau; </mi>]]> </output>
</τ>
<υ>
<output> <![CDATA[<mi> &upsilon; </mi>]]> </output>
</υ>
>
<output> <![CDATA[<mi> &phi; </mi>]]> </output>
</φ>
>
<output> <![CDATA[<mi> &chi; </mi>]]> </output>
</χ>
>
<output> <![CDATA[<mi> &psi; </mi>]]> </output>
</ψ>
>
<output> <![CDATA[<mi> &omega; </mi>]]> </output>
</ω>
</Syntax>

View file

@ -0,0 +1,544 @@
<?xml version="1.0" encoding="UTF-8"?>
<Syntax>
<name AutoBrackets="true">Maxima</name>
<Initial>
<output1></output1>
<output2></output2>
</Initial>
<Text>
<output1></output1>
<output2></output2>
</Text>
<Variable>
<output1></output1>
<output2></output2>
</Variable>
<RealNumber>
<output1></output1>
<output2></output2>
</RealNumber>
<!-- Nary Operators -->
<Add>
<output>+</output>
</Add>
<Multiply>
<output>*</output>
</Multiply>
<Multiply2>
<output>*</output>
</Multiply2>
<Equals>
<output>=</output>
</Equals>
<Union>
<initial>union(</initial>
<output>,</output>
<final>)</final>
</Union>
<Intersection>
<initial>intersection(</initial>
<output>,</output>
<final>)</final>
</Intersection>
<Comma>
<output>,</output>
</Comma>
<Equiv>
<output></output>
</Equiv>
<!-- Functions -->
<UMinus>
<output1>-</output1>
<output2></output2>
</UMinus>
<Factorial brackets="false">
<output1>(</output1>
<output2>)!</output2>
</Factorial>
<NaturalLogarithm>
<output1>log</output1>
<output2></output2>
</NaturalLogarithm>
<Logarithm>
<output1>log10</output1>
<output2></output2>
</Logarithm>
<Sine>
<output1>sin</output1>
<output2></output2>
</Sine>
<Cosine>
<output1>cos</output1>
<output2></output2>
</Cosine>
<Tangent>
<output1>tan</output1>
<output2></output2>
</Tangent>
<ArcSine>
<output1>asin</output1>
<output2></output2>
</ArcSine>
<ArcCosine>
<output1>acos</output1>
<output2></output2>
</ArcCosine>
<ArcTangent>
<output1>atan</output1>
<output2></output2>
</ArcTangent>
<SineH>
<output1>sinh</output1>
<output2></output2>
</SineH>
<CosineH>
<output1>cosh</output1>
<output2></output2>
</CosineH>
<TanH>
<output1>tanh</output1>
<output2></output2>
</TanH>
<ArcSineH>
<output1>asinh</output1>
<output2></output2>
</ArcSineH>
<ArcCosineH>
<output1>acosh</output1>
<output2></output2>
</ArcCosineH>
<ArcTanH>
<output1>atanh</output1>
<output2></output2>
</ArcTanH>
<SquareRoot>
<output1>sqrt</output1>
<output2></output2>
</SquareRoot>
<Exp>
<output1>exp</output1>
<output2></output2>
</Exp>
<Max>
<output1>max</output1>
<output2></output2>
</Max>
<Min>
<output1>min</output1>
<output2></output2>
</Min>
<Determinant>
<output1>det</output1>
<output2></output2>
</Determinant>
<Trace>
<output1>trace</output1>
<output2></output2>
</Trace>
<!-- Binary Operators -->
<NotEqual>
<output1></output1>
<output2></output2>
<output3></output3>
</NotEqual>
<PlusMinus>
<output1></output1>
<output2>±</output2>
<output3></output3>
</PlusMinus>
<Assignment>
<output1></output1>
<output2>:</output2>
<output3></output3>
</Assignment>
<Subtract>
<output1></output1>
<output2>-</output2>
<output3></output3>
</Subtract>
<Divide>
<output1></output1>
<output2>/</output2>
<output3></output3>
</Divide>
<Divide2>
<output1></output1>
<output2>/</output2>
<output3></output3>
</Divide2>
<LessThan>
<output1></output1>
<output2><![CDATA[<]]></output2>
<output3></output3>
</LessThan>
<GreaterThan>
<output1></output1>
<output2>></output2>
<output3></output3>
</GreaterThan>
<LTEQ>
<output1></output1>
<output2><![CDATA[<=]]></output2>
<output3></output3>
</LTEQ>
<GTEQ>
<output1></output1>
<output2>>=</output2>
<output3></output3>
</GTEQ>
<Subset>
<output1>subsetp(</output1>
<output2>,</output2>
<output3>)</output3>
</Subset>
<SubsetEq>
<output1>subsetp(</output1>
<output2>,</output2>
<output3>)</output3>
</SubsetEq>
<NSubset>
<output1>not(subsetp(</output1>
<output2>,</output2>
<output3>))</output3>
</NSubset>
<NSubsetEq>
<output1>not(subsetp(</output1>
<output2>,</output2>
<output3>))</output3>
</NSubsetEq>
<Power>
<output1></output1>
<output2>^</output2>
<output3></output3>
</Power>
<Subscript>
<output1></output1>
<output2>[</output2>
<output3>]</output3>
</Subscript>
<NthRoot>
<output1>(</output1>
<output2>)^(1/(</output2>
<output3>))</output3>
</NthRoot>
<Function>
<output1></output1>
<output2>(</output2>
<output3>)</output3>
</Function>
<LeftArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</LeftArrow>
<RightArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</RightArrow>
<UpArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</UpArrow>
<DownArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</DownArrow>
<LeftDblArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</LeftDblArrow>
<RightDblArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</RightDblArrow>
<LeftRightArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</LeftRightArrow>
<LeftRightDblArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</LeftRightDblArrow>
<NorthEastArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</NorthEastArrow>
<SouthEastArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</SouthEastArrow>
<NorthWestArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</NorthWestArrow>
<SouthWestArrow>
<output1></output1>
<output2></output2>
<output3></output3>
</SouthWestArrow>
<Exists>
<output1></output1>
<output2></output2>
<output3></output3>
</Exists>
<ForAll>
<output1></output1>
<output2></output2>
<output3></output3>
</ForAll>
<IsIn>
<output1></output1>
<output2></output2>
<output3></output3>
</IsIn>
<NotExists>
<output1></output1>
<output2></output2>
<output3></output3>
</NotExists>
<NotIn>
<output1></output1>
<output2></output2>
<output3></output3>
</NotIn>
<SimEq>
<output1></output1>
<output2></output2>
<output3></output3>
</SimEq>
<Or>
<output1></output1>
<output2></output2>
<output3></output3>
</Or>
<And>
<output1></output1>
<output2></output2>
<output3></output3>
</And>
<Not>
<output1></output1>
<output2>¬</output2>
<output3></output3>
</Not>
<!-- Nary Functions -->
<Integral>
<output1> integrate(</output1>
<output2>,</output2>
<output3>)</output3>
</Integral>
<Differential>
<output1>diff(</output1>
<output2>,</output2>
<output3>)</output3>
</Differential>
<PartialDifferential>
<output1>diff(</output1>
<output2>,</output2>
<output3>)</output3>
</PartialDifferential>
<Sum>
<output1>sum(</output1>
<output2>,</output2>
<output3>,</output3>
<output4>,</output4>
<output5>);</output5>
</Sum>
<Product>
<output1>product(</output1>
<output2>,</output2>
<output3>,</output3>
<output4>,</output4>
<output5>);</output5>
</Product>
<Limit>
<output1>limit(</output1>
<output2>,</output2>
<output3>=</output3>
<output4>);</output4>
</Limit>
<Evaluate order="1,2,0">
<output1>subst(</output1>
<output2>=</output2>
<output3>,</output3>
<output4>)</output4>
</Evaluate>
<DefiniteIntegral>
<output1>integrate(</output1>
<output2>,</output2>
<output3>,</output3>
<output4>,</output4>
<output5>)</output5>
</DefiniteIntegral>
<!-- Matrix -->
<Matrix>
<matrixStart>matrix(</matrixStart>
<rowStart>[</rowStart>
<elementStart></elementStart>
<elementEnd></elementEnd>
<elementSeparator>,</elementSeparator>
<rowEnd>]</rowEnd>
<rowSeparator>,</rowSeparator>
<matrixEnd>)</matrixEnd>
</Matrix>
<!-- Grouping -->
<BracketsRnd>
<output1>(</output1>
<output2>)</output2>
</BracketsRnd>
<BracketsCurl>
<output1>{</output1>
<output2>}</output2>
</BracketsCurl>
<BracketsSq>
<output1>[</output1>
<output2>]</output2>
</BracketsSq>
<Abs>
<output1>abs(</output1>
<output2>)</output2>
</Abs>
<!-- Symbols -->
<Infinity>
<output>infinity</output>
</Infinity>
>
<output> Gamma </output>
</Γ>
>
<output> Delta </output>
</Δ>
>
<output> Theta </output>
</Θ>
>
<output> Lamda </output>
</Λ>
>
<output> Xi </output>
</Ξ>
>
<output> Pi </output>
</Π>
>
<output> Sigma </output>
</Σ>
<Υ>
<output> Upsilon </output>
</Υ>
>
<output> Phi </output>
</Φ>
>
<output> Psi </output>
</Ψ>
>
<output> Omega </output>
</Ω>
<α>
<output> alpha </output>
</α>
>
<output> beta </output>
</β>
<γ>
<output> %gamma </output>
</γ>
>
<output> delta </output>
</δ>
>
<output> epsilon </output>
</ε>
>
<output> zeta </output>
</ζ>
>
<output> eta </output>
</η>
>
<output> theta </output>
</θ>
<ι>
<output> iota </output>
</ι>
>
<output> kappa </output>
</κ>
>
<output> lambda </output>
</λ>
>
<output> mu </output>
</μ>
<ν>
<output> nu </output>
</ν>
>
<output> xi </output>
</ξ>
>
<output> %pi </output>
</π>
<ρ>
<output> rho </output>
</ρ>
<σ>
<output> sigma </output>
</σ>
>
<output> tau </output>
</τ>
<υ>
<output> upsilon </output>
</υ>
>
<output> phi </output>
</φ>
>
<output> chi </output>
</χ>
>
<output> psi </output>
</ψ>
>
<output> omega </output>
</ω>
</Syntax>

View file

@ -0,0 +1,6 @@
2008.01.23 10:09 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\formats\Latex.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/formats Latex.xml
2008.01.23 10:09 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\formats\Maple.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/formats Maple.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\formats\MathML.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/formats MathML.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\formats\Maxima.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/formats Maxima.xml
2008.01.23 10:48 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\formats\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/formats WS_FTP.LOG
2008.01.23 10:59 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\formats\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/formats WS_FTP.LOG

View file

@ -0,0 +1,11 @@
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\cz.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang cz.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\de.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang de.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\en.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang en.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\es.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang es.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\fr.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang fr.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\nl.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang nl.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\pl.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang pl.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\ru.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang ru.xml
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\sv.xml --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang sv.xml
2008.01.23 10:48 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang WS_FTP.LOG
2008.01.23 10:59 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\applet\classes\lang\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/applet/classes/lang WS_FTP.LOG

View file

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : ca.xml
Created on : 17 December 2007, 15:13
Author : Joan Queralt i Gil i Daniel Ureña Zafra
Description:
Versió catalana de la interfície de DragMath. Es pot, per tant millorar.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Error llegint el fitxer: Comproveu-ne la validesa</ReadingFile>
<ReadingFile2>Error carregant el fitxer amb format: </ReadingFile2>
<LoadingExp>Error carregant l'expressió desada</LoadingExp>
<SavingExp>Error desant l'expressió</SavingExp>
<Cut>No es pot retallar la selecció: </Cut>
<Copy>No es pot copiar la selecció: </Copy>
<Tree>No es pot mostrar l'arbre: </Tree>
<Action>No s'ha pogut completar l'acció: </Action>
<AddMatrix>No es pot afegir la Matriu a aquesta posició</AddMatrix>
<Operator>Manca un operador en aquesta posició</Operator>
<Argument>Manca un argument o operador en aquesta posició</Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>L'expressió no pot ser analitzada</ParseExp>
<LoadExpression>DragMath - Escull una expressió per ser carregada</LoadExpression>
<SaveExpression>DragMath - Escull un lloc on desar l'expressió</SaveExpression>
<EnterRows>Introduïu el nombre de files de la matriu</EnterRows>
<EnterColumns>Introduïu el nombre de columnes de la matriu</EnterColumns>
<MatrixDim>Dimensions de la matriu</MatrixDim>
<NoCut>No hi ha res seleccionat per retallar</NoCut>
<NoPaste>No hi ha res per enganxar</NoPaste>
<NoBox>No hi ha cap quadre seleccionat per enganxar-hi</NoBox>
<NoCopy>No hi ha res seleccionat per copiar</NoCopy>
<Copied>Copiat</Copied>
<ReadingData>S'ha produït un error al llegir les dades de sortida</ReadingData>
<Clipboard>S'ha copiat l'expressió al porta-retalls</Clipboard>
<NoExpression>No hi ha cap expressió per convertir</NoExpression>
<NoFormat>Encara no s'ha carregat un fitxer amb format</NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for buttons -->
<Multiply>Multiplica</Multiply>
<Divide>Divideix</Divide>
<Add>Suma</Add>
<Subtract>Resta</Subtract>
<Comma>Coma</Comma>
<PlusMinus>Més-menys</PlusMinus>
<NotEqual>No es igual</NotEqual>
<SquareRoot>Arrel Quadrada</SquareRoot>
<NthRoot>Arrel n-éssima</NthRoot>
<Power>Superíndex</Power>
<Subscript>Subíndex</Subscript>
<Matrix>Matriu</Matrix>
<Integral>Integral</Integral>
<Differential>Diferencial</Differential>
<LessThan>Menor que</LessThan>
<GreaterThan>Major que</GreaterThan>
<LTEQ>Menor o igual que</LTEQ>
<GTEQ>Major o igual que</GTEQ>
<Equals>Igual</Equals>
<Union>Unió</Union>
<Intersection>Intersecció</Intersection>
<Subset>Subconjunt</Subset>
<SubsetEq>Subconjunt o igual que</SubsetEq>
<NSubset>No inclòs</NSubset>
<NSubsetEq>No inclòs o igual que</NSubsetEq>
<Sine>Sinus</Sine>
<Cosine>Cosinus</Cosine>
<Tangent>Tangent</Tangent>
<ArcSine>Arcsinus</ArcSine>
<ArcCosine>Arccosinus</ArcCosine>
<ArcTangent>Arctangent</ArcTangent>
<SineH>Sinus hiperbòlic</SineH>
<CosineH>Cosinus hiperbòlic</CosineH>
<TanH>Tangent hiperbòlica</TanH>
<ArcSineH>Invers del sinus hiperbòlic</ArcSineH>
<ArcCosineH>Invers del cosinus hiperbòlic</ArcCosineH>
<ArcTanH>Invers de la tangent hiperbòlica</ArcTanH>
<Logarithm>Logaritme</Logarithm>
<NaturalLogarithm>Logaritme neperià</NaturalLogarithm>
<Exp>Exponencial</Exp>
<UMinus>Menys</UMinus>
<BracketsRnd>Parèntesis</BracketsRnd>
<BracketsCurl>Claus</BracketsCurl>
<BracketsSq>Claudàtors</BracketsSq>
<Abs>Valor absolut</Abs>
<Infinity>Infinit</Infinity>
<GreekLetter>Lletra grega</GreekLetter>
<Factorial>Factorial</Factorial>
<Max>Màxim del conjunt</Max>
<Min>Mínim del conjunt</Min>
<Assignment>Assignació</Assignment>
<Function>Funció general</Function>
<Determinant>Determinant</Determinant>
<Trace>Traça</Trace>
<DefiniteIntegral>Integral definida</DefiniteIntegral>
<Product>Producte</Product>
<Sum>Suma</Sum>
<Limit>Límit</Limit>
<Evaluate>Avalua una expressió en un punt</Evaluate>
<LeftArrow>Fletxa esquerra</LeftArrow>
<RightArrow>Fletxa dreta</RightArrow>
<UpArrow>Fletxa amunt</UpArrow>
<DownArrow>Fletxa avall</DownArrow>
<LeftRightArrow>Fletxa esquerra-dreta</LeftRightArrow>
<LeftDblArrow>Fletxa doble esquerra</LeftDblArrow>
<RightDblArrow>Fletxa doble dreta</RightDblArrow>
<LeftRightDblArrow>Fletxa doble esquerra-dreta</LeftRightDblArrow>
<NorthEastArrow>Fletxa dreta-amunt</NorthEastArrow>
<SouthEastArrow>Fletxa dreta-avall</SouthEastArrow>
<NorthWestArrow>Fletxa esquerra-amun</NorthWestArrow>
<SouthWestArrow>Fletxa esquerra-avall</SouthWestArrow>
<Multiply2>Multiplica</Multiply2>
<Divide2>Divideix</Divide2>
<Equiv>Equivalència</Equiv>
<Exists>Existeix</Exists>
<ForAll>Per a tot</ForAll>
<IsIn>Pertany</IsIn>
<NotExists>No existeix</NotExists>
<NotIn>No pertany</NotIn>
<SimEq>Semblant</SimEq>
<Or>Unió Lògica</Or>
<And>Intersecció lògica</And>
<Not>Negació lògica</Not>
<PartialDifferential>Partial Differential</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Carrega un format personalitzat de sortida</OpenButton>
<SaveButton>Desar fórmula a un fitxer</SaveButton>
<ExportButton>Exportar l'expressió al porta-retalls</ExportButton>
<UndoButton>Desfés</UndoButton>
<RedoButton>Refés</RedoButton>
<CutButton>Retalla</CutButton>
<CopyButton>Còpia</CopyButton>
<PasteButton>Enganxa</PasteButton>
<ClearButton>Neteja tot l'àrea de treball</ClearButton>
<SelectButton>Selecciona tot l'àrea de treball</SelectButton>
<LoadFormatButton>Carrega un fitxer amb format exportat</LoadFormatButton>
<LoadLangButton>Carrega un fitxer d'idioma</LoadLangButton>
<ShowTreeButton>Mostra l'arbre de l'expressió</ShowTreeButton>
<OutlineButton>Mostra el contorn</OutlineButton>
<OnlineHelpButton>Carrega documents d'ajuda al navegador</OnlineHelpButton>
<AboutButton>Quant a DragMath</AboutButton>
<!-- Menu -->
<FileMenu>Fitxer</FileMenu>
<OpenMenu>Obrir...</OpenMenu>
<SaveAsMenu>Anomenar i desar...</SaveAsMenu>
<ExportMenu>Exportar al porta-retalls</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Edició</EditMenu>
<UndoMenu>Desfer</UndoMenu>
<RedoMenu>Refer</RedoMenu>
<CutMenu>Retallar</CutMenu>
<CopyMenu>Còpia</CopyMenu>
<PasteMenu>Enganxa</PasteMenu>
<ClearMenu>Neteja tot</ClearMenu>
<SelectMenu>Seleccionar tot</SelectMenu>
<OptionsMenu>Opcions</OptionsMenu>
<SetExportMenu>Format d'Exportació</SetExportMenu>
<SetLanguageMenu>Idioma</SetLanguageMenu>
<HelpMenu>Ajuda</HelpMenu>
<DebugMenu>Depuració</DebugMenu>
<TreeMenu>Mostrar arbre de l'expressió</TreeMenu>
<OutlineMenu>Mostrar contorn</OutlineMenu>
<OnlineHelpMenu>Ajuda en línia</OnlineHelpMenu>
<AboutMenu>Quant a DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,180 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : cz.xml
Created on : 30 July 2007, 15:43
Author : Alex Billingsley
Translator : Miroslava Tihlaříková
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Chyba při načítání souboru s formátem</ReadingFile>
<ReadingFile2>Chyba při načítání souboru s formátem</ReadingFile2>
<LoadingExp>Chyba při načítání uložených výrazů</LoadingExp>
<SavingExp>Chyba při ukládání výrazů</SavingExp>
<Cut>Nelze vyjmout výběr:</Cut>
<Copy>Nelze zkopírovat výrěr:</Copy>
<Tree>Nelze zobrazit strom:</Tree>
<Action>Akce nemůže být dokončena:</Action>
<AddMatrix>Sem nelze přidat matici</AddMatrix>
<Operator>Chybí operátor</Operator>
<Argument>Chybí proměnná či operátor (na vhodné pozici)</Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Výraz nelze rozpoznat</ParseExp>
<LoadExpression>DragMath - Vyberte soubor s výrazem k načtení</LoadExpression>
<SaveExpression>DragMath - Vyberte umístění kam uložit výraz</SaveExpression>
<EnterRows>Zadejte počet řádků matice</EnterRows>
<EnterColumns>Zadejte počet sloupců matice</EnterColumns>
<MatrixDim>Rozměr matice</MatrixDim>
<NoCut>Nebylo vybráno nic na vyjmutí</NoCut>
<NoPaste>Nic na vložení</NoPaste>
<NoBox>Není vybráno políčko kam vkládat</NoBox>
<NoCopy>Není nic vybráno ke kopírování</NoCopy>
<Copied>Zkopírováno</Copied>
<ReadingData>Cyba při čtení výstupních dat</ReadingData>
<Clipboard>: výrazy uloženy do schránky</Clipboard>
<NoExpression>Žádné výrazy na konvertování</NoExpression>
<NoFormat>Ještě nebyl načten soubor s definicí formátu</NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for buttons -->
<Multiply>Součin</Multiply>
<Divide>Podíl</Divide>
<Add>Součet</Add>
<Subtract>Rozdíl</Subtract>
<Comma>Desetinná čárka</Comma>
<PlusMinus>Plus-Minus</PlusMinus>
<SquareRoot>Druhá odmocnina</SquareRoot>
<NthRoot>N-tá odmocnina</NthRoot>
<Power>Horní index nebo mocnina</Power>
<Subscript>Dolní index</Subscript>
<Matrix>Matice</Matrix>
<Integral>Integrál</Integral>
<Differential>Derivace</Differential>
<LessThan>Menší než</LessThan>
<GreaterThan>Větší než</GreaterThan>
<LTEQ>Menší nebo rovno</LTEQ>
<GTEQ>Větší nebo rovno</GTEQ>
<Equals>Rovno</Equals>
<NotEqual>Není rovno</NotEqual>
<Union>Sjednocení</Union>
<Intersection>Průnik</Intersection>
<Subset>Vlastní podmnožina</Subset>
<SubsetEq>Podmnožina</SubsetEq>
<NSubset>Není vlastní podmnožinou</NSubset>
<NSubsetEq>Není podmnožinou</NSubsetEq>
<Sine>Sinus</Sine>
<Cosine>Kosinus</Cosine>
<Tangent>Tangens</Tangent>
<ArcSine>Arkus sinus</ArcSine>
<ArcCosine>Arkus kosinus</ArcCosine>
<ArcTangent>Arkus tangens</ArcTangent>
<SineH>Hyperbolický sinus</SineH>
<CosineH>Hyperbolický kosinus</CosineH>
<TanH>Hyperbolický tangens</TanH>
<ArcSineH>Hyperbolický arkus sinus</ArcSineH>
<ArcCosineH>Hyperbolický arkus kosinus</ArcCosineH>
<ArcTanH>Hyperbolický arkus tangens</ArcTanH>
<Logarithm>Logaritmus</Logarithm>
<NaturalLogarithm>Přirozený logaritmus</NaturalLogarithm>
<Exp>Exponenciální funkce</Exp>
<UMinus>Mínus</UMinus>
<BracketsRnd>Kulaté závorky</BracketsRnd>
<BracketsCurl>Složené závorky</BracketsCurl>
<BracketsSq>Hranaté závorky</BracketsSq>
<Abs>Absolutní hodnota</Abs>
<Infinity>Nekonečno</Infinity>
<GreekLetter>Řecká písmena</GreekLetter>
<Factorial>Faktoriál</Factorial>
<Max>Maximum množiny </Max>
<Min>Minimum množiny</Min>
<Assignment>Přiřazení</Assignment>
<Function>Uživatelem definovaná funkce</Function>
<Determinant>Determinant</Determinant>
<Trace>Stopa</Trace>
<DefiniteIntegral>Určitý integrál</DefiniteIntegral>
<Product>Součin</Product>
<Sum>Suma</Sum>
<Limit>Limita</Limit>
<Evaluate>Hodnota výrazu v bodě</Evaluate>
<LeftArrow>Left arrow</LeftArrow>
<RightArrow>Right arrow</RightArrow>
<UpArrow>Up arrow</UpArrow>
<DownArrow>Down arrow</DownArrow>
<LeftDblArrow>Left double arrow</LeftDblArrow>
<RightDblArrow>Right double arrow</RightDblArrow>
<LeftRightArrow>Left-Right arrow</LeftRightArrow>
<LeftRightDblArrow>Left-Right double arrow</LeftRightDblArrow>
<NorthEastArrow>North-East arrow</NorthEastArrow>
<SouthEastArrow>South-East arrow</SouthEastArrow>
<NorthWestArrow>North-West arrow</NorthWestArrow>
<SouthWestArrow>South-West arrow</SouthWestArrow>
<Multiply2>Multiplication</Multiply2>
<Divide2>Division</Divide2>
<Equiv>Equivalence</Equiv>
<Exists>There Exists</Exists>
<ForAll>For All</ForAll>
<IsIn>Element Of</IsIn>
<NotExists>There Does Not Exist</NotExists>
<NotIn>Not An Element Of</NotIn>
<SimEq>Asymptotically Equivalent To</SimEq>
<Or>Or</Or>
<And>And</And>
<Not>Not</Not>
<PartialDifferential>Partial Differential</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Načíst výraz ze souboru</OpenButton>
<SaveButton>Uložit výraz do souboru</SaveButton>
<ExportButton>Exportovat výraz do schránky</ExportButton>
<UndoButton>Zpět</UndoButton>
<RedoButton>Opakovat</RedoButton>
<CutButton>Vyjmout</CutButton>
<CopyButton>Zkopírovat</CopyButton>
<PasteButton>Vložit</PasteButton>
<ClearButton>Vyčistit pracovní plochu</ClearButton>
<SelectButton>Vybrat celou pracovní plochu</SelectButton>
<LoadFormatButton>Nahrát formát pro export</LoadFormatButton>
<LoadLangButton>Nahrát soubor s jazykovym nastavením</LoadLangButton>
<ShowTreeButton>Zobrazit stromovou strukturu výrazů</ShowTreeButton>
<OutlineButton>Zobrazit obrysy výrazů na pracovní ploše</OutlineButton>
<OnlineHelpButton>Nahrát nápovědu ve webovém prohlížeči</OnlineHelpButton>
<AboutButton>O programu</AboutButton>
<!-- Menu -->
<FileMenu>Soubor</FileMenu>
<OpenMenu>Otevřít...</OpenMenu>
<SaveAsMenu>Uložit jako...</SaveAsMenu>
<ExportMenu>Exportovat do schránky</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Změnit</EditMenu>
<UndoMenu>Zpět</UndoMenu>
<RedoMenu>Opakovat</RedoMenu>
<CutMenu>Vyjmout</CutMenu>
<CopyMenu>Zkopírovat</CopyMenu>
<PasteMenu>Vložit</PasteMenu>
<ClearMenu>Vyčistit pracovní plochu</ClearMenu>
<SelectMenu>Vybrat vše</SelectMenu>
<OptionsMenu>Možnosti</OptionsMenu>
<SetExportMenu>Nastavit formát pro export</SetExportMenu>
<SetLanguageMenu>Nastavit jazyk</SetLanguageMenu>
<HelpMenu>Nápověda</HelpMenu>
<DebugMenu>Ladění</DebugMenu>
<TreeMenu>Zobrazit strukturu vzorce</TreeMenu>
<OutlineMenu>Zobrazit výstup</OutlineMenu>
<OnlineHelpMenu>Online nápověda</OnlineHelpMenu>
<AboutMenu>O programu</AboutMenu>
</Language>

View file

@ -0,0 +1,175 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : de.xml
Created on : 02 January 2008, 22:00
Author : Andy Tagliani e-instructor.de
Description: Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Fehler beim Lesen des Dateiformats: Bitte auf Gültigkeit überprüfen</ReadingFile>
<ReadingFile2>Fehler beim Laden der Datei: </ReadingFile2>
<LoadingExp>Fehler beim Laden der Erweiterung</LoadingExp>
<SavingExp>Fehler beim Speichern der Erweiterung</SavingExp>
<Cut>Ausschneiden der Auswahl nicht möglich: </Cut>
<Copy>Kopieren der Auswahl nicht möglich: </Copy>
<Tree>Verzeichnisbaum kann nicht angezeigt werden: </Tree>
<Action>Aktion konnte nicht fertiggestellt werden: </Action>
<AddMatrix>Matrix konnte an der Stelle nicht hinzugefügt werden</AddMatrix>
<Operator>Operator fehlt an Position </Operator>
<Argument>Argument des Operators fehlt an Position </Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Ausdruck kann mathematisch nicht bestimmt werden</ParseExp>
<LoadExpression>DragMath - Wählen Sie eine Datei im DragMath-Format zum Laden</LoadExpression>
<SaveExpression>DragMath - Wählen Sie einen Speicherort zum Speichern der Datei im DragMath-Format</SaveExpression>
<EnterRows>Geben Sie die Anzahl der Reihen der Matrix ein</EnterRows>
<EnterColumns>Geben Sie die Anzahl der Spalten der Matrix ein</EnterColumns>
<MatrixDim>Dimension der Matrix</MatrixDim>
<NoCut>Nichts zum Ausschneiden gewählt</NoCut>
<NoPaste>Nichts zum Kopieren gewählt</NoPaste>
<NoBox>Keine Box zum Hineinkopieren gewählt</NoBox>
<NoCopy>Nichts zum Kopieren ausgewählt</NoCopy>
<Copied>Kopiert</Copied>
<ReadingData>Fehler beim Lesen des Ausgabeformats</ReadingData>
<Clipboard>Format wurde in die Zwischenablage kopiert</Clipboard>
<NoExpression>Kein Format zum Konvertieren</NoExpression>
<NoFormat>Es wurde kein Dateiformat geladen</NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for math buttons -->
<Multiply>Multiplikation</Multiply>
<Divide>Division</Divide>
<Add>Addition</Add>
<Subtract>Subtraktion</Subtract>
<Comma>Komma</Comma>
<PlusMinus>Plus-Minus</PlusMinus>
<SquareRoot>Quadratwurzel</SquareRoot>
<NthRoot>n-te Wurzel</NthRoot>
<Power>Hochgestellt</Power>
<Subscript>Tiefgestellt</Subscript>
<Matrix>Matrix</Matrix>
<Integral>Integration</Integral>
<Differential>Differentation</Differential>
<LessThan>kleiner als</LessThan>
<GreaterThan>größer als</GreaterThan>
<LTEQ>kleiner als oder gleich</LTEQ>
<GTEQ>größer als oder gleich</GTEQ>
<Equals>gleich</Equals>
<NotEqual>ungleich</NotEqual>
<Union>Vereinigung</Union>
<Intersection>Durchschnitt</Intersection>
<Subset>Teilmenge</Subset>
<SubsetEq>Echte Teilmenge</SubsetEq>
<NSubset>Keine Teilmenge</NSubset>
<NSubsetEq>Keine echte Teilmenge</NSubsetEq>
<Sine>Sinus</Sine>
<Cosine>Kosinus</Cosine>
<Tangent>Tangens</Tangent>
<ArcSine>Arkusinus</ArcSine>
<ArcCosine>Arkuskosinus</ArcCosine>
<ArcTangent>Arkustangens</ArcTangent>
<SineH>Sinus Hyperbolicus</SineH>
<CosineH>Kosinus Hyperbolicus</CosineH>
<TanH>Tangens Hyperbolicus</TanH>
<ArcSineH>Areasinus Hyperbolicus</ArcSineH>
<ArcCosineH>Areakosinus Hyperbolicus</ArcCosineH>
<ArcTanH>Areatangens Hyperbolicus</ArcTanH>
<Logarithm>Logarithmus</Logarithm>
<NaturalLogarithm>Natürlicher Logarithmus</NaturalLogarithm>
<Exp>Exponentialfunktion</Exp>
<UMinus>Minus</UMinus>
<BracketsRnd>Runde Klammern</BracketsRnd>
<BracketsCurl>Geschwungene Klammern</BracketsCurl>
<BracketsSq>Eckige Klammern</BracketsSq>
<Abs>Betrag</Abs>
<Infinity>Unendlich</Infinity>
<GreekLetter>Griechische Buchstaben</GreekLetter>
<Factorial>Faktorisieren</Factorial>
<Max>Maximum</Max>
<Min>Minimum</Min>
<Assignment>Aufgabe</Assignment>
<Function>Unbekannte Funktion</Function>
<Determinant>Determinante</Determinant>
<Trace>Spur</Trace>
<DefiniteIntegral>Bestimmtes Integral</DefiniteIntegral>
<Product>Produkt</Product>
<Sum>Summe</Sum>
<Limit>Grenzwert</Limit>
<Evaluate>Ausdruck auswerten</Evaluate>
<LeftArrow>Links arrow</LeftArrow>
<RightArrow>Recht arrow</RightArrow>
<UpArrow>Bis arrow</UpArrow>
<DownArrow>Down arrow</DownArrow>
<LeftDblArrow>Links doppel arrow</LeftDblArrow>
<RightDblArrow>Recht doppel arrow</RightDblArrow>
<LeftRightArrow>Links-Recht arrow</LeftRightArrow>
<LeftRightDblArrow>Links-Recht doppel arrow</LeftRightDblArrow>
<NorthEastArrow>Nord-Ost Pfeil</NorthEastArrow>
<SouthEastArrow>Süd-Ost Pfeil</SouthEastArrow>
<NorthWestArrow>Nord-West Pfeil</NorthWestArrow>
<SouthWestArrow>Süd-West Pfeil</SouthWestArrow>
<Multiply2>Multiplikation</Multiply2>
<Divide2>Division</Divide2>
<Equiv>Gleichwertigkeit</Equiv>
<Exists>Vorhanden</Exists>
<ForAll>Für alle</ForAll>
<IsIn>Ist in</IsIn>
<NotExists>Nicht vorhanden</NotExists>
<NotIn>Nicht in</NotIn>
<SimEq>Asymptotisch äquivalent zu</SimEq>
<Or>Oder</Or>
<And>Und</And>
<Not>Nicht</Not>
<PartialDifferential>Partial Differential</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Lade Format von Datei</OpenButton>
<SaveButton>Speichere Format als Datei</SaveButton>
<ExportButton>Exportiere Format in die Zwischenablage</ExportButton>
<UndoButton>Rückgägig</UndoButton>
<RedoButton>Wiederholen</RedoButton>
<CutButton>Ausschneiden</CutButton>
<CopyButton>Kopieren</CopyButton>
<PasteButton>Einfügen</PasteButton>
<ClearButton>Leere das gesamte Arbeitsfeld</ClearButton>
<SelectButton>Wähle das gesamte Arbeitsfeld</SelectButton>
<LoadFormatButton>Lade eine Formatdatei</LoadFormatButton>
<LoadLangButton>Lade eine Sprachdatei</LoadLangButton>
<ShowTreeButton>Zeige Baumstruktur eines Ausdrucks</ShowTreeButton>
<OutlineButton>Zeige außerhalb des Objektes im Arbeitsfeld</OutlineButton>
<OnlineHelpButton>Lade Hilfedateien im Browser</OnlineHelpButton>
<AboutButton>Über DragMath</AboutButton>
<!-- Menu -->
<FileMenu>Datei</FileMenu>
<OpenMenu>Öffnen...</OpenMenu>
<SaveAsMenu>Speichern als...</SaveAsMenu>
<ExportMenu>Exportiere in die Zwischenablage</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Bearbeiten</EditMenu>
<UndoMenu>Rückgängig</UndoMenu>
<RedoMenu>Wiederholen</RedoMenu>
<CutMenu>Ausschneiden</CutMenu>
<CopyMenu>Kopieren</CopyMenu>
<PasteMenu>Einfügen</PasteMenu>
<ClearMenu>Arbeitsfeld leeren</ClearMenu>
<SelectMenu>Alle auswählen</SelectMenu>
<OptionsMenu>Optionen</OptionsMenu>
<SetExportMenu>Export-Format einstellen</SetExportMenu>
<SetLanguageMenu>Sprache einstellen</SetLanguageMenu>
<HelpMenu>Hilfe</HelpMenu>
<DebugMenu>Debug</DebugMenu>
<TreeMenu>Zeige Ausdruck in Baumstruktur</TreeMenu>
<OutlineMenu>Zeige außerhalb</OutlineMenu>
<OnlineHelpMenu>Online-Hilfe</OnlineHelpMenu>
<AboutMenu>Über DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : en.xml
Created on : 30 July 2007, 15:43
Author : Alex Billingsley
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Error reading format file: Check file is valid</ReadingFile>
<ReadingFile2>Error loading format file: </ReadingFile2>
<LoadingExp>Error loading saved expression</LoadingExp>
<SavingExp>Error saving expression</SavingExp>
<Cut>Cannot cut selection: </Cut>
<Copy>Cannot copy selection: </Copy>
<Tree>Cannot display tree: </Tree>
<Action>Action could not be completed: </Action>
<AddMatrix>Cannot add Matrix at this location</AddMatrix>
<Operator>Operator missing at position </Operator>
<Argument>Argument of operator missing at position </Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Expression could not be parsed</ParseExp>
<LoadExpression>DragMath - Choose an expression file to load</LoadExpression>
<SaveExpression>DragMath - Choose the location to save the expression</SaveExpression>
<EnterRows>Enter number of rows of matrix</EnterRows>
<EnterColumns>Enter number of columns of matrix</EnterColumns>
<MatrixDim>Matrix Dimensions</MatrixDim>
<NoCut>Nothing selected to cut</NoCut>
<NoPaste>Nothing to paste</NoPaste>
<NoBox>No box selected to paste into</NoBox>
<NoCopy>Nothing selected to copy</NoCopy>
<Copied>Copied</Copied>
<ReadingData>Error reading output data</ReadingData>
<Clipboard>Expression exported to clipboard</Clipboard>
<NoExpression>No expression to convert</NoExpression>
<NoFormat>No format file has been loaded yet</NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for math buttons -->
<Multiply>Multiplication</Multiply>
<Divide>Division</Divide>
<Add>Addition</Add>
<Subtract>Subtraction</Subtract>
<Comma>Comma</Comma>
<PlusMinus>Plus-Minus</PlusMinus>
<SquareRoot>Square Root</SquareRoot>
<NthRoot>N-th Root</NthRoot>
<Power>Superscript</Power>
<Subscript>Subscript</Subscript>
<Matrix>Matrix</Matrix>
<Integral>Integration</Integral>
<Differential>Differentiation</Differential>
<LessThan>Less Than</LessThan>
<GreaterThan>Greater Than</GreaterThan>
<LTEQ>Less Than or Equal To</LTEQ>
<GTEQ>Greater Than or Equal To</GTEQ>
<Equals>Equals</Equals>
<NotEqual>Not Equal</NotEqual>
<Union>Union</Union>
<Intersection>Intersection</Intersection>
<Subset>Subset</Subset>
<SubsetEq>Subset or Equal To</SubsetEq>
<NSubset>Not Subset</NSubset>
<NSubsetEq>Not Subset or Equal To</NSubsetEq>
<Sine>Sine</Sine>
<Cosine>Cosine</Cosine>
<Tangent>Tangent</Tangent>
<ArcSine>Inverse Sine</ArcSine>
<ArcCosine>Inverse Cosine</ArcCosine>
<ArcTangent>Inverse Tangent</ArcTangent>
<SineH>Hyperbolic Sine</SineH>
<CosineH>Hyperbolic Cosine</CosineH>
<TanH>Hyperbolic Tangent</TanH>
<ArcSineH>Inverse Hyperbolic Sine</ArcSineH>
<ArcCosineH>Inverse Hyperbolic Cosine</ArcCosineH>
<ArcTanH>Inverse Hyperbolic Tangent</ArcTanH>
<Logarithm>Logarithm</Logarithm>
<NaturalLogarithm>Natural Logarithm</NaturalLogarithm>
<Exp>Exponential Function</Exp>
<UMinus>Minus</UMinus>
<BracketsRnd>Round Brackets</BracketsRnd>
<BracketsCurl>Curly Brackets</BracketsCurl>
<BracketsSq>Square Brackets</BracketsSq>
<Abs>Absolute Value</Abs>
<Infinity>Infinity</Infinity>
<GreekLetter>Greek letter</GreekLetter>
<Factorial>Factorial</Factorial>
<Max>Maximum of a set</Max>
<Min>Minimum of a set</Min>
<Assignment>Assignment</Assignment>
<Function>Unknown function</Function>
<Determinant>Determinant</Determinant>
<Trace>Trace</Trace>
<DefiniteIntegral>Definite Integral</DefiniteIntegral>
<Product>Product</Product>
<Sum>Sum</Sum>
<Limit>Limit</Limit>
<Evaluate>Evaluate an expression at a point</Evaluate>
<LeftArrow>Left arrow</LeftArrow>
<RightArrow>Right arrow</RightArrow>
<UpArrow>Up arrow</UpArrow>
<DownArrow>Down arrow</DownArrow>
<LeftDblArrow>Left double arrow</LeftDblArrow>
<RightDblArrow>Right double arrow</RightDblArrow>
<LeftRightArrow>Left-Right arrow</LeftRightArrow>
<LeftRightDblArrow>Left-Right double arrow</LeftRightDblArrow>
<NorthEastArrow>North-East arrow</NorthEastArrow>
<SouthEastArrow>South-East arrow</SouthEastArrow>
<NorthWestArrow>North-West arrow</NorthWestArrow>
<SouthWestArrow>South-West arrow</SouthWestArrow>
<Multiply2>Multiplication</Multiply2>
<Divide2>Division</Divide2>
<Equiv>Equivalence</Equiv>
<Exists>There Exists</Exists>
<ForAll>For All</ForAll>
<IsIn>Element Of</IsIn>
<NotExists>There Does Not Exist</NotExists>
<NotIn>Not An Element Of</NotIn>
<SimEq>Asymptotically Equivalent To</SimEq>
<Or>Or</Or>
<And>And</And>
<Not>Not</Not>
<PartialDifferential>Partial Differential</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Load expression from file</OpenButton>
<SaveButton>Save expression to file</SaveButton>
<ExportButton>Export expression to clipboard</ExportButton>
<UndoButton>Undo</UndoButton>
<RedoButton>Redo</RedoButton>
<CutButton>Cut</CutButton>
<CopyButton>Copy</CopyButton>
<PasteButton>Paste</PasteButton>
<ClearButton>Clear the entire workspace</ClearButton>
<SelectButton>Select the entire workspace</SelectButton>
<LoadFormatButton>Load an export format file</LoadFormatButton>
<LoadLangButton>Load a language file</LoadLangButton>
<ShowTreeButton>Show tree structure of expression</ShowTreeButton>
<OutlineButton>Display outline of objects on workspace</OutlineButton>
<OnlineHelpButton>Loads help documents in web browser</OnlineHelpButton>
<AboutButton>About DragMath</AboutButton>
<!-- Menu -->
<FileMenu>File</FileMenu>
<OpenMenu>Open...</OpenMenu>
<SaveAsMenu>Save As...</SaveAsMenu>
<ExportMenu>Export to clipboard</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Edit</EditMenu>
<UndoMenu>Undo</UndoMenu>
<RedoMenu>Redo</RedoMenu>
<CutMenu>Cut</CutMenu>
<CopyMenu>Copy</CopyMenu>
<PasteMenu>Paste</PasteMenu>
<ClearMenu>Clear Workspace</ClearMenu>
<SelectMenu>Select All</SelectMenu>
<OptionsMenu>Options</OptionsMenu>
<SetExportMenu>Set export format</SetExportMenu>
<SetLanguageMenu>Set language</SetLanguageMenu>
<HelpMenu>Help</HelpMenu>
<DebugMenu>Debug</DebugMenu>
<TreeMenu>Show expression tree</TreeMenu>
<OutlineMenu>Show outline</OutlineMenu>
<OnlineHelpMenu>Online Help</OnlineHelpMenu>
<AboutMenu>About DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : es.xml
Created on : 12 December 2007, 9:36
Author : Francisco Rivas <taken2k4@gmail.com>
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Error leyendo el archivo: Verifique archivo</ReadingFile>
<ReadingFile2>Error cargando el archivo con formato: </ReadingFile2>
<LoadingExp>Error cargando expresión guardada</LoadingExp>
<SavingExp>Error guardando expresión</SavingExp>
<Cut>No se puede cortar selección: </Cut>
<Copy>No se puede copiar selección: </Copy>
<Tree>No se puede mostrar el árbol: </Tree>
<Action>Acción no puede ser completada: </Action>
<AddMatrix>No se puede agregar una matriz en este lugar</AddMatrix>
<Operator>Operador no encontrado en esta posición </Operator>
<Argument>Argumento del operador no encontrado </Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Expresión no puede ser enviada</ParseExp>
<LoadExpression>DragMath - Seleccione un archivo de expresiones</LoadExpression>
<SaveExpression>DragMath - ¿Dónde desea guardar el archivo?</SaveExpression>
<EnterRows>Inserte el número de filas de la matriz</EnterRows>
<EnterColumns>Inserte el número de columnas de la matriz</EnterColumns>
<MatrixDim>Dimensiones de la matriz</MatrixDim>
<NoCut>No ha seleccionado nada para cortar</NoCut>
<NoPaste>Nada para pegar</NoPaste>
<NoBox>No ha seleccionado sitio para pegar</NoBox>
<NoCopy>No ha seleccionado nada para copiar</NoCopy>
<Copied>Copiado</Copied>
<ReadingData>Error leyendo datos de salida</ReadingData>
<Clipboard>Expresión exportada al portapapeles</Clipboard>
<NoExpression>No ha seleccionado expresión para convertir</NoExpression>
<NoFormat>No ha cargado un archivo con formato aún</NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for math buttons -->
<Multiply>Multiplicación</Multiply>
<Divide>Fracción</Divide>
<Add>Adición</Add>
<Subtract>Sustracción</Subtract>
<Comma>Coma</Comma>
<PlusMinus>Mas-Menos</PlusMinus>
<SquareRoot>Raíz Cuadrada</SquareRoot>
<NthRoot>N-ésima Raíz</NthRoot>
<Power>SuperIndice</Power>
<Subscript>SubIndice</Subscript>
<Matrix>Matriz</Matrix>
<Integral>Integración</Integral>
<Differential>Diferenciación</Differential>
<LessThan>Menor que</LessThan>
<GreaterThan>Mayor que</GreaterThan>
<LTEQ>Menor o Igual que</LTEQ>
<GTEQ>Mayor o Igual que</GTEQ>
<Equals>Igual</Equals>
<NotEqual>No Igual</NotEqual>
<Union>Unión</Union>
<Intersection>Intersección</Intersection>
<Subset>SubConjunto</Subset>
<SubsetEq>SubConjunto o Igual que</SubsetEq>
<NSubset>No SubConjunto</NSubset>
<NSubsetEq>No es SubConjunto o Igual que</NSubsetEq>
<Sine>Seno</Sine>
<Cosine>Coseno</Cosine>
<Tangent>Tangente</Tangent>
<ArcSine>Inversa Seno</ArcSine>
<ArcCosine>Inversa Coseno</ArcCosine>
<ArcTangent>Inversa Tangente</ArcTangent>
<SineH>Seno Hiperbólico</SineH>
<CosineH>Coseno Hiperbólico</CosineH>
<TanH>Tangente Hiperbólico</TanH>
<ArcSineH>Seno Hiperbólico Inverso</ArcSineH>
<ArcCosineH>Coseno Hiperbólico Inverso</ArcCosineH>
<ArcTanH>Tangente Hiperbólica Inversa</ArcTanH>
<Logarithm>Logaritmo</Logarithm>
<NaturalLogarithm>Logaritmo Natural</NaturalLogarithm>
<Exp>Función Exponencial</Exp>
<UMinus>Menos</UMinus>
<BracketsRnd>Parentesis</BracketsRnd>
<BracketsCurl>Llaves</BracketsCurl>
<BracketsSq>Corchetes</BracketsSq>
<Abs>Valor Absoluto</Abs>
<Infinity>Infinito</Infinity>
<GreekLetter>Letras Griegas</GreekLetter>
<Factorial>Factorial</Factorial>
<Max>Máximo del Conjunto</Max>
<Min>Minimo del Conjutno</Min>
<Assignment>Asignación</Assignment>
<Function>Función Desconocida</Function>
<Determinant>Determinante</Determinant>
<Trace>Ruta</Trace>
<DefiniteIntegral>Integral Definida</DefiniteIntegral>
<Product>Productoria</Product>
<Sum>Sumatoria</Sum>
<Limit>Limite</Limit>
<Evaluate>Evaluar una expresión en un punto</Evaluate>
<LeftArrow>Flecha izquierda</LeftArrow>
<RightArrow>Flecha derecha</RightArrow>
<UpArrow>Flecha arriba</UpArrow>
<DownArrow>Flecha abajo</DownArrow>
<LeftRightArrow>Flecha izquierda-dreta</LeftRightArrow>
<LeftDblArrow>Flecha doble izquierda</LeftDblArrow>
<RightDblArrow>Flecha doble derecha</RightDblArrow>
<LeftRightDblArrow>Flecha doble izquierda-derecha</LeftRightDblArrow>
<NorthEastArrow>Flecha derecha-arriba</NorthEastArrow>
<SouthEastArrow>Flecha derecha-abajo</SouthEastArrow>
<NorthWestArrow>Flecha izquierda-arriba</NorthWestArrow>
<SouthWestArrow>Flecha izquierda-abajo</SouthWestArrow>
<Multiply2>Multiplicación</Multiply2>
<Divide2>División</Divide2>
<Equiv>Equivalencia</Equiv>
<Exists>Existe</Exists>
<ForAll>Para todo</ForAll>
<IsIn>Pertenece</IsIn>
<NotExists>No existe</NotExists>
<NotIn>No pertenece</NotIn>
<SimEq>Parecido</SimEq>
<Or>Unión Lógica</Or>
<And>Intersección lógica</And>
<Not>Negación lógica</Not>
<PartialDifferential>Diferenciales Parciales</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Cargar una expresión de un archivo</OpenButton>
<SaveButton>Salvar una expresión a un archivo</SaveButton>
<ExportButton>Exportar la expresión al portapapeles</ExportButton>
<UndoButton>Deshacer</UndoButton>
<RedoButton>Rehacer</RedoButton>
<CutButton>Cortar</CutButton>
<CopyButton>Copiar</CopyButton>
<PasteButton>Pegar</PasteButton>
<ClearButton>Limpiar toda el área de trabajo</ClearButton>
<SelectButton>Seleccionar toda el área de trabajo</SelectButton>
<LoadFormatButton>Cargar archivo con formato exportado</LoadFormatButton>
<LoadLangButton>Cargar un archivo de lenguaje</LoadLangButton>
<ShowTreeButton>Mostrar la expresión como un árbol</ShowTreeButton>
<OutlineButton>Mostrar bordes de expresiones</OutlineButton>
<OnlineHelpButton>Cargar documentos de ayuda en el navegador</OnlineHelpButton>
<AboutButton>Acerca de DragMath</AboutButton>
<!-- Menu -->
<FileMenu>Archivo</FileMenu>
<OpenMenu>Abrir...</OpenMenu>
<SaveAsMenu>Salvar como...</SaveAsMenu>
<ExportMenu>Exportar al portapapeles</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Editar</EditMenu>
<UndoMenu>Deshacer</UndoMenu>
<RedoMenu>Rehacer</RedoMenu>
<CutMenu>Cortar</CutMenu>
<CopyMenu>Copiar</CopyMenu>
<PasteMenu>Pegar</PasteMenu>
<ClearMenu>Limpiar todo</ClearMenu>
<SelectMenu>Seleccionar todo</SelectMenu>
<OptionsMenu>Opciones</OptionsMenu>
<SetExportMenu>Formato de Exportación</SetExportMenu>
<SetLanguageMenu>Lenguaje</SetLanguageMenu>
<HelpMenu>Ayuda</HelpMenu>
<DebugMenu>Depurar</DebugMenu>
<TreeMenu>Mostrar árbol de expresión</TreeMenu>
<OutlineMenu>Mostrar bordes</OutlineMenu>
<OnlineHelpMenu>Ayuda en linea</OnlineHelpMenu>
<AboutMenu>Acerca de DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,181 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Document : fr.xml
Created on : 19 Decembre 2007, 10:54
Author : Philippe Quattrociocchi
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Erreur de lecture du format de fichier: Vérifiez si le fichier est valide</ReadingFile>
<ReadingFile2>Erreur de lecture du fichier: </ReadingFile2>
<LoadingExp>Erreur lors du chargement des expressions</LoadingExp>
<SavingExp>Erreur lors de l'enregistrement des expressions</SavingExp>
<Cut>Découpe de la sélection impossible: </Cut>
<Copy>Copie de la sélection impossible: </Copy>
<Tree>Affichage de l'arbre impossible</Tree>
<Action>L'action n'a pas pu être terminée: </Action>
<AddMatrix>La matrice n'a pas pu être ajoutée à cette position</AddMatrix>
<Operator>L'opérateur est manquant à cette position</Operator>
<Argument>L'argument de l'opérateur est manquant à cette position</Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>L'expression n'a pas pu être lu</ParseExp>
<LoadExpression>DragMath - Choisissez un fichier d'expression à lire</LoadExpression>
<SaveExpression>DragMath - Choisissez un endroit pour sauver l'expression</SaveExpression>
<EnterRows>Entrez le nombre de lignes de la matrice</EnterRows>
<EnterColumns>Entrez le nombre de colonne de la matrice</EnterColumns>
<MatrixDim>Dimensions de la matrice</MatrixDim>
<NoCut>Rien à couper</NoCut>
<NoPaste>Rien à coller</NoPaste>
<NoBox>Pas de boîte sélectionné pour collage</NoBox>
<NoCopy>Rien à copier</NoCopy>
<Copied>Copié</Copied>
<ReadingData>Erreur lors de la lecture des données de sortie</ReadingData>
<Clipboard>Expression exporté dans le Presse-papiers</Clipboard>
<NoExpression>Aucune expression à convertir</NoExpression>
<NoFormat>Aucun format de fichier n'a encore été chargé</NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for math buttons -->
<Multiply>Multiplication</Multiply>
<Divide>Division</Divide>
<Add>Addition</Add>
<Subtract>Soustraction</Subtract>
<Comma>Virgule</Comma>
<PlusMinus>Plus ou Moin</PlusMinus>
<SquareRoot>Carré</SquareRoot>
<NthRoot>Racine</NthRoot>
<Power>Puissance</Power>
<Subscript>Indice</Subscript>
<Matrix>Matrice</Matrix>
<Integral>Integrale</Integral>
<Differential>Différenciation</Differential>
<LessThan>Inférieur à</LessThan>
<GreaterThan>Supérieur à</GreaterThan>
<LTEQ>Inférieur ou égal à</LTEQ>
<GTEQ>Supérieur ou égal à</GTEQ>
<Equals>Egal</Equals>
<NotEqual>Inégal</NotEqual>
<Union>Union</Union>
<Intersection>Intersection</Intersection>
<Subset>Appartient</Subset>
<SubsetEq>Appartient ou est égal à</SubsetEq>
<NSubset>N'appartient pas</NSubset>
<NSubsetEq>N'appartient pas ou est égal à</NSubsetEq>
<Sine>Sinus</Sine>
<Cosine>Cosinus</Cosine>
<Tangent>Tangente</Tangent>
<ArcSine>Sinus Inverse</ArcSine>
<ArcCosine>Cosinus Inverse</ArcCosine>
<ArcTangent>Tangente inversée</ArcTangent>
<SineH>Hyperbolic Sinus</SineH>
<CosineH>Cosinus hyperbolique</CosineH>
<TanH>Tangente hyperbolique</TanH>
<ArcSineH>Sinus hyperbolique inversée</ArcSineH>
<ArcCosineH>Cosinus hyperbolique inversée</ArcCosineH>
<ArcTanH>Tangente hyperbolique inversée</ArcTanH>
<Logarithm>Logarithme</Logarithm>
<NaturalLogarithm>Logarithme naturelle</NaturalLogarithm>
<Exp>Exposant</Exp>
<UMinus>Moins</UMinus>
<BracketsRnd>Parenthèses</BracketsRnd>
<BracketsCurl>Accolades</BracketsCurl>
<BracketsSq>Crochets</BracketsSq>
<Abs>Valeur absolue</Abs>
<Infinity>Infinie</Infinity>
<GreekLetter>Lettres grecque</GreekLetter>
<Factorial>Factoriel</Factorial>
<Max>Maximale d'un ensemble</Max>
<Min>Minimum d'un ensemble</Min>
<Assignment>Cession</Assignment>
<Function>Fonction inconnue</Function>
<Determinant>Déterminant</Determinant>
<Trace>Trace</Trace>
<DefiniteIntegral>Integrale définie</DefiniteIntegral>
<Product>Produit</Product>
<Sum>Somme</Sum>
<Limit>Limite</Limit>
<Evaluate>Évaluer l'expression en un point</Evaluate>
<LeftArrow>Gauche arrow</LeftArrow>
<RightArrow>Droite arrow</RightArrow>
<UpArrow>Up arrow</UpArrow>
<DownArrow>Down arrow</DownArrow>
<LeftDblArrow>Gauche double arrow</LeftDblArrow>
<RightDblArrow>Right double arrow</RightDblArrow>
<LeftRightArrow>Gauche-Droite arrow</LeftRightArrow>
<LeftRightDblArrow>Gauche-Droite double arrow</LeftRightDblArrow>
<NorthEastArrow>Nord-Est Arrow</NorthEastArrow>
<SouthEastArrow>Sud-Est arrow</SouthEastArrow>
<NorthWestArrow>Nord-Ouest arrow</NorthWestArrow>
<SouthWestArrow>Sud-Ouest arrow</SouthWestArrow>
<LeftUpArrow>Gauche-Up arrow</LeftUpArrow>
<LeftDownArrow>Gauche-Down arrow</LeftDownArrow>
<RightUpArrow>Right-Up arrow</RightUpArrow>
<RightDownArrow>Droite-down arrow</RightDownArrow>
<Multiply2>Multiplication</Multiply2>
<Divide2>Division</Divide2>
<Equiv>Equivalence</Equiv>
<Exists>Il existe</Exists>
<ForAll>Pour tous</ForAll>
<IsIn>Est en</IsIn>
<NotExists>Il n'existe pas</NotExists>
<NotIn>Pas un élément de</NotIn>
<SimEq>Asymptotiquement équivalente à</SimEq>
<Or>Ou</Or>
<And>Et</And>
<Not>Non</Not>
<PartialDifferential>Dérivée partielle</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Charger une expression à partir d'un fichier</OpenButton>
<SaveButton>Sauvegarde de l'expression à partir d'un fichier</SaveButton>
<ExportButton>Exporter l'expression dans le presse-papier</ExportButton>
<UndoButton>Défaire</UndoButton>
<RedoButton>Refaire</RedoButton>
<CutButton>Couper</CutButton>
<CopyButton>Copier</CopyButton>
<PasteButton>Coller</PasteButton>
<ClearButton>Tout effacer</ClearButton>
<SelectButton>Tout sélectionner</SelectButton>
<LoadFormatButton>Charger un fichier de format d'expression</LoadFormatButton>
<LoadLangButton>Charger un fichier de langage</LoadLangButton>
<ShowTreeButton>Afficher l'arborescence de l'expression</ShowTreeButton>
<OutlineButton>Afficher la structure de l'expression</OutlineButton>
<OnlineHelpButton>Charger l'aide en ligne</OnlineHelpButton>
<AboutButton>A propos de DragMath</AboutButton>
<!-- Menu -->
<FileMenu>Fichier</FileMenu>
<OpenMenu>Ouvrir...</OpenMenu>
<SaveAsMenu>Enregistrer sous...</SaveAsMenu>
<ExportMenu>Exporter dans le presse-papier</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Editer</EditMenu>
<UndoMenu>Défaire</UndoMenu>
<RedoMenu>Refaire</RedoMenu>
<CutMenu>Couper</CutMenu>
<CopyMenu>Copier</CopyMenu>
<PasteMenu>Coller</PasteMenu>
<ClearMenu>Tout effacer</ClearMenu>
<SelectMenu>Tout sélectionner</SelectMenu>
<OptionsMenu>Options</OptionsMenu>
<SetExportMenu>Changer de format de sorti</SetExportMenu>
<SetLanguageMenu>Changer de langue</SetLanguageMenu>
<HelpMenu>Aide</HelpMenu>
<DebugMenu>Debug</DebugMenu>
<TreeMenu>Afficher l'arborescence de l'expression</TreeMenu>
<OutlineMenu>Afficher la structure de l'expression</OutlineMenu>
<OnlineHelpMenu>Aide Online</OnlineHelpMenu>
<AboutMenu>A propos de DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : nl.xml
Created on : 26 december 2007
Author : Patrick Tydtgat
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Fout bij lezen bestand: Controleer geldigheid bestandstype</ReadingFile>
<ReadingFile2>Fout bij laden bestand: </ReadingFile2>
<LoadingExp>Fout bij laden uitdrukking</LoadingExp>
<SavingExp>Fout bij bewaren uitdrukking</SavingExp>
<Cut>Kan selectie niet knippen: </Cut>
<Copy>Kan selectie niet kopiëren: </Copy>
<Tree>Kan boomstructuur niet weergeven: </Tree>
<Action>Kon bewerking niet uitvoeren: </Action>
<AddMatrix>Kan matrix hier niet invoegen</AddMatrix>
<Operator>Operator ontbreekt </Operator>
<Argument>Argument ontbreekt </Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Uitdrukking kon niet behandeld worden</ParseExp>
<LoadExpression>DragMath - Kies een te laden bestand</LoadExpression>
<SaveExpression>DragMath - Kies een map om de uitdrukking te bewaren</SaveExpression>
<EnterRows>Aantal in te voegen</EnterRows>
<EnterColumns>Aantal in te voegen kolommen</EnterColumns>
<MatrixDim>Matrix Dimensies</MatrixDim>
<NoCut>Niets geselecteerd om te knippen</NoCut>
<NoPaste>Niets te plakken</NoPaste>
<NoBox>Geen box geselecteerd waarin geplakt moet worden</NoBox>
<NoCopy>Niets geselecteerd om te kopiëren</NoCopy>
<Copied>Gekopieerd</Copied>
<ReadingData>Fout bij lezen output gegevens</ReadingData>
<Clipboard>Gekopieerd naar klembord</Clipboard>
<NoExpression>Niets te converteren</NoExpression>
<NoFormat>ER werd geen format-bestand geladen</NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for math buttons -->
<Multiply>Vermenigvuldigen</Multiply>
<Divide>Delen</Divide>
<Add>Optellen</Add>
<Subtract>Aftrekken</Subtract>
<Comma>Komma</Comma>
<PlusMinus>Plus-Minus</PlusMinus>
<SquareRoot>Vierkantswortel</SquareRoot>
<NthRoot>N-de Machtswortel</NthRoot>
<Power>Superscript</Power>
<Subscript>Subscript</Subscript>
<Matrix>Matrix</Matrix>
<Integral>Integreren</Integral>
<Differential>Differentiëren</Differential>
<LessThan>Kleiner Dan</LessThan>
<GreaterThan>Groter Dan</GreaterThan>
<LTEQ>Kleiner dan of Gelijk Aan</LTEQ>
<GTEQ>Groter Dan of Gelijk Aan</GTEQ>
<Equals>Gelijk</Equals>
<NotEqual>Niet Gelijk</NotEqual>
<Union>Vereniging</Union>
<Intersection>Doorsnede</Intersection>
<Subset>Deelverzameling</Subset>
<SubsetEq>Deelverzameling of Gelijk Aan</SubsetEq>
<NSubset>Geen Deelverzameling</NSubset>
<NSubsetEq>Geen Deelverzameling of Gelijk Aan</NSubsetEq>
<Sine>Sinus</Sine>
<Cosine>Cosinus</Cosine>
<Tangent>Tangens</Tangent>
<ArcSine>Boog Sinus</ArcSine>
<ArcCosine>Boog Cosinus</ArcCosine>
<ArcTangent>Boog Tangens</ArcTangent>
<SineH>Sinus Hyperbolicus</SineH>
<CosineH>Cosinus Hyperbolicus</CosineH>
<TanH>Tangens Hyperbolicus</TanH>
<ArcSineH>Boog Sinus Hyperbolicus</ArcSineH>
<ArcCosineH>Boog Cosinus Hyperbolicus</ArcCosineH>
<ArcTanH>Boog Tangens Hyperbolicus</ArcTanH>
<Logarithm>Logaritme</Logarithm>
<NaturalLogarithm>Natuurlijke Logaritmen</NaturalLogarithm>
<Exp>Exponentiële Functie</Exp>
<UMinus>Min</UMinus>
<BracketsRnd>Rondde Haakjes</BracketsRnd>
<BracketsCurl>Accolades</BracketsCurl>
<BracketsSq>Vierkante Haakjes</BracketsSq>
<Abs>Absolute Waarde</Abs>
<Infinity>Oneindig</Infinity>
<GreekLetter>Griekse letter</GreekLetter>
<Factorial>Factor</Factorial>
<Max>Maximum</Max>
<Min>Minimum</Min>
<Assignment>Toekenning</Assignment>
<Function>Onbekende functie</Function>
<Determinant>Determinant</Determinant>
<Trace>Spoor</Trace>
<DefiniteIntegral>Bepaalde Integraal</DefiniteIntegral>
<Product>Product</Product>
<Sum>Som</Sum>
<Limit>Limiet</Limit>
<Evaluate>Evalueer een uitdrukking in een punt</Evaluate>
<LeftArrow>Links arrow</LeftArrow>
<RightArrow>Recht arrow</RightArrow>
<UpArrow>Up arrow</UpArrow>
<DownArrow>Omlaag arrow</DownArrow>
<LeftDblArrow>Links dubbel arrow</LeftDblArrow>
<RightDblArrow>Right dubbel arrow</RightDblArrow>
<LeftRightArrow>Links-Recht arrow</LeftRightArrow>
<LeftRightDblArrow>Links-Recht dubbel arrow</LeftRightDblArrow>
<NorthEastArrow>Noord-Oost-arrow</NorthEastArrow>
<SouthEastArrow>Zuid-Oost-arrow</SouthEastArrow>
<NorthWestArrow>Noord-West-arrow</NorthWestArrow>
<SouthWestArrow>Zuid-West arrow</SouthWestArrow>
<Multiply2>Vermenigvuldigen</Multiply2>
<Divide2>Divisie</Divide2>
<Equiv>Gelijkwaardigheid</Equiv>
<Exists>Er Bestaat</Exists>
<ForAll>Voor alle</ForAll>
<IsIn>Element van</IsIn>
<NotExists>Er bestaat niet</NotExists>
<NotIn>Niet een element van</NotIn>
<SimEq>Asymptotically gelijk aan</SimEq>
<Or>Of</Or>
<And>En</And>
<Not>Niet</Not>
<PartialDifferential>Partiële differentiaalvergelijking</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Laad uitdrukking uit bestand</OpenButton>
<SaveButton>Bewaar uitdrukking in bestand</SaveButton>
<ExportButton>Exporteer uitdrukking naar het klembord</ExportButton>
<UndoButton>Ongedaan maken</UndoButton>
<RedoButton>Herstellen</RedoButton>
<CutButton>Knippen</CutButton>
<CopyButton>Kopiëren</CopyButton>
<PasteButton>Plakken</PasteButton>
<ClearButton>Alles Wissen</ClearButton>
<SelectButton>Alles Selecteren</SelectButton>
<LoadFormatButton>Laad een export format bestand</LoadFormatButton>
<LoadLangButton>Laad een Taalbestand</LoadLangButton>
<ShowTreeButton>Toon Boomstructuur</ShowTreeButton>
<OutlineButton>Toon outline of objecten</OutlineButton>
<OnlineHelpButton>Laad help in webbrowser</OnlineHelpButton>
<AboutButton>About DragMath</AboutButton>
<!-- Menu -->
<FileMenu>Bestand</FileMenu>
<OpenMenu>Openen...</OpenMenu>
<SaveAsMenu>Bewaar Als...</SaveAsMenu>
<ExportMenu>Kopieer naar klembord</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Bewerk</EditMenu>
<UndoMenu>Ongedaan maken</UndoMenu>
<RedoMenu>Herstellen</RedoMenu>
<CutMenu>Knippen</CutMenu>
<CopyMenu>Kopiëren</CopyMenu>
<PasteMenu>Plakken</PasteMenu>
<ClearMenu>Alles Wissen</ClearMenu>
<SelectMenu>Alles Selecteren</SelectMenu>
<OptionsMenu>Opties</OptionsMenu>
<SetExportMenu>Kies Export Format</SetExportMenu>
<SetLanguageMenu>Kies Taal</SetLanguageMenu>
<HelpMenu>Help</HelpMenu>
<DebugMenu>Debug</DebugMenu>
<TreeMenu>Toon boomstructuur</TreeMenu>
<OutlineMenu>Toon outline</OutlineMenu>
<OnlineHelpMenu>Online Help</OnlineHelpMenu>
<AboutMenu>About DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : pl.xml
Created on : 30 July 2007, 15:43
Author : Alex Billingsley
Translator : Agnieszka Herczak-Ciara
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Błąd wczytania pliku: Sprawdź format pliku</ReadingFile>
<ReadingFile2>Błąd wczytania pliku</ReadingFile2>
<LoadingExp>Błąd wczytania wyrażenia</LoadingExp>
<SavingExp>Błąd zapisu wyrażenia</SavingExp>
<Cut>Nie można wyciąć</Cut>
<Copy>Nie można skopiować</Copy>
<Tree>Nie można wyświetlić drzewa</Tree>
<Action>Działanie nie może zostać zakończone</Action>
<AddMatrix>Nie można dodać macierzy w tym miejscu</AddMatrix>
<Operator>Brakujący operator na pozycji</Operator>
<Argument>Brakujący argument na pozycji</Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Błąd parsowania wyrażenia</ParseExp>
<LoadExpression>DragMath -Wybierz plik do wczytania</LoadExpression>
<SaveExpression>DragMath - Wybierz lokalizację zapisu</SaveExpression>
<EnterRows>Wprowadź liczbę wierszy macierzy</EnterRows>
<EnterColumns>Wprowadź liczbę kolumn macierzy</EnterColumns>
<MatrixDim>Wymiar macierzy</MatrixDim>
<NoCut>Nie zaznaczono nic do wycięcia</NoCut>
<NoPaste>Brak elementów do wklejenia</NoPaste>
<NoBox>Nie wybrano nic do wklejenia</NoBox>
<NoCopy>Nie wybrano nic do skopiowania</NoCopy>
<Copied>Skopiowane</Copied>
<ReadingData>Błąd wczytania danych</ReadingData>
<Clipboard>Eksport wyrażenia do schowka</Clipboard>
<NoExpression>Brak wyrażenia do konwersji</NoExpression>
<NoFormat>Nie wybrano żadnego formatu </NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for math buttons -->
<Multiply>Mnożenie</Multiply>
<Divide>Ułamek</Divide>
<Add>Dodawanie</Add>
<Subtract>Odejmowanie</Subtract>
<Comma>Przecinek dziesiętny</Comma>
<PlusMinus>Plus-Minus</PlusMinus>
<SquareRoot>Pierwiastek kwadratowy</SquareRoot>
<NthRoot>Pierwiastek n-tego stopnia</NthRoot>
<Power>Indeks górny</Power>
<Subscript>Indeks dolny</Subscript>
<Matrix>Macierz</Matrix>
<Integral>Całka nieoznaczona</Integral>
<Differential>Różniczkowanie</Differential>
<LessThan>Mniejsze niż</LessThan>
<GreaterThan>Większe niż</GreaterThan>
<LTEQ>Mniejsze lub równe</LTEQ>
<GTEQ>Większe lub równe</GTEQ>
<Equals>Równe</Equals>
<NotEqual>Nie równe</NotEqual>
<Union>Suma</Union>
<Intersection>Iloczyn </Intersection>
<Subset>Zawiera się</Subset>
<SubsetEq>Zawiera się lub jest równy</SubsetEq>
<NSubset>Nie zawiera się</NSubset>
<NSubsetEq>Nie zawiera się i nie jest równy</NSubsetEq>
<Sine>sin (sinus)</Sine>
<Cosine>cos (cosinus)</Cosine>
<Tangent>tg (tangens)</Tangent>
<ArcSine>arcsin (arcus sinus)</ArcSine>
<ArcCosine>arccos (arcus cosinus)</ArcCosine>
<ArcTangent>arctg (arcus tangens)</ArcTangent>
<SineH>sinh (sinus hiperboliczny)</SineH>
<CosineH>cosh (cosinus hiperboliczny)</CosineH>
<TanH>tgh (tangens hiperboliczny)</TanH>
<ArcSineH>arcsinh (arcus sinus hiperboliczny)</ArcSineH>
<ArcCosineH>arccosh (arcus cosinus hiperboliczny)</ArcCosineH>
<ArcTanH>arctgh (arcus tangens hiperboliczny)</ArcTanH>
<Logarithm>Logarytm</Logarithm>
<NaturalLogarithm>Logarytm naturalny</NaturalLogarithm>
<Exp>Exp (Funkcja eksponencjalna)</Exp>
<UMinus>Minus</UMinus>
<BracketsRnd>Nawiasy okrągłe</BracketsRnd>
<BracketsCurl>Nawiasy klamrowe</BracketsCurl>
<BracketsSq>Nawiasy kwadratowe</BracketsSq>
<Abs>Wartość bezwzględna</Abs>
<Infinity>Nieskończoność</Infinity>
<GreekLetter>Greckie litery</GreekLetter>
<Factorial>Silnia</Factorial>
<Max>Maksimum</Max>
<Min>Minimum</Min>
<Assignment>Przypisanie</Assignment>
<Function>Funkcja</Function>
<Determinant>Wyznacznik macierzy</Determinant>
<Trace>Ślad macierzy</Trace>
<DefiniteIntegral>Całka oznaczona</DefiniteIntegral>
<Product>Iloczyn </Product>
<Sum>Suma</Sum>
<Limit>Granica</Limit>
<Evaluate>Wartość wyrażenia w punkcie</Evaluate>
<LeftArrow>Left arrow</LeftArrow>
<RightArrow>Right arrow</RightArrow>
<UpArrow>Up arrow</UpArrow>
<DownArrow>Down arrow</DownArrow>
<LeftDblArrow>Left double arrow</LeftDblArrow>
<RightDblArrow>Right double arrow</RightDblArrow>
<LeftRightArrow>Left-Right arrow</LeftRightArrow>
<LeftRightDblArrow>Left-Right double arrow</LeftRightDblArrow>
<NorthEastArrow>North-East arrow</NorthEastArrow>
<SouthEastArrow>South-East arrow</SouthEastArrow>
<NorthWestArrow>North-West arrow</NorthWestArrow>
<SouthWestArrow>South-West arrow</SouthWestArrow>
<Multiply2>Multiplication</Multiply2>
<Divide2>Division</Divide2>
<Equiv>Equivalence</Equiv>
<Exists>There Exists</Exists>
<ForAll>For All</ForAll>
<IsIn>Element Of</IsIn>
<NotExists>There Does Not Exist</NotExists>
<NotIn>Not An Element Of</NotIn>
<SimEq>Asymptotically Equivalent To</SimEq>
<Or>Or</Or>
<And>And</And>
<Not>Not</Not>
<PartialDifferential>Partial Differential</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Wczytaj wyrażenie z pliku</OpenButton>
<SaveButton>Zapisz wyrażenie do pliku</SaveButton>
<ExportButton>Eksportuj wyrażenie do schowka</ExportButton>
<UndoButton>Cofnij</UndoButton>
<RedoButton>Ponów</RedoButton>
<CutButton>Wytnij</CutButton>
<CopyButton>Kopiuj</CopyButton>
<PasteButton>Wklej</PasteButton>
<ClearButton>Wyczyść wszystko</ClearButton>
<SelectButton>Zaznacz wszystko</SelectButton>
<LoadFormatButton>Wczytaj format pliku do eksportu</LoadFormatButton>
<LoadLangButton>Wczytaj plik językowy</LoadLangButton>
<ShowTreeButton>Pokaż strukturę drzewiastą wyrażenia</ShowTreeButton>
<OutlineButton>Display outline of objects on workspace</OutlineButton>
<OnlineHelpButton>Pomoc online</OnlineHelpButton>
<AboutButton>O DragMath</AboutButton>
<!-- Menu -->
<FileMenu>Plik</FileMenu>
<OpenMenu>Otwórz ...</OpenMenu>
<SaveAsMenu>Zapisz jako ...</SaveAsMenu>
<ExportMenu>Eksportuj do schowka</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Edycja</EditMenu>
<UndoMenu>Cofnij</UndoMenu>
<RedoMenu>Ponów</RedoMenu>
<CutMenu>Wytnij</CutMenu>
<CopyMenu>Kopiuj</CopyMenu>
<PasteMenu>Wklej</PasteMenu>
<ClearMenu>Wyczyść wszystko</ClearMenu>
<SelectMenu>Zaznacz wszystko</SelectMenu>
<OptionsMenu>Opcje</OptionsMenu>
<SetExportMenu>Wybierz format (Latex,MathML,...)</SetExportMenu>
<SetLanguageMenu>Wybierz język (pl,eng...)</SetLanguageMenu>
<HelpMenu>Pomoc</HelpMenu>
<DebugMenu>Debug</DebugMenu>
<TreeMenu>Pokaż drzewo wyrażenia</TreeMenu>
<OutlineMenu>Outline</OutlineMenu>
<OnlineHelpMenu>Pomoc Online</OnlineHelpMenu>
<AboutMenu>O programie DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : pt-br.xml
Created on : 27th February 2008, 15:56
Author : Mauricio Chamati
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Erro lendo arquivo: Verifique se o arquivo é válido</ReadingFile>
<ReadingFile2>Erro lendo arquivo: </ReadingFile2>
<LoadingExp>Erro carregando expressão salva</LoadingExp>
<SavingExp>Erro salvando expressão</SavingExp>
<Cut>Seleção não pode ser recortada: </Cut>
<Copy>Seleção não pode ser copiada: </Copy>
<Tree>Árvore não pode ser mostrada: </Tree>
<Action>Ação não pode ser completada: </Action>
<AddMatrix>Matriz não pode ser adicionada neste local</AddMatrix>
<Operator>Operador faltando na posição </Operator>
<Argument>Argumento do operador faltando na posição </Argument>
<Image>Erro: Não é possível exportar para imagem. Verifique sua conexão com a internet e acesse http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Expressão não pode ser analisada</ParseExp>
<LoadExpression>DragMath - Escolha uma expressão em arquivo para ser carregada</LoadExpression>
<SaveExpression>DragMath - Escolha o local para salvar a expressão</SaveExpression>
<EnterRows>Informe o número de linhas da matriz</EnterRows>
<EnterColumns>Informe o número de colunas da matriz</EnterColumns>
<MatrixDim>Dimensões da Matriz</MatrixDim>
<NoCut>Nada selecionado para recortar</NoCut>
<NoPaste>Nada para colar</NoPaste>
<NoBox>Nenhuma caixa selecionada para colar dentro</NoBox>
<NoCopy>Nada selecionado para copiar</NoCopy>
<Copied>Copiado</Copied>
<ReadingData>Erro lendo dados externos</ReadingData>
<Clipboard>Expressão exportada para a área de transferência</Clipboard>
<NoExpression>Nenhuma expressão para converter</NoExpression>
<NoFormat>Nenhum formato de arquivo foi carregado ainda</NoFormat>
<ImageSize>Escolha o tamanho da imagem de 1-10 (Menor-Maior)</ImageSize>
<!-- Tooltips for math buttons -->
<Multiply>Multiplicação</Multiply>
<Divide>Divisão</Divide>
<Add>Adição</Add>
<Subtract>Subtração</Subtract>
<Comma>Vírgula</Comma>
<PlusMinus>Mais-Menos</PlusMinus>
<SquareRoot>Raiz Quadrada</SquareRoot>
<NthRoot>Raiz de N</NthRoot>
<Power>Sobrescrito</Power>
<Subscript>Subscrito</Subscript>
<Matrix>Matriz</Matrix>
<Integral>Integral</Integral>
<Differential>Diferencial</Differential>
<LessThan>Menor Que</LessThan>
<GreaterThan>Maior Que</GreaterThan>
<LTEQ>Menor Que ou Igual A</LTEQ>
<GTEQ>Maior Que ou Igual A</GTEQ>
<Equals>Igual</Equals>
<NotEqual>Diferente</NotEqual>
<Union>União</Union>
<Intersection>Intersecção</Intersection>
<Subset>Subconjunto</Subset>
<SubsetEq>Subconjunto ou Igual A</SubsetEq>
<NSubset>Não é Subconjunto</NSubset>
<NSubsetEq>Não é Subconjunto ou Igual A</NSubsetEq>
<Sine>Seno</Sine>
<Cosine>Cosseno</Cosine>
<Tangent>Tangente</Tangent>
<ArcSine>Arco-Seno</ArcSine>
<ArcCosine>Arco-Cosseno</ArcCosine>
<ArcTangent>Arco-Tangente</ArcTangent>
<SineH>Seno Hiperbólico</SineH>
<CosineH>Cosseno Hiperbólico</CosineH>
<TanH>Tangente Hiperbólica</TanH>
<ArcSineH>Arco-Seno Hiperbólico</ArcSineH>
<ArcCosineH>Arco-Cosseno Hiperbólico</ArcCosineH>
<ArcTanH>Arco-Tangente Hiperbólico</ArcTanH>
<Logarithm>Logaritmo</Logarithm>
<NaturalLogarithm>Logaritmo Neperiano</NaturalLogarithm>
<Exp>Função Exponencial</Exp>
<UMinus>Menos</UMinus>
<BracketsRnd>Parênteses</BracketsRnd>
<BracketsCurl>Chaves</BracketsCurl>
<BracketsSq>Colchetes</BracketsSq>
<Abs>Valor Absoluto</Abs>
<Infinity>Infinito</Infinity>
<GreekLetter>Letra Grega</GreekLetter>
<Factorial>Fatorial</Factorial>
<Max>Máximo de um conjunto</Max>
<Min>Mínimo de um conjunto</Min>
<Assignment>Atribuição</Assignment>
<Function>Função desconhecida</Function>
<Determinant>Determinante</Determinant>
<Trace>Traço</Trace>
<DefiniteIntegral>Integral Definida</DefiniteIntegral>
<Product>Produto</Product>
<Sum>Soma</Sum>
<Limit>Limite</Limit>
<Evaluate>Determina uma expressão num ponto</Evaluate>
<LeftArrow>Seta para esquerda</LeftArrow>
<RightArrow>Seta para direita</RightArrow>
<UpArrow>Seta para cima</UpArrow>
<DownArrow>Seta para baixo</DownArrow>
<LeftDblArrow>Seta dupla para esquerda</LeftDblArrow>
<RightDblArrow>Seta dupla para direita</RightDblArrow>
<LeftRightArrow>Seta para Esquerda-Direita</LeftRightArrow>
<LeftRightDblArrow>Seta dupla para Esquerda-Direita</LeftRightDblArrow>
<NorthEastArrow>Seta para Nordeste</NorthEastArrow>
<SouthEastArrow>Seta para Sudeste</SouthEastArrow>
<NorthWestArrow>Seta para Noroeste</NorthWestArrow>
<SouthWestArrow>Seta para Sudoeste</SouthWestArrow>
<Multiply2>Multiplicação</Multiply2>
<Divide2>Divisão</Divide2>
<Equiv>Equivalência</Equiv>
<Exists>Existe</Exists>
<ForAll>Para Todos</ForAll>
<IsIn>Elemento De</IsIn>
<NotExists>Não Existe</NotExists>
<NotIn>Não É Um Elemento De</NotIn>
<SimEq>Assintoticamente Equivalente A</SimEq>
<Or>Ou</Or>
<And>E</And>
<Not>Não</Not>
<PartialDifferential>Diferencial Parcial</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Carregar expressão de um arquivo</OpenButton>
<SaveButton>Salvar expressão em arquivo</SaveButton>
<ExportButton>Exportar expressão para área de transferência</ExportButton>
<UndoButton>Desfazer</UndoButton>
<RedoButton>Refazer</RedoButton>
<CutButton>Recortar</CutButton>
<CopyButton>Copiar</CopyButton>
<PasteButton>Colar</PasteButton>
<ClearButton>Limpar toda a área de trabalho</ClearButton>
<SelectButton>Selecionar toda a área de trabalho</SelectButton>
<LoadFormatButton>Carregar um formato de exportação</LoadFormatButton>
<LoadLangButton>Carregar um arquivo de idioma</LoadLangButton>
<ShowTreeButton>Mostrar estrutura em árvore da expressão</ShowTreeButton>
<OutlineButton>Mostrar contorno dos objetos da área de trabalho</OutlineButton>
<OnlineHelpButton>Carregar documentos de ajuda no navegador</OnlineHelpButton>
<AboutButton>Sobre DragMath</AboutButton>
<!-- Menu -->
<FileMenu>Arquivo</FileMenu>
<OpenMenu>Abrir...</OpenMenu>
<SaveAsMenu>Salvar Como...</SaveAsMenu>
<ExportMenu>Exportar para área de transferência</ExportMenu>
<ImageMenu>Exportar para imagem</ImageMenu>
<EditMenu>Editar</EditMenu>
<UndoMenu>Desfazer</UndoMenu>
<RedoMenu>Refazer</RedoMenu>
<CutMenu>Recortar</CutMenu>
<CopyMenu>Copiar</CopyMenu>
<PasteMenu>Colar</PasteMenu>
<ClearMenu>Limpar a área de trabalho</ClearMenu>
<SelectMenu>Selecionar Tudo</SelectMenu>
<OptionsMenu>Opções</OptionsMenu>
<SetExportMenu>Escolher formato de exportação</SetExportMenu>
<SetLanguageMenu>Escolher idioma</SetLanguageMenu>
<HelpMenu>Ajuda</HelpMenu>
<DebugMenu>Debugar</DebugMenu>
<TreeMenu>Mostrar árvore de expressão</TreeMenu>
<OutlineMenu>Mostrar contorno</OutlineMenu>
<OnlineHelpMenu>Ajuda Online</OnlineHelpMenu>
<AboutMenu>Sobre DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="Windows-1251"?>
<!--
Document : ru.xml
Created on : 19 December 2007, 15:43
Author : Sedletskiy Nikolay
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Ошибка формата файла: Проверьте правильность указанного файла</ReadingFile>
<ReadingFile2>Ошибка загрузки формата файла: </ReadingFile2>
<LoadingExp>Ошибка загрузки сохраненного выражения</LoadingExp>
<SavingExp>Ошибка сохранения выражения</SavingExp>
<Cut>Невозможно вырезать выбранное: </Cut>
<Copy>Невозможно копировать выбранное: </Copy>
<Tree>Невозможно отобразить дерево: </Tree>
<Action>Действие не может быть выполненно: </Action>
<AddMatrix>Невозможно дабавить Матрицу в указанное место</AddMatrix>
<Operator>Отсутвтвует Оператор на позиции </Operator>
<Argument>Отсутствует аргумент оператора на позиции </Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Невозможен разбор выражения</ParseExp>
<LoadExpression>DragMath - Выберите файл выражения для загрузки</LoadExpression>
<SaveExpression>DragMath - Выберите местоположение для сохранения выражения</SaveExpression>
<EnterRows>Введите количество строк в матрице</EnterRows>
<EnterColumns>Введите количество столбцев в матрице</EnterColumns>
<MatrixDim>Размер Матрицы</MatrixDim>
<NoCut>Ничего не выбранно чтобы вырезать</NoCut>
<NoPaste>Нечего вставлять</NoPaste>
<NoBox>Не выбран блок для вставки</NoBox>
<NoCopy>Ничего не выбрано для копирования</NoCopy>
<Copied>Скопировано</Copied>
<ReadingData>Ошибка чтения выходных данных</ReadingData>
<Clipboard>Выражение экспортированно в буфер обмена</Clipboard>
<NoExpression>Нет выражения для конвертации</NoExpression>
<NoFormat>Не загружен файл формата </NoFormat>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for math buttons -->
<Multiply>Умнажение</Multiply>
<Divide>Деление</Divide>
<Add>Сложение</Add>
<Subtract>Вычитание</Subtract>
<Comma>Запятая</Comma>
<PlusMinus>Плюс-Минус</PlusMinus>
<SquareRoot>Квадратный Корень</SquareRoot>
<NthRoot>N-й Корень</NthRoot>
<Power>Верхний Индекс</Power>
<Subscript>Нижний Индекс</Subscript>
<Matrix>Матрица</Matrix>
<Integral>Интегрирование</Integral>
<Differential>Дифференцирование</Differential>
<LessThan>Меньше</LessThan>
<GreaterThan>Больше</GreaterThan>
<LTEQ>Меньше или Равно</LTEQ>
<GTEQ>Больши или Равно</GTEQ>
<Equals>Равенство</Equals>
<NotEqual>Неравенство</NotEqual>
<Union>Объединение</Union>
<Intersection>Пересечение</Intersection>
<Subset>Подмножество</Subset>
<SubsetEq>Подмножество или Равенство</SubsetEq>
<NSubset>Не Подмножество</NSubset>
<NSubsetEq>Не Подмножество или Равенство</NSubsetEq>
<Sine>Синус</Sine>
<Cosine>Косинус</Cosine>
<Tangent>Tangent</Tangent>
<ArcSine>Инверсный Синус</ArcSine>
<ArcCosine>Инверсный Косинус</ArcCosine>
<ArcTangent>Инверсный Тангенс</ArcTangent>
<SineH>Гиперболический Синус</SineH>
<CosineH>Гиперболический Косинус</CosineH>
<TanH>Гиперболический Тангенс</TanH>
<ArcSineH>Инверсный Гиперболический Синус</ArcSineH>
<ArcCosineH>Инверсный Гиперболический Косинус</ArcCosineH>
<ArcTanH>Инверсный Гиперболический Тангенс</ArcTanH>
<Logarithm>Логарифм</Logarithm>
<NaturalLogarithm>Натуральный Логарифм</NaturalLogarithm>
<Exp>Экспоненциальная Функция</Exp>
<UMinus>Минус</UMinus>
<BracketsRnd>Круглые Скобки</BracketsRnd>
<BracketsCurl>Фигурные Скобки</BracketsCurl>
<BracketsSq>Квадратные Скобки</BracketsSq>
<Abs>Модуль</Abs>
<Infinity>Бесконесность</Infinity>
<GreekLetter>Греческая Буква</GreekLetter>
<Factorial>Факториал</Factorial>
<Max>Максимум</Max>
<Min>Минимум</Min>
<Assignment>Присваивание</Assignment>
<Function>Неизвестная функция</Function>
<Determinant>Детерминант</Determinant>
<Trace>Трассировка</Trace>
<DefiniteIntegral>Определённый Интеграл</DefiniteIntegral>
<Product>Произведение</Product>
<Sum>Суммирование</Sum>
<Limit>Предел</Limit>
<Evaluate>Вычислить выражение в точке</Evaluate>
<LeftArrow>Left arrow</LeftArrow>
<RightArrow>Right arrow</RightArrow>
<UpArrow>Up arrow</UpArrow>
<DownArrow>Down arrow</DownArrow>
<LeftDblArrow>Left double arrow</LeftDblArrow>
<RightDblArrow>Right double arrow</RightDblArrow>
<LeftRightArrow>Left-Right arrow</LeftRightArrow>
<LeftRightDblArrow>Left-Right double arrow</LeftRightDblArrow>
<NorthEastArrow>North-East arrow</NorthEastArrow>
<SouthEastArrow>South-East arrow</SouthEastArrow>
<NorthWestArrow>North-West arrow</NorthWestArrow>
<SouthWestArrow>South-West arrow</SouthWestArrow>
<Multiply2>Multiplication</Multiply2>
<Divide2>Division</Divide2>
<Equiv>Equivalence</Equiv>
<Exists>There Exists</Exists>
<ForAll>For All</ForAll>
<IsIn>Element Of</IsIn>
<NotExists>There Does Not Exist</NotExists>
<NotIn>Not An Element Of</NotIn>
<SimEq>Asymptotically Equivalent To</SimEq>
<Or>Or</Or>
<And>And</And>
<Not>Not</Not>
<PartialDifferential>Partial Differential</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Загрузить выражение из файла</OpenButton>
<SaveButton>Сохранить выражение в файл</SaveButton>
<ExportButton>Экспортировать выражение в буфер обмена</ExportButton>
<UndoButton>Отменить</UndoButton>
<RedoButton>Повторить</RedoButton>
<CutButton>Вырезать</CutButton>
<CopyButton>Копировать</CopyButton>
<PasteButton>Вставить</PasteButton>
<ClearButton>Очистить рабочее пространство</ClearButton>
<SelectButton>Выбрать рабочее пространство</SelectButton>
<LoadFormatButton>Загрузить экспорт файла формата</LoadFormatButton>
<LoadLangButton>Загрузить языковой фал</LoadLangButton>
<ShowTreeButton>Показать древовидную структуру выражения</ShowTreeButton>
<OutlineButton>Показать очертание объектов на рабочем пространстве</OutlineButton>
<OnlineHelpButton>Загрузить документ помощи в веб-браузере</OnlineHelpButton>
<AboutButton>О DragMath</AboutButton>
<!-- Menu -->
<FileMenu>Файл</FileMenu>
<OpenMenu>Открыть...</OpenMenu>
<SaveAsMenu>Сохранить как...</SaveAsMenu>
<ExportMenu>Экспортировать в буфер обмена</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Правка</EditMenu>
<UndoMenu>Отменить</UndoMenu>
<RedoMenu>Повторить</RedoMenu>
<CutMenu>Вырезать</CutMenu>
<CopyMenu>Копировать</CopyMenu>
<PasteMenu>Вырезать</PasteMenu>
<ClearMenu>Очистить Рабочее Пространство</ClearMenu>
<SelectMenu>Выбрать Всё</SelectMenu>
<OptionsMenu>Настройки</OptionsMenu>
<SetExportMenu>Установить формат экспорта</SetExportMenu>
<SetLanguageMenu>Установить язык</SetLanguageMenu>
<HelpMenu>Помощь</HelpMenu>
<DebugMenu>Отладка</DebugMenu>
<TreeMenu>Показать дерево выражения</TreeMenu>
<OutlineMenu>Показать очертания</OutlineMenu>
<OnlineHelpMenu>Онлайн Помощь</OnlineHelpMenu>
<AboutMenu>О DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,178 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : en.xml
Created on : 30 July 2007, 15:43
Author : Alex Billingsley
Description:
Purpose of the document follows.
-->
<Language>
<!-- Error Messages -->
<ReadingFile>Fel vid format filläsning: Kolla att filen är giltig</ReadingFile>
<ReadingFile2>Error loading format file: </ReadingFile2>
<LoadingExp>Fel vid laddning av sparad uttryck</LoadingExp>
<SavingExp>Fel vid sparande av uttryck</SavingExp>
<Cut>Kan inte klippa ut markeringen: </Cut>
<Copy>Kan inte kopiera markeringen: </Copy>
<Tree>Kan inte visa trädet: </Tree>
<Action>Åtgärden kunde inte fullgöras: </Action>
<AddMatrix>Kan inte lägga till en Matris här</AddMatrix>
<Operator>Operator saknas vid läge </Operator>
<Argument>Operatorns variabel (Argument) saknas vid läge </Argument>
<Image>Error: Cannot export to image. Check internet connection and access to http://www.mathtran.org</Image>
<!-- Status Bar Messages -->
<ParseExp>Uttrycket kan inte tolkas</ParseExp>
<ChooseFile>DragMath - Välj en format fil att ladda</ChooseFile>
<LoadExpression>DragMath - Välj en uttrycksfil att ladda</LoadExpression>
<SaveExpression>DragMath - Välj var du vill spara uttrycket</SaveExpression>
<EnterRows>Ange antalet rader i matrisen</EnterRows>
<EnterColumns>Ange antalet kolumner i matrisen</EnterColumns>
<MatrixDim>Matris mått</MatrixDim>
<NoCut>Inget vald att klippa ut</NoCut>
<NoPaste>Ingeting att klistra in</NoPaste>
<NoBox>Ingen box vald att klistra in i</NoBox>
<NoCopy>Inget vald att kopiera</NoCopy>
<Copied>Kopierad</Copied>
<ReadingData>Fel vid läsning av output data</ReadingData>
<Clipboard> uttryck kopierad till minnet</Clipboard>
<NoExpression>Inget uttryck att omvandla</NoExpression>
<NoCustom>Ingen format fil har laddats än</NoCustom>
<ImageSize>Choose the image size 1-10 (Smallest-Largest)</ImageSize>
<!-- Tooltips for buttons -->
<Multiply>Multiplikation</Multiply>
<Divide>Division</Divide>
<Add>Addition</Add>
<Subtract>Subtraktion</Subtract>
<Comma>Komma</Comma>
<PlusMinus>Plus-Minus</PlusMinus>
<SquareRoot>Kvadratrot</SquareRoot>
<NthRoot>N-te rot</NthRoot>
<Power>exponent</Power>
<Subscript>index</Subscript>
<Matrix>Matris</Matrix>
<Integral>Integration</Integral>
<Differential>Differentiering</Differential>
<LessThan>mindre än</LessThan>
<GreaterThan>större än</GreaterThan>
<LTEQ>mindre än eller lika med</LTEQ>
<GTEQ>större än eller lika med</GTEQ>
<Equals>lika med</Equals>
<NotEqual>Ingen lika med</NotEqual>
<Union>Union</Union>
<Intersection>Intersektion</Intersection>
<Subset>Subset (undergrupp)</Subset>
<SubsetEq>Subset (undergrupp) eller lika med</SubsetEq>
<NSubset>Ingen Subset (undergrupp)</NSubset>
<NSubsetEq>Ingen Subset (undergrupp) eller lika med</NSubsetEq>
<Sine>Sinus</Sine>
<Cosine>Cosinus</Cosine>
<Tangent>Tangens</Tangent>
<ArcSine>Invers Sinus</ArcSine>
<ArcCosine>Invers Cosinus</ArcCosine>
<ArcTangent>Invers Tangens</ArcTangent>
<SineH>Hyperbolisk Sinus</SineH>
<CosineH>Hyperbolisk Cosinus</CosineH>
<TanH>Hyperbolisk Tangens</TanH>
<ArcSineH>Invers Hyperbolisk Sinus</ArcSineH>
<ArcCosineH>Invers Hyperbolisk Cosinus</ArcCosineH>
<ArcTanH>Invers Hyperbolisk Tangens</ArcTanH>
<Logarithm>Logaritm</Logarithm>
<NaturalLogarithm>Naturlig Logaritm</NaturalLogarithm>
<Exp>Exponentiell Funktion</Exp>
<UMinus>Minus</UMinus>
<BracketsRnd>rundparentes</BracketsRnd>
<BracketsCurl>klammerparentes</BracketsCurl>
<BracketsSq>hakparentes</BracketsSq>
<Abs>Absolut Värde</Abs>
<Infinity>oändlighet</Infinity>
<GreekLetter>Grekisk bokstav</GreekLetter>
<Factorial>Faktorial</Factorial>
<Max>Maximum av en mängd</Max>
<Min>Minimum av en mängd</Min>
<Assignment>Assignment</Assignment>
<Function>okänd funktion</Function>
<Determinant>Determinant</Determinant>
<Trace>Trace</Trace>
<DefiniteIntegral>Bestämd Integral</DefiniteIntegral>
<Product>Produkt</Product>
<Sum>Summa</Sum>
<Limit>Gränvärdet</Limit>
<Evaluate>utvärdera ett uttryck vid en punkt</Evaluate>
<LeftArrow>Left arrow</LeftArrow>
<RightArrow>Right arrow</RightArrow>
<UpArrow>Up arrow</UpArrow>
<DownArrow>Down arrow</DownArrow>
<LeftDblArrow>Left double arrow</LeftDblArrow>
<RightDblArrow>Right double arrow</RightDblArrow>
<LeftRightArrow>Left-Right arrow</LeftRightArrow>
<LeftRightDblArrow>Left-Right double arrow</LeftRightDblArrow>
<NorthEastArrow>North-East arrow</NorthEastArrow>
<SouthEastArrow>South-East arrow</SouthEastArrow>
<NorthWestArrow>North-West arrow</NorthWestArrow>
<SouthWestArrow>South-West arrow</SouthWestArrow>
<Multiply2>Multiplication</Multiply2>
<Divide2>Division</Divide2>
<Equiv>Equivalence</Equiv>
<Exists>There Exists</Exists>
<ForAll>For All</ForAll>
<IsIn>Element Of</IsIn>
<NotExists>There Does Not Exist</NotExists>
<NotIn>Not An Element Of</NotIn>
<SimEq>Asymptotically Equivalent To</SimEq>
<Or>Or</Or>
<And>And</And>
<Not>Not</Not>
<PartialDifferential>Partial Differential</PartialDifferential>
<!-- Tooltips for command buttons -->
<OpenButton>Ladda uttryck från en fil</OpenButton>
<SaveButton>Spara uttryck till fil</SaveButton>
<ExportButton>Export expression to clipboard</ExportButton>
<UndoButton>Ångra</UndoButton>
<RedoButton>Redo</RedoButton>
<CutButton>Klipp ut</CutButton>
<CopyButton>Kopiera</CopyButton>
<PasteButton>klistra in</PasteButton>
<ClearButton>Clear the entire workspace</ClearButton>
<SelectButton>Select the entire workspace</SelectButton>
<LoadFormatButton>Load an export format file</LoadFormatButton>
<LoadLangButton>Load a language file</LoadLangButton>
<ShowTreeButton>Visa träd för Uttrycket</ShowTreeButton>
<OutlineButton>Display outline of objects on workspace</OutlineButton>
<OnlineHelpButton>Loads help documents in web browser</OnlineHelpButton>
<AboutButton>Om DragMath</AboutButton>
<!-- Menu -->
<FileMenu>File</FileMenu>
<OpenMenu>Open...</OpenMenu>
<SaveAsMenu>Save As...</SaveAsMenu>
<ExportMenu>Export to clipboard</ExportMenu>
<ImageMenu>Export to image</ImageMenu>
<EditMenu>Edit</EditMenu>
<UndoMenu>Ångra</UndoMenu>
<RedoMenu>Redo</RedoMenu>
<CutMenu>Klipp ut</CutMenu>
<CopyMenu>Kopiera</CopyMenu>
<PasteMenu>klistra in</PasteMenu>
<ClearMenu>Clear Workspace</ClearMenu>
<SelectMenu>Select All</SelectMenu>
<OptionsMenu>Options</OptionsMenu>
<SetExportMenu>Set export format</SetExportMenu>
<SetLanguageMenu>Set language</SetLanguageMenu>
<HelpMenu>Help</HelpMenu>
<DebugMenu>Debug</DebugMenu>
<TreeMenu>Visa träd för uttryck</TreeMenu>
<OutlineMenu>Visa innehållsblock</OutlineMenu>
<OnlineHelpMenu>Online Help</OnlineHelpMenu>
<AboutMenu>Om DragMath</AboutMenu>
</Language>

View file

@ -0,0 +1,56 @@
<html>
<head>
<title>DragMath - Demonstration</title>
</head>
<body>
<font size="3"; style="font-family: Arial;">
<p></p>
<h1 style="text-align: center;"><span style="color: rgb(0, 0, 128);">DragMath</span></h1>
<hr />
<span style="color: rgb(0, 0, 128);">
<center>
<h4>
<a href="index.html">Home</a>&nbsp;&nbsp;&nbsp;
<a href="demo.html">Demonstration</a>&nbsp;&nbsp;&nbsp;
<a href="index.html#Download">Download</a>&nbsp;&nbsp;&nbsp;
<a href="doc/index.html">Documentation</a>&nbsp;&nbsp;&nbsp;
<a href="integrations.html">Integrations</a>&nbsp;&nbsp;&nbsp;
<a href="support.html">Support DragMath</a>&nbsp;&nbsp;&nbsp;
<a href="index.html#Contact">Contact</a>
</h4>
</center>
</span>
<hr />
<h2><span style="color: rgb(0, 0, 128);"><a name="Demonstration">Demonstration</a></span></h2>
<p>
<applet width="540" height="333" archive="Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,jep.jar" code="Display.MainApplet.class" codebase="applet/classes" name="DragMath">
<param value="en" name="language" />To use this page you need a Java-enabled browser. Download the latest Java plug-in from <a href="http://www.java.com/">Java.com</a>
</applet></p>
<br>
</h2>
<p><a href="applet/Maxima.html"><b>Maxima Demo</b></a><br />
This example shows setting the default output format to 'Maxima', and how JavaScript can be used to provide further interaction between a web-page and DragMath.<br />
<br />
<a href="applet/Latex.html"><b>LaTeX Demo</b></a><br />
This example sets the default output format to 'LaTeX', and passes the LaTeX syntax to an external applet which renders it dynamically.<br />
<br />
<a href="applet/MathML.html"><b>MathML Demo</b></a><br />
This example dynamically inserts the generated MathML syntax in the web-page, so the created expression is displayed with MathML.It requires a MathML enabled Gecko browser, or Internet Explorer and a MathML plugin.<br />
&nbsp;</p>
<hr />
<center>
<p>&copy; 2008 Alex Billingsley, Chris Sangwin
</center>
</p>
</font>
</body>
</html>

View file

@ -0,0 +1,17 @@
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\about.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc about.html
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\acknowledgments.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc acknowledgments.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\browser.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc browser.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\complex.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc complex.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\cvs.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc cvs.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\editing.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc editing.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\index.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc index.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\integrations.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc integrations.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\language.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc language.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\navframe.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc navframe.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\newformat.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc newformat.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\newobject.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc newobject.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\options.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc options.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\parameters.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc parameters.html
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\simple.html --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc simple.html
2008.01.23 10:48 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc WS_FTP.LOG
2008.01.23 10:59 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc WS_FTP.LOG

View file

@ -0,0 +1,20 @@
<html>
<head>
<title>DragMath Documentation - About DragMath</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<p><h2><span style=" color: #000099;"><strong>About DragMath</strong></span></h2></p>
<p>
DragMath is a simple "drag and drop" equation editor for mathematics. Accepting certain traditional mathematical conventions, the user can build a mathematical expression. This expression can be exported in a number of different formats. DragMath is a simple Java applet, and could be incorporated into web-based applications or other Java applications.
</p>
<p>
DragMath started as a final-year University project at the <a href ="http://www.bham.ac.uk/">University of Birmingham<a/> by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> under the supervision of <a href ="http://web.mat.bham.ac.uk/C.J.Sangwin/">Chris Sangwin</a>. It's main application is therefore directed toward an educational one.
</p>
</font>
</body>
</html>

View file

@ -0,0 +1,32 @@
<html>
<head>
<title>DragMath Documentation - License</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style="color: #000099;"><strong>DragMath copyright information</strong></span></h2>
<p>DragMath is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)
</p><p>
All source code in this package is written by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> except the libraries used. The copyright information for the libaries is included below:</p>
<br>
<p>
<h4>JDOM<br> <a href="http://www.jdom.org">http://www.jdom.org</a></h4>
JDOM is available under an Apache-style open source license, with the acknowledgment clause removed. This license is among the least restrictive license available, enabling developers to use JDOM in creating new products without requiring them to release their own products as open source. This is the license model used by the Apache Project, which created the Apache server. The license is available at the top of every source file and in LICENSE.txt in the root of the distribution.
</p>
<br>
<p>
<h4>JEP<br><a href="https://sourceforge.net/projects/jep/">https://sourceforge.net/projects/jep/</a></h4>
JEP is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)</p>
<p>
<br>
<h4>glyFX Common Toolbar Set Icons<br> <a href="http://www.glyfx.com">http://www.glyfx.com</a></h4>
Icons used in software, license found at; <a href="http://www.glyfx.com/license-toolbar.html">http://www.glyfx.com/license-toolbar.html</a></p>
</font>
</body>
</html>

View file

@ -0,0 +1,85 @@
<html>
<head>
<title>DragMath Documentation - Running applet in web browser</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Running applet in web browser</strong></span></h2>
<p>
Details are given on the file structure of the required files, and &lt;APPLET&gt; tag to enable the applet to run in a web browser.
</p><p>
The applet currently requires Java Runtime Environment (JRE) 1.4 or higher to run, which can be obtained from <A href="http://www.java.com">www.java.com</A>
</p><p>
The recommended file structure is:
</p>
<dl>
<dd>applet.html</dd>
<br>
<dd>\dragmath</dd>
<br>
<dl>
<dd>\Display</dd>
<dl>
<dd>MainApplet.class</dd>
</dl>
<br>
<dd>\lang</dd>
<dl>
<dd>en.xml</dd>
</dl>
<br>
<dd>\formats</dd>
<dl>
<dd>Maple.xml</dd>
<dd>Latex.xml</dd>
<dd>MathML.xml</dd>
<dd>Maxima.xml</dd>
</dl>
<br>
<dd>AbsoluteLayout.jar</dd>
<dd>swing-layouts-1.0.jar</dd>
<dd>jdom.jar</dd>
<dd>jep.jar</dd>
<dd>Project.jar</dd>
</dl>
</dl>
<br>
Using this structure the following &lt;APPLET&gt; tag should be used:
</p>
<p>
<STRONG>
<FONT color=#800080>&lt;applet</FONT>
name=</STRONG>
<FONT color=#0000ff>"dragmath"</FONT>
<STRONG>codebase=</STRONG><FONT
color=#0000ff>"classes"</FONT>
<STRONG>code=</STRONG>
<FONT color=#0000ff>"Display.MainApplet.class"</FONT>
<STRONG>archive=</STRONG>
<FONT color=#0000ff>"Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,,jdom.jar,,jep.jar"</FONT>
<STRONG> width=</STRONG>
<FONT color=#0000ff>540</FONT>
<STRONG> height=</STRONG>
<FONT color=#0000ff>300</FONT>
<STRONG>&gt;<BR>
<FONT color=#800080>&lt;param</FONT>
name=</STRONG>
<FONT color=#0000ff>language </FONT>
<STRONG>value=</STRONG>
<FONT color=#0000ff>"en"</FONT>
<STRONG> &gt;<BR>
<FONT color=#800080>&lt;/applet &gt;</FONT>
</STRONG>
</p>
All of the .jar files in the \dragmath directory require digitally signing. A tutorial on how to do this can be viewed at,<br>
<A href="http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html#example">http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html#example</A>
</font>
</body>
</html>

View file

@ -0,0 +1,209 @@
<html>
<head>
<title>DragMath Documentation - Creating complex expressions</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Creating complex expressions</strong></span></h2>
<p>
To apply an object to multiple objects, you will need to select the multiple objects and then click on the object to apply in the toolbar. Selection is performed as it is in any program, by using the mouse to highlight the desired area.
</p>
<p>
Operators and functions can be entered into text boxes using the keyboard with the following syntax:
</p>
<br>
<table border="1">
<tr>
<th>Name</th>
<th>Syntax</th>
</tr>
<tr>
<td>Addition</td>
<td>+</td>
</tr>
<tr>
<td>Multiplication</td>
<td>*</td>
</tr>
<tr>
<td>Division</td>
<td>/</td>
</tr>
<tr>
<td>Greater than</td>
<td>></td>
</tr>
<tr>
<td>Less than</td>
<td>&lt;</td>
</tr>
<tr>
<td>Equal</td>
<td>=<br>==</td>
</tr>
<tr>
<td>Less than or Equal</td>
<td>&lt;=</td>
</tr>
<tr>
<td>Greater than or Equal</td>
<td>>=</td>
</tr>
<tr>
<td>Power</td>
<td>^</td>
</tr>
<tr>
<td>Sine</td>
<td>sin(x)</td>
</tr>
<tr>
<td>Cosine</td>
<td>cos(x)</td>
</tr>
<tr>
<td>Tangent</td>
<td>tan(x)</td>
</tr>
<tr>
<td>Arc Sine</td>
<td>asin(x)</td>
</tr>
<tr>
<td>Arc Cosine</td>
<td>acos(x)</td>
</tr>
<tr>
<td>Arc Tangent</td>
<td>atan(x)</td>
</tr>
<tr>
<td>Hyperbolic Sine</td>
<td>sinh(x)</td>
</tr>
<tr>
<td>Hyperbolic Cosine</td>
<td>cosh(x)</td>
</tr>
<tr>
<td>Hyperbolic Tangent</td>
<td>tanh(x)</td>
</tr>
<td>Inverse Hyperbolic Sine</td>
<td>asinh(x)</td>
</tr>
<tr>
<td>Inverse Hyperbolic Cosine</td>
<td>acosh(x)</td>
</tr>
<tr>
<td>Inverse Hyperbolic Tangent</td>
<td>atanh(x)</td>
</tr>
<tr>
<td>Natural Logarithm</td>
<td>ln(x)</td>
</tr>
<tr>
<td>Logarithm</td>
<td>log(x)</td>
</tr>
<tr>
<td>Exponential</td>
<td>exp(x)</td>
</tr>
<tr>
<td>Absolute Value</td>
<td>abs(x)</td>
</tr>
<tr>
<td>Square Root</td>
<td>sqrt(x)</td>
</tr>
<tr>
<td>Union</td>
<td>union(a,b)</td>
</tr>
<tr>
<td>Intersection</td>
<td>intersection(a,b)</td>
</tr>
<tr>
<td>Determinant</td>
<td>det(a)</td>
</tr>
<tr>
<td>Trace</td>
<td>trace(a)</td>
</tr>
<tr>
<td>Subset</td>
<td>subset(a,b)</td>
</tr>
<tr>
<td>Integral</td>
<td>integrate(f,x)<br>
int(f,x)</td>
</tr>
<tr>
<td>Definite Integral</td>
<td>integrate(f,x,a,b)<br>
int(f,x,a,b)
</td>
</tr>
<tr>
<td>Differential</td>
<td>diff(f,x)</td>
</tr>
<td>Sum</td>
<td>sum(n^2,n,1,10)</td>
</tr>
<td>Product</td>
<td>product(n^2,n,1,10)</td>
</tr>
</table>
<p>
Once the box that you have been typing in has been left then the text is turned into templates automatically for you.
</p>
<br>
<font size=3>
<b>How to use layout templates</b>
</font>
<p>
There are special templates called layout templates, beause they each take a unique layout. These are:<br>
Fraction<br>
Square Root<br>
N-th Root<br>
Subscript<br>
Superscript<br>
Matrix<br>
Integral<br>
Differential<br>
Product<br>
Sum<br>
Limit<br>
Evaluate at a point<br>
Grouping (round brackets, curly brackets, square brackets, modulus)<br>
</p>
<p>
These layout templates can be used in exactly the same way as the other math templates.
</p>
<br>
<font size=3>
<b>How to add symbols</b>
</font>
<p>
Symbols such as greek letters are added by clicking in the box you wish to insert the symbol, and then clicking on the symbol in the toolbar.
</p>
</font>
</body>
</html>

View file

@ -0,0 +1,73 @@
<html>
<head>
<title>DragMath Documentation - Setting up DragMath CVS in NetBeans</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Setting up DragMath CVS in NetBeans</strong></span></h2>
<p>
Below are the instructions on how to get active as a developer of DragMath and set up NetBeans with the DragMath code versioning system (CVS).</p>
<p>
1. Install NetBeans<br>
2. Get source code from DragMath CVS repository<br>
3. Update and Commiting your local source code copy
</p>
<br>
<font size=3><b>
1. Install NetBeans
</b></font>
<br>
<p>
NetBeans is the integrated development environment (IDE) used for DragMath.
It is open source and can be downloaded from http://www.netbeans.org.
</p>
<br>
<font size=3><b>
2. Get source code from DragMath CVS repository
</b></font>
<p>
Start NetBeans and do the following to get the DragMath source code:<br>
<p>
1. File -> New Project
</p><p>
2. Choose the 'General' category, and then 'Java Application' under Projects, then click Next.
</p><p>
3. Set the Project Name as "ddma". Click Browse to choose the location where you would like the code stored. Then click Next.
</p><p>
4. CVS -> Checkout. The click Edit.
</p><p>
5. Fill in the location information identifying the DragMath CVS repository and click OK.<br>
<b>Access Method:</b> pserver for anonymous, ext for developer accounts<br>
<b>User:</b> "anonymous" or your DragMath developer account at SourceForge<br>
<b>Host:</b> dragmath.cvs.sourceforge.net<br>
<b>Repository Path:</b> /cvsroot/dragmath
</p><p>
6. Enter your password, none for anonymous login, then click Next
</p><p>
7. Set the Module as "ddma", and the Local Folder to the same location the Project was created. Then click Finish.
</p><p>
8. Once the source code has been downloaded, click Close to the popup message about opening the project.
</p><p>
9. The different packages containing the source code can now be seen in the projects window. The package 'ddma' containing the Main.java class can be deleted, as it was created for the new Project and is not part of the DragMath source code.
</p><p>
10. The libraries used by DragMath must now be added to the Project. Right click on Libraries in the Project window, and go to 'Add JAR/Folder...'. Navigate to the ddma -> lib folder and add all the .jar files from this folder.
</p><p>
11. The code is now ready to work on.
</p>
<br>
<font size=3><b>
3. Update and Commiting your local source code copy
</b></font>
<p>
The code can be updated and commited using the Update and Commit options under the CVS menu in NetBeans.
</p>
</font>
</body>
</html>

View file

@ -0,0 +1,47 @@
<html>
<head>
<title>DragMath Documentation - Editing an expression</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Editing an expression</strong></span></h2>
<p>
Basic editing options are supplied to edit the expression:
</p>
<ul>
<li><p>
Select - Selection is performed similar to any program, by dragging the mouse to highlight the desired area. Objects can also be selected by double clicking on them. You can select all the objects on the workspace by using Select All on the menu, or Ctrl+A on the keyboard.
</p>
<li><p>
Cut Select the desired area to cut, then either click the Cut button or use Ctrl+X on the keyboard.
</p>
<li><p>
Copy Select the desired area to copy, then either click the Copy button or use Ctrl+C on the keyboard.
</p>
<li><p>
Paste Once a selection has been copied, it can be pasted into any box, by clicking on the box to select it, and then either clicking the Paste button or using Ctrl+V on the keyboard.
</p>
<li><p>
Delete Delete is performed by selecting the area to delete and pressing delete on the keyboard.
</p>
<li><p>
Undo You can perform an undo by clicking the Undo button
</p>
<li><p>
Redo You can perform a redo by clicking the Redo button
</p>
<li><p>
Open Saved expressions can be opened from a file using the Open button
</p>
<li><p>
Save Expressions can be saved to a file using the Save button
</p>
</ul>
</font>
</body>
</html>

View file

@ -0,0 +1,6 @@
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\img\plus.jpg --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc/img plus.jpg
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\img\sin on box.jpg --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc/img sin on box.jpg
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\img\sin on plus.jpg --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc/img sin on plus.jpg
2008.01.23 10:10 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\img\sin.jpg --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc/img sin.jpg
2008.01.23 10:48 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\img\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc/img WS_FTP.LOG
2008.01.23 10:59 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\doc\img\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/doc/img WS_FTP.LOG

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,16 @@
<html>
<head>
<title>DragMath Documentation</title>
</head>
<frameset cols="330,*">
<frame src="navframe.html">
<frame src="simple.html"
name="showframe">
</frameset>
</html>

View file

@ -0,0 +1,41 @@
<html>
<head>
<title>DragMath Documentation - Integrations</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Integrations</strong></span></h2>
<p>
DragMath has been successfully integrated with a number of different systems. The main method used for extracting the expression in the desired format is by using the getMathExpression() method called from JavaScript within a web page. This method returns the expression in the format specified.
</p>
<br>
<font size=3>
<b><a href ="http://www.moodle.org/">Moodle</a></b>
</font>
<p>
Moodle is a free, open source course management system (CMS). Also know as a Learning Managment System (LMS) or Virtual Learning Environment (VLE). For further details please see the specific Moodle <a href ="http://docs.moodle.org/en/DragMath_equation_editor">installation instructions</a>.
</p>
<br>
<font size=3>
<b><a href ="http://stack.bham.ac.uk/">STACK</a></b>
</font>
<p>
STACK is a computer aided assessment (CAA) package for mathematics. It was mainly developed by <a href ="http://web.mat.bham.ac.uk/C.J.Sangwin/">Chris Sangwin</a> (a developer of DragMath).
</p>
<br>
<font size=3>
<b><a href ="http://www.yourmathstutor.info/">YourMathsTutor Website</a></b>
</font>
<p>
YourMathsTutor is a website created primarily to help students studying the for the UK's Key Stage 3, GCSE, AS and A Level mathematics and physics exams. DragMath has been integrated into the forum on this website. The forum is a <a href ="http://www.simplemachines.org/">Simple Machines Forum</a> (SMF), which is a powerful open source forum. More information on how it was <a href ="http://yourmathstutor.blogspot.com/2007/08/dragmath.html">integrated</a> and how it is <a href ="http://www.yourmathstutor.info/forum/index.php?topic=4.0">used</a> in the forum.
</p>
</font>
</body>
</html>

View file

@ -0,0 +1,31 @@
<html>
<head>
<title>DragMath Documentation - Adding a language</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Adding a language</strong></span></h2>
<p>
The software is supplied with an English language file, en.xml. This can be used as a template for creating other language files. To change the language data simply change the text within the tags in XML file.
</p>
<p>
For example consider the error message when a file cannot be read,
</p><p>
<strong>
<font color=#800080>&lt;ReadingFile&gt;</font>
Error reading format file: Check file is valid
<font color=#800080>&lt;/ReadingFile&gt;</font>
</strong>
</p><p>
To change the language of this message, simply change the message between the tags (the bold text). The tags should not be changed, otherwise the language file will not work.
</p><p>
Once a new language file has been created it should be placed in the \lang folder where the English file was found, and then an entry corresponding to that file entered in the Config.xml file. To change which language file the software uses see the <A href="options.html">Options</A> section or the <A href="parameters.html">Changing applet parameters</A> section.
</p>
</font>
</body>
</html>

View file

@ -0,0 +1,34 @@
<html>
<body>
<br>
<DIV><FONT face=Arial color=#000080
size=5><STRONG>DragMath</STRONG></FONT></DIV>
<br>
<FONT face=Arial>
<dl>
<dt><b>Basic Usage</b><br></dt>
<dd><a href ="simple.html" target ="showframe">Creating simple expressions</a><br></dd>
<dd><a href ="complex.html" target ="showframe">Creating complex expressions</a><br></dd>
<dd><a href ="editing.html" target ="showframe">Editing an expression</a><br></dd>
<dd><a href ="options.html" target ="showframe">Options</a><br></dd>
<br>
<dt><b>Advanced Usage</b><br></dt>
<dd><a href ="language.html" target ="showframe">Adding a language</a><br></dd>
<dd><a href ="newformat.html" target ="showframe">Adding an output format</a><br></dd>
<dd><a href ="parameters.html" target ="showframe">Changing applet parameters</a></dd>
<dd><a href ="integrations.html" target ="showframe">Integrations</a><br></dd>
<br>
<dt><b>Developer Usage</b><br></dt>
<dd><a href ="cvs.html" target ="showframe">Setting up DragMath CVS in NetBeans</a><br></dd>
<dd><a href ="browser.html" target ="showframe">Running applet in web browser</a><br></dd>
<dd><a href ="newobject.html" target ="showframe">Adding a function/operator</a><br></dd>
<br>
<dt><b>About</b><br></dt>
<dd><a href ="acknowledgments.html" target ="showframe">License</a><br></dd>
<dd><a href ="about.html" target ="showframe">About DragMath</a><br></dd>
</dl>
<br><br/>
<b><center><a href ="http://www.dragmath.bham.ac.uk" target ="_top">www.dragmath.bham.ac.uk</a></center></b>
</FONT>
</body>
</html>

View file

@ -0,0 +1,227 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>DragMath Documentation - Adding an output format</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000080 size=5><STRONG>Adding an output format</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2>
<p>
The formats supplied
are Maple,&nbsp;Latex, MathML and Maxima, with the corresponding files found in
the \formats folder. These files can be edited to reflect the syntax you prefer. These
files can also be used as templates for creating files for different formats.
There are a number of rules and options that you need to be aware of to
successfully create an XML file for a new format.</p>Each math object has
its own element in the XML document, with a familiar name describing it, for
example “Add”. Within this element there are a number of sub-elements depending
upon how many arguments the object has.</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><BR>N-ary operators
have a single output element e.g. for addition this
is&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; <STRONG><FONT
color=#800080>&lt;Add&gt;</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<FONT color=#800080>&lt;output&gt;</FONT>+<FONT
color=#800080>&lt;/output&gt;<BR></FONT>&nbsp;&nbsp;&nbsp; <FONT
color=#800080>&lt;/Add&gt;<BR></FONT></STRONG><BR>Binary Operators have 3
output elements e.g. for fraction in Latex this is<BR>&nbsp;&nbsp;&nbsp; <FONT
color=#800080><STRONG>&lt;Divide</STRONG> <FONT
color=#000000>brackets=</FONT><FONT
color=#0000ff>"false"</FONT><STRONG>&gt;</STRONG></FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<STRONG><FONT color=#800080>&lt;output1&gt;</FONT>\frac<FONT color=#800080><FONT
color=#000000>{</FONT>&lt;/output1&gt;</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<FONT color=#800080>&lt;output2&gt;</FONT>}{<FONT
color=#800080>&lt;/output2&gt;<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<FONT color=#800080>&lt;output3&gt;</FONT>}<FONT
color=#800080>&lt;/output3&gt;<BR></FONT>&nbsp;&nbsp;&nbsp; <FONT
color=#800080>&lt;/Divide&gt;</FONT><BR></STRONG><BR>Functions have 2 output
elements e.g. for square root in Latex this is<BR>&nbsp;&nbsp;<STRONG>&nbsp;
</STRONG><FONT color=#800080><STRONG>&lt;SquareRoot</STRONG> <FONT
color=#000000>brackets=</FONT><FONT
color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output1&gt;<FONT
color=#000000>\sqrt{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output2&gt;<FONT
color=#000000>}</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/SquareRoot&gt;</STRONG></FONT><BR><BR></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT size=2>N-ary functions have 'n' output elements
e.g. for definite integral in Latex it has
5</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2>&nbsp;&nbsp;&nbsp;
<FONT color=#800080><STRONG>&lt;DefiniteIntegral</STRONG> <FONT
color=#000000>reverse=</FONT><FONT
color=#0000ff>"true"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output1&gt;&nbsp;&nbsp;<FONT
color=#000000>\int_{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output2&gt;<FONT
color=#000000>}^{</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output3&gt;<FONT
color=#000000>}</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output4&gt;<FONT
color=#000000>\,\mathrm{d</FONT>&lt;/output4&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output5&gt;<FONT
color=#000000>}</FONT>&lt;/output5&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/DefiniteIntegral&gt;</STRONG></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT
size=2></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV></DIV>
<DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT size=2>Symbols have 1 output element e.g. for
Infinity in Latex this is<BR>&nbsp;&nbsp;<STRONG>&nbsp;<FONT color=#800080>
&lt;Infinity&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output&gt;<FONT
color=#000000>\infty</FONT>&lt;/output&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/Infinity&gt;</FONT></STRONG><BR><BR>Groupings have 2 output elements e.g.
for square brackets in Latex this is<BR>&nbsp;&nbsp;&nbsp; <FONT
color=#800080><STRONG>&lt;BracketsSq&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output1&gt;<FONT
color=#000000>\left[</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output2&gt;<FONT
color=#000000>\right]</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/BracketsSq&gt;</STRONG><BR></FONT><BR>Matrix in Latex is as
follows:<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT
color=#800080>&lt;Matrix&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;matrixStart&gt;<FONT color=#000000>\left(
\begin{array}{ccc}</FONT>&lt;/matrixStart&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;rowStart /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;elementStart /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;elementEnd /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;elementSeparator&gt;<FONT color=#808000>&lt;![CDATA[ &amp;
]]&gt;</FONT>&lt;/elementSeparator&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;rowEnd&gt;&nbsp;<FONT
color=#000000>\\</FONT>&nbsp;&lt;/rowEnd&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;rowSeparator /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;matrixEnd&gt;<FONT color=#000000>\end{array}
\right)</FONT>&lt;/matrixEnd&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/Matrix&gt;</FONT></STRONG><BR><BR><BR>The syntax within these tags is used
when converting an expression to that particular format. The actual arguments of
the objects appear in the syntax between each pair of tags. For example consider
½ in Latex format.&nbsp; It has 3 output elements. So the first part will be
\frac{, then the first argument will be appended to the string giving us,
\frac{1, then the 2nd output will be appended, \frac{1}{, then the 2nd
argment, \frac{1}{2 and then the final output, \frac{1}{2}. A similar process
takes place with all the object types of objects, with the argument being
appended between each pair of output elements.<BR><BR>There are various options
that can be set to allow more control over the
output.</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT
size=2></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT size=2><U>Reverse</U><BR>If you find the arguments
of a binary operator&nbsp;being output in the wrong order for a format, you can
reverse the order of them by setting, reverse=”true”. An example of this is with
the N-th root in Latex,<BR>&nbsp;&nbsp;&nbsp; <FONT
color=#800080><STRONG>&lt;NthRoot</STRONG> <FONT
color=#000000>reverse=</FONT><FONT color=#0000ff>"true"</FONT> <FONT
color=#000000>brackets=</FONT><FONT
color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output1&gt;<FONT color=#000000>\sqrt[</FONT>
&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output2&gt;<FONT
color=#000000>]{</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output3&gt;<FONT
color=#000000>}</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/NthRoot&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT
size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><U>Argument Order</U></DIV>
<DIV>If you find the arguments of an N-ary Function being output in the wrong
order for a format, you can re-arrange the order of them by setting,
order=”#1,#2,#3,...,#n”. An example of this is with the&nbsp;Sum in Latex.
Obviously, the default order&nbsp;for this is&nbsp;0,1,2,3, and it is being
changed to 1,2,3,0.<BR>&nbsp;&nbsp;&nbsp; <FONT
color=#800080><STRONG>&lt;Sum</STRONG> <FONT color=#000000>order=</FONT><FONT
color=#0000ff>"1,2,3,0"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output1&gt; <FONT
color=#000000>\sum_{{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output2&gt;<FONT
color=#000000>}={</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output3&gt;<FONT
color=#000000>}}^{</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output4&gt;<FONT
color=#000000>}</FONT>&lt;/output4&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output5&gt;&lt;/output5&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/Sum&gt;</STRONG></FONT><BR></DIV><br>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT size=2><U>AutoBrackets</U><BR>By default, round
brackets are placed around n-ary operators and binary operators where necessary
to ensure operator precedence is preserved. For presentational formats, such as
Latex this is often unnecessary, so there is the option to turn automatic
placing of brackets on/off. This is set in the element that specifies the name
of the format. An example of this is shown for
Latex,</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT
color=#800080><STRONG>&lt;name</STRONG> <FONT
color=#000000>AutoBrackets=</FONT><FONT
color=#0000ff>"false"</FONT><STRONG>&gt;<FONT
color=#000000>Latex</FONT>&lt;/name&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT
size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT size=2><U>Brackets on Functions<BR></U>Brackets
are added by default around the argument of a function. For example Sine in
Latex is,<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT
color=#800080>&lt;Sine&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output1&gt;<FONT color=#000000>\sin</FONT>
&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;output2
/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/Sine&gt;</FONT></STRONG><BR><BR>Brackets are
automatically added after the \sin and after the 2nd output, resulting in
"\sin(arg)". This is often the desired result but if you need to turn the
brackets off, they can be set for each individual function. An example of
turning them off is shown here for Square root in
Latex,<BR>&nbsp;&nbsp;<STRONG>&nbsp; </STRONG><FONT
color=#800080><STRONG>&lt;SquareRoot</STRONG> <FONT
color=#000000>brackets=</FONT><FONT
color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output1&gt;<FONT
color=#000000>\sqrt{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output2&gt;<FONT
color=#000000>}</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/SquareRoot&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT
size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT size=2><U>Initial</U><BR>As well as the structured
number of output elements for each type of object, there is the option of having
an initial element. The data in this element is added to the string before any
other output element is. An example of its use for describing multiplication in
MathML Content is shown below.<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT
color=#800080>&lt;Add&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;initial&gt;<FONT
color=#000000>&lt;times/&gt;</FONT>&lt;/initial&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output&lt;/output&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;
&lt;/Add&gt;<BR></FONT></STRONG><BR>&nbsp;a x b x c would then be converted
to,<BR>&nbsp;&nbsp;&nbsp;
&lt;times/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ci&gt;a&lt;/ci&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ci&gt;b&lt;/ci&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ci&gt;c&lt;/ci&gt; </FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><U><FONT face=Arial
size=2></FONT></U></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><U><FONT face=Arial
size=2>Final</FONT></U></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial size=2>N-ary operators can also have an optional 'final'
element for adding data after everything else. An example of this is with Union
in Maxima.</FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2>&nbsp;&nbsp;&nbsp; <STRONG><FONT
color=#800080>&lt;Union&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;initial&gt;<FONT
color=#000000>union(</FONT>&lt;/initial&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;output&gt;<FONT
color=#000000>,</FONT>&lt;/output&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;final&gt;<FONT color=#000000>)</FONT>&lt;/final&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;/Union&gt;</FONT></STRONG></FONT></FONT></FONT></FONT></DIV></DIV></FONT></FONT></DIV></FONT></DIV></FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2><FONT face=Arial
size=2><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
size=2><FONT face=Arial><FONT size=2><FONT face=Arial size=2><SPAN
class=875382513-08082007>&nbsp;</DIV></SPAN></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></BODY></HTML>

View file

@ -0,0 +1,43 @@
<html>
<head>
<title>DragMath Documentation - Adding a function/operator</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Adding a function/operator</strong></span></h2>
<p>
The code can be easily modified and recompiled to add additional operators and functions.
</p><p>
However, they must adhere to the standard display layout shown below:
</p><p>
Operator:
<br>
<IMG alt="" hspace=0 src="img/plus.jpg" align=bottom border=0>
</p><p>
Function:
<br>
<IMG alt="" hspace=0 src="img/sin.jpg" align=bottom border=0>
</p><p>
The steps to adding one:
</p>
<ol>
<LI>A new element in the CompConfig.xml, which is located in the Display package. The element must be given a unique name as the name of the object. A unique ID number, by simply choosing the next available ID number. A group number as follows:
<br>&nbsp;N-ary operator - 1
<br>&nbsp;Binary Operator - 2
<br>&nbsp;Function - 3
<br>&nbsp;The name of the GIF file that holds a transparent image of the object, of size &nbsp;16x16, 24x24 or 32x32 pixels.<BR>&nbsp;The text of the element should hold the
characters that represent the object.
<LI>A new JButton placed on one of the tabs, in the MainApplet.java file. This button can have Text or an Icon to inform the user what it is. The JButton must have the name field set to 'ID-Name' e.g. for Addition this is '2-Add'.
<LI>A new element in the language file you intend to use, with the same element name as in the CompConfig.xml file. The text of the element should be a description of the object for use in the status bar of the program.
<LI>The array &#8216;inputComponents&#8217; should be initialised to the size of the highest ID number now in CompConfig.xml. This line of code is found near the start of the init() method in the MainApplet.java file, in the Display package.
<LI>The Precedence.java file in the Tree package should be adjusted, so the &#8216;value&#8217; array is initialised to the size of the highest ID number now in CompConfig.xml, and the precedence of the new object should be set if required.
<LI>An entry in each format XML file will be required for the new object. For details on how to do this see <A href="newformat.html">here</A>.
</font>
</body>
</html>

View file

@ -0,0 +1,38 @@
<html>
<head>
<title>DragMath Documentation - Options</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Options</strong></span></h2>
<p>
<font size=3>
<b>Exporting an expression</b>
</font>
</p>
<p>
To choose which format to export to click 'Set export format' under the Options menu, and select a file from the list. The files available will be those in the \formats folder. If no format is specified in an applet paramater the default is LaTeX.
To export an expression click the Export button. Once exported the syntax will be copied to the clipboard, so you can simply paste it into any other program you desire.
</p>
<br>
<font size=3>
<b>Changing the language</b>
</font>
<p>
The language can be changed by clicking 'Set language' under the Options menu, and selected a file from the list. The files available will be those in the \lang folder. If no language is specified in an applet parameter the default is English.
</p>
<br>
<font size=3>
<b>Help</b>
</font>
<p>
If there appears to be a problem with the way the software is behaving it can be useful to use the two tools under the Debug menu, which is under the Help menu. These can show the current expression as a tree, and outline the borders of all the objects on the workspace.
Under the Help menu there is also a link to the Online Documentation.
</p>
</font>
</body>
</html>

View file

@ -0,0 +1,77 @@
<html>
<head>
<title>DragMath Documentation - Changing applet parameters</title>
</head>
<body>
<font size="2"; style="font-family: Arial;">
<h2><span style=" color: #000099;"><strong>Changing Applet parameters</strong></span></h2>
<p>
There are various parameters that can be set inside the &lt;APPLET> tag, to change particular options of the applet.
</p>
<font size=3>
<b>Language</b>
</font>
<p>
<strong>
<font color=#800080>&lt;param</font>
name=
</strong>
<font color=#0000ff>language</font>
<strong>
value=
</strong>
<font color=#0000ff>"en"</font>
<strong>
<font color=#800080>&gt;</font>
</strong>
<br>
The value is the name of the XML file, so this example refers to language file en.xml in the \lang folder. If the parameter is not used the default value is "en".
</p>
<font size=3>
<b>Output Format</b>
</font>
<p>
<strong>
<font color=#800080>&lt;param</font>
name=
</strong>
<font color=#0000ff>outputFormat</font>
<strong>
value=
</strong>
<font color=#0000ff>"MathML"</font>
<strong>
<font color=#800080>&gt;</font>
</strong>
<br>
The value is the name of the XML file, so this example refers to output format file MathML.xml in the \formats folder. The purpose of setting this is to have the default format to use automatically set when the software loads.
</p>
<font size=3>
<b>Open applet with an expression</b>
</font>
<p>
<strong>
<font color=#800080>&lt;param</font>
name=
</strong>
<font color=#0000ff>openWithExpression</font>
<strong>
value=
</strong>
<font color=#0000ff>"sin(1+x)"</font>
<strong>
<font color=#800080>&gt;</font>
</strong>
<br>
The value can be any expression you would like the applet to be opened with. The Maxima example on the DragMath website gives an example of this being used.
</p>
</font>
</body>
</html>

View file

@ -0,0 +1,51 @@
<?php
#################################################################################
##
## $Id$
##
#################################################################################
require("../../../../../../../config.php");
$id = optional_param('id', SITEID, PARAM_INT);
require_course_login($id);
@header('Content-Type: text/html; charset=utf-8');
?>
<!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>"DragMath Equation Editor</title>
<link rel="stylesheet" href="dialog.css" type="text/css" />
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/dragmath.js"></script>
</head>
<body>
<applet
name="dragmath"
codebase="<?php echo $CFG->wwwroot.'/lib/editor/tinymce/jscripts/tiny_mce/plugins/dragmath/applet/classes' ?>"
code="Display.MainApplet.class"
archive="Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,jep.jar"
width=540 height=300
>
<param name=language value="en">
<param name=outputFormat value="Latex">
<param name=showOutputToolBar value="false">
To use this page you need a Java-enabled browser.
Download the latest Java plug-in from
<a> href="http://www.java.com">Java.com</a>
</applet >
<form name="form">
<div>
<button type="button" onclick="return DragMathDialog.insert();">Insert</button>
<button type="button" onclick="return tinyMCEPopup.close();">Cancel</button>
</div>
</form>
</body>
</html>

View file

@ -0,0 +1 @@
(function(){tinymce.create('tinymce.plugins.DragMathPlugin',{init:function(ed,url){course_id=tinyMCE.activeEditor.getParam('moodleimage_course_id');ed.addCommand('mceDragMath',function(){ed.windowManager.open({file:url+'/dragmath.php?id='+course_id,width:540,height:380,inline:1},{plugin_url:url,some_custom_arg:'custom arg'});});ed.addButton('dragmath',{title:'Insert Equation',cmd:'mceDragMath',image:url+'/img/dragmath.gif'});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('dragmath',n.nodeName=='IMG');});},createControl:function(n,cm){return null;},getInfo:function(){return{longname:'Moodle Dragmath plugin',author:'Glen Davies',authorurl:'http://www.canterbury.ac.nz',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example',version:"1.0"};}});tinymce.PluginManager.add('dragmath',tinymce.plugins.DragMathPlugin);})();

View file

@ -0,0 +1,78 @@
(function() {
// Load plugin specific language pack
//tinymce.PluginManager.requireLangPack('example');
tinymce.create('tinymce.plugins.DragMathPlugin', {
/**
* Initializes the plugin, this will be executed after the plugin has been created.
* This call is done before the editor instance has finished it's initialization so use the onInit event
* of the editor instance to intercept that event.
*
* @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
* @param {string} url Absolute URL to where the plugin is located.
*/
init : function(ed, url) {
// Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample');
course_id = tinyMCE.activeEditor.getParam('moodleimage_course_id');
ed.addCommand('mceDragMath', function() {
ed.windowManager.open({
file : url + '/dragmath.php?id=' + course_id,
width : 540,
height : 380,
inline : 1
}, {
plugin_url : url, // Plugin absolute URL
some_custom_arg : 'custom arg' // Custom argument
});
});
// Register example button
ed.addButton('dragmath', {
title : 'Insert Equation',
cmd : 'mceDragMath',
image : url + '/img/dragmath.gif'
});
// Add a node change handler, selects the button in the UI when a image is selected
ed.onNodeChange.add(function(ed, cm, n) {
cm.setActive('dragmath', n.nodeName == 'IMG');
});
},
/**
* Creates control instances based in the incomming name. This method is normally not
* needed since the addButton method of the tinymce.Editor class is a more easy way of adding buttons
* but you sometimes need to create more complex controls like listboxes, split buttons etc then this
* method can be used to create those.
*
* @param {String} n Name of the control to create.
* @param {tinymce.ControlManager} cm Control manager to use inorder to create new control.
* @return {tinymce.ui.Control} New control instance or null if no control was created.
*/
createControl : function(n, cm) {
return null;
},
/**
* Returns information about the plugin as a name/value array.
* The current keys are longname, author, authorurl, infourl and version.
*
* @return {Object} Name/value array containing information about the plugin.
*/
getInfo : function() {
return {
longname : 'Moodle Dragmath plugin',
author : 'Glen Davies',
authorurl : 'http://www.canterbury.ac.nz',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example',
version : "1.0"
};
}
});
// Register plugin
tinymce.PluginManager.add('dragmath', tinymce.plugins.DragMathPlugin);
})();

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

View file

@ -0,0 +1,79 @@
<html>
<head>
<title>DragMath - Home Page</title>
</head>
<body>
<font size="3"; style="font-family: Arial;">
<h1 style="text-align: center;"><span style="color: rgb(0, 0, 128);">DragMath</span></h1>
<hr />
<span style="color: rgb(0, 0, 128);">
<h4 style="text-align: center;">
<a href="index.html">Home</a>&nbsp;&nbsp;&nbsp;
<a href="demo.html">Demonstration</a>&nbsp;&nbsp;&nbsp;
<a href="#Download">Download</a>&nbsp;&nbsp;&nbsp;
<a href="doc/index.html">Documentation</a>&nbsp;&nbsp;&nbsp;
<a href="integrations.html">Integrations</a>&nbsp;&nbsp;&nbsp;
<a href="support.html">Support DragMath</a>&nbsp;&nbsp;&nbsp;
<a href="#Contact">Contact</a>
</h4>
</span>
<hr />
<h2><a name="Introduction"><span style="color: rgb(0, 0, 128);">Introduction</span></a></h2>
<p>
DragMath is a free "drag and drop" equation editor. It is a Java applet which can simply run within a web browser on most computers.<br />
<br />
The editor lets users build up mathematical expressions in a traditional two dimensional way, and then output the results in a correctly formed syntax. This is not so easy: mathematical notation contains some ambiguities. Still, we appear to be stuck with traditional notation for the foreseeable future, see for example this
<a href="http://web.mat.bham.ac.uk/C.J.Sangwin/Publications/2007-Sangwin_Ramsden_Syntax.pdf">article</a> for some comments on notation. This gives some idea of the design of DragMath.<br />
<br />
The supplied output formats are MathML, LaTeX, Maple, Maxima. It is also possible to convert the expression to almost any user defined style by creating an XML file with the correct syntax data in it. Details of how to do this are included in the documentation.<br></br>Although mathematics is less dependent on language than many things, the applet loads a language file which makes it possible to translate DragMath into other languages. DragMath has currently been translated into: Catalan, Czech, Dutch, English, French, German, Polish, Russian, Spanish and Swedish. The latest language files can be downloaded from <a href="http://dragmath.cvs.sourceforge.net/dragmath/ddma/lang/">here</a>.<br />
</p>
<p>
DragMath makes use of the MathTran service to automatically convert expressions to images. More details of MathTran available at <a href="http://www.mathtran.org">www.mathtran.org</a>
</p>
<p>
DragMath has a project on <a href="http://sourceforge.net/projects/dragmath/">SourceForge.net</a>, an open-source software development web site. This allows users to:
<ul>
<li><a href="http://sourceforge.net/tracker/?group_id=201862&atid=979259">Request new features</a></li>
<li><a href="http://sourceforge.net/tracker/?group_id=201862&atid=979256">Submit bugs</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=201862">Download the latest release</a></li>
</ul>
<a href="http://sourceforge.net/projects/dragmath/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=201862&amp;type=5" width="210" height="62" border="0" alt="SourceForge.net Logo" /></a>
</p>
<hr />
<h2><span style="color: rgb(0, 0, 128);"><a name="Download">Download</a></span><a name="Download"></a></h2>
<p>
As DragMath is open-source, you are free to download and re-distribute. See the <a href="LICENSE-gpl.txt">DragMath license</a> for details.<br /><br />
DragMath requires Java 1.4.2 or later is installed. If you do not have it, you can download it from <a href="http://www.java.com">www.java.com</a>.<br />
To download the latest version visit our project site on <a href="http://sourceforge.net/project/showfiles.php?group_id=201862">SourceForge.net</a>.<br />
</p>
<hr />
<h2><a name="Contact"><span style="color: rgb(0, 0, 128);">Contact</span></a></h2>
<p>
<b>Project leader</b><br />
Chris Sangwin<br />
Website: <a href="http://web.mat.bham.ac.uk/C.J.Sangwin/">http://web.mat.bham.ac.uk/C.J.Sangwin/</a><br>
Email: <a href="mailto:C.J.Sangwin@bham.ac.uk?subject=DragMath">C.J.Sangwin@bham.ac.uk</a></p>
<p><br />
<b>Developer</b><br />
Alex Billingsley<br />
Website: <a href="http://www.abillingsley.co.uk/">http://www.abillingsley.co.uk/</a><br>
Email: <a href="mailto:email@abillingsley.co.uk?subject=DragMath">email@abillingsley.co.uk</a></p>
<hr />
<center>
<p>&copy; 2008 Alex Billingsley, Chris Sangwin
</center>
</font>
</body>
</html>

View file

@ -0,0 +1,55 @@
<html>
<head>
<title>DragMath - Integrations</title>
</head>
<body>
<font size="3"; style="font-family: Arial;">
<p></p>
<h1 style="text-align: center;"><span style="color: rgb(0, 0, 128);">DragMath</span></h1>
<hr />
<span style="color: rgb(0, 0, 128);">
<center>
<h4>
<a href="index.html">Home</a>&nbsp;&nbsp;&nbsp;
<a href="demo.html">Demonstration</a>&nbsp;&nbsp;&nbsp;
<a href="index.html#Download">Download</a>&nbsp;&nbsp;&nbsp;
<a href="doc/index.html">Documentation</a>&nbsp;&nbsp;&nbsp;
<a href="integrations.html">Integrations</a>&nbsp;&nbsp;&nbsp;
<a href="support.html">Support DragMath</a>&nbsp;&nbsp;&nbsp;
<a href="index.html#Contact">Contact</a>
</h4>
</center>
</span>
<hr />
<h2><a name="Integrations"><span style="color: rgb(0, 0, 128);">Integrations</span></a></h2>
<p>As a Java applet, DragMath can be easily embedded into many other web based systems. It has currently been successfully integrated with:
<p><a href="http://www.moodle.org/"><b>Moodle</b></a><br />
Moodle is a free, open source course management system (CMS). Also know as a Learning Managment System (LMS) or Virtual Learning Environment (VLE). For further details please see the specific Moodle <a href="http://docs.moodle.org/en/DragMath_equation_editor">installation instructions</a>.<br />
<br />
<a href="http://stack.bham.ac.uk/"><b>STACK</b></a><br />
STACK is a computer aided assessment (CAA) package for mathematics, a project by <a href="http://web.mat.bham.ac.uk/C.J.Sangwin/">Chris Sangwin</a> (a developer of DragMath).<br />
<br />
<a href="http://www.yourmathstutor.info/"><b>YourMathsTutor</b></a><br />
YourMathsTutor is a website created primarily to help students studying the for the UK's Key Stage 3, GCSE, AS and A Level mathematics and physics exams. DragMath has been integrated into the forum on this website. The forum is a <a href="http://www.simplemachines.org/">Simple Machines Forum</a> (SMF), which is a powerful open source forum. More information on how it was <a href="http://yourmathstutor.blogspot.com/2007/08/dragmath.html">integrated</a> and how it is <a href="http://www.yourmathstutor.info/forum/index.php?topic=4.0">used</a> in the forum.<br />
</p>
<p>Please let us know if any other successful integrations have occured.<br />
</p>
<br>
<hr />
<center>
<p>&copy; 2008 Alex Billingsley, Chris Sangwin
</center>
</font>
</body>
</html>

View file

@ -0,0 +1,31 @@
tinyMCEPopup.requireLangPack();
var DragMathDialog = {
init : function(ed) {
},
insert : function(file, title) {
var ed = tinyMCEPopup.editor;
var mathExpression = document.dragmath.getMathExpression();
//
// TBD any massaging needed here?
//
var text = mathExpression;
//
// Escape the expression
//
var text = '$$' + text + '$$';
ed.execCommand('mceInsertContent', false, text);
tinyMCEPopup.close();
}
};
tinyMCEPopup.onInit.add(DragMathDialog.init, DragMathDialog);

View file

@ -0,0 +1,5 @@
2008.01.23 10:11 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\langs\en_dlg.js --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/langs en_dlg.js
2008.01.23 10:49 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\langs\en_dlg.js --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/langs en_dlg.js
2008.01.23 10:49 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\langs\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/langs WS_FTP.LOG
2008.01.23 11:00 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\langs\en_dlg.js --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/langs en_dlg.js
2008.01.23 11:00 B C:\www\webroot\moodle\lib\editor\tinymce3\plugins\dragmath\langs\WS_FTP.LOG --> www.host4learning.com /public_html/moodlemce/lib/editor/tinymce3/plugins/dragmath/langs WS_FTP.LOG

View file

@ -0,0 +1,3 @@
tinyMCE.addI18n('en.dragmath_dlg',{
title:"Insert Equation"
});

View file

@ -0,0 +1,67 @@
<html>
<head>
<title>DragMath - Home Page</title>
</head>
<body>
<font size="3"; style="font-family: Arial;">
<p></p>
<h1 style="text-align: center;"><span style="color: rgb(0, 0, 128);">DragMath</span></h1>
<hr />
<span style="color: rgb(0, 0, 128);">
<center>
<h4>
<a href="index.html">Home</a>&nbsp;&nbsp;&nbsp;
<a href="demo.html">Demonstration</a>&nbsp;&nbsp;&nbsp;
<a href="index.html#Download">Download</a>&nbsp;&nbsp;&nbsp;
<a href="doc/index.html">Documentation</a>&nbsp;&nbsp;&nbsp;
<a href="integrations.html">Integrations</a>&nbsp;&nbsp;&nbsp;
<a href="support.html">Support DragMath</a>&nbsp;&nbsp;&nbsp;
<a href="index.html#Contact">Contact</a>
</h4>
</center>
</span>
<hr />
<h2><span style="color: rgb(0, 0, 128);"><a name="Support_DragMath">Support DragMath</a></span><br /></h2>
<p>DragMath is an open-source project that started as a final-year Computer Science project in 2006 at the <a href ="http://www.bham.ac.uk/">University of Birmingham<a/> by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> under the supervision of <a href ="http://web.mat.bham.ac.uk/C.J.Sangwin/">Chris Sangwin</a>. It's main application is therefore directed toward an educational one.<br />
</p>
<p>Please make a donation to help support the future development of DragMath. Donations can be securely made through the SourceForge.net website.<br />
<br>
<a href="http://sourceforge.net/project/project_donations.php?group_id=201862"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project"/></a>
&nbsp;</p>
<p>We currently need help translating the English language file into many different languages. As new versions of DragMath are created the current language files need updating as well. If you can help, then please contact us.
</p>
<p><b>Contributions by:</b>
<ul>
<li>Miroslava Tihlarikova - Czech language file</li>
<li>Francisco Rivas - Spanish language file</li>
<li>Agnieszka Herczak-Ciara - Polish language file</li>
<li>Philippe Quattrociocchi - French language file</li>
<li>Sedletskiy Nikolay - Russian language file</li>
<li>Andy Tagliani - German language file</li>
<li>Patrick Tydtgat - Dutch language file</li>
<li>Daniel Ureña Zafra (<a href ="http://www.ub.edu/">University of Barcelona<a/>):
<ul>
<li>Additional operators and functions</li>
<li>Catalan language file</li>
</ul>
</li>
<li>Mauricio Chamati - Portuguese (Brazilian) language file</li>
</ul>
<br>
<hr />
<center>
<p>&copy; 2008 Alex Billingsley, Chris Sangwin
</center>
</font>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show more