diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2 --- /dev/null +++ b/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + 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 +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program 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, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU 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 Lesser General +Public License instead of this License. But first, please read +. diff --git a/README.md b/README.md index cad9e4d7efdbc6305be8584639e50061ce6e7d20..a7c558e40638d5c8b8a7dead949d85cc39d8de61 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,23 @@ -# HDOC CONVERTER PROJECT +# Hdoc Converter Projet + +License GPL3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + +Credits : +Université de Technologie de Compiègne (http://www.utc.fr) +NF29 students (http://www4.utc.fr/~nf29) ## What is Hdoc ? -Please refer to the [Hdoc converter project website](http://hdoc.crzt.fr/co/hdocConverter.html) +Please refer to the Hdoc Converter Project website: -*Extract* ->The aim of the project is to propose: ->- a generic XML schema based on XHTML5 for documentary purpose (Hdoc format); ->- a set of converters to transform document formats from and to Hdoc; ->- a web site to manage the converters (Hdoc Converter Portal). +http://hdoc.crzt.fr ## What is this repository ? +This repository gathers some of the Hdoc converters, if not all of them. + +Project URL : https://gitlab.utc.fr/crozatst/hdoc.git + +## How to use Hdoc Converters ? -This repository gathers some of the Hdoc converters, if not all of them. \ No newline at end of file +In order to use a converter, choose the corresponding folder and consult README.md for instructions. diff --git a/antce/README.md b/antce/README.md new file mode 100644 index 0000000000000000000000000000000000000000..dcf412680f99162634b0d5c60f6bb647a0449677 --- /dev/null +++ b/antce/README.md @@ -0,0 +1,4 @@ +# antce + +"antce" is not for use, it is just a base for autonomous multi-OS ANT launcher + diff --git a/etherpad_to_hdoc/DocumentationEtherpadToOpale.docx b/etherpad_to_hdoc/DocumentationEtherpadToOpale.docx deleted file mode 100644 index 88472e16c8763996c4ee633164ca2ac0faf3321f..0000000000000000000000000000000000000000 Binary files a/etherpad_to_hdoc/DocumentationEtherpadToOpale.docx and /dev/null differ diff --git a/etherpad_to_hdoc/README.md b/etherpad_to_hdoc/README.md old mode 100644 new mode 100755 index fcbc4591de4d0633a4588dc61f1b3eb15d7f16f0..8db8aae613ea34c7fc0cd7dc668cc66f929f0087 --- a/etherpad_to_hdoc/README.md +++ b/etherpad_to_hdoc/README.md @@ -1 +1,76 @@ -# HDOC CONVERTER PROJECT \ No newline at end of file +# Converter etherpad_to_hdoc + +## License +License GPL3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + +## Crédits +- 2015 + - Jean-Côme Douteau + - Gabrielle Rit + - Jean Vintache +- 2014 + - Fecherolle Cécile + +## Presentation +This module is able to convert several [etherpad](http://etherpad.org/) files (exported as html files) to the hdoc format. + +## User documentation + +### Running etherpad_to_hdoc.ant + 1. Create an etherpad document and export it as an html file. + 1. please place your html files in the `/input` folder + 2. run the `run.[bat|sh]` script of your choice depending on your OS + 3. and retrieve the hdoc outputs in the `/output` folder + +## Unsupported + - Markdown + - Author paternity + - Etherpad timeline + - Chat + +## Known bugs +- Nested lists in lists are not supported +Example : +`
    +
  • +
      +
    • + Never gonna give you up. +
    • +
    +
  • +
      ` +- As a consequence, etherpad indentation is not supported because it is coded as nested lists. +## TODO + - Markdown + +## Technical notes +### Description of etherpad_to_hdoc.ant + +#### Prelude + - Importation of necessary classes (antlib, htmlcleaner, jing) + - Creation of directories architecture tree + +#### Transformations + - Use of htmlcleaner to transform the input file from html to xhtml. For more info, see http://htmlcleaner.sourceforge.net/index.php. + - Apply html2xhtml.xsl : this xsl extracts the content into tags + - Apply html2xhtmlv1.xsl : this xsl is used as a fix and adds br tag at the end of lists (ul and ol) + - Apply html2xhtmlv2.xsl : this xsl surround text line with p tags and transforms non-hdoc tags into hdoc tags as s, u, strong tags. + - Apply html2xhtml3.xsl : this xsl is used as a fix, it deletes p tags when its child is ul or ol + - Apply xhtml2hdoc.xsl : this xsl transforms the content into hdoc structure + +#### Post-transformations actions + - Build hdoc structure + - Jing checks if the output file is validated with the right rng schema + - Zip the directory into hdoc archive + +### Supported tags +html tags -> hdoc tags + - u, s, em, strong -> em + - li -> li + - ol -> ol + - br -> p + +## Capitalisation +We learned how to use xsl sheets with text file as an input : we had to use regular expressions to extract content. \ No newline at end of file diff --git a/etherpad_to_hdoc/etherpad_to_hdoc.ant b/etherpad_to_hdoc/etherpad_to_hdoc.ant index 7e4d3eafdad9a06f4af4c9533f503d42a6abe2fa..5064a9c7d5cb9c382a8344eb8acbaa392b1d975b 100755 --- a/etherpad_to_hdoc/etherpad_to_hdoc.ant +++ b/etherpad_to_hdoc/etherpad_to_hdoc.ant @@ -1,18 +1,10 @@ - - - - - - - - - - - - + + + + @@ -22,64 +14,105 @@ - - - - - - - - - - - - + + + + + + + + + + - + - - - - - + + + + - - + + - + - - + + - - + + - - - - content.xml respecte le schema hdoc1-xhtml.rng - + + + - + - + - + - - - - - - + + + + + + + + + + + + + ============ Processing pad : ${properFileName} ============ + + + + + + + + + + + + + + + + + + + + + + + + + + WARNING + ${properFileName} : the outptut doesn't match the hdoc schema + see the Jing log above and the tmp files + + + + - - \ No newline at end of file + diff --git a/etherpad_to_hdoc/etherpad_to_hdoc.properties b/etherpad_to_hdoc/etherpad_to_hdoc.properties index f899b6341d987c5d35ff6506189dfa712c58882c..9b2716b7add849e5d6e74c803c945310543c50a2 100644 --- a/etherpad_to_hdoc/etherpad_to_hdoc.properties +++ b/etherpad_to_hdoc/etherpad_to_hdoc.properties @@ -4,5 +4,6 @@ tmp = ${basedir}/tmp xsl = ${basedir}/xsl lib = ${basedir}/lib log = ${basedir}/log +schema = ../schemas rootfilename = content.xml \ No newline at end of file diff --git a/etherpad_to_hdoc/schema/container/hdoc1-container.rng b/etherpad_to_hdoc/schema/container/hdoc1-container.rng deleted file mode 100644 index 3015318cb98d4d019509d19288c5d9280cf58182..0000000000000000000000000000000000000000 --- a/etherpad_to_hdoc/schema/container/hdoc1-container.rng +++ /dev/null @@ -1,32 +0,0 @@ - - - - This schema describes the META-INF/container.xml file for hdoc format - This schema is a derivation of http://www.idpf.org/epub/30/schema/ocf-container-30.rnc - from EPUB Open Container Format (http://www.idpf.org/epub/30/spec/epub30-ocf.html) - - - - - - 1.0 - - - - - - - - text/xml - - - - - - - diff --git a/etherpad_to_hdoc/schema/xhtml/hdoc1-xhtml.rng b/etherpad_to_hdoc/schema/xhtml/hdoc1-xhtml.rng deleted file mode 100644 index 8c1ec15abc668547960cb93e93e9868de038b65a..0000000000000000000000000000000000000000 --- a/etherpad_to_hdoc/schema/xhtml/hdoc1-xhtml.rng +++ /dev/null @@ -1,357 +0,0 @@ - - - - This schema describes the content file for hdoc format - This schema is a restriction of XHTML (it validates XHTML - schema, if namespace is changed to http://www.w3.org/1999/xhtml) - - Last update : 2014-12-22 - Changes since last update : - Adding biblio management via a href='' data-hdoc-type='bibtexml' - - - - - - - - - - - - - - - - - - - utf-8 - - - - - - - generator - - - - SimpleOptim - HdocConverter/SimpleChain - SimpleChain - HdocConverter/Etherpad - HdocConverter/Opale3.4 - HdocConverter/Dokiel4.0 - HdocConverter/Optim1.2 - HdocConverter/Topaze1.3 - HdocConverter/wikipedia - HdocConverter/Wordpress - HdocConverter/OpenDocumentText - HdocConverter/LaTeX - HdocConverter/OPML - HdocConverter/DITA - - - - - - - - - - description - keywords - author - rights - date - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - author - - - - - - - - date - - - - - - - - rights - - - - - - - - introduction - - - - - - - - - - - - - - - - - - - - conclusion - - - - - - - - tags - - - - - - - - - - - - categories - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bibtexml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etherpad_to_hdoc/schema/xhtml/type.rng b/etherpad_to_hdoc/schema/xhtml/type.rng deleted file mode 100644 index b081eae2469442273982144038386e8f7ad19dda..0000000000000000000000000000000000000000 --- a/etherpad_to_hdoc/schema/xhtml/type.rng +++ /dev/null @@ -1,85 +0,0 @@ - - - - Last update : 2014-12-04 - Changes since last update : - In order to manage quiz : - - Adding multiple-choice-question and fill-in-the-blank to section - - Adding question, choice-correct, choice-uncorrect and explanation to div - - Adding blank to span - - Externalizing ObjectType and VideoType from main schema - - - - - - - - introduction - conclusion - unit-of-content - multiple-choice-question - fill-in-the-blank - - - - - - - - - - - emphasis - complement - definition - example - remark - warning - advice - - question - choice-correct - choice-incorrect - explanation - - - - - - - - - - syntax - latex - - blank - - - - - - - - - application/vnd.oasis.opendocument.graphics - application/vnd.oasis.opendocument.spreadsheet - application/pdf - - - - - - - - video/mp4 - video/ogg - video/webm - - - - diff --git a/etherpad_to_lexique/DocumentationEtherpadToLexique.txt b/etherpad_to_lexique/DocumentationEtherpadToLexique.txt deleted file mode 100644 index e011cc244435defc9bbd642ff5656651f82bd638..0000000000000000000000000000000000000000 --- a/etherpad_to_lexique/DocumentationEtherpadToLexique.txt +++ /dev/null @@ -1,15 +0,0 @@ -Documentation Etherpad To lexique -Comment récupérer un document de type Etherpad et le transformer en document lexique. -1ère Etape : Télécharger un document Etherpad en format HTML -• Créer ou rejoindre un document etherpad (exemple : https://public.etherpad-mozilla.org/p/NF29_HdocEtherpad) puis exporter sous un format html. -• Enregistrer le document html sous le nom de pad.html dans le dossier hdoc\etherpad_to_lexique\antce\input (Si le dossier n'existe pas, le créer) -NB : Pour l'instant, il doit y avoir un seul fichier de type Html nommé pad.html - -2ème étape : Lancer le fichier de commande run.bat dans le dossier hdoc/etherpad_to_lexique --> un fichier output.scar est crée dans le dossier hdoc/etherpad_to_lexique/output - -2ème étape : Ouvrir le document avec lexique -• Ouvrir Scenari, ouvrir la liste des entrepôts distants et choisir UTC-etu_lexique. -• Aller dans le dossier sandBox/etherpad-to-lexique. A cet endroit. -• Réaliser un cliquer glisser avec output.scar dans le dossier ou bien faire un clic droit sur le dossier puis Importer pour aller chercher le fichier output.scar. -• Ouvrir le fichier Main.xml nouvellement crée pour l'afficher. diff --git a/etherpad_to_lexique/README.md b/etherpad_to_lexique/README.md new file mode 100644 index 0000000000000000000000000000000000000000..4845fcd1699ac2810c80cfa6da65c61921cb76e0 --- /dev/null +++ b/etherpad_to_lexique/README.md @@ -0,0 +1,71 @@ +# Etherpad2Lexique -- HDOC CONVERTER PROJECT +## License +[GPL 3.0](http://www.gnu.org/licenses/gpl-3.0.txt) +## Credits +- Rit Gabrielle +- Vintache Jean +- Douteau Jean-Côme +- Fecherolle Cécile (2014) +##Presentation +How to transform an etherpad document in lexique document. +Filepath in this document are relative to this file readme. +## Dependence +- Etherpad2Hdoc +- Hdoc2Lexique +## User Documentation +1. Download an etherpad document in html format. + 1. Create or join an etherpad document then export it in html format (Import/Export Button) in the `/input` directory (if the directory does not exists, you have to create it). + 2. Name it pad.html +2. Execute the file `/run.bat` or `/run.sh` depending on the OS. A `.scar` file is created in the directory `/output` +*If the `/input` directory contains multiple files, they won't be all treated. +3. Open the document with Scenari + 1. Open Scenari, and choose "UTC-etu_lexique" as distant depot. + 2. Go in the directory `sandBox/etherpad-to-lexique.` + 3. Import your `.scar` file in the directory. + 4. Open the file Main.xml created. +##Unsupported +- MarkDown +- Timeline and author paternity +- Chat +##Known bugs +Nested lists in lists are not supported +example : +`
        +
      • +
          +
        • + Never gonna let you down. +
        • +
        +
      • +
          ` + +## TODO +- Work with markdown +- Correct nested lists +## Technical notes +### Description of etherpad_to_hdoc.ant + +#### Prelude + - Importation of necessary classes (antlib, htmlcleaner, jing) + - Creation of directories architecture tree + +#### Transformations + - Use of htmlcleaner to transform the input file from html to xhtml. For more info, see http://htmlcleaner.sourceforge.net/index.php. + - Apply html2xhtml.xsl : this xsl extracts the content into tags + - Apply html2xhtmlv1.xsl : this xsl is used as a fix and adds br tag at the end of lists (ul and ol) + - Apply html2xhtmlv2.xsl : this xsl surround text line with p tags and transforms non-hdoc tags into hdoc tags as s, u, strong tags. + - Apply html2xhtml3.xsl : this xsl is used as a fix, it deletes p tags when its child is ul or ol + - Apply xhtml2hdoc.xsl : this xsl transforms the content into hdoc structure + +#### Post-transformations actions + - Build hdoc structure + - Jing checks if the output file is validated with the right rng schema + - Zip the directory into hdoc archive + +## Capitalisation + + + + + diff --git a/etherpad_to_lexique/etherpad_to_lexique.ant b/etherpad_to_lexique/etherpad_to_lexique.ant index b5fc1fba394fbf1ba68f964bc464a4062c4ce747..e8a65ba455e9d34e223f32f684eaf50cf292ad5f 100644 --- a/etherpad_to_lexique/etherpad_to_lexique.ant +++ b/etherpad_to_lexique/etherpad_to_lexique.ant @@ -1,11 +1,10 @@ - + - @@ -20,7 +19,7 @@ - + @@ -30,7 +29,7 @@ - + @@ -56,9 +55,9 @@ - + - + diff --git a/etherpad_to_opale/DocumentationEtherpadToOpale.txt b/etherpad_to_opale/DocumentationEtherpadToOpale.txt deleted file mode 100644 index 58d1278e7a9e618efcd3fd68cfab1df5626da811..0000000000000000000000000000000000000000 --- a/etherpad_to_opale/DocumentationEtherpadToOpale.txt +++ /dev/null @@ -1,15 +0,0 @@ -Documentation Etherpad To Opale -Comment récupérer un document de type Etherpad et le transformer en document opale. -1ère Etape : Télécharger un document Etherpad en format HTML -• Créer ou rejoindre un document etherpad (exemple : https://public.etherpad-mozilla.org/p/NF29_HdocEtherpad) puis exporter sous un format html. -• Enregistrer le document html sous le nom de pad.html dans le dossier hdoc\etherpad_to_opale\antce\input (Si le dossier n'existe pas, le créer) -NB : Pour l'instant, il doit y avoir un seul fichier de type Html nommé pad.html - -2ème étape : Lancer le fichier de commande run.bat dans le dossier hdoc/etherpad_to_opale --> un fichier output.scar est crée dans le dossier hdoc/etherpad_to_opale/output - -2ème étape : Ouvrir le document avec opale -• Ouvrir Scenari, ouvrir la liste des entrepôts distants et choisir UTC-etu_opale. -• Aller dans le dossier sandBox/etherpad-to-opale. A cet endroit. -• Réaliser un cliquer glisser avec output.scar dans le dossier ou bien faire un clic droit sur le dossier puis Importer pour aller chercher le fichier output.scar. -• Ouvrir le fichier Main.xml nouvellement crée pour l'afficher. diff --git a/etherpad_to_opale/README.md b/etherpad_to_opale/README.md new file mode 100644 index 0000000000000000000000000000000000000000..38074fdec4c502ad88e18fd2b4fb7ab08d9e0a1f --- /dev/null +++ b/etherpad_to_opale/README.md @@ -0,0 +1,70 @@ +# Etherpad2Opale -- HDOC CONVERTER PROJECT +## License +[GPL 3.0](http://www.gnu.org/licenses/gpl-3.0.txt) +## Credits +- Rit Gabrielle +- Vintache Jean +- Douteau Jean-Côme +- Fecherolle Cécile (2014) +##Presentation +How to transform an etherpad document in opale document. +Filepath in this document are relative to this file readme. +## Dependence +- Etherpad2Hdoc +- Hdoc2Opale +## User Documentation +1. Download an etherpad document in html format. + 1. Create or join an etherpad document then export it in html format (Import/Export Button) in the `/input` directory (if the directory does not exists, you have to create it). +2. Execute the file `/run.bat` or `/run.sh` depending on the OS. A `.scar` file is created in the directory `/output` +*If the `/input` directory contains multiple files, they will be all treated. +3. Open the document with Opale + 1. Open Scenari, and choose "UTC-etu_opale" as distant depot. + 2. Go in the directory `sandBox/etherpad-to-opale.` + 3. Import your `.scar` file in the directory. + 4. Open the file Main.xml created. +##Unsupported +- MarkDown +- Timeline and author paternity +- Chat +##Known bugs +Nested lists in lists are not supported +example : +`
            +
          • +
              +
            • + Never gonna give you up. +
            • +
            +
          • +
              ` + +## TODO +- Work with markdown +- Correct nested lists +## Technical notes +### Description of etherpad_to_hdoc.ant + +#### Prelude + - Importation of necessary classes (antlib, htmlcleaner, jing) + - Creation of directories architecture tree + +#### Transformations + - Use of htmlcleaner to transform the input file from html to xhtml. For more info, see http://htmlcleaner.sourceforge.net/index.php. + - Apply html2xhtml.xsl : this xsl extracts the content into tags + - Apply html2xhtmlv1.xsl : this xsl is used as a fix and adds br tag at the end of lists (ul and ol) + - Apply html2xhtmlv2.xsl : this xsl surround text line with p tags and transforms non-hdoc tags into hdoc tags as s, u, strong tags. + - Apply html2xhtml3.xsl : this xsl is used as a fix, it deletes p tags when its child is ul or ol + - Apply xhtml2hdoc.xsl : this xsl transforms the content into hdoc structure + +#### Post-transformations actions + - Build hdoc structure + - Jing checks if the output file is validated with the right rng schema + - Zip the directory into hdoc archive + +## Capitalisation + + + + + diff --git a/etherpad_to_opale/etherpad_to_opale.ant b/etherpad_to_opale/etherpad_to_opale.ant index 8188faaa40b48246265ad01f996e0546fc36f7d1..22d5af6e24e566abec0864aa5213c88657dfb5e0 100644 --- a/etherpad_to_opale/etherpad_to_opale.ant +++ b/etherpad_to_opale/etherpad_to_opale.ant @@ -1,63 +1,70 @@ - + - - + - + + + + + + + + - - - - - - - + - + - + + + + + + - - - - - - - - - + + + + + + - + + + + + - - + + + + - \ No newline at end of file diff --git a/etherpad_to_optim/DocumentationEtherpadToOptim.txt b/etherpad_to_optim/DocumentationEtherpadToOptim.txt deleted file mode 100644 index b65a25635b1d884acd7cd86e483bb64c7af88e64..0000000000000000000000000000000000000000 --- a/etherpad_to_optim/DocumentationEtherpadToOptim.txt +++ /dev/null @@ -1,15 +0,0 @@ -Documentation Etherpad To Optim -Comment récupérer un document de type Etherpad et le transformer en document optim. -1ère Etape : Télécharger un document Etherpad en format HTML -• Créer ou rejoindre un document etherpad (exemple : https://public.etherpad-mozilla.org/p/NF29_HdocEtherpad) puis exporter sous un format html. -• Enregistrer le document html sous le nom de pad.html dans le dossier hdoc\etherpad_to_optim\antce\input (Si le dossier n'existe pas, le créer) -NB : Pour l'instant, il doit y avoir un seul fichier de type Html nommé pad.html - -2ème étape : Lancer le fichier de commande run.bat dans le dossier hdoc/etherpad_to_optim --> un fichier output.scar est crée dans le dossier hdoc/etherpad_to_optim/output - -2ème étape : Ouvrir le document avec optim -• Ouvrir Scenari, ouvrir la liste des entrepôts distants et choisir UTC-etu_optim. -• Aller dans le dossier sandBox/etherpad-to-optim. A cet endroit. -• Réaliser un cliquer glisser avec output.scar dans le dossier ou bien faire un clic droit sur le dossier puis Importer pour aller chercher le fichier output.scar. -• Ouvrir le fichier Main.xml nouvellement crée pour l'afficher. diff --git a/etherpad_to_optim/README.md b/etherpad_to_optim/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6c3751356a78be79904e05735e1e2f351d12cf04 --- /dev/null +++ b/etherpad_to_optim/README.md @@ -0,0 +1,71 @@ +# Etherpad2Optim -- HDOC CONVERTER PROJECT +## License +[GPL 3.0](http://www.gnu.org/licenses/gpl-3.0.txt) +## Credits +- Rit Gabrielle +- Vintache Jean +- Douteau Jean-Côme +- Fecherolle Cécile (2014) +##Presentation +How to transform an etherpad document in optim document. +Filepath in this document are relative to this file readme. +## Dependence +- Etherpad2Hdoc +- Hdoc2Optim +## User Documentation +1. Download an etherpad document in html format. + 1. Create or join an etherpad document then export it in html format (Import/Export Button) in the `/input` directory (if the directory does not exists, you have to create it). + 2. Name it pad.html +2. Execute the file `/run.bat` or `/run.sh` depending on the OS. A `.scar` file is created in the directory `/output` +*If the `/input` directory contains multiple files, they won't be all treated. +3. Open the document with Scenari + 1. Open Scenari, and choose "UTC-etu_optim" as distant depot. + 2. Go in the directory `sandBox/etherpad-to-otpim.` + 3. Import your `.scar` file in the directory. + 4. Open the file Main.xml created. +##Unsupported +- MarkDown +- Timeline and author paternity +- Chat +##Known bugs +Nested lists in lists are not supported +example : +`
                +
              • +
                  +
                • + Never gonna let you down. +
                • +
                +
              • +
                  ` + +## TODO +- Work with markdown +- Correct nested lists +## Technical notes +### Description of etherpad_to_hdoc.ant + +#### Prelude + - Importation of necessary classes (antlib, htmlcleaner, jing) + - Creation of directories architecture tree + +#### Transformations + - Use of htmlcleaner to transform the input file from html to xhtml. For more info, see http://htmlcleaner.sourceforge.net/index.php. + - Apply html2xhtml.xsl : this xsl extracts the content into tags + - Apply html2xhtmlv1.xsl : this xsl is used as a fix and adds br tag at the end of lists (ul and ol) + - Apply html2xhtmlv2.xsl : this xsl surround text line with p tags and transforms non-hdoc tags into hdoc tags as s, u, strong tags. + - Apply html2xhtml3.xsl : this xsl is used as a fix, it deletes p tags when its child is ul or ol + - Apply xhtml2hdoc.xsl : this xsl transforms the content into hdoc structure + +#### Post-transformations actions + - Build hdoc structure + - Jing checks if the output file is validated with the right rng schema + - Zip the directory into hdoc archive + +## Capitalisation + + + + + diff --git a/etherpad_to_optim/etherpad_to_optim.ant b/etherpad_to_optim/etherpad_to_optim.ant index e732507455c574bd70c4f3aad068df110f287094..b159c95fda4852a1288cb5104543f0f02b576d6f 100644 --- a/etherpad_to_optim/etherpad_to_optim.ant +++ b/etherpad_to_optim/etherpad_to_optim.ant @@ -1,11 +1,10 @@ - + - @@ -20,7 +19,7 @@ - + @@ -30,7 +29,7 @@ - + @@ -54,9 +53,9 @@ - + - + diff --git a/hdoc_to_lexique/README.md b/hdoc_to_lexique/README.md index 71df7655d8dfa920c85f62ea27c3d4affb112cbd..c08d20769a55320066a6387bc76fef05ea92087e 100644 --- a/hdoc_to_lexique/README.md +++ b/hdoc_to_lexique/README.md @@ -1,6 +1,34 @@ # Converter hdoc_to_lexique +License GPL3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + +##Crédits +Antoine Aufrechter, Estelle de Magondeaux, Marouane Hammi + +##Install In order to use this converter, follow those steps : 1. Copy your hdoc file (.scar or .zip) into the input directory. Do not put more than one file into the input directory. 2. Execute the run that correspond to your OS. -3. You will find the result into the output directory. \ No newline at end of file +3. You will find the result into the output directory. + +##User documentation + +##Known bugs +>- Cannot put multiple input files + +##TODO +>- Change the name of the file (.term) to the definition associated +>- Manage multiple input files (e.g. see lexique_to_opale) +>- list of element to convert : +>>- src url +>>- image +>>- pronounciation +>>- type (female, male,...) and (abbreviation, expanded,...) +>>- array +>>- multimedia + +##Technical notes +>- The converter have to respect the same schema as the lexique_to_hdoc converter for the xslt + +##Capitalisation diff --git a/hdoc_to_opale/hdoc_to_opale.ant b/hdoc_to_opale/hdoc_to_opale.ant index 54cb3f1aea54a38604717c002ec639ca47845f4f..477636892ef0901e7e49f593e3fca74f53b89cfb 100644 --- a/hdoc_to_opale/hdoc_to_opale.ant +++ b/hdoc_to_opale/hdoc_to_opale.ant @@ -17,20 +17,15 @@ - + - + - + - - - - - @@ -38,187 +33,137 @@ - - - - - - - + + + - - + + + - + + + - - - - - - - + + + - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - + + + - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Validation failed - - - - - - - - - - - - - - - - - - - - - Validation failed - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Validation failed + + + + + + + + + + + + Validation failed + + + + + + + + + + + + + + + + + + + + + diff --git a/hdoc_to_opale/input/sample.hdoc b/hdoc_to_opale/input/sample.hdoc index a610d8e0283ec85b9f361c93a9eba77731e78345..094c7bf9cb2f84ec9e753ab34562e5035da2c7f7 100644 Binary files a/hdoc_to_opale/input/sample.hdoc and b/hdoc_to_opale/input/sample.hdoc differ diff --git a/hdoc_to_opale/xsl/moveRessourceFiles.xsl b/hdoc_to_opale/xsl/moveRessourceFiles.xsl index 54ae92b8fb964d8561ec2badd607e69e0370ccc5..68c70307464572277319b7338c99201151fb0c78 100644 --- a/hdoc_to_opale/xsl/moveRessourceFiles.xsl +++ b/hdoc_to_opale/xsl/moveRessourceFiles.xsl @@ -5,14 +5,14 @@ > - + - + @@ -32,16 +32,16 @@ - + - + - + - + diff --git a/hdoc_to_opale/xsl/prepareCourseUcCopies.xsl b/hdoc_to_opale/xsl/prepareCourseUcCopies.xsl index 87442840f46099bd0e30599e97167059caa74c90..933d47d06765d0a78850d87a82b8ba5d469f1b8a 100644 --- a/hdoc_to_opale/xsl/prepareCourseUcCopies.xsl +++ b/hdoc_to_opale/xsl/prepareCourseUcCopies.xsl @@ -18,7 +18,7 @@ - + @@ -35,8 +35,8 @@ @@ -45,7 +45,7 @@ - + Validation failed diff --git a/hdoc_to_opale/xsl/transformation0.xsl b/hdoc_to_opale/xsl/transformation0.xsl index c6ddb6f8fe2cb59e2d0a351c7ae586a022966563..55e8568ece91f70ed8c63057d3dd16a5def43518 100644 --- a/hdoc_to_opale/xsl/transformation0.xsl +++ b/hdoc_to_opale/xsl/transformation0.xsl @@ -36,7 +36,7 @@ style="${{xsl}}/moveRessourceFiles.xsl" processor="org.apache.tools.ant.taskdefs.optional.TraXLiaison" > - + + + + + + + + + - + - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/hdoc_to_optim/input/sample.hdoc b/hdoc_to_optim/input/sample.hdoc index b49b6f76d0e4103426abfc6394366e9506453f11..d2b4ea63b64ce959808f0345bdf2cfa78cdfa689 100644 Binary files a/hdoc_to_optim/input/sample.hdoc and b/hdoc_to_optim/input/sample.hdoc differ diff --git a/hdoc_to_optim/xsl/find_content.xsl b/hdoc_to_optim/xsl/find_content.xsl index c28f618749b05be2ca889b4902f3e97e49e5715e..16f023ef6704d64f268ba0a23d97b9420c963374 100644 --- a/hdoc_to_optim/xsl/find_content.xsl +++ b/hdoc_to_optim/xsl/find_content.xsl @@ -5,6 +5,7 @@ xmlns:h="urn:utc.fr:ics:hdoc:container" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + @@ -28,6 +29,20 @@ - + + + + + + + + + + + + + Wrong document type + + diff --git a/hdoc_to_optim/xsl/transfo.xsl b/hdoc_to_optim/xsl/transfo.xsl index 9aa8c8eba3910ff5d9097059ec13140cd5951c73..8537f552bb64036822ac86af69b76fe2ea1364fe 100644 --- a/hdoc_to_optim/xsl/transfo.xsl +++ b/hdoc_to_optim/xsl/transfo.xsl @@ -13,7 +13,7 @@ - + @@ -88,8 +88,23 @@ - - + + + + + + Yescontiiii! + + + + + + + test + + + + @@ -98,6 +113,33 @@ + + + + + + + + + Introduction + + + Conclusion + + + + + + + + + + + + + + + @@ -280,25 +322,25 @@ - + - + - + - + \ No newline at end of file diff --git a/hdoc_to_optim/xsl/transfo2.xsl b/hdoc_to_optim/xsl/transfo2.xsl new file mode 100644 index 0000000000000000000000000000000000000000..c2a3be4a2b9ada35154c1953db8f5a7b5a2826e4 --- /dev/null +++ b/hdoc_to_optim/xsl/transfo2.xsl @@ -0,0 +1,347 @@ + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Yescontiiii! + + + + + + + test + + + + + + + + + + + + + + + + + + + + + Introduction + + + Conclusion + + + + + + + + + + + + + + + + + + + + Introduction + + + Conclusion + + + + + + + + + + + + + + + + + + + + + + + + + + + + Author : + Date : + Rights : + Tags : , + Categories : , + + + + + + + + + + + + + Definition + + + Warning + + Date : + + + + + + + + Example + + + Remark + + + Advice + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lexique_to_opale/README.md b/lexique_to_opale/README.md index b11de15f875c0b060a72c16058f05cbaa139835e..332a4b982023803e25d3a90cda39a2ffabf4a3d6 100644 --- a/lexique_to_opale/README.md +++ b/lexique_to_opale/README.md @@ -1,6 +1,42 @@ # Converter lexique_to_opale +Converter lexique_to_opale + +License GPL3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + +Crédits +Florian Arend +Estelle de Magondeaux +Marouane Hammi +Antoine Aufrechter + +Install In order to use this converter, follow those steps : 1. Copy your Lexique file(s) (.scar or .zip) into the input directory. 2. Execute the run that correspond to your OS. -3. You will find the result into the output directory. The names of the output are linked to the hour it was processed. +3. You will find the result into the output directory. The name of the output files depends of the hour it was processed. + +Dependance + +User documentation + +Unsupported +Type of term + Equivalent term + Pronunciation + In the definition(s) + Text content + Links to other terms + Spreadsheets + Images (informative and decorative) + Animations + Inline images + + +Known bugs + +TODO +Work to handle the above unsupported items. + +capitalisation diff --git a/lexique_to_opale/input/sample.scar b/lexique_to_opale/input/sample.scar index cb42a1866ebe4be8ad1317b4983c168fdcd783e8..82a8c9b27ad6703c3282d27f91e4b36d90fe36ab 100644 Binary files a/lexique_to_opale/input/sample.scar and b/lexique_to_opale/input/sample.scar differ diff --git a/lexique_to_opale/samples/Exemple_2015-12-5.scar b/lexique_to_opale/samples/Exemple_2015-12-5.scar deleted file mode 100644 index cb42a1866ebe4be8ad1317b4983c168fdcd783e8..0000000000000000000000000000000000000000 Binary files a/lexique_to_opale/samples/Exemple_2015-12-5.scar and /dev/null differ diff --git a/lexique_to_opale/samples/second.scar b/lexique_to_opale/samples/second.scar deleted file mode 100644 index cb42a1866ebe4be8ad1317b4983c168fdcd783e8..0000000000000000000000000000000000000000 Binary files a/lexique_to_opale/samples/second.scar and /dev/null differ diff --git a/lexique_to_optim/README.md b/lexique_to_optim/README.md index 3b015a6198ead7677e5f778b2625d0392ecd1415..aae5e93e1033539eed57548b606557baebf1db07 100644 --- a/lexique_to_optim/README.md +++ b/lexique_to_optim/README.md @@ -1,6 +1,41 @@ # Converter lexique_to_optim +Converter lexique_to_optim +License GPL3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + +Crédits +Florian Arend +Estelle de Magondeaux +Marouane Hammi +Antoine Aufrechter + +Install In order to use this converter, follow those steps : 1. Copy your Lexique file(s) (.scar or .zip) into the input directory. 2. Execute the run that correspond to your OS. 3. You will find the result into the output directory. The name of the output files depends of the hour it was processed. + +Dependance + +User documentation + +Unsupported + +Type of term +Equivalent term +Pronunciation +In the definition(s) + Text content + Links to other terms + Spreadsheets + Images (informative and decorative) + Animations + +Known bugs + +TODO +Work on the support of unsupported elements above. + +Capitalisation + diff --git a/lexique_to_optim/input/sample.scar b/lexique_to_optim/input/sample.scar index cb42a1866ebe4be8ad1317b4983c168fdcd783e8..82a8c9b27ad6703c3282d27f91e4b36d90fe36ab 100644 Binary files a/lexique_to_optim/input/sample.scar and b/lexique_to_optim/input/sample.scar differ diff --git a/lexique_to_optim/samples/Exemple_2015-12-5.scar b/lexique_to_optim/samples/Exemple_2015-12-5.scar deleted file mode 100644 index cb42a1866ebe4be8ad1317b4983c168fdcd783e8..0000000000000000000000000000000000000000 Binary files a/lexique_to_optim/samples/Exemple_2015-12-5.scar and /dev/null differ diff --git a/lexique_to_optim/samples/second.scar b/lexique_to_optim/samples/second.scar deleted file mode 100644 index cb42a1866ebe4be8ad1317b4983c168fdcd783e8..0000000000000000000000000000000000000000 Binary files a/lexique_to_optim/samples/second.scar and /dev/null differ diff --git a/lexique_to_optim/test.zip b/lexique_to_optim/test.zip deleted file mode 100644 index 3bdc4e0630b848b074f86687a3ecf8cd9447af5d..0000000000000000000000000000000000000000 Binary files a/lexique_to_optim/test.zip and /dev/null differ diff --git a/lexique_to_rdf/README.md b/lexique_to_rdf/README.md new file mode 100644 index 0000000000000000000000000000000000000000..185be746b356be3f4826b9daa14fc57043eb1f0e --- /dev/null +++ b/lexique_to_rdf/README.md @@ -0,0 +1,33 @@ +Converter lexique_to_rdf + +License GPL3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + +Crédits +Estelle de Magondeaux +Marouane Hammi +Antoine Aufrechter + +Install +In order to use this converter, follow those steps : +1. Copy your Lexique file(s) (.scar or .zip) into the input directory. +2. Execute the run that correspond to your OS. +3. You will find the result into the output directory. The name of the output files depends of the hour it was processed. + +Dependance + +User documentation + +Unsupported + +Known bugs + +TODO +An onthology has to be created to fit the needs of this conversion. +A file which includes all the .rdf between rdf:RDF tag has to be created. +AVterm have to be handled + +Capitalisation +RDF files are interesting because they can be used to create maps of datas. Here are any links to intersting applications using RDF. +http://www.visualdataweb.org/relfinder/relfinder.php +http://simile.mit.edu/welkin/ diff --git a/lexique_to_rdf/TODO.txt b/lexique_to_rdf/TODO.txt new file mode 100644 index 0000000000000000000000000000000000000000..05fb547ea5a78520ae6d1a9ef8ee4befcabed81f --- /dev/null +++ b/lexique_to_rdf/TODO.txt @@ -0,0 +1,8 @@ +Faire un index des fichiers RDF +Utiliser l'onthologie crée dans un outil comme + +http://www.visualdataweb.org/relfinder/relfinder.php + +http://83.212.97.83:8084/ + +http://simile.mit.edu/welkin/ diff --git a/lexique_to_rdf/build.properties b/lexique_to_rdf/build.properties new file mode 100644 index 0000000000000000000000000000000000000000..87661b360f1bf704a29facd7f53068123b77445e --- /dev/null +++ b/lexique_to_rdf/build.properties @@ -0,0 +1,7 @@ +libdir=${basedir}/lib +rngdir=${basedir}/rng +xsldir=${basedir}/xsl +srcdir=${basedir}/in +outdir=${basedir}/out +InputPath=${basedir}/input +OutputPath=${basedir}/output \ No newline at end of file diff --git a/lexique_to_rdf/input/sample.scar b/lexique_to_rdf/input/sample.scar new file mode 100644 index 0000000000000000000000000000000000000000..82a8c9b27ad6703c3282d27f91e4b36d90fe36ab Binary files /dev/null and b/lexique_to_rdf/input/sample.scar differ diff --git a/lexique_to_rdf/lexique_to_rdf.ant b/lexique_to_rdf/lexique_to_rdf.ant new file mode 100644 index 0000000000000000000000000000000000000000..24a24f429eb82badc8901a9e0e7381b1547d6536 --- /dev/null +++ b/lexique_to_rdf/lexique_to_rdf.ant @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lexique_to_rdf/lib/ant-contrib.jar b/lexique_to_rdf/lib/ant-contrib.jar new file mode 100644 index 0000000000000000000000000000000000000000..062537661a514c2ce97d18948f4f25f7226cc1a0 Binary files /dev/null and b/lexique_to_rdf/lib/ant-contrib.jar differ diff --git a/lexique_to_rdf/lib/ant-launcher.jar b/lexique_to_rdf/lib/ant-launcher.jar new file mode 100644 index 0000000000000000000000000000000000000000..939abb57975f5ba08484e582f84ed3702d570a89 Binary files /dev/null and b/lexique_to_rdf/lib/ant-launcher.jar differ diff --git a/lexique_to_rdf/lib/ant.jar b/lexique_to_rdf/lib/ant.jar new file mode 100644 index 0000000000000000000000000000000000000000..7f5be4a4e05939429353a90e882846aeac72b976 Binary files /dev/null and b/lexique_to_rdf/lib/ant.jar differ diff --git a/lexique_to_rdf/lib/jing.jar b/lexique_to_rdf/lib/jing.jar new file mode 100644 index 0000000000000000000000000000000000000000..6fd77262a881a3bceefb74447f426e4cb71fa03d Binary files /dev/null and b/lexique_to_rdf/lib/jing.jar differ diff --git a/lexique_to_rdf/lib/saxon9he.jar b/lexique_to_rdf/lib/saxon9he.jar new file mode 100644 index 0000000000000000000000000000000000000000..4e635175be11bc83187a2525f2a821bb85a1a566 Binary files /dev/null and b/lexique_to_rdf/lib/saxon9he.jar differ diff --git a/lexique_to_rdf/opale.wspmeta b/lexique_to_rdf/opale.wspmeta new file mode 100644 index 0000000000000000000000000000000000000000..7d2c9ebdb8f7f55e56b10b6694bea624d8fe7fc1 --- /dev/null +++ b/lexique_to_rdf/opale.wspmeta @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/lexique_to_rdf/rng/lx_term.rng b/lexique_to_rdf/rng/lx_term.rng new file mode 100644 index 0000000000000000000000000000000000000000..c0968ce0b0f64cd65405f83731fd2073c6afc6df --- /dev/null +++ b/lexique_to_rdf/rng/lx_term.rng @@ -0,0 +1,1146 @@ + + + + + + + + + + + + L'item Terme permet de définir un mot du lexique. + + + + Permet de donner la forme phonétique et d'écouter la prononciation du terme. + + + 1 + + + + + + + + + Permet de saisir une ou plusieurs définitions du terme en question. + + + + + 1 + + + + + + + + + + + Permet de lier des Tags au terme défini afin de le rattacher à des critères de recherche (thèmes, catégories...) + + + + + + + + + +  Permet de créer un critère de recherche. Les Tags sont liés aux termes du lexique et permettent ainsi une entrée alternative, par thèmes ou catégories, aux définitions du lexique, via la recherche avancée. + + + 1 + + + + + + + + + + + + + + +  Permet d'identifier l'origine d'une définition (site internet, bibliographie,...). + + + + + 1 + + + + + + + + + + + Permet de faire des liens vers d'autres termes du lexique en fonction des relations entre ces termes. + + + + + + + Permet de donner des informations complémentaires concernant le terme défini. + + + + + + + + + + + + + + + + + + + preserve + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + preserve + + + + + + + + + + + + + + + + + + + + total + + + + + + + + + + + + + + + + + + + + + + head + + + + + + + total + + + + + + + + + + + img + + + + + 1 + + + + + + illus + + + + + 1 + + + + + + anim + + + + + 1 + + + + + + + + + + + + + lnkTerm + + + + + + 1 + + + + + + + 1 + + + + + + + + ref + + + + + + 1 + + + + + + + 1 + + + + + + + + url + + + + + + + + + + + + + quote + + + + + + + + + + + + + + + special + + + + + + + + + + + + + + + emphasis + + + + + + + ico + + + + + 1 + + + + + + + icoIllus + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num + + + + + + + + + + + + + + + + + + + word + + + + + + + + + + + + + + + + + + + + + + + Permet de saisir l'adresse de la source sur internet. + + 1 + + + + + Permet de décrire la fonction et la destination du lien, lorsque le texte sur lequel est rattachée l'URL n'est pas explicite. + + 1 + + + + + + Permet de saisir des précisions sir l'url conduit à un document bureautique. + + + Permet de définir le format du document (PDF, RTF...). + + 1 + + + + + + Permet de saisir le poids (en kO) du document, afin d'anticiper le temps de téléchargement. + + 1 + + + + + + Permet de préciser le code de la langue du fichier, notamment pour les lecteurs d'écran. Une liste de suggestions apparaît au fur et à mesure de la saisie.  + + + + + + + + + + + + + + + 1 + + + + + + + + L'item Source permet d'identifier l'origine d'une définition (site internet, bibliographie,...). + + + + + + + Permet de saisir le nom qui sera affiché comme étant la source de la définition. + + 1 + + + + + Permet de saisir l'adresse de la source sur internet. + + 1 + + + + + + Permet de saisir un contenu descriptif ou explicatif relatif à cette source. + + + + + + + + + + + + + + + + + + preserve + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + quote + + + + + + + + + + + + + + + special + + + + + + + + + + + + + + + emphasis + + + + + + + + + + + + + + + + + + + + + + + + + + + preserve + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + preserve + + + + + + + + + + + + + + + + + + + + total + + + + + + + + + + + + + + + + + + + + + + head + + + + + + + total + + + + + + + + + + + img + + + + + 1 + + + + + + illus + + + + + 1 + + + + + + anim + + + + + 1 + + + + + + + + + + + + + ref + + + + + + 1 + + + + + + + 1 + + + + + + + + url + + + + + + + + + + + + + quote + + + + + + + + + + + + + + + special + + + + + + + + + + + + + + + emphasis + + + + + + + ico + + + + + 1 + + + + + + + icoIllus + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num + + + + + + + + + + + + + + + + + + + word + + + + + + + + + + + + + + + + + + + + + + + + Permet de lier des termes ayant un lien de synonymie avec le terme défini. + + + + + 1 + + + + + + + + + + Permet de lier des termes ayant un lien d'antonymie avec le terme défini. + + + + + 1 + + + + + + + + + + Permet de lier des termes auxquels le terme défini appartient. + + + + + 1 + + + + + + + + + + Permet de lier des termes incluant le terme défini. + + + + + 1 + + + + + + + + + + Permet de lier des termes pouvant intéresser le lecteur de cette définition. + + + + + 1 + + + + + + + + + + + + + + Permet de donner un titre au complément d'informations. + + 1 + + + + + + + + + Permet de saisir le terme défini. + + 1 + + + + + Permet de sélectionner la nature grammaticale du terme défini. + + female + male + adj + verb + + + + + + Permet de sélectionner le type du terme défini, en vue d'une exploitation des types (liste des sigles par exemple). + + abbreviation + expanded + usualTerm + scientific + + + + + + Permet de donner des équivalents, autre forme ou autre usage par exemple, du terme défini, qui ne figurent pas dans le lexique. + + + Permet de donner une autre forme ou un autre usage du terme défini. + + Permet de saisir le terme. + + 1 + + + + Permet de sélectionner le type du terme. + + abbreviation + expanded + usualTerm + scientific + similar + other + + + + + + + + + + + + + Permet de saisir la forme en API [Alphabet Phonétique International] du terme. + + 1 + + + + + + + \ No newline at end of file diff --git a/lexique_to_rdf/rng/of_def.rng b/lexique_to_rdf/rng/of_def.rng new file mode 100644 index 0000000000000000000000000000000000000000..d6404ada2afd72f92ee045043856036fb96863c6 --- /dev/null +++ b/lexique_to_rdf/rng/of_def.rng @@ -0,0 +1,158 @@ + + + + + + + + + + + +Est un item de référence qui permet d'expliciter un terme ou une notion. + + + + + + + + + Texte riche + + + + + + + + + + +preserve + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +url + + + + + +1 + + + + + + +1 + + + + + + + +quote + + + + + + + + + + + +special + + + + + + + + + + + +emphasis + + + + + + +ico + + + + +1 + + + + + + + + + + + + + + + + +Bloc de texte permettant de saisir la définition. + +Permet de saisir le mot ou la notion à définir. + +1 + + + + + + \ No newline at end of file diff --git a/lexique_to_rdf/rng/op_glos.rng b/lexique_to_rdf/rng/op_glos.rng new file mode 100644 index 0000000000000000000000000000000000000000..035e68a1ea1639b1562b502db497af38f8038cd0 --- /dev/null +++ b/lexique_to_rdf/rng/op_glos.rng @@ -0,0 +1,190 @@ + + + + + + + + + + + +Renseigner une entrée de type glossaire + + + + + + +Renseigner le terme + +1 + + + +Renseigner la définition + + + + + + + + + + + + + + + + +preserve + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +url + + + + + + + + + + + + +emp + + + + + + +spec + + + + + + + + + + + + + + + + + + + + +Permet de saisir l'adresse de la source sur internet. + +1 + + + + +Permet de saisir un libellé du site web, définissant son contenu. + +1 + + + + + +Permet de saisir des précisions si l'url conduit à un document bureautique. + + +Permet de définir le format du document (PDF, RTF...). + +1 + + + + + +Permet de saisir le poids (en kO) du document, afin d'anticiper le temps de téléchargement. + +1 + + + + + +Permet de préciser le code de la langue du fichier, notamment pour les lecteurs d'écran. Une liste de suggestions apparaît au fur et à mesure de la saisie.  + + + + + + + + + + + + + + +1 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lexique_to_rdf/run.bat b/lexique_to_rdf/run.bat new file mode 100644 index 0000000000000000000000000000000000000000..610e86ed75e0b2a45742fb7ca4129519b45082ae --- /dev/null +++ b/lexique_to_rdf/run.bat @@ -0,0 +1,11 @@ +@echo off +set lib=lib +set ant=lexique_to_rdf.ant +set antparam=-Dprogram.param=%1 + +set scJarList=%lib%\* + +java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% +pause + +REM start /MIN java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% diff --git a/lexique_to_rdf/run.sh b/lexique_to_rdf/run.sh new file mode 100755 index 0000000000000000000000000000000000000000..48e2ae0231e4114cfb36fa150b7385e2f5bece6a --- /dev/null +++ b/lexique_to_rdf/run.sh @@ -0,0 +1,35 @@ +#!/bin/sh +lib="lib" +ant="lexique_to_rdf.ant" +antparam="-Dprogram.param=$1" + +#Recherche de java et controle que se soit une version SUN +vJavaCmd="java" +xCheckJava () { + vInputVarName=\$"$1" + vInputVarVal=`eval "expr \"$vInputVarName\" "` + if [ -z "$vInputVarVal" ];then + eval "$1=false" + return + fi + vSunJavaFound=`$vInputVarVal -version 2>&1 | grep -Eo -m 1 "(HotSpot)|(OpenJDK)"` + if [ "$vSunJavaFound" != "HotSpot" ] && [ "$vSunJavaFound" != "OpenJDK" ] ; then + eval "$1=false" + return + fi +} +xCheckJava vJavaCmd +if [ "$vJavaCmd" = "false" ]; then + vJavaCmd="$JAVA_HOME/bin/java" + xCheckJava vJavaCmd + if [ "$vJavaCmd" = "false" ]; then + echo "ERREUR: JRE de SUN introuvable. Veuillez déclarer la variable d'environnement JAVA_HOME." + exit 1 + fi +fi + +#Lancer la commande +scJarList="$lib/*" + + +$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam diff --git a/lexique_to_rdf/xsl/termToRdf.xsl b/lexique_to_rdf/xsl/termToRdf.xsl new file mode 100644 index 0000000000000000000000000000000000000000..7f916f48673239547de04de98a661488ca1c9231 --- /dev/null +++ b/lexique_to_rdf/xsl/termToRdf.xsl @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mindmapping_to_hdoc/LICENCE b/mindmapping_to_hdoc/LICENCE new file mode 100644 index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2 --- /dev/null +++ b/mindmapping_to_hdoc/LICENCE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + 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 +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program 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, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU 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 Lesser General +Public License instead of this License. But first, please read +. diff --git a/mindmapping_to_hdoc/README.md b/mindmapping_to_hdoc/README.md index a03eae5aeb3b3d4609a8f381bb340160a3c1ff68..5ba39da3aaa55dc24d3212cbe04b78ba452a63a1 100644 --- a/mindmapping_to_hdoc/README.md +++ b/mindmapping_to_hdoc/README.md @@ -1,23 +1,67 @@ -Mindmapping to HDOC -=================== +Converter Mindmapping2HDOC +========================== Conversion of Freemind file(s) (.mm) to Hdoc -# How to use the converter +Licence +------- +http://www.gnu.org/licenses/gpl-3.0.txt -Use a terminal and go to the root of the folder (mindmapping_to_hdoc). +Credits +------- -#1 : You want to convert SEVERAL Freemind files in Hdoc -- Put your files in a folder mindmapping_to_hdoc/input -- Enter the command line corresponding to your OS : -- On Linux : sh run.sh -- On Windows : run.bat +* Amélie Perdriaud +* Thibault Brocheton +* Bastien Frémondière +* Guillaume Gomez -#2 : You want to convert ONE specific freemindFile in Hdoc -- Put your file in a folder mindmapping_to_hdoc/input -- Enter the command line corresponding to your OS : -- On Linux : sh run.sh -DinputPath input/ -- On Windows : run.bat -DinputPath input/ +Presentation +------------ +This project aims at converting mindmapping files to hdoc files. -You will find the result in the folder mindmapping_to_hdoc/result +User documentation +------------------ +* Use a terminal and go to the root of the folder (mindmapping_to_hdoc). +* Please refer to the part *Rules to follow* to understand the rules that can help you to personalize the output +* Put your files in a folder 'mindmapping_to_hdoc/input' +* Enter the command line corresponding to your OS : + * On Linux : 'sh run.sh' + * On Windows : 'run.bat' +If you want to convert one specific file that is in the input folder, use the parameters ' -DinputPath input/' (ex : 'sh run.sh -DinputPath input/') + +*You will find the result of the conversion in the folder mindmapping_to_hdoc/output* +*You can find a sample file il the folder /samples.* + +You can use the converter mindmapping_to_opale in order to create Opale contents. + +Unsupported +----------- + +* Convert color +* Convert icon into summary elements + +Known bugs +---------- + +* All hdoc samples given in the "Download" section have been tested and should work well. If you want to use your own hdoc files, make sure that container.xml's root contains version="1.0" and xmlns="urn:utc.fr:ics:hdoc:container" attributes. Otherwise ant building will fail. +* It is not specified in hdoc's standard but I assume that hdoc's content file (usually named "content.xml") fullpath is a relative path that begins at the root of the hdoc archive. That means that the full-path attribute of (in container.xml) begins with a character, and not a special sequence such as ".", ".." or "/". It is already the case for my samples, but if you want to use your own samples make sure this full-path attribute is ok. + +Todo +---- + +* Mindmap to Lexique conversion +* Mindmap to Optim conversion + +Technical notes +--------------- +This converter is using standard NF29 conversion project structure : I use a main ANT file (named mapMapping2Hdoc.ant), which handles routine tasks (zipping archives, copying files, order tasks), XSL-XSLT transformation scripts calls. This main ANT file is composed of several targets. +During the conversion process, I use a few temporary files stored in a temp folder : their content depends on hdoc's files (such as "container.xml", "content.xml" and ressource files). See details below. +You can comment the part of code where temp directory is deleted in order to view raw files directly instead of unzipping hdoc file. + +What is META-INF folder ? +This is a simple folder with a xml file named 'content.xml' that contains useful information for Opale. Every .scar archives must contain this file, what it exactly does is not the purpose of this project. + + +Capitalisation +-------------- diff --git a/mindmapping_to_lexique/LICENCE b/mindmapping_to_lexique/LICENCE new file mode 100644 index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2 --- /dev/null +++ b/mindmapping_to_lexique/LICENCE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + 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 +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program 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, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU 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 Lesser General +Public License instead of this License. But first, please read +. diff --git a/mindmapping_to_opale/LICENCE b/mindmapping_to_opale/LICENCE new file mode 100644 index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2 --- /dev/null +++ b/mindmapping_to_opale/LICENCE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + 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 +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program 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, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU 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 Lesser General +Public License instead of this License. But first, please read +. diff --git a/mindmapping_to_opale/README.md b/mindmapping_to_opale/README.md index eaa109c39a783fd38b104c19863792e9b244795c..e9e1c4f8dc115910558b6661a04f8effb34c21c7 100644 --- a/mindmapping_to_opale/README.md +++ b/mindmapping_to_opale/README.md @@ -1,46 +1,108 @@ -Mindmapping to HDOC -=================== +Mindmapping to Opale +================= -Conversion of Freemind file(s) (.mm) to Opale +Conversion of Freemind file(s) (.mm) to Opale (.scar) -# How to use the converter +## Licence +------------------------------- +http://www.gnu.org/licenses/gpl-3.0.txt -Use a terminal and go to the root of the folder (mindmapping_to_opale). +## Credits +------------------------------- +This section has been written by -#1 : You want to convert SEVERAL Freemind files in Opale -- Put your files in a folder mindmapping_to_opale/input -- Enter the command line corresponding to your OS : -- On Linux : sh run.sh -- On Windows : run.bat +* Thibault BROCHETON +* Bastien FREMONDIERE +* Amélie PERDRIAUD -#2 : You want to convert ONE specific freemindFile in Opale -- Put your file in a folder mindmapping_to_opale/input -- Enter the command line corresponding to your OS : -- On Linux : sh run.sh -DinputPath input/ -- On Windows : run.bat -DinputPath input/ +It is based on the work of Guillaume GOMEZ in 2014. -You will find the result in the folder mindmapping_to_opale/output +## Presentation +The project aims at converting Freemind files in Opale files. -IMPORTANT -========= +## Dependence +------------------------------- +In dependence with mindmapping_to_hdoc and hdoc_to_opale + +## User documentation +------------------------------- + +* Use a terminal and go to the root of the folder (mindmapping_to_opale). +* Please refer to the part *Rules to follow* to understand the rules that can help you to personalize the output +* Put your files in a folder 'mindmapping_to_opale/input' +* Enter the command line corresponding to your OS : + * On Linux : 'sh run.sh' + * On Windows : 'run.bat' +If you want to convert one specific file that is in the input folder, use the parameters ' -DinputPath input/' (ex : 'sh run.sh -DinputPath input/') + +*You will find the result of the conversion in the folder mindmapping_to_opale/output* +*You can find a sample file il the folder /samples.* + +### Rules to follow You can use special rules in Freemind to personnalize your Scenari Module : -- By default, a "Division" is created with the name of the main node of your MindMap -- Then : - A node without children is transformed in grain content - A node with children is transformed in division -- You can add introduction and conclusion using the hashtag #intro and #conclu on all the node that has no child -- You can use #p to create a paragraph, and #a to create a link -- You can use the hashtag : - #rmk : a remark - #adv : an advice - #emph : an emphasis - #compl : a complement - #wrng : a warning - #ex : an example - #def : a definition - Then you can add some #p inside these node to create the content -- You can arrange the order of the node usine the hashtag #1, #2, #3 etc. +* By default, a "Division" is created with the name of the main node of your MindMap +* Then : + * A node without children is transformed in **grain content** + * A node with children is transformed in **division** +* You can add introduction and conclusion using the hashtag **#intro** and **#conclu** on all the node that has no child +* You can use **#p** to create a paragraph, and **#a** to create a link +* You can use some hashtags to create specific contents : + * **#rmk** : a remark + * **#adv** : an advice + * **#emph** : an emphasis + * **#compl** : a complement + * **#wrng** : a warning + * **#ex** : an example + * **#def** : a definition + * *Then you can add some **#p** inside these node to create the content* +- You can arrange the order of the node usine the hashtag **#1, #2, #3** etc. + +## Unsupported + +* Convert colors +* Convert icon into summary elements +* HTML node + +## Known bugs + +## TODO + +* Develop new hashtags to create other type of Opale contents (such as QCM, self-evaluation etc.) + +## Technicals notes + +### Preamble +This subsection will explain precisely how the conversion process works. If you are reading this, we assume you are familiar with XML technologies seen in NF29 (i.e. ANT scripts, XSL-XSLT transformations and Hdoc format). We also recommend you to open sources files and read the comments. +Besides, the converter have been tested on recent ANT versions (> 1.7.0) only. It depends on hdoc_to_opale module. + +### How does the converter works +This converter is using standard NF29 conversion project structure : a main ANT file (mindmapping_to_opale.ant), which handles routine tasks (zipping archives, copying files, order tasks), XSL-XSLT transformation scripts calls. This main ANT file is composed of several targets, and supports both Windows or Linux platforms. +This ant file is called by a script (run.sh or run.bat), with ou without parameters. + +### Hdoc files +During the conversion process, the converter is using the converter mindmapping_to_hodc. The result of this conversion is also available in the folder output. + +### What does the main ANT file do ? + +* Delete and create folder temp, output, output/hdoc and output/scar +* Check if the OS is Windows or Mac, and call the appropriate target +* If there is no input path in parameters, it converts all the files present in the input folder +* It calls the converter mindmapping_to_hdoc to convert .mm files in .hdoc files. +* Copy the results of the conversion in the folder /output/hdoc +* It calls the converter hdoc_to_opale to convert .hdoc files in .scar files +* Copy the results of the conversion in the folder /output/scar +* Finally, clean temporary files + +## Capitalization + +### New technologies/languages discovered +* ANT +* XPath +* XSL-XSLT +### New IDEs/frameworks discovered +* Oxygen XML editor +* Scenario chain (Opale advanced) \ No newline at end of file diff --git a/mindmapping_to_opale/mindmapping_to_opale.ant b/mindmapping_to_opale/mindmapping_to_opale.ant index 0aef2955a075f5534748c9e8d491c6111d9c791a..da182def7cd70e050e1aa5b44c7aca13ec9978c9 100755 --- a/mindmapping_to_opale/mindmapping_to_opale.ant +++ b/mindmapping_to_opale/mindmapping_to_opale.ant @@ -166,9 +166,6 @@ - - Setting up the conversion @@ -182,25 +179,4 @@ --- End ---- - - - Begin data conversion - - - - - - - - - - - - - end data conversion - - diff --git a/mindmapping_to_optim/LICENCE b/mindmapping_to_optim/LICENCE new file mode 100644 index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2 --- /dev/null +++ b/mindmapping_to_optim/LICENCE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + 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 +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program 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, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU 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 Lesser General +Public License instead of this License. But first, please read +. diff --git a/opale_to_hdoc/opale_to_hdoc.ant b/opale_to_hdoc/opale_to_hdoc.ant index 6331c4fc050bc560d593aa3f6424002ad19ba3b6..63394bc903caa9be500d997c47db290a1677f649 100644 --- a/opale_to_hdoc/opale_to_hdoc.ant +++ b/opale_to_hdoc/opale_to_hdoc.ant @@ -19,6 +19,7 @@ + @@ -30,6 +31,7 @@ + @@ -88,14 +90,26 @@ - + + + + + + + + + + + - + + + diff --git a/opale_to_hdoc/xsl/find_ressources.xsl b/opale_to_hdoc/xsl/find_ressources.xsl new file mode 100644 index 0000000000000000000000000000000000000000..fa39ffc414716e32613a29cbdea30a7e132c87d2 --- /dev/null +++ b/opale_to_hdoc/xsl/find_ressources.xsl @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/opale_to_hdoc/xsl/opale_to_hdoc_regle1.xsl b/opale_to_hdoc/xsl/opale_to_hdoc_regle1.xsl index 90f63916944ba495cee5be4ac0d64ac7a0e4d39e..878b4ad0934b97947ebf752b4276041bc4728bb3 100644 --- a/opale_to_hdoc/xsl/opale_to_hdoc_regle1.xsl +++ b/opale_to_hdoc/xsl/opale_to_hdoc_regle1.xsl @@ -5,7 +5,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0" - + xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive" xmlns:op="utc.fr:ics/opale3"> @@ -28,6 +28,12 @@ + + + + + + diff --git a/opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl b/opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl index 090d3d3b767f5dfe6576240b7f185ec2eac4c74f..58af8a6ba1e7b23ae952245bde211b2ba59b14cf 100644 --- a/opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl +++ b/opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl @@ -223,6 +223,21 @@ + + + {$name} + + + + + + + + + + + +
                  @@ -358,11 +373,9 @@ - + - - @@ -387,6 +400,14 @@ + + + + + + + + diff --git a/opale_to_lexique/README.md b/opale_to_lexique/README.md index fa858bd6cb0c9dbd8488fd7bce247b14e400f251..1211c5c9c5362223ed2297cad59e6cb9d1208625 100644 --- a/opale_to_lexique/README.md +++ b/opale_to_lexique/README.md @@ -1,6 +1,17 @@ # Converter opale_to_lexique +License GPL3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + +##Crédits +Florian Arend, Antoine Aufrechter, Estelle de Magondeaux, Marouane Hammi + +##Install In order to use this converter, follow those steps : 1. Copy your Opale file(s) (.scar or .zip) into the input directory. 2. Execute the run that correspond to your OS. 3. You will find the result into the output directory.The name of the output files depends of the hour it was processed. + +##User documentation +Because the Opale definitions are much less structured that Lexique definitions, only the text content of the definition will be fill out in the Lexique definition. Be free to add other information or organize differently the resulting text. + diff --git a/opale_to_lexique/samples/buc1-Buckland-WhatIsA(Digital)Document_2015-12-13.scar b/opale_to_lexique/samples/buc1-Buckland-WhatIsA(Digital)Document_2015-12-13.scar deleted file mode 100644 index d3392e33c9ebf669073f668afeb188f93faf3536..0000000000000000000000000000000000000000 Binary files a/opale_to_lexique/samples/buc1-Buckland-WhatIsA(Digital)Document_2015-12-13.scar and /dev/null differ diff --git a/opale_to_optim/README.txt b/opale_to_optim/README.txt index 6cda21a5a9b26bd74bced4501d291da4fbad3ede..ed9c0d108c9b3dd7deb4dc6c3a9bc00e14b43ea4 100644 --- a/opale_to_optim/README.txt +++ b/opale_to_optim/README.txt @@ -1,4 +1,17 @@ -Pour réaliser votre conversion vous devez ajouter votre fichier .scar dans le dossier input. -Veillez à n'en placer qu'un seul dedans. -Ensuite il suffit d'appeler le script (.bat ou .sh). -!!Attention!! Ce script efface tous les input et output préalablement contenus dans les deux conversions. \ No newline at end of file +Ce convertisseur permet de convertir des fichiers du format Opale (.scar) en contenus Optim de type papier (.paper) ou diaporama (.slideshow) + +Il y a deux façons de réaliser votre conversion: + + +- Lancer le script run. Dans ce cas vous devez ajouter votre fichier .scar dans le dossier input. Veillez à ne placer qu'un seul fichier dans ce dossier. Le format par défaut utilisé pour le fichier cible est le type papier. + + +- En ligne de commande: + +ant -buildfile opale_to_optim.ant + +Vous pouvez spécifier le fichier input, avec le paramètre -DSource, et le format de sortie avec le paramètre -DDocType (paper ou slideshow). Les deux paramètres sont optionnels. + +Exemple: + +ant -buildfile opale_to_optim.ant -DDocType slideshow -DSource sample.scar \ No newline at end of file diff --git a/opale_to_optim/opale_to_optim.ant b/opale_to_optim/opale_to_optim.ant index 042487abbd65ecea77486c8ec726886eecaa27af..3c01323cdf7dd564e2ab04a9e3d9a060ff7ce801 100644 --- a/opale_to_optim/opale_to_optim.ant +++ b/opale_to_optim/opale_to_optim.ant @@ -1,5 +1,16 @@ + + + + + + + + + + + @@ -16,13 +27,43 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + diff --git a/optim_to_hdoc/README b/optim_to_hdoc/README.MD similarity index 93% rename from optim_to_hdoc/README rename to optim_to_hdoc/README.MD index ba8a5ec20bc7b3c3477f999c5d0e6929ca3b9a31..ac5d72cfdad69a1795653ab566a1eaa21471977d 100644 --- a/optim_to_hdoc/README +++ b/optim_to_hdoc/README.MD @@ -1,27 +1,43 @@ -Usage ------ +Optim to Hdoc +============= -Put `.scar` files in the input folder, run `run.bat` or `run.sh` and get results in output folder (one folder and a .hdoc per .scar). +Licence +------- +This project is under [GPL 3.0](http://www.gnu.org/licenses/gpl-3.0.txt). -Todo list ---------- -- tests more files -- clean output of optim source files -- resolve bugs -- test the entier process from optim to opale -- the level of unit of content for the Opal conversion if basically set to sections witch doesn't contains any section but some could need it to be set to another level. Create a selection of this level could be a next step for this project. +Credits +------- -Bugs ----- +Ivan D'halluin, Sylvain Lagache, Frédéric Le Feurmou. + + +User documentation +------------------ + +Use the project as describe in the root README. You can convert multiple files by putting all `.scar` in the input folder. +You can convert paper, section, website, slideshow and webpage. + + +Known bugs +---------- - references of sections or fragments inside a paragraphe - can create divs with only h6 -Transformation --------------- +Todo +---- + +- tests more files +- clean output of optim source files +- resolve bugs +- the level of unit of content for the Opal conversion if basically set to sections witch doesn't contains any section but some could need it to be set to another level. Create a selection of this level could be a next step for this project. + + +Technicals notes +---------------- | Optim start tag (or structures) | HDOC end tag | Note | |---------------------------------|-------------------------------------|---------------------------------------------| @@ -79,4 +95,5 @@ Transformation | tree |

                  | The structure of trees cannot be converted | | | | and the result is a list a blocks | |---------------------------------|-------------------------------------|---------------------------------------------| -| title |
                  | | \ No newline at end of file +| title |
                  | | + diff --git a/optim_to_lexique/README.md b/optim_to_lexique/README.md index 8c0819dabb5e9d880de63f093e6a9f20683835c9..20bc5a343ece63ed22651f00da9e04c2de065b16 100644 --- a/optim_to_lexique/README.md +++ b/optim_to_lexique/README.md @@ -1,6 +1,30 @@ # Converter optim_to_lexique +Converter optim_to_lexique +License GPL3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + +Crédits +Florian Arend +Estelle de Magondeaux +Marouane Hammi +Antoine Aufrechter + +Install In order to use this converter, follow those steps : -1. Copy your Optim files (.scar or .zip) into the input directory. +1. Copy your Optim file(s) (.scar or .zip) into the input directory. 2. Execute the run that correspond to your OS. 3. You will find the result into the output directory. The name of the output files depends of the hour it was processed. + +Dependance + +User documentation + +Unsupported + +Known bugs + +TODO + +Capitalisation + diff --git a/optim_to_lexique/samples/nf29a012optim_2015-12-13.scar b/optim_to_lexique/samples/nf29a012optim_2015-12-13.scar deleted file mode 100644 index 8330b155ccd377c4bdc6f391c8c4a858081dbb2e..0000000000000000000000000000000000000000 Binary files a/optim_to_lexique/samples/nf29a012optim_2015-12-13.scar and /dev/null differ diff --git a/optim_to_opale/input/sample.scar b/optim_to_opale/input/sample.scar index d3a713bdae118d7a5ed454e08f2443d917380ff1..5cebe57f9ab0bc0b2675e2b86f7ecd82e9c11a45 100644 Binary files a/optim_to_opale/input/sample.scar and b/optim_to_opale/input/sample.scar differ diff --git a/optim_to_opale/optim_to_opale.ant b/optim_to_opale/optim_to_opale.ant index c2b365b0445fcb16e0d01aff624bbfdb8b29329f..d66f9332e45ed1aac29a25ce06c88ec06a3940ab 100644 --- a/optim_to_opale/optim_to_opale.ant +++ b/optim_to_opale/optim_to_opale.ant @@ -198,6 +198,11 @@ + + + + + \ No newline at end of file diff --git a/optim_to_opale/readme.md b/optim_to_opale/readme.md index 39d5179e790db77968c6ede8ce8a83ac0d855ee7..00c34d6170251fd756c32e2ecc229f32f33e8c71 100644 --- a/optim_to_opale/readme.md +++ b/optim_to_opale/readme.md @@ -1,34 +1,78 @@ -Optim to Opale (optim_to_opale) -------------------------------- +Optim to Opale (`optim_to_opale`) +=============================== +Last edit: January 4, 2016 -Last edit: December 17, 2015 +License +------- +This project is under [GPL 3.0 license](http://www.gnu.org/licenses/gpl-3.0.txt). -# Purpose +Credits +------- +### Autumn 2015 -`optim_to_opale` is an ANT script to convert a file from Optim format to Opale format. +* Ivan D'HALLUIN +* Jeffrey DECORDE +* Jean-Baptiste MARTIN -# Dependencies +Presentation +------------ +`optim_to_opale` is an ANT script that converts a file from Optim format to Opale format. It simply calls `optim_to_hdoc` and `hdoc_to_opale` scripts. +Dependencies +------------ In order to work properly this script needs -1. `optim_to_hdoc` (Optim to HDoc conversion) -2. `hdoc_to_opale` (HDoc to Opale conversion) +1. [`optim_to_hdoc`](https://gitlab.utc.fr/crozatst/hdoc/tree/master/optim_to_hdoc) (Optim to HDoc conversion) +2. [`hdoc_to_opale`](https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_opale) (HDoc to Opale conversion) -# Running the script +User Documentation +------------------ +### Running the script 1. Put the file you want to convert into the `input` directory -2. Run the `run.sh`file on a Unix system (Linux, Mac OS, etc.) or the `run.bat`on Windows -3. Your converted file is placed into the `output` directory (a log file is also placed into the `log`directory) +2. Run the `run.sh` file on a Unix system (Linux, Mac OS, etc.) or the `run.bat` on Windows +3. Your converted file is placed into the `output` directory (a log file is also placed into the `log` directory) 4. Enjoy! -# How is this script working +### How is this script working 1. The script first determines what OS you are using so it then can call the right scripts -2. It cleans the `log`, `tmp`and `output`directories -3. It copies the files that are inside the `input`directory to the `input` directory of `optim_to_hdoc` -4. It calls `optim_to_hdoc`run script (`.bat` on windows, `.sh`on Unix) -5. It copies the files that are inside the `output`directory of `optim_to_hdoc` to the `input` directory of `hdoc_to_opale` -6. It calls `hdoc_to_opale`run script (`.bat` on windows, `.sh`on Unix) -7. It copies the files that are inside the `output`directory of `hdoc_to_opale` to the `output` directory of `optim_to_opale` +2. It cleans the `log`, `tmp` and `output` directories +3. It copies the files that are inside the `input` directory to the `input` directory of `optim_to_hdoc` +4. It calls `optim_to_hdoc` run script (`.bat` on windows, `.sh` on Unix) +5. It copies the files that are inside the `output` directory of `optim_to_hdoc` to the `input` directory of `hdoc_to_opale` +6. It calls `hdoc_to_opale` run script (`.bat` on windows, `.sh` on Unix) +7. It copies the files that are inside the `output` directory of `hdoc_to_opale` to the `output` directory of `optim_to_opale` During all the process it also prints some basic information both on screen and in the log file. + +Unsupported +----------- + +### Single file conversion with parameter + +The script currently doesn't support any paramater to specify the file to convert. If multiple files are in the `input` directory, the script will convert all these files. + +Known bugs +---------- +N/A for now. + +Todo +---- + +### Single file conversion with parameter + +This feature requires that the same feature has been implementing in `optim_to_hdoc` and `hdoc_to_opale` first. + +1. Add a parameter to the `ant` script and to both the `.bat` and `.sh` scripts to accept a filename (refering to a file placed into the `input` directory) to convert only one file +2. Don't clean `optim_to_hdoc` and `hdoc_to_opale` `input` directories: simply remove the lines in the `clean` target +3. Call `optim_to_hdoc` and `hdoc_to_opale` scripts by passing a parameter with the filename (this feature first needs to be implementing in `optim_to_hdoc` and `hdoc_to_opale` + +Technical notes +--------------- + +Capitalization +-------------- +While working on this project, we have learned more about ANT scripting (more specifically bulding an multi-os script and running scripts by detecting the OS) and about problem solving in general (how to go from one specific need to a result). + + diff --git a/wikipedia_to_hdoc/README.md b/wikipedia_to_hdoc/README.md index 27da2df2448e9a873e361e3608af6d5bad321e29..329ce105e252ca1ca866d0353a095143631b5468 100644 --- a/wikipedia_to_hdoc/README.md +++ b/wikipedia_to_hdoc/README.md @@ -1,4 +1,27 @@ -Getting started +Converter : Wikipedia_to_Hdoc +=============== + +Licence : +--------------- +GPL 3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + + +Credits : +--------------- +Carrel Billiard Harold + +Harriga Merouane + +Lhomme Nicolas + +Previous developers + +Presentation +--------------- +This converter transforms a wkipedia page (from a link or a saved page) to a Hdoc document. + +User Documentation --------------- Use a terminal and go to the root of the folder (Wikipedia_to_hdoc). @@ -45,13 +68,30 @@ To do Concerning images : 1 - Extract the metadata information from the meta.xml file for each image. You can do that by creating an XSL file that will be called from the ant task generated by xslt/get_ressources_urls.xsl. In that file you have the hand on each meta.xml File. + 2 - Verify that images are well zipped to avoid any problem while testing in Opale + 3 - Images inside paragraphs break the validation of the hdoc schema, do a preposition to change the schema and handle that. + Concerning listings : 1 - Succeed in finding the language of the part of code of the wikipedia article + +Concerning tables : + +1 - Solve the encoding problem, + +2 - Change Hdoc Scheme in order to accept images in tables? + +3 - Display complex tables as tables in Opale (not as extern files) + +Technical notes +--------------- +For images you can refer to the get-ressources-with-meta.xsl and official-meta.xml. Read the commentary and it will help you +to finish the to do task regarding images. These files are included just for the seek of Capitalization. + Be aware of the following things --------------------------------------------------------- 1 - Not all images have a metadata information (only the ones who ) @@ -59,4 +99,11 @@ Be aware of the following things BUG --- -1 - Linux sh files doesn't work with UTC proxy but works outside UTC \ No newline at end of file +1 - Linux sh files doesn't work with UTC proxy but works outside of UTC. + +2 - Random errors might occur +Wikipedia is a great tool : everyone can participe. However, it does not provide contributors with best practices that everyone follows. The result is a lot of different ways to write articles. This is why this converter might not handle some situations (even if all files I have tried worked), and it might not be able to output some Wikipedia articles at its current state. + +3 - Small issues with Opale +Links can be invisible if you use an old version of Opale. This is not a problem coming from the Wikipedia to Hdoc converter. Make sure you use an updated version of Opale to test your scar archives. +Another thing is that Opale might indicate that the scar file contains errors once imported. Actually, these "errors" are warnings. The archives work, as they were validated when making the scar file. These warnings come from Opale, but you can ignore them. \ No newline at end of file diff --git a/wikipedia_to_hdoc/xslt/get-ressources-with-meta.xsl b/wikipedia_to_hdoc/xslt/get-ressources-with-meta.xsl new file mode 100644 index 0000000000000000000000000000000000000000..0ee5eeab8ab278866f7adf13316651425ac8385d --- /dev/null +++ b/wikipedia_to_hdoc/xslt/get-ressources-with-meta.xsl @@ -0,0 +1,65 @@ + + + + + + + + + ${hdocResultPath}/ressources + + + + + + + + + + + + + + + + + + + ${hdocResultPath}/ressources/ + ${hdocResultPath}/ressources// + + ${hdocResultPath}/ressources//meta.xml + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wikipedia_to_hdoc/xslt/official-meta.xml b/wikipedia_to_hdoc/xslt/official-meta.xml new file mode 100644 index 0000000000000000000000000000000000000000..0fe592258771cf06805539bf9b58ecc016036a35 --- /dev/null +++ b/wikipedia_to_hdoc/xslt/official-meta.xml @@ -0,0 +1,21 @@ + + + + Principal title + + + zero + 2.5 + + + + info + remplacement text + + + Complete description + + + + + \ No newline at end of file diff --git a/wikipedia_to_opale/README.md b/wikipedia_to_opale/README.md index 6a245117a4a1d9703875fe5a468876c898d8ba39..3a8958751de9f411d1e3fc6b0be72e43ae5833e8 100644 --- a/wikipedia_to_opale/README.md +++ b/wikipedia_to_opale/README.md @@ -1,7 +1,37 @@ -Getting started +Converter : Wikipedia To Opale +============================== + +Licence : +--------------- +GPL 3.0 +http://www.gnu.org/licenses/gpl-3.0.txt + + +Credits : --------------- +Carrel Billiard Harold + +Harriga Merouane + +Lhomme Nicolas + +Previous developers + + +Presentation +------------ + +Wikipedia to Opale is a converter that tronsform wikipedia pagaes to opale. + -Use a terminal and go to the root of the folder (Wikipedia_to_opale). +Dependece +--------- +- Wikipedia To Hdoc Converter +- Hdoc to Opale Converter + + +User Documentation +------------------ Generating .hdoc of a Wikipedia article with an URL --------------------------------------------------- @@ -42,4 +72,24 @@ Generating .hdoc of a Wikipedia article with a local file BUG --- -1 - Linux sh files doesn't work with UTC proxy but works outside UTC \ No newline at end of file +1 - Linux sh files doesn't work with UTC proxy but works outside UTC + +Unsupported +----------- + +1 Images: + - images inside text are not supported because of schema validation. + +Known Bugs +---------- + +To do +----- + + +Technical notes +--------------- + + +Capitalisation +--------------