diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5cffd8c..0000000 --- a/.gitignore +++ /dev/null @@ -1,20 +0,0 @@ -build/lib.linux-x86_64-2.7 -*.pyc -__pycache__/ -build/ -debian/uberwriter/DEBIAN -debian/uberwriter/opt -debian/uberwriter/usr -bin/ -flatpak/* -!flatpak/fonts-download -!flatpak/pandoc-download -!flatpak/pip-download -!flatpak/uberwriter.json -!flatpak/de.wolfvollprecht.UberWriter.* -!flatpak/flatpak_texlive.json -!flatpak/texlive_install.sh -*.py~ -data/ui/shortcut_handlers -*.ui~ -.vscode/ \ No newline at end of file diff --git a/.quickly b/.quickly deleted file mode 100644 index 40dacb3..0000000 --- a/.quickly +++ /dev/null @@ -1,5 +0,0 @@ -project = uberwriter -version = 12.08.1 -template = ubuntu-application -bzrbranch = lp:~w-vollprecht/uberwriter/quickly_trunk -lp_id = uberwriter diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 7c025dc..0000000 --- a/AUTHORS +++ /dev/null @@ -1,2 +0,0 @@ -Copyright (C) 2012, Wolf Vollprecht -Copyright (C) 2012, Vova Kolobok diff --git a/COPYING b/COPYING deleted file mode 100644 index 94a9ed0..0000000 --- a/COPYING +++ /dev/null @@ -1,674 +0,0 @@ - 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/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md deleted file mode 100644 index 8b26d0f..0000000 --- a/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,7 +0,0 @@ -### ENVIROMENT -- Linux distribution: -- Desktop Enviroment: -- DE version: -- GTK version: - -### BUG diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 9861c79..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -recursive-include po * diff --git a/Makefile b/Makefile deleted file mode 100644 index 4e6ad1e..0000000 --- a/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -all: - python3 ./setup.py build - -install: - python3 ./setup.py install --prefix=/app --skip-build --optimize=1 - diff --git a/README.md b/README.md deleted file mode 100644 index 802d3f9..0000000 --- a/README.md +++ /dev/null @@ -1,57 +0,0 @@ -Uberwriter -========== - -![](screenshots/main.png) - -# About - -Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface. - -# Install - -You can get now UberWriter on Flathub! -[Get it now](https://flathub.org/apps/details/de.wolfvollprecht.UberWriter) - -# Contributions and localization - -If you want to help to localize the project, just join us at [Poeditor](https://poeditor.com/join/project/gxVzFyXb2x) -Any help is appreciated! - -# Running and building it - -To use uberwriter, please make sure you have some dependencies installed: - -- Pandoc, the program used to convert Markdown to basically anything else (the package name should be pandoc in most distributions) -- Of course, gtk3 etc. needs to be installed as well since this is a gtk application -- webkit2gtk is also needed for the preview panel -- Please find these packages on your distribution: `python3 python3-regex python3-setuptools python3-levenshtein python3-enchant python3-gi python3-cairo` -- Optional dependencies are `texlive` for the pdftex module. - -You can run UberWriter with `./bin/uberwriter` without installing it in the system, -but you'll need to install and compile the schemas before: -`sudo cp data/de.wolfvollprecht.UberWriter.gschema.xml /usr/share/glib-2.0/schemas/de.wolfvollprecht.UberWriter.gschema.xml` -`sudo glib-compile-schemas /usr/share/glib-2.0/schemas` - -It's also possible to build, run and debug a flatpak package. You'll need flatpak-builder for this: - -- cd to the flatpak dir of the repo -- `flatpak-builder --install --force-clean some_folder_name uberwriter.json` (this installs and cleans the build folder) -- `flatpak run de.wolfvollprecht.UberWriter` - -If you can't find Uberwriter after this, it's due to a Flatpak bug. Try to export it to a local repo before installing it: - -- `cd flatpak` -- `flatpak-builder --repo=org.foo.Uberwriter --force-clean build uberwriter.json` -- `flatpak remote-add --no-gpg-verify user org.foo.Uberwriter` -- `flatpak install foo de.wolfvollprecht.UberWriter` - -Where `org.foo.repo` is the name of your repo, you can change 'foo' with the name you want -Then you can run it as before or from your system launcher. - -If you want to update an existing installation, just run - -- `flatpak update de.wolfvollprecht.UberWriter` - -You can also debug it with the following: `flatpak-builder --run --share=network some_folder_name uberwriter.json sh` - -If you want to install it using setuptools, simply run `python3 setup.py build install` \ No newline at end of file diff --git a/assets/js/jquery.scrollify.js b/assets/js/jquery.scrollify.js new file mode 100644 index 0000000..b3c1d0a --- /dev/null +++ b/assets/js/jquery.scrollify.js @@ -0,0 +1,847 @@ +/*! + * jQuery Scrollify + * Version 1.0.19 + * + * Requires: + * - jQuery 1.7 or higher + * + * https://github.com/lukehaas/Scrollify + * + * Copyright 2016, Luke Haas + * Permission is hereby granted, free of charge, to any person obtaining a copy of + * this software and associated documentation files (the "Software"), to deal in + * the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + * the Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +if touchScroll is false - update index + + */ +(function (global,factory) { + "use strict"; + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['jquery'], function($) { + return factory($, global, global.document); + }); + } else if (typeof module === 'object' && module.exports) { + // Node/CommonJS + module.exports = factory(require('jquery'), global, global.document); + } else { + // Browser globals + factory(jQuery, global, global.document); + } +}(typeof window !== 'undefined' ? window : this, function ($, window, document, undefined) { + "use strict"; + var heights = [], + names = [], + elements = [], + overflow = [], + index = 0, + currentIndex = 0, + interstitialIndex = 1, + hasLocation = false, + timeoutId, + timeoutId2, + $window = $(window), + portHeight, + top = $window.scrollTop(), + scrollable = false, + locked = false, + scrolled = false, + manualScroll, + swipeScroll, + util, + disabled = false, + scrollSamples = [], + scrollTime = new Date().getTime(), + firstLoad = true, + initialised = false, + destination = 0, + wheelEvent = 'onwheel' in document ? 'wheel' : document.onmousewheel !== undefined ? 'mousewheel' : 'DOMMouseScroll', + settings = { + //section should be an identifier that is the same for each section + section: ".section", + sectionName: "section-name", + interstitialSection: "", + easing: "easeOutExpo", + scrollSpeed: 1100, + offset: 0, + scrollbars: true, + target:"html,body", + standardScrollElements: false, + setHeights: true, + overflowScroll:true, + updateHash: true, + touchScroll:true, + before:function() {}, + after:function() {}, + afterResize:function() {}, + afterRender:function() {} + }; + function getportHeight() { + return ($window.height() + settings.offset); + } + function animateScroll(index,instant,callbacks,toTop) { + if(currentIndex===index) { + callbacks = false; + } + if(disabled===true) { + return true; + } + if(names[index]) { + scrollable = false; + if(firstLoad===true) { + settings.afterRender(); + firstLoad = false; + } + if(callbacks) { + if( typeof settings.before == 'function' && settings.before(index,elements) === false ){ + return true; + } + } + interstitialIndex = 1; + destination = heights[index]; + if(firstLoad===false && currentIndex>index && toTop===false) { + //We're going backwards + if(overflow[index]) { + portHeight = getportHeight(); + + interstitialIndex = parseInt(elements[index].outerHeight()/portHeight); + + destination = parseInt(heights[index])+(elements[index].outerHeight()-portHeight); + } + } + + + if(settings.updateHash && settings.sectionName && !(firstLoad===true && index===0)) { + if(history.pushState) { + try { + history.replaceState(null, null, names[index]); + } catch (e) { + if(window.console) { + console.warn("Scrollify warning: Page must be hosted to manipulate the hash value."); + } + } + + } else { + window.location.hash = names[index]; + } + } + + currentIndex = index; + if(instant) { + $(settings.target).stop().scrollTop(destination); + if(callbacks) { + settings.after(index,elements); + } + } else { + locked = true; + if( $().velocity ) { + $(settings.target).stop().velocity('scroll', { + duration: settings.scrollSpeed, + easing: settings.easing, + offset: destination, + mobileHA: false + }); + } else { + $(settings.target).stop().animate({ + scrollTop: destination + }, settings.scrollSpeed,settings.easing); + } + + if(window.location.hash.length && settings.sectionName && window.console) { + try { + if($(window.location.hash).length) { + console.warn("Scrollify warning: ID matches hash value - this will cause the page to anchor."); + } + } catch (e) {} + } + $(settings.target).promise().done(function(){ + locked = false; + firstLoad = false; + if(callbacks) { + settings.after(index,elements); + } + }); + } + + } + } + + function isAccelerating(samples) { + function average(num) { + var sum = 0; + + var lastElements = samples.slice(Math.max(samples.length - num, 1)); + + for(var i = 0; i < lastElements.length; i++){ + sum += lastElements[i]; + } + + return Math.ceil(sum/num); + } + + var avEnd = average(10); + var avMiddle = average(70); + + if(avEnd >= avMiddle) { + return true; + } else { + return false; + } + } + var scrollify = function(options) { + initialised = true; + $.easing['easeOutExpo'] = function(x, t, b, c, d) { + return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; + }; + + manualScroll = { + handleMousedown:function() { + if(disabled===true) { + return true; + } + scrollable = false; + scrolled = false; + }, + handleMouseup:function() { + if(disabled===true) { + return true; + } + scrollable = true; + if(scrolled) { + //instant,callbacks + manualScroll.calculateNearest(false,true); + } + }, + handleScroll:function() { + if(disabled===true) { + return true; + } + if(timeoutId){ + clearTimeout(timeoutId); + } + + timeoutId = setTimeout(function(){ + scrolled = true; + if(scrollable===false) { + return false; + } + scrollable = false; + //instant,callbacks + manualScroll.calculateNearest(false,true); + }, 200); + }, + calculateNearest:function(instant,callbacks) { + top = $window.scrollTop(); + var i =1, + max = heights.length, + closest = 0, + prev = Math.abs(heights[0] - top), + diff; + for(;iindex) || atTop()) { + index = closest; + //index, instant, callbacks, toTop + animateScroll(closest,instant,callbacks,false); + } + }, + wheelHandler:function(e) { + if(disabled===true) { + return true; + } else if(settings.standardScrollElements) { + if($(e.target).is(settings.standardScrollElements) || $(e.target).closest(settings.standardScrollElements).length) { + return true; + } + } + if(!overflow[index]) { + e.preventDefault(); + } + var currentScrollTime = new Date().getTime(); + + + e = e || window.event; + var value = e.originalEvent.wheelDelta || -e.originalEvent.deltaY || -e.originalEvent.detail; + var delta = Math.max(-1, Math.min(1, value)); + + //delta = delta || -e.originalEvent.detail / 3 || e.originalEvent.wheelDelta / 120; + + if(scrollSamples.length > 149){ + scrollSamples.shift(); + } + //scrollSamples.push(Math.abs(delta*10)); + scrollSamples.push(Math.abs(value)); + + if((currentScrollTime-scrollTime) > 200){ + scrollSamples = []; + } + scrollTime = currentScrollTime; + + + if(locked) { + return false; + } + if(delta<0) { + if(index0) { + if(index>0) { + if(atTop()) { + if(isAccelerating(scrollSamples)) { + e.preventDefault(); + index--; + locked = true; + //index, instant, callbacks, toTop + animateScroll(index,false,true, false); + } else { + return false + } + } + } + } + + }, + keyHandler:function(e) { + if(disabled===true || document.activeElement.readOnly===false) { + return true; + } else if(settings.standardScrollElements) { + if($(e.target).is(settings.standardScrollElements) || $(e.target).closest(settings.standardScrollElements).length) { + return true; + } + } + if(locked===true) { + return false; + } + if(e.keyCode==38 || e.keyCode==33) { + if(index>0) { + if(atTop()) { + e.preventDefault(); + index--; + //index, instant, callbacks, toTop + animateScroll(index,false,true,false); + } + } + } else if(e.keyCode==40 || e.keyCode==34) { + if(indexMath.abs(swipeScroll.touches.touchstart.x-swipeScroll.touches.touchmove.x))) { + //if(!overflow[index]) { + event.preventDefault(); + //} + swipeScroll.touches.direction = "y"; + if((swipeScroll.options.timeStamp+swipeScroll.options.timeGap)<(new Date().getTime()) && swipeScroll.touches.touchend == false) { + + swipeScroll.touches.touchend = true; + if (swipeScroll.touches.touchstart.y > -1) { + + if(Math.abs(swipeScroll.touches.touchmove.y-swipeScroll.touches.touchstart.y)>swipeScroll.options.distance) { + if(swipeScroll.touches.touchstart.y < swipeScroll.touches.touchmove.y) { + + swipeScroll.up(); + + } else { + swipeScroll.down(); + + } + } + } + } + } + break; + case 'touchend': + if(swipeScroll.touches[event.type]===false) { + swipeScroll.touches[event.type] = true; + if (swipeScroll.touches.touchstart.y > -1 && swipeScroll.touches.touchmove.y > -1 && swipeScroll.touches.direction==="y") { + + if(Math.abs(swipeScroll.touches.touchmove.y-swipeScroll.touches.touchstart.y)>swipeScroll.options.distance) { + if(swipeScroll.touches.touchstart.y < swipeScroll.touches.touchmove.y) { + swipeScroll.up(); + + } else { + swipeScroll.down(); + + } + } + swipeScroll.touches.touchstart.y = -1; + swipeScroll.touches.touchstart.x = -1; + swipeScroll.touches.direction = "undetermined"; + } + } + default: + break; + } + } + } + }, + down: function() { + + if(indexinterstitialIndex) { + + interstitialScroll(parseInt(heights[index])+(portHeight*interstitialIndex)); + interstitialIndex += 1; + + } else { + interstitialScroll(parseInt(heights[index])+(elements[index].outerHeight()-portHeight)); + } + + } + } + }, + up: function() { + if(index>=0) { + if(atTop() && index>0) { + + index--; + //index, instant, callbacks, toTop + animateScroll(index,false,true,false); + } else { + + if(interstitialIndex>2) { + portHeight = getportHeight(); + + interstitialIndex -= 1; + interstitialScroll(parseInt(heights[index])+(portHeight*interstitialIndex)); + + } else { + + interstitialIndex = 1; + interstitialScroll(parseInt(heights[index])); + } + } + + } + }, + init: function() { + if (document.addEventListener && settings.touchScroll) { + var eventListenerOptions = { + passive: false + }; + document.addEventListener('touchstart', swipeScroll.touchHandler, eventListenerOptions); + document.addEventListener('touchmove', swipeScroll.touchHandler, eventListenerOptions); + document.addEventListener('touchend', swipeScroll.touchHandler, eventListenerOptions); + } + } + }; + + + util = { + refresh:function(withCallback,scroll) { + clearTimeout(timeoutId2); + timeoutId2 = setTimeout(function() { + //retain position + sizePanels(true); + //scroll, firstLoad + calculatePositions(scroll,false); + if(withCallback) { + settings.afterResize(); + } + },400); + }, + handleUpdate:function() { + //callbacks, scroll + //changed from false,true to false,false + util.refresh(false,false); + }, + handleResize:function() { + //callbacks, scroll + util.refresh(true,false); + }, + handleOrientation:function() { + //callbacks, scroll + util.refresh(true,true); + } + }; + settings = $.extend(settings, options); + + //retain position + sizePanels(false); + + calculatePositions(false,true); + + if(true===hasLocation) { + //index, instant, callbacks, toTop + animateScroll(index,false,true,true); + } else { + setTimeout(function() { + //instant,callbacks + manualScroll.calculateNearest(true,false); + },200); + } + if(heights.length) { + manualScroll.init(); + swipeScroll.init(); + + $window.on("resize",util.handleResize); + if (document.addEventListener) { + window.addEventListener("orientationchange", util.handleOrientation, false); + } + } + function interstitialScroll(pos) { + if( $().velocity ) { + $(settings.target).stop().velocity('scroll', { + duration: settings.scrollSpeed, + easing: settings.easing, + offset: pos, + mobileHA: false + }); + } else { + $(settings.target).stop().animate({ + scrollTop: pos + }, settings.scrollSpeed,settings.easing); + } + } + + function sizePanels(keepPosition) { + if(keepPosition) { + top = $window.scrollTop(); + } + + var selector = settings.section; + overflow = []; + if(settings.interstitialSection.length) { + selector += "," + settings.interstitialSection; + } + if(settings.scrollbars===false) { + settings.overflowScroll = false; + } + portHeight = getportHeight(); + $(selector).each(function(i) { + var $this = $(this); + + if(settings.setHeights) { + if($this.is(settings.interstitialSection)) { + overflow[i] = false; + } else { + if(($this.css("height","auto").outerHeight()0) { + heights[i] = parseInt($this.offset().top) + settings.offset; + } else { + heights[i] = parseInt($this.offset().top); + } + if(settings.sectionName && $this.data(settings.sectionName)) { + names[i] = "#" + $this.data(settings.sectionName).toString().replace(/ /g,"-"); + } else { + if($this.is(settings.interstitialSection)===false) { + names[i] = "#" + (i + 1); + } else { + names[i] = "#"; + if(i===$(selector).length-1 && i>1) { + heights[i] = heights[i-1] + (parseInt($($(selector)[i-1]).outerHeight()) - parseInt($(window).height())) + parseInt($this.outerHeight()); + } + } + } + elements[i] = $this; + try { + if($(names[i]).length && window.console) { + console.warn("Scrollify warning: Section names can't match IDs - this will cause the browser to anchor."); + } + } catch (e) {} + + if(window.location.hash===names[i]) { + index = i; + hasLocation = true; + } + + }); + + if(true===scroll) { + //index, instant, callbacks, toTop + animateScroll(index,false,false,false); + } + } + + function atTop() { + if(!overflow[index]) { + return true; + } + top = $window.scrollTop(); + if(top>parseInt(heights[index])) { + return false; + } else { + return true; + } + } + function atBottom() { + if(!overflow[index]) { + return true; + } + top = $window.scrollTop(); + portHeight = getportHeight(); + + if(top=0;z--) { + if(typeof panel === 'string') { + if (names[z]===panel) { + index = z; + //index, instant, callbacks, toTop + animateScroll(z,instant,true,true); + } + } else { + if(z===panel) { + index = z; + //index, instant, callbacks, toTop + animateScroll(z,instant,true,true); + } + } + } + } + scrollify.move = function(panel) { + if(panel===undefined) { + return false; + } + if(panel.originalEvent) { + panel = $(this).attr("href"); + } + move(panel,false); + }; + scrollify.instantMove = function(panel) { + if(panel===undefined) { + return false; + } + move(panel,true); + }; + scrollify.next = function() { + if(index0) { + index -= 1; + //index, instant, callbacks, toTop + animateScroll(index,false,true,true); + } + }; + scrollify.instantNext = function() { + if(index0) { + index -= 1; + //index, instant, callbacks, toTop + animateScroll(index,true,true,true); + } + }; + scrollify.destroy = function() { + if(!initialised) { + return false; + } + if(settings.setHeights) { + $(settings.section).each(function() { + $(this).css("height","auto"); + }); + } + $window.off("resize",util.handleResize); + if(settings.scrollbars) { + $window.off('mousedown', manualScroll.handleMousedown); + $window.off('mouseup', manualScroll.handleMouseup); + $window.off('scroll', manualScroll.handleScroll); + } + $window.off(wheelEvent,manualScroll.wheelHandler); + $window.off('keydown', manualScroll.keyHandler); + + if (document.addEventListener && settings.touchScroll) { + document.removeEventListener('touchstart', swipeScroll.touchHandler, false); + document.removeEventListener('touchmove', swipeScroll.touchHandler, false); + document.removeEventListener('touchend', swipeScroll.touchHandler, false); + } + heights = []; + names = []; + elements = []; + overflow = []; + }; + scrollify.update = function() { + if(!initialised) { + return false; + } + util.handleUpdate(); + }; + scrollify.current = function() { + return elements[index]; + }; + scrollify.currentIndex = function() { + return index; + }; + scrollify.disable = function() { + disabled = true; + }; + scrollify.enable = function() { + disabled = false; + if (initialised) { + //instant,callbacks + manualScroll.calculateNearest(false,false); + } + }; + scrollify.isDisabled = function() { + return disabled; + }; + scrollify.setOptions = function(updatedOptions) { + if(!initialised) { + return false; + } + if(typeof updatedOptions === "object") { + settings = $.extend(settings, updatedOptions); + util.handleUpdate(); + } else if(window.console) { + console.warn("Scrollify warning: setOptions expects an object."); + } + }; + $.scrollify = scrollify; + return scrollify; +})); diff --git a/assets/sass/base/_sanitize.scss b/assets/sass/base/_sanitize.scss new file mode 100644 index 0000000..8008ab1 --- /dev/null +++ b/assets/sass/base/_sanitize.scss @@ -0,0 +1,589 @@ +/*! sanitize.css v5.0.0 | CC0 License | github.com/jonathantneal/sanitize.css */ + +/* Document (https://html.spec.whatwg.org/multipage/semantics.html#semantics) + ========================================================================== */ + +/** + * 1. Remove repeating backgrounds in all browsers (opinionated). + * 2. Add box sizing inheritence in all browsers (opinionated). + */ + +*, +::before, +::after { + background-repeat: no-repeat; /* 1 */ + box-sizing: inherit; /* 2 */ +} + +/** + * 1. Add text decoration inheritance in all browsers (opinionated). + * 2. Add vertical alignment inheritence in all browsers (opinionated). + */ + +::before, +::after { + text-decoration: inherit; /* 1 */ + vertical-align: inherit; /* 2 */ +} + +/** + * 1. Add border box sizing in all browsers (opinionated). + * 2. Add the default cursor in all browsers (opinionated). + * 3. Prevent font size adjustments after orientation changes in IE and iOS. + */ + +html { + box-sizing: border-box; /* 1 */ + cursor: default; /* 2 */ + -ms-text-size-adjust: 100%; /* 3 */ + -webkit-text-size-adjust: 100%; /* 3 */ +} + +/* Sections (https://html.spec.whatwg.org/multipage/semantics.html#sections) + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +article, +aside, +footer, +header, +nav, +section { + display: block; +} + +/** + * Remove the margin in all browsers (opinionated). + */ + +body { + margin: 0; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: .67em 0; +} + +/* Grouping content (https://html.spec.whatwg.org/multipage/semantics.html#grouping-content) + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in IE. + */ + +figcaption, +figure, +main { /* 1 */ + display: block; +} + +/** + * Add the correct margin in IE 8. + */ + +figure { + margin: 1em 40px; +} + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * Remove the list style on navigation lists in all browsers (opinionated). + */ + +nav ol, +nav ul { + list-style: none; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics (https://html.spec.whatwg.org/multipage/semantics.html#text-level-semantics) + ========================================================================== */ + +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ + +a { + background-color: transparent; /* 1 */ + -webkit-text-decoration-skip: objects; /* 2 */ +} + +/** + * 1. Remove the bottom border in Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ + +b, +strong { + font-weight: inherit; +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font style in Android 4.3-. + */ + +dfn { + font-style: italic; +} + +/** + * Add the correct background and color in IE 9-. + */ + +mark { + background-color: #ffff00; + color: #000000; +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -.25em; +} + +sup { + top: -.5em; +} + +/* + * Remove the text shadow on text selections (opinionated). + * 1. Restore the coloring undone by defining the text shadow (opinionated). + */ + +::-moz-selection { + background-color: #b3d4fc; /* 1 */ + color: #000000; /* 1 */ + text-shadow: none; +} + +::selection { + background-color: #b3d4fc; /* 1 */ + color: #000000; /* 1 */ + text-shadow: none; +} + +/* Embedded content (https://html.spec.whatwg.org/multipage/embedded-content.html#embedded-content) + ========================================================================== */ + +/* + * Change the alignment on media elements in all browers (opinionated). + */ + +audio, +canvas, +iframe, +img, +svg, +video { + vertical-align: middle; +} + +/** + * Add the correct display in IE 9-. + */ + +audio, +video { + display: inline-block; +} + +/** + * Add the correct display in iOS 4-7. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Remove the border on images inside links in IE 10-. + */ + +img { + border-style: none; +} + +/** + * Change the fill color to match the text color in all browsers (opinionated). + */ + +svg { + fill: currentColor; +} + +/** + * Hide the overflow in IE. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Tabular data (https://html.spec.whatwg.org/multipage/tables.html#tables) + ========================================================================== */ + +/** + * Collapse border spacing + */ + +table { + border-collapse: collapse; +} + +/* Forms (https://html.spec.whatwg.org/multipage/forms.html#forms) + ========================================================================== */ + +/** + * Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + margin: 0; +} + +/** + * Inherit styling in all browsers (opinionated). + */ + +button, +input, +select, +textarea { + color: inherit; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ + +button, +html [type="button"], /* 1 */ +[type="reset"], +[type="submit"] { + -webkit-appearance: button; /* 2 */ +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * 1. Add the correct display in IE 9-. + * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * 1. Remove the default vertical scrollbar in IE. + * 2. Change the resize direction on textareas in all browsers (opinionated). + */ + +textarea { + overflow: auto; /* 1 */ + resize: vertical; /* 2 */ +} + +/** + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive elements (https://html.spec.whatwg.org/multipage/forms.html#interactive-elements) + ========================================================================== */ + +/* + * Add the correct display in IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + */ + +details, /* 1 */ +menu { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Scripting (https://html.spec.whatwg.org/multipage/scripting.html#scripting-3) + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +canvas { + display: inline-block; +} + +/** + * Add the correct display in IE. + */ + +template { + display: none; +} + +/* User interaction (https://html.spec.whatwg.org/multipage/interaction.html#editing) + ========================================================================== */ + +/* + * Remove the tapping delay on clickable elements (opinionated). + * 1. Remove the tapping delay in IE 10. + */ + +a, +area, +button, +input, +label, +select, +summary, +textarea, +[tabindex] { + -ms-touch-action: manipulation; /* 1 */ + touch-action: manipulation; +} + +/** + * Add the correct display in IE 10-. + */ + +[hidden] { + display: none; +} + +/* ARIA (https://w3c.github.io/html-aria/) + ========================================================================== */ + +/** + * Change the cursor on busy elements (opinionated). + */ + +[aria-busy="true"] { + cursor: progress; +} + +/* + * Change the cursor on control elements (opinionated). + */ + +[aria-controls] { + cursor: pointer; +} + +/* + * Change the display on visually hidden accessible elements (opinionated). + */ + +[aria-hidden="false"][hidden]:not(:focus) { + clip: rect(0, 0, 0, 0); + display: inherit; + position: absolute; +} + +/* + * Change the cursor on disabled, not-editable, or otherwise + * inoperable elements (opinionated). + */ + +[aria-disabled] { + cursor: default; +} diff --git a/assets/sass/base/_typography.scss b/assets/sass/base/_typography.scss new file mode 100644 index 0000000..8828682 --- /dev/null +++ b/assets/sass/base/_typography.scss @@ -0,0 +1,3 @@ +body { + font-family: 'Fira Sans', sans-serif; +} \ No newline at end of file diff --git a/assets/sass/components/_backgrounds.scss b/assets/sass/components/_backgrounds.scss new file mode 100644 index 0000000..81fe732 --- /dev/null +++ b/assets/sass/components/_backgrounds.scss @@ -0,0 +1,10 @@ +.background-1 { + background: rgb(105,155,200); + background: -moz-radial-gradient(top left, ellipse cover, rgba(105,155,200,1) 0%, rgba(181,197,216,1) 57%); + background: -webkit-gradient(radial, top left, 0px, top left, 100%, color-stop(0%,rgba(105,155,200,1)), color-stop(57%,rgba(181,197,216,1))); + background: -webkit-radial-gradient(top left, ellipse cover, rgba(105,155,200,1) 0%,rgba(181,197,216,1) 57%); + background: -o-radial-gradient(top left, ellipse cover, rgba(105,155,200,1) 0%,rgba(181,197,216,1) 57%); + background: -ms-radial-gradient(top left, ellipse cover, rgba(105,155,200,1) 0%,rgba(181,197,216,1) 57%); + background: radial-gradient(ellipse at top left, rgba(105,155,200,1) 0%,rgba(181,197,216,1) 57%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#699bc8', endColorstr='#b5c5d8',GradientType=1 ); +} diff --git a/assets/sass/components/_buttons.scss b/assets/sass/components/_buttons.scss new file mode 100644 index 0000000..78acaea --- /dev/null +++ b/assets/sass/components/_buttons.scss @@ -0,0 +1,30 @@ +button { + margin-left: 5px; + + border:none; + -webkit-border-radius: 15; + -moz-border-radius: 15; + border-radius: 15px; + -webkit-box-shadow: 0px 0px 3px #666666; + -moz-box-shadow: 0px 0px 3px #666666; + box-shadow: 0px 0px 3px #666666; + color: #000000; + font-size: 20px; + background: #0099ff; + padding: 10px 20px 10px 20px; + text-decoration: none; +} +button:hover { + background: #3cb0fd; + text-decoration: none; + } + +.donate { + background-color: rgba(194, 194, 194, 0); + color: #6b6b6b; +} + +.donate:hover { + background: #6b6b6b; + color: white; +} \ No newline at end of file diff --git a/autogen.sh b/assets/sass/helpers/_functions.scss old mode 100755 new mode 100644 similarity index 100% rename from autogen.sh rename to assets/sass/helpers/_functions.scss diff --git a/configure b/assets/sass/helpers/_mixins.scss old mode 100755 new mode 100644 similarity index 100% rename from configure rename to assets/sass/helpers/_mixins.scss diff --git a/po/__init__.py b/assets/sass/helpers/_variables.scss similarity index 100% rename from po/__init__.py rename to assets/sass/helpers/_variables.scss diff --git a/uberwriter/Texsymbols.json b/assets/sass/layout/_footer.scss similarity index 100% rename from uberwriter/Texsymbols.json rename to assets/sass/layout/_footer.scss diff --git a/uberwriter/plugins/__init__.py b/assets/sass/layout/_grid.scss similarity index 100% rename from uberwriter/plugins/__init__.py rename to assets/sass/layout/_grid.scss diff --git a/assets/sass/layout/_header.scss b/assets/sass/layout/_header.scss new file mode 100644 index 0000000..4c79ac1 --- /dev/null +++ b/assets/sass/layout/_header.scss @@ -0,0 +1,32 @@ +header { + background-color: #ededed; + width: 100%; + height: 10vh; + box-shadow: 0px -17px 20px 20px #29292978; + + position: fixed; + top: 0px; + z-index: 1; + + display: flex; + align-items: center; +} + +header h1{ + color: #6b6b6b; + font-size: 2rem; +} + +header a { + text-decoration: none; +} + +.logo { + height: 80%; + padding-left: 15px; +} + +.buttons { + margin-left: auto; + margin-right: 5px; +} \ No newline at end of file diff --git a/assets/sass/layout/_section.scss b/assets/sass/layout/_section.scss new file mode 100644 index 0000000..f026757 --- /dev/null +++ b/assets/sass/layout/_section.scss @@ -0,0 +1,18 @@ + +section { + height: 100vh; + display: flex; + // align-items: center; + justify-content: center; + padding-top: 10vh; + +} + +section img { + filter: drop-shadow( 0px 10px 40px #888888 ); + width: 80%; + /* display: block; + margin-left: auto; + margin-right: auto; + justify-content: center; */ +} diff --git a/assets/sass/styles.css b/assets/sass/styles.css new file mode 100644 index 0000000..d565a47 --- /dev/null +++ b/assets/sass/styles.css @@ -0,0 +1,601 @@ +/* BASE - Base Variable files +========================================================================== */ +/*! sanitize.css v5.0.0 | CC0 License | github.com/jonathantneal/sanitize.css */ +/* Document (https://html.spec.whatwg.org/multipage/semantics.html#semantics) + ========================================================================== */ +/** + * 1. Remove repeating backgrounds in all browsers (opinionated). + * 2. Add box sizing inheritence in all browsers (opinionated). + */ +*, +::before, +::after { + background-repeat: no-repeat; + /* 1 */ + box-sizing: inherit; + /* 2 */ } + +/** + * 1. Add text decoration inheritance in all browsers (opinionated). + * 2. Add vertical alignment inheritence in all browsers (opinionated). + */ +::before, +::after { + text-decoration: inherit; + /* 1 */ + vertical-align: inherit; + /* 2 */ } + +/** + * 1. Add border box sizing in all browsers (opinionated). + * 2. Add the default cursor in all browsers (opinionated). + * 3. Prevent font size adjustments after orientation changes in IE and iOS. + */ +html { + box-sizing: border-box; + /* 1 */ + cursor: default; + /* 2 */ + -ms-text-size-adjust: 100%; + /* 3 */ + -webkit-text-size-adjust: 100%; + /* 3 */ } + +/* Sections (https://html.spec.whatwg.org/multipage/semantics.html#sections) + ========================================================================== */ +/** + * Add the correct display in IE 9-. + */ +article, +aside, +footer, +header, +nav, +section { + display: block; } + +/** + * Remove the margin in all browsers (opinionated). + */ +body { + margin: 0; } + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ +h1 { + font-size: 2em; + margin: .67em 0; } + +/* Grouping content (https://html.spec.whatwg.org/multipage/semantics.html#grouping-content) + ========================================================================== */ +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in IE. + */ +figcaption, +figure, +main { + /* 1 */ + display: block; } + +/** + * Add the correct margin in IE 8. + */ +figure { + margin: 1em 40px; } + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ +hr { + box-sizing: content-box; + /* 1 */ + height: 0; + /* 1 */ + overflow: visible; + /* 2 */ } + +/** + * Remove the list style on navigation lists in all browsers (opinionated). + */ +nav ol, +nav ul { + list-style: none; } + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +pre { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ } + +/* Text-level semantics (https://html.spec.whatwg.org/multipage/semantics.html#text-level-semantics) + ========================================================================== */ +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ +a { + background-color: transparent; + /* 1 */ + -webkit-text-decoration-skip: objects; + /* 2 */ } + +/** + * 1. Remove the bottom border in Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ +abbr[title] { + border-bottom: none; + /* 1 */ + text-decoration: underline; + /* 2 */ + text-decoration: underline dotted; + /* 2 */ } + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ +b, +strong { + font-weight: inherit; } + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; } + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ } + +/** + * Add the correct font style in Android 4.3-. + */ +dfn { + font-style: italic; } + +/** + * Add the correct background and color in IE 9-. + */ +mark { + background-color: #ffff00; + color: #000000; } + +/** + * Add the correct font size in all browsers. + */ +small { + font-size: 80%; } + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; } + +sub { + bottom: -.25em; } + +sup { + top: -.5em; } + +/* + * Remove the text shadow on text selections (opinionated). + * 1. Restore the coloring undone by defining the text shadow (opinionated). + */ +::-moz-selection { + background-color: #b3d4fc; + /* 1 */ + color: #000000; + /* 1 */ + text-shadow: none; } + +::selection { + background-color: #b3d4fc; + /* 1 */ + color: #000000; + /* 1 */ + text-shadow: none; } + +/* Embedded content (https://html.spec.whatwg.org/multipage/embedded-content.html#embedded-content) + ========================================================================== */ +/* + * Change the alignment on media elements in all browers (opinionated). + */ +audio, +canvas, +iframe, +img, +svg, +video { + vertical-align: middle; } + +/** + * Add the correct display in IE 9-. + */ +audio, +video { + display: inline-block; } + +/** + * Add the correct display in iOS 4-7. + */ +audio:not([controls]) { + display: none; + height: 0; } + +/** + * Remove the border on images inside links in IE 10-. + */ +img { + border-style: none; } + +/** + * Change the fill color to match the text color in all browsers (opinionated). + */ +svg { + fill: currentColor; } + +/** + * Hide the overflow in IE. + */ +svg:not(:root) { + overflow: hidden; } + +/* Tabular data (https://html.spec.whatwg.org/multipage/tables.html#tables) + ========================================================================== */ +/** + * Collapse border spacing + */ +table { + border-collapse: collapse; } + +/* Forms (https://html.spec.whatwg.org/multipage/forms.html#forms) + ========================================================================== */ +/** + * Remove the margin in Firefox and Safari. + */ +button, +input, +optgroup, +select, +textarea { + margin: 0; } + +/** + * Inherit styling in all browsers (opinionated). + */ +button, +input, +select, +textarea { + color: inherit; + font-family: inherit; + font-size: inherit; + line-height: inherit; } + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ +button, +input { + /* 1 */ + overflow: visible; } + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ +button, +select { + /* 1 */ + text-transform: none; } + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ +button, +html [type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; + /* 2 */ } + +/** + * Remove the inner border and padding in Firefox. + */ +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; } + +/** + * Restore the focus styles unset by the previous rule. + */ +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; } + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ +legend { + box-sizing: border-box; + /* 1 */ + color: inherit; + /* 2 */ + display: table; + /* 1 */ + max-width: 100%; + /* 1 */ + padding: 0; + /* 3 */ + white-space: normal; + /* 1 */ } + +/** + * 1. Add the correct display in IE 9-. + * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + display: inline-block; + /* 1 */ + vertical-align: baseline; + /* 2 */ } + +/** + * 1. Remove the default vertical scrollbar in IE. + * 2. Change the resize direction on textareas in all browsers (opinionated). + */ +textarea { + overflow: auto; + /* 1 */ + resize: vertical; + /* 2 */ } + +/** + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ } + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; } + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ } + +/** + * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. + */ +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ } + +/* Interactive elements (https://html.spec.whatwg.org/multipage/forms.html#interactive-elements) + ========================================================================== */ +/* + * Add the correct display in IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + */ +details, +menu { + display: block; } + +/* + * Add the correct display in all browsers. + */ +summary { + display: list-item; } + +/* Scripting (https://html.spec.whatwg.org/multipage/scripting.html#scripting-3) + ========================================================================== */ +/** + * Add the correct display in IE 9-. + */ +canvas { + display: inline-block; } + +/** + * Add the correct display in IE. + */ +template { + display: none; } + +/* User interaction (https://html.spec.whatwg.org/multipage/interaction.html#editing) + ========================================================================== */ +/* + * Remove the tapping delay on clickable elements (opinionated). + * 1. Remove the tapping delay in IE 10. + */ +a, +area, +button, +input, +label, +select, +summary, +textarea, +[tabindex] { + -ms-touch-action: manipulation; + /* 1 */ + touch-action: manipulation; } + +/** + * Add the correct display in IE 10-. + */ +[hidden] { + display: none; } + +/* ARIA (https://w3c.github.io/html-aria/) + ========================================================================== */ +/** + * Change the cursor on busy elements (opinionated). + */ +[aria-busy="true"] { + cursor: progress; } + +/* + * Change the cursor on control elements (opinionated). + */ +[aria-controls] { + cursor: pointer; } + +/* + * Change the display on visually hidden accessible elements (opinionated). + */ +[aria-hidden="false"][hidden]:not(:focus) { + clip: rect(0, 0, 0, 0); + display: inherit; + position: absolute; } + +/* + * Change the cursor on disabled, not-editable, or otherwise + * inoperable elements (opinionated). + */ +[aria-disabled] { + cursor: default; } + +body { + font-family: 'Fira Sans', sans-serif; } + +/* LAYOUT - Structure and layout files. +========================================================================== */ +header { + background-color: #ededed; + width: 100%; + height: 10vh; + box-shadow: 0px -17px 20px 20px #29292978; + position: fixed; + top: 0px; + z-index: 1; + display: flex; + align-items: center; } + +header h1 { + color: #6b6b6b; + font-size: 2rem; } + +header a { + text-decoration: none; } + +.logo { + height: 80%; + padding-left: 15px; } + +.buttons { + margin-left: auto; + margin-right: 5px; } + +section { + height: 100vh; + display: flex; + justify-content: center; + padding-top: 10vh; } + +section img { + filter: drop-shadow(0px 10px 40px #888888); + width: 80%; + /* display: block; + margin-left: auto; + margin-right: auto; + justify-content: center; */ } + +/* MODULES - Re-usable site elements. +========================================================================== */ +.background-1 { + background: #699bc8; + background: -moz-radial-gradient(top left, ellipse cover, #699bc8 0%, #b5c5d8 57%); + background: -webkit-gradient(radial, top left, 0px, top left, 100%, color-stop(0%, #699bc8), color-stop(57%, #b5c5d8)); + background: -webkit-radial-gradient(top left, ellipse cover, #699bc8 0%, #b5c5d8 57%); + background: -o-radial-gradient(top left, ellipse cover, #699bc8 0%, #b5c5d8 57%); + background: -ms-radial-gradient(top left, ellipse cover, #699bc8 0%, #b5c5d8 57%); + background: radial-gradient(ellipse at top left, #699bc8 0%, #b5c5d8 57%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#699bc8', endColorstr='#b5c5d8',GradientType=1 ); } + +button { + margin-left: 5px; + border: none; + -webkit-border-radius: 15; + -moz-border-radius: 15; + border-radius: 15px; + -webkit-box-shadow: 0px 0px 3px #666666; + -moz-box-shadow: 0px 0px 3px #666666; + box-shadow: 0px 0px 3px #666666; + color: #000000; + font-size: 20px; + background: #0099ff; + padding: 10px 20px 10px 20px; + text-decoration: none; } + +button:hover { + background: #3cb0fd; + text-decoration: none; } + +.donate { + background-color: rgba(194, 194, 194, 0); + color: #6b6b6b; } + +.donate:hover { + background: #6b6b6b; + color: white; } + +/*# sourceMappingURL=styles.css.map */ diff --git a/assets/sass/styles.css.map b/assets/sass/styles.css.map new file mode 100644 index 0000000..0515787 --- /dev/null +++ b/assets/sass/styles.css.map @@ -0,0 +1,7 @@ +{ +"version": 3, +"mappings": "AAAA;6EAC6E;ACD7E,gFAAgF;AAEhF;gFACgF;AAEhF;;;GAGG;AAEH;;OAEQ;EACP,iBAAiB,EAAE,SAAS;EAAE,OAAO;EACrC,UAAU,EAAE,OAAO;EAAE,OAAO;;AAG7B;;;GAGG;AAEH;OACQ;EACP,eAAe,EAAE,OAAO;EAAE,OAAO;EACjC,cAAc,EAAE,OAAO;EAAE,OAAO;;AAGjC;;;;GAIG;AAEH,IAAK;EACJ,UAAU,EAAE,UAAU;EAAE,OAAO;EAC/B,MAAM,EAAE,OAAO;EAAE,OAAO;EACxB,oBAAoB,EAAE,IAAI;EAAE,OAAO;EACnC,wBAAwB,EAAE,IAAI;EAAE,OAAO;;AAGxC;gFACgF;AAEhF;;GAEG;AAEH;;;;;OAKQ;EACP,OAAO,EAAE,KAAK;;AAGf;;GAEG;AAEH,IAAK;EACJ,MAAM,EAAE,CAAC;;AAGV;;;GAGG;AAEH,EAAG;EACF,SAAS,EAAE,GAAG;EACd,MAAM,EAAE,OAAO;;AAGhB;gFACgF;AAEhF;;;GAGG;AAEH;;IAEK;EAAE,OAAO;EACb,OAAO,EAAE,KAAK;;AAGf;;GAEG;AAEH,MAAO;EACN,MAAM,EAAE,QAAQ;;AAGjB;;;GAGG;AAEH,EAAG;EACF,UAAU,EAAE,WAAW;EAAE,OAAO;EAChC,MAAM,EAAE,CAAC;EAAE,OAAO;EAClB,QAAQ,EAAE,OAAO;EAAE,OAAO;;AAG3B;;GAEG;AAEH;MACO;EACN,UAAU,EAAE,IAAI;;AAGjB;;;GAGG;AAEH,GAAI;EACH,WAAW,EAAE,oBAAoB;EAAE,OAAO;EAC1C,SAAS,EAAE,GAAG;EAAE,OAAO;;AAGxB;gFACgF;AAEhF;;;GAGG;AAEH,CAAE;EACD,gBAAgB,EAAE,WAAW;EAAE,OAAO;EACtC,4BAA4B,EAAE,OAAO;EAAE,OAAO;;AAG/C;;;GAGG;AAEH,WAAY;EACX,aAAa,EAAE,IAAI;EAAE,OAAO;EAC5B,eAAe,EAAE,SAAS;EAAE,OAAO;EACnC,eAAe,EAAE,gBAAgB;EAAE,OAAO;;AAG3C;;GAEG;AAEH;MACO;EACN,WAAW,EAAE,OAAO;;AAGrB;;GAEG;AAEH;MACO;EACN,WAAW,EAAE,MAAM;;AAGpB;;;GAGG;AAEH;;IAEK;EACJ,WAAW,EAAE,oBAAoB;EAAE,OAAO;EAC1C,SAAS,EAAE,GAAG;EAAE,OAAO;;AAGxB;;GAEG;AAEH,GAAI;EACH,UAAU,EAAE,MAAM;;AAGnB;;GAEG;AAEH,IAAK;EACJ,gBAAgB,EAAE,OAAO;EACzB,KAAK,EAAE,OAAO;;AAGf;;GAEG;AAEH,KAAM;EACL,SAAS,EAAE,GAAG;;AAGf;;;GAGG;AAEH;GACI;EACH,SAAS,EAAE,GAAG;EACd,WAAW,EAAE,CAAC;EACd,QAAQ,EAAE,QAAQ;EAClB,cAAc,EAAE,QAAQ;;AAGzB,GAAI;EACH,MAAM,EAAE,MAAM;;AAGf,GAAI;EACH,GAAG,EAAE,KAAK;;AAGX;;;GAGG;AAEH,gBAAiB;EAChB,gBAAgB,EAAE,OAAO;EAAE,OAAO;EAClC,KAAK,EAAE,OAAO;EAAE,OAAO;EACvB,WAAW,EAAE,IAAI;;AAGlB,WAAY;EACX,gBAAgB,EAAE,OAAO;EAAE,OAAO;EAClC,KAAK,EAAE,OAAO;EAAE,OAAO;EACvB,WAAW,EAAE,IAAI;;AAGlB;gFACgF;AAEhF;;GAEG;AAEH;;;;;KAKM;EACL,cAAc,EAAE,MAAM;;AAGvB;;GAEG;AAEH;KACM;EACL,OAAO,EAAE,YAAY;;AAGtB;;GAEG;AAEH,qBAAsB;EACrB,OAAO,EAAE,IAAI;EACb,MAAM,EAAE,CAAC;;AAGV;;GAEG;AAEH,GAAI;EACH,YAAY,EAAE,IAAI;;AAGnB;;GAEG;AAEH,GAAI;EACH,IAAI,EAAE,YAAY;;AAGnB;;GAEG;AAEH,cAAe;EACd,QAAQ,EAAE,MAAM;;AAGjB;gFACgF;AAEhF;;GAEG;AAEH,KAAM;EACL,eAAe,EAAE,QAAQ;;AAG1B;gFACgF;AAEhF;;GAEG;AAEH;;;;QAIS;EACR,MAAM,EAAE,CAAC;;AAGV;;GAEG;AAEH;;;QAGS;EACR,KAAK,EAAE,OAAO;EACd,WAAW,EAAE,OAAO;EACpB,SAAS,EAAE,OAAO;EAClB,WAAW,EAAE,OAAO;;AAGrB;;;GAGG;AAEH;KACM;EAAE,OAAO;EACd,QAAQ,EAAE,OAAO;;AAGlB;;;GAGG;AAEH;MACO;EAAE,OAAO;EACf,cAAc,EAAE,IAAI;;AAGrB;;;;GAIG;AAEH;;;eAGgB;EACf,kBAAkB,EAAE,MAAM;EAAE,OAAO;;AAGpC;;GAEG;AAEH;;;iCAGkC;EACjC,YAAY,EAAE,IAAI;EAClB,OAAO,EAAE,CAAC;;AAGX;;GAEG;AAEH;;;8BAG+B;EAC9B,OAAO,EAAE,qBAAqB;;AAG/B;;;;;GAKG;AAEH,MAAO;EACN,UAAU,EAAE,UAAU;EAAE,OAAO;EAC/B,KAAK,EAAE,OAAO;EAAE,OAAO;EACvB,OAAO,EAAE,KAAK;EAAE,OAAO;EACvB,SAAS,EAAE,IAAI;EAAE,OAAO;EACxB,OAAO,EAAE,CAAC;EAAE,OAAO;EACnB,WAAW,EAAE,MAAM;EAAE,OAAO;;AAG7B;;;GAGG;AAEH,QAAS;EACR,OAAO,EAAE,YAAY;EAAE,OAAO;EAC9B,cAAc,EAAE,QAAQ;EAAE,OAAO;;AAGlC;;;GAGG;AAEH,QAAS;EACR,QAAQ,EAAE,IAAI;EAAE,OAAO;EACvB,MAAM,EAAE,QAAQ;EAAE,OAAO;;AAG1B;;;GAGG;AAEH;cACe;EACd,UAAU,EAAE,UAAU;EAAE,OAAO;EAC/B,OAAO,EAAE,CAAC;EAAE,OAAO;;AAGpB;;GAEG;AAEH;0CAC2C;EAC1C,MAAM,EAAE,IAAI;;AAGb;;;GAGG;AAEH,eAAgB;EACf,kBAAkB,EAAE,SAAS;EAAE,OAAO;EACtC,cAAc,EAAE,IAAI;EAAE,OAAO;;AAG9B;;GAEG;AAEH;0CAC2C;EAC1C,kBAAkB,EAAE,IAAI;;AAGzB;;;GAGG;AAEH,4BAA6B;EAC5B,kBAAkB,EAAE,MAAM;EAAE,OAAO;EACnC,IAAI,EAAE,OAAO;EAAE,OAAO;;AAGvB;gFACgF;AAEhF;;;GAGG;AAEH;IACK;EACJ,OAAO,EAAE,KAAK;;AAGf;;GAEG;AAEH,OAAQ;EACP,OAAO,EAAE,SAAS;;AAGnB;gFACgF;AAEhF;;GAEG;AAEH,MAAO;EACN,OAAO,EAAE,YAAY;;AAGtB;;GAEG;AAEH,QAAS;EACR,OAAO,EAAE,IAAI;;AAGd;gFACgF;AAEhF;;;GAGG;AAEH;;;;;;;;UAQW;EACV,gBAAgB,EAAE,YAAY;EAAE,OAAO;EACvC,YAAY,EAAE,YAAY;;AAG3B;;GAEG;AAEH,QAAS;EACR,OAAO,EAAE,IAAI;;AAGd;gFACgF;AAEhF;;GAEG;AAEH,kBAAmB;EAClB,MAAM,EAAE,QAAQ;;AAGjB;;GAEG;AAEH,eAAgB;EACf,MAAM,EAAE,OAAO;;AAGhB;;GAEG;AAEH,yCAA0C;EACzC,IAAI,EAAE,gBAAgB;EACtB,OAAO,EAAE,OAAO;EAChB,QAAQ,EAAE,QAAQ;;AAGnB;;;GAGG;AAEH,eAAgB;EACf,MAAM,EAAE,OAAO;;AC3kBhB,IAAK;EACD,WAAW,EAAE,uBAAuB;;AFMxC;6EAC6E;AGR7E,MAAO;EACH,gBAAgB,EAAE,OAAO;EACzB,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,6BAA6B;EAEzC,QAAQ,EAAE,KAAK;EACf,GAAG,EAAE,GAAG;EACR,OAAO,EAAE,CAAC;EAEV,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,MAAM;;AAGvB,SAAS;EACL,KAAK,EAAE,OAAO;EACd,SAAS,EAAE,IAAI;;AAGnB,QAAS;EACL,eAAe,EAAE,IAAI;;AAGzB,KAAM;EACF,MAAM,EAAE,GAAG;EACX,YAAY,EAAE,IAAI;;AAGtB,QAAS;EACL,WAAW,EAAE,IAAI;EACjB,YAAY,EAAE,GAAG;;AC7BrB,OAAQ;EACJ,MAAM,EAAE,KAAK;EACb,OAAO,EAAE,IAAI;EAEb,eAAe,EAAE,MAAM;EACvB,WAAW,EAAE,IAAI;;AAIrB,WAAY;EACR,MAAM,EAAE,kCAAoC;EAC5C,KAAK,EAAE,GAAG;EACV;;;6BAG2B;;AJA/B;6EAC6E;AKjB7E,aAAc;EACV,UAAU,EAAE,OAAgB;EAC5B,UAAU,EAAE,sEAA8F;EAC1G,UAAU,EAAE,0GAAgI;EAC5I,UAAU,EAAE,yEAAgG;EAC5G,UAAU,EAAE,oEAA2F;EACvG,UAAU,EAAE,qEAA4F;EACxG,UAAU,EAAE,6DAAoF;EAChG,MAAM,EAAE,2GAA2G;;ACRvH,MAAO;EACH,WAAW,EAAE,GAAG;EAEhB,MAAM,EAAC,IAAI;EACX,qBAAqB,EAAE,EAAE;EACzB,kBAAkB,EAAE,EAAE;EACtB,aAAa,EAAE,IAAI;EACnB,kBAAkB,EAAE,mBAAmB;EACvC,eAAe,EAAE,mBAAmB;EACpC,UAAU,EAAE,mBAAmB;EAC/B,KAAK,EAAE,OAAO;EACd,SAAS,EAAE,IAAI;EACf,UAAU,EAAE,OAAO;EACnB,OAAO,EAAE,mBAAmB;EAC5B,eAAe,EAAE,IAAI;;AAEzB,YAAa;EACT,UAAU,EAAE,OAAO;EACnB,eAAe,EAAE,IAAI;;AAGzB,OAAQ;EACJ,gBAAgB,EAAE,sBAAsB;EACxC,KAAK,EAAE,OAAO;;AAGlB,aAAc;EACV,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,KAAK", +"sources": ["styles.scss","base/_sanitize.scss","base/_typography.scss","layout/_header.scss","layout/_section.scss","components/_backgrounds.scss","components/_buttons.scss"], +"names": [], +"file": "styles.css" +} diff --git a/assets/sass/styles.scss b/assets/sass/styles.scss new file mode 100644 index 0000000..85c0548 --- /dev/null +++ b/assets/sass/styles.scss @@ -0,0 +1,25 @@ +/* BASE - Base Variable files +========================================================================== */ + +@import 'base/sanitize.scss'; +@import 'base/typography.scss'; + + +/* LAYOUT - Structure and layout files. +========================================================================== */ + +@import 'layout/_grid.scss'; +@import 'layout/_header.scss'; +@import 'layout/_footer.scss'; +@import 'layout/_section.scss'; + + +/* MODULES - Re-usable site elements. +========================================================================== */ + +@import 'components/_backgrounds.scss'; +@import 'components/_buttons.scss'; + +// @import 'modules/_buttons.scss'; +// @import 'modules/_lists.scss'; +// @import 'modules/_tabs.scss'; diff --git a/bin/uberwriter b/bin/uberwriter deleted file mode 100755 index 69fcd8b..0000000 --- a/bin/uberwriter +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/python3 -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -### DO NOT EDIT THIS FILE ### - -import sys -import os - -import pkg_resources - -import gettext -import locale - -# Add project root directory (enable symlink and trunk execution) -PROJECT_ROOT_DIRECTORY = os.path.abspath( - os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0])))) - -# Set the path if needed. This allows uberwriter to run without installing it :) -python_path = [] -if os.path.abspath(__file__).startswith('/opt'): - gettext.bindtextdomain('uberwriter', '/opt/extras.ubuntu.com/uberwriter/share/locale') - syspath = sys.path[:] # copy to avoid infinite loop in pending objects - for path in syspath: - opt_path = path.replace('/usr', '/opt/extras.ubuntu.com/uberwriter') - python_path.insert(0, opt_path) - sys.path.insert(0, opt_path) - os.putenv("XDG_DATA_DIRS", "%s:%s" % ("/opt/extras.ubuntu.com/uberwriter/share/", os.getenv("XDG_DATA_DIRS", "/usr/local/share/:/usr/share/"))) -if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'uberwriter')) - and PROJECT_ROOT_DIRECTORY not in sys.path): - python_path.insert(0, PROJECT_ROOT_DIRECTORY) - sys.path.insert(0, PROJECT_ROOT_DIRECTORY) -if python_path: - os.putenv('PYTHONPATH', "%s:%s" % (os.getenv('PYTHONPATH', ''), ':'.join(python_path))) # for subprocesses - -import uberwriter - -locale_dir = os.path.abspath(os.path.join(os.path.dirname(uberwriter.__file__),'../po/')) - -# L10n -locale.textdomain('uberwriter') -locale.bindtextdomain('uberwriter', locale_dir) -gettext.textdomain('uberwriter') -gettext.bindtextdomain('uberwriter', locale_dir) - -uberwriter.main() diff --git a/data/de.wolfvollprecht.UberWriter.gschema.xml b/data/de.wolfvollprecht.UberWriter.gschema.xml deleted file mode 100644 index 64fcd99..0000000 --- a/data/de.wolfvollprecht.UberWriter.gschema.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - false - Dark mode - - If enabled, the window will be dark themed - If disabled, the window will be light themed - asked to install them manually. - - - - "/tmp" - Open file base path - - Open file paths of the current session - - - - - - diff --git a/data/lua/relative_to_absolute.lua b/data/lua/relative_to_absolute.lua deleted file mode 100644 index 23b8017..0000000 --- a/data/lua/relative_to_absolute.lua +++ /dev/null @@ -1,21 +0,0 @@ -function string.starts(String,Start) - return string.sub(String,1,string.len(Start))==Start -end - -function fix_path (path) - if string.starts(path, "/") then - return path - else - return (os.getenv('PANDOC_PREFIX') or '') .. path - end -end - -function Link (element) - element.target = fix_path(element.target) - return element -end - -function Image (element) - element.src = fix_path(element.src) - return element -end diff --git a/data/lua/task-list.lua b/data/lua/task-list.lua deleted file mode 100644 index 6a1b365..0000000 --- a/data/lua/task-list.lua +++ /dev/null @@ -1,135 +0,0 @@ -local List = require 'pandoc.List' - -local M = {} - -local function is_html (format) - return format == 'html' or format == 'html4' or format == 'html5' -end - ---- Create a ballot box for the given output format. -function M.ballot_box (format) - if is_html(format) then - return pandoc.RawInline( - 'html', - '' - ) - elseif format == 'gfm' then - -- GFM includes raw HTML - return pandoc.RawInline('html', '[ ]') - elseif format == 'org' then - return pandoc.RawInline('org', '[ ]') - elseif format == 'latex' then - return pandoc.RawInline('tex', '$\\square$') - else - return pandoc.Str '☐' - end -end - ---- Create a checked ballot box for the given output format. -function M.ballot_box_with_check (format) - if is_html(format) then - return pandoc.RawInline( - 'html', - '' - ) - elseif format == 'gfm' then - -- GFM includes raw HTML - return pandoc.RawInline('html', '[x]') - elseif format == 'org' then - return pandoc.RawInline('org', '[X]') - elseif format == 'latex' then - return pandoc.RawInline('tex', '$\\rlap{$\\checkmark$}\\square$') - else - return pandoc.Str '☑' - end -end - ---- Replace a Github-style task indicator with a bullet box representation ---- suitable for the given output format. -function M.todo_marker (inlines, format) - if (inlines[1] and inlines[1].text == '[' and - inlines[2] and inlines[2].t == 'Space' and - inlines[3] and inlines[3].text == ']') then - return M.ballot_box(format), 3 - elseif (inlines[1] and - (inlines[1].text == '[x]' or - inlines[1].text == '[X]')) then - return M.ballot_box_with_check(format), 1 - else - return nil, 0 - end -end - -M.css_styles = [[ - -]] - ---- Add task-list CSS styles to the header. -function M.add_task_list_css(meta) - local header_includes - if meta['header-includes'] and meta['header-includes'].t == 'MetaList' then - header_includes = meta['header-includes'] - else - header_includes = pandoc.MetaList{meta['header-includes']} - end - header_includes[#header_includes + 1] = - pandoc.MetaBlocks{pandoc.RawBlock('html', M.css_styles)} - meta['header-includes'] = header_includes - return meta -end - ---- Replace the todo marker in the given block, if any. -function M.replace_todo_markers (blk, format) - if blk.t ~= 'Para' and blk.t ~= 'Plain' then - return blk - end - local inlines = blk.content - local box, num_inlines = M.todo_marker(inlines, format) - if box == nil then - return blk - end - local new_inlines = List:new{box} - for j = 1, #inlines do - new_inlines[j + 1] = inlines[j + num_inlines] - end - return pandoc[blk.t](new_inlines) -- create Plain or Para -end - ---- Convert Github- and org-mode-style task markers in a BulletList. -function M.modifyBulletList (list) - if not is_html(FORMAT) then - for _, item in ipairs(list.content) do - item[1] = M.replace_todo_markers(item[1], FORMAT) - end - return list - else - local res = List:new{pandoc.RawBlock('html', '
    ')} - for _, item in ipairs(list.content) do - local blk = M.replace_todo_markers(item[1], FORMAT) - if blk == item[1] then -- does not have a todo marker - res[#res + 1] = pandoc.RawBlock('html', '
  • ') - else - res[#res + 1] = pandoc.RawBlock('html', '
  • ') - item[1] = blk - end - res:extend(item) - res[#res + 1] = pandoc.RawBlock('html', '
  • ') - end - res[#res + 1] = pandoc.RawBlock('html', '
') - return res - end -end - -M[1] = { - BulletList = M.modifyBulletList, - Meta = is_html(FORMAT) and M.add_task_list_css or nil -} - -return M diff --git a/data/media/bg_dark.png b/data/media/bg_dark.png deleted file mode 100644 index 2570b6b..0000000 Binary files a/data/media/bg_dark.png and /dev/null differ diff --git a/data/media/bg_light.png b/data/media/bg_light.png deleted file mode 100644 index 83b113d..0000000 Binary files a/data/media/bg_light.png and /dev/null differ diff --git a/data/media/bg_light_old.png b/data/media/bg_light_old.png deleted file mode 100644 index 50024de..0000000 Binary files a/data/media/bg_light_old.png and /dev/null differ diff --git a/data/media/de.wolfvollprecht.UberWriter.uberwriter.svg b/data/media/de.wolfvollprecht.UberWriter.uberwriter.svg deleted file mode 100644 index 8bb325b..0000000 --- a/data/media/de.wolfvollprecht.UberWriter.uberwriter.svg +++ /dev/null @@ -1,1110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/media/icons/icon-case-off.png b/data/media/icons/icon-case-off.png deleted file mode 100644 index 281ae05..0000000 Binary files a/data/media/icons/icon-case-off.png and /dev/null differ diff --git a/data/media/icons/icon-regex-off.png b/data/media/icons/icon-regex-off.png deleted file mode 100644 index 61ff932..0000000 Binary files a/data/media/icons/icon-regex-off.png and /dev/null differ diff --git a/data/media/icons/icon-reverse-off.png b/data/media/icons/icon-reverse-off.png deleted file mode 100644 index d6ec595..0000000 Binary files a/data/media/icons/icon-reverse-off.png and /dev/null differ diff --git a/data/media/icons/icon-word-off.png b/data/media/icons/icon-word-off.png deleted file mode 100644 index b0af0ca..0000000 Binary files a/data/media/icons/icon-word-off.png and /dev/null differ diff --git a/data/media/icons/icon-wrap-off.png b/data/media/icons/icon-wrap-off.png deleted file mode 100644 index f9de6d3..0000000 Binary files a/data/media/icons/icon-wrap-off.png and /dev/null differ diff --git a/data/media/markdown-mark.svg b/data/media/markdown-mark.svg deleted file mode 100644 index a907979..0000000 --- a/data/media/markdown-mark.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/data/media/raw/raw_icons.svg b/data/media/raw/raw_icons.svg deleted file mode 100644 index e80acdf..0000000 --- a/data/media/raw/raw_icons.svg +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/media/scrollToMark.htmlsnippet b/data/media/scrollToMark.htmlsnippet deleted file mode 100644 index 4244414..0000000 --- a/data/media/scrollToMark.htmlsnippet +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/data/media/style.css b/data/media/style.css deleted file mode 100644 index 103b242..0000000 --- a/data/media/style.css +++ /dev/null @@ -1,269 +0,0 @@ -/* - TODO: - Look into compiling resources with glib-compile-resource etc. for - inclusion in templates -*/ - -@define-color dark_bg #333; -@define-color light_bg #EDEDED; - -@binding-set window-bindings { - bind "n" { "new-file" () }; - bind "o" { "open-file" () }; - bind "s" { "save-file" () }; - bind "s" { "save-file-as" () }; - bind "d" { "toggle-focusmode" () }; - bind "p" { "toggle-preview" () }; - bind "w" { "close-window" () }; - bind "f" { "toggle-search" () }; - bind "b" { "toggle-bibtex" () }; - bind "r" { "toggle-search-replace" () }; - bind "f" { "toggle-search-replace" () }; - bind "F11" { "toggle-fullscreen" () }; - bind "F7" { "toggle-spellcheck" () }; -} - -@binding-set editor-bindings { - bind "i" { "insert-italic" () }; - bind "b" { "insert-bold" () }; - bind "r" { "insert-hrule" () }; - bind "u" { "insert-ulistitem" () }; - bind "h" { "insert-heading" () }; - bind "z" { "undo" () }; - bind "y" { "redo" () }; - bind "d" { "insert-strikeout" () }; - /*bind "t" { "insert-at-cursor" ('[ ] ') };*/ - bind "z" { "redo" () }; -} - -/* Main window and text colors */ - -.uberwriter_window { - -gtk-key-bindings: window-bindings; - /*border-radius: 7px 7px 3px 3px;*/ - background: @light_bg; - caret-color: @dark_bg; -} - -.uberwriter_window.dark_mode { - background: @dark_bg; - caret-color: @light_bg; -} - -.uberwriter_window.dark_mode .uberwriter-editor text{ - background: @dark_bg; - caret-color: @light_bg; - color: @light_bg; -} - -.uberwriter_window.small .uberwriter-editor { - font-family: 'Fira Mono', monospace; - font-size: 12px; -} -.uberwriter_window grid { - background-color: @light_bg; -} - -.uberwriter_window.dark_mode grid, -.uberwriter_window.dark_mode scrolledwindow { - background-color: @dark_bg; -} - -#UberwriterWindow.medium .uberwriter-editor { - font-family: 'Fira Mono', monospace; - font-size: 15px; -} - -#UberwriterWindow.large .uberwriter-editor { - font-family: 'Fira Mono', monospace; - font-size: 18px; -} - -#titlebar_revealer { - padding: 0; -} - -.scrollbars-junction, -.scrollbar.trough { - background: transparent; -} - -#titlebar_container { - background: @light_bg; -} - -#titlebar_container.dark_mode { - background: @dark_bg; -} - -.uberwriter-editor { - border: none; - background-color: transparent; - color: #222; - /*-GtkWidget-cursor-color: shade(#4D9FCE, 0.9);*/ - /*-GtkWidget-cursor-aspect-ratio: 0.1;*/ - -gtk-key-bindings: editor-bindings; -} - -.uberwriter-editor text { - background-color: @light_bg; - color: #222; -} - -.uberwriter-editor:selected { - background-color: #4D9FCE; - color: #FFF; -} - -.uberwriter-editor button { - margin: 0; - padding: 0; - /*background: #CCC;*/ -} - -.uberwriter-editor toolbar { - /*background: transparent;*/ - border: none; - padding: 0; -} - - -.status_bar_box label { - color: #666; -} - -.status_bar_box button { - /* finding reset */ - background-color: @light_bg; - text-shadow: inherit; - /*icon-shadow: inherit;*/ - box-shadow: initial; - background-clip: initial; - background-origin: initial; - background-size: initial; - background-position: initial; - background-repeat: initial; - background-image: initial; - border-image-source: initial; - border-image-repeat: initial; - border-image-slice: initial; - border-image-width: initial; - - border-style: none; - -button-images: true; - border-radius: 2px; - color: #666; - padding: 3px 5px; - transition: 100ms ease-in; -} - -.status_bar_box button:hover, -.status_bar_box button:checked { - transition: 0s ease-in; - color: @light_bg; - background-color: #666; -} - -.status_bar_box button:hover label, -.status_bar_box button:checked label { - color: @light_bg; -} - -.status_bar_box button:active { - color: #EEE; - background-color: #EEE; - background-image: none; - box-shadow: 0 0 2px rgba(0,0,0,0.4) -} -.dark_mode .status_bar_box button { - background-color: @dark_bg; -} -.dark_mode .status_bar_box label { - color: @light_bg; -} -.dark_mode .status_bar_box button:hover, -.dark_mode .status_bar_box button:checked { - background-color: @light_bg; - color: #666; -} - -.dark_mode .status_bar_box button:hover label, -.dark_mode .status_bar_box button:checked label{ - color: #666; -} -.status_bar_box separator { - border-color: #999; - border-right: none; -} - -#PreviewMenuItem image { - border-radius: 2px; - color: #666; - padding: 3px 5px; - border: none; - background: #FFF; -} - -#UberwriterWindow treeview { - color: #333; - font-size: 10px; -} - -#LexikonBubble { - /*font: serif 10;*/ - font-family: serif; - font-size: 10px; - background: @light_bg; - border-radius: 4px; - border-color: @light_bg; - margin: 5px; - padding: 5px; -} - -#QuickPreviewPopup { - padding: 5px; - margin: 5px; - border: 1px solid #333; - background: @ligth_bg; - border-radius: 3px; - border-color: @light_bg; -} - -#LexikonBubble label { - /*padding: 5px;*/ -} - -#LexikonBubble { - background-color: @light_bg; - border: 5px solid @light_bg; - border-color: @light_bg -} - -#LexikonBubble .lexikon_heading { - /*font: serif 12;*/ - font-family: serif; - font-size: 12px; - padding-bottom: 5px; - padding-top: 5px; - font-weight: bold; - padding-left: 10px; -} - -#LexikonBubble .lexikon_num { - padding-right: 5px; - padding-left: 20px; -} - -popover { - background-color: @light_bg; -} - -popover grid { - background-color: @light_bg; - color: @dark_bg; - border-color: @light_bg; -} - -popover label { - color: @dark_bg; -} \ No newline at end of file diff --git a/data/media/uberwriter.css b/data/media/uberwriter.css deleted file mode 100644 index 7cb0bd6..0000000 Binary files a/data/media/uberwriter.css and /dev/null differ diff --git a/data/media/uberwriter.svg b/data/media/uberwriter.svg deleted file mode 100644 index 8bb325b..0000000 --- a/data/media/uberwriter.svg +++ /dev/null @@ -1,1110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/media/uberwriter_dark.css b/data/media/uberwriter_dark.css deleted file mode 100644 index bae9e17..0000000 Binary files a/data/media/uberwriter_dark.css and /dev/null differ diff --git a/data/media/uberwriter_markdown.md b/data/media/uberwriter_markdown.md deleted file mode 100644 index aa5517e..0000000 --- a/data/media/uberwriter_markdown.md +++ /dev/null @@ -1,155 +0,0 @@ -Markdown Tutorial for UberWriter -================================ - -I will try to give a short impressions on how I use markdown/pandocs capabilities to greatly reduce the time spent on formatting anything -- from websites to PDF Documents. - -You can find a much more exhaustive documentation for all features pandoc offers on pandoc's help page: [Link](http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown) - -### Headers - -There are two styles for headers. One looks like this: - -# Header Level One -## Header Level Two - ... -###### Header Level Six - -And another one, that has only »two« levels: - -Header One -========== - -Header Two ----------- - -You can use both styles, whichever you prefer. Additionally, pandoc requires you to have a blank line before a header. - -### Paragraphs - -A paragraph is one or more lines of text followed by one or more blank line. Newlines are treated as spaces. If you need a hard line break, put two or more spaces at the end of a line, or type a backslash at the end of a line. - -### Block quotations - -Block quotations in markdown use the same convention as in emails. A generic block quote looks like this: - -> This is a block quote. -> This paragraph has two lines. -> -> > And block quotes can be nested, as well. - -Note the empty line you need to leave before the second level blockquote. - -### Code blocks - -There are two ways of creating a code block. You can indent your code four spaces or one tab. - - Code - -Or use a fenced code block: - -```javascript -a = function() { - return 0; -} -``` - -Which works as well. You can identify the language of your code block to add syntax highlighting to the resulting document. - -Short code examples can be surrounded by backticks to make them appear verbatim: `this.code() == true`. - -### Lists - -#### Bullet List: - -* one -* two -* three - -#### Nested Lists: - -* fruits - + pears - + peaches -* vegetables - + broccoli - + ubuntu - - mint - - lubuntu - - kubuntu - -#### Numbered Lists: - -1. Item 1 -2. Item 2 -3. Item 3 - -### Title blocks - -To give your document some meta-information and a nice title, you can use title blocks at the top of your document: - - % title - % author(s) (separated by semicolons) - % date - -### Inline formatting - -Emphasizing some text is done by surrounding it with *s: - -This is *emphasized with asterisks*, and this will be a **bold text**. And even more ***krass***. And if you want to erase something: ~~completely gone~~ (sorrounded by ~) - -### Horizontal Rules - -Horizontal rules are easily created by putting three or more `***` or `---` on a line: - -***** - - -### Super- and subscripts - -Superscripts may be written by surrounding the superscripted text by ^ characters; subscripts may be written by surrounding the subscripted text by ~ characters. Thus, for example, - -H~2~O is a liquid. 2^10^ is 1024. - -### Math - -There are two ways to generate math type setting in pandoc: Inline math looks like this: - -This is inline $1 + 2 = 3$ math. - -Note that there are no spaces allowed next to the dollar signs. - -And there is also another format: - -This is a beautiful equation: $$\left|\sum_{i=1}^n x_i \bar{y}_i\right|^2 \leq \sum_{j=1}^n |x_j|^2 \sum_{k=1}^n |y_k|^2$$ And it stands on it's own. - -### Links - -Enclosing an URL in pointy brackets transforms them into links: - - - - -#### Inline Links: - -This is an [inline link](/url), and here's [one with -a title](http://fsf.org "click here for a good time!"). - -### Images - -![This is the caption](/url/of/image.png) - -### Footnotes - -An example for footnotes (you can place the referenced footnote wherever you want, e.g. at the bottom of your document): - -Here is a footnote reference,[^1] and another.[^longnote] - -[^1]: Here is the footnote. - -[^longnote]: Here's one with multiple blocks. - Subsequent paragraphs are indented to show that they belong to the previous footnote. - The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items. - -There is also a different format for inline footnotes, that are easier to write: - -Here is an inline note.^[Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note.] \ No newline at end of file diff --git a/data/media/white.png b/data/media/white.png deleted file mode 100644 index 7c745ea..0000000 Binary files a/data/media/white.png and /dev/null differ diff --git a/data/ui/App_menu.ui b/data/ui/App_menu.ui deleted file mode 100644 index 53b2171..0000000 --- a/data/ui/App_menu.ui +++ /dev/null @@ -1,46 +0,0 @@ - - - -
- - - New window - -
- -
- - app.about - app.shortcuts - _Shortcuts - - - app.help - Pandoc _Help - - - app.about - _About - - - app.translate - Help to _translate - - - app.quit - _Quit - <Primary>q - -
-
-
diff --git a/data/ui/Shortcuts.ui b/data/ui/Shortcuts.ui deleted file mode 100644 index d3c6dee..0000000 --- a/data/ui/Shortcuts.ui +++ /dev/null @@ -1,151 +0,0 @@ - - - - True - - - True - shortcuts - 10 - - - True - General - - - True - New - <Primary>n - - - - - True - Open - <Primary>o - - - - - True - Save - <Primary>s - - - - - True - Save as - <Shift><Primary>s - - - - - True - Quit - <Primary>w - - - - - True - Focus mode - <Primary>d - - - - - True - Fullscreen - F11 - - - - - True - Preview - <Primary>p - - - - - True - Search - <Primary>f - - - - - - - True - Editor - - - True - Separator - <Primary>r - - - - - True - List item - <Primary>u - - - - - True - Italic - <Primary>i - - - - - True - Bold - <Primary>b - - - - - True - Header - <Primary>h - - - - - True - Cut - <Primary>x - - - - - True - Copy - <Primary>c - - - - - True - Paste - <Primary>v - - - - - True - Select all - <Primary>a - - - - - - - - diff --git a/data/ui/UberwriterAdvancedExportDialog.ui b/data/ui/UberwriterAdvancedExportDialog.ui deleted file mode 100644 index 4e647b8..0000000 --- a/data/ui/UberwriterAdvancedExportDialog.ui +++ /dev/null @@ -1,548 +0,0 @@ - - - - - - False - 5 - dialog - - - False - vertical - 2 - - - False - end - - - gtk-cancel - False - True - True - True - False - True - - - False - True - 1 - - - - - Export - False - True - True - True - True - True - True - True - False - - - False - True - 2 - - - - - False - True - end - 0 - - - - - True - False - vertical - - - True - False - - - False - True - 0 - - - - - True - False - 0 - out - - - True - False - 12 - - - True - False - 5 - 5 - 5 - vertical - - - Smart - False - True - True - False - Pandoc can automatically make "--" to a long dash and more - False - 0 - True - True - - - False - True - 0 - - - - - Normalize - False - True - True - False - Removes things like double spaces or spaces at the beginning of a paragraph - False - 0 - True - - - False - True - 1 - - - - - Table of Contents - False - True - True - False - False - 0 - True - - - False - True - 2 - - - - - Standalone - False - True - True - False - Use a header and footer to include things like stylesheets and meta information - False - 0 - True - True - - - False - True - 3 - - - - - Number Sections - False - True - True - False - False - 0 - True - - - False - True - 4 - - - - - Strict Markdown - False - True - True - False - Use "strict" markdown instead of "pandoc" markdown - False - 0 - True - - - False - True - 5 - - - - - Slideshow incremental bullets - False - True - True - False - Show one bullet point after another in a slideshow - False - 0 - True - - - False - True - 6 - - - - - - - - - True - False - <b>General Options</b> - True - - - - - False - True - 5 - 4 - - - - - True - False - 0 - out - - - True - False - 12 - - - True - False - 5 - 5 - 5 - vertical - - - Highlight syntax - False - True - True - False - False - 0 - True - True - - - False - True - 0 - - - - - True - False - - - True - False - Choose a color theme for syntax highlighting - Highlight style - - - False - True - 0 - - - - - True - False - Choose a color theme for syntax highlighting - 0 - 0 - 1 - 0 - - pygments - kate - monochrome - espresso - zenburn - haddock - tango - - - - True - True - end - 1 - - - - - False - True - 1 - - - - - - - - - True - False - <b>Syntax highlighting</b> (HTML, LaTeX) - True - - - - - False - True - 5 - 5 - - - - - True - False - 0 - out - - - True - False - 12 - - - True - False - 5 - 5 - 5 - vertical - True - - - Self Contained - False - True - True - False - Produces a HTML that has no external dependencies (all images and stylesheets are included) - False - 0 - True - - - False - True - 0 - - - - - HTML 5 - False - True - True - False - Use HTML 5 syntax - False - 0 - True - - - False - True - 1 - - - - - True - False - - - True - False - Choose a CSS File that you want to use - 10 - CSS File - - - False - True - 0 - - - - - True - False - Choose a CSS File that you want to use - vertical - - - True - True - 1 - - - - - False - True - 2 - - - - - - - - - True - False - <b>HTML Options</b> - True - - - - - False - True - 5 - 6 - - - - - True - False - 0 - out - - - True - False - 12 - - - True - False - 5 - 5 - 5 - vertical - 5 - - - - - - - True - False - <b>Bibliography File</b> - True - - - - - False - True - 5 - 7 - - - - - True - False - True - - - Commandline Reference - False - True - True - True - True - False - none - http://johnmacfarlane.net/pandoc/README.html - - - False - True - 5 - 0 - - - - - True - True - 9 - - - - - False - True - 1 - - - - - - button2 - button1 - - - diff --git a/data/ui/UberwriterWindow.ui b/data/ui/UberwriterWindow.ui deleted file mode 100644 index fd8a421..0000000 --- a/data/ui/UberwriterWindow.ui +++ /dev/null @@ -1,870 +0,0 @@ - - - - - - - 100 - 1 - 10 - - - True - False - gtk-go-up - - - True - False - Next Match - gtk-go-down - - - True - False - gtk-spell-check - - - True - False - gtk-spell-check - - - - text/plain - text/x-markdown - - - - True - False - Open Replace - gtk-find-and-replace - - - True - False - gtk-find-and-replace - - - True - False - Activate Regex - gtk-find - - - True - False - - - True - False - - - True - False - _File - True - - - True - False - - - _New - True - False - True - False - - - - - - _Open - True - False - True - False - - - - - - True - False - Open Recent File - True - - - - - Open examples - True - False - False - - - True - False - - - True - False - _Quick markdown tutorial - True - - - - - - - - - - True - False - - - - - _Save - True - False - True - False - - - - - - Save _As - True - False - True - False - - - - - - True - False - - - - - Export as HTML - True - False - False - - - - - - Export as PDF - True - False - False - - - - - - Export as ODT - True - False - False - - - - - - True - False - Advanced Export... - True - - - - - - True - False - - - - - True - False - Copy Raw HTML to Clipboard - True - - - - - - True - False - - - - - _Quit - True - False - True - False - - - - - - - - - True - False - _View - True - - - True - False - - - True - False - Focus Mode - - - - - - True - False - Fullscreen - - - - - - False - Sidebar - - - - - True - False - Light text on a dark background - Dark Mode - - - - - - True - False - Switch to preview mode - Preview - - - - - - True - False - Open Search and Replace - Search and Replace ... - True - - - - - - False - - - - - False - Use Typewritermode (experimental) - True - True - - - - - False - - - - - True - False - Auto _Spellcheck - True - - - - - - - - - - True - False - _Help - True - - - True - False - - - True - False - Contents - - - - - True - False - - - - - True - False - Short Markdown Tutorial - - - - - - True - False - Open Pandoc Online Markdown Help ... - - - - - - True - False - - - - - gtk-about - True - False - True - False - - - - - - - - - 0 - 0 - - - - - True - True - True - - - 200 - True - False - start - vertical - - - - - - - - - - - - False - True - - - - - True - False - True - - - True - False - crossfade - 750 - True - - - True - False - - - Focus Mode - 15 - True - True - False - True - True - Go into focus mode - Go into focus mode - center - none - - - - 0 - 0 - - - - - Fullscreen - True - True - False - True - True - Go into fullscreen mode - Go into fullscreen mode - start - none - - - - 1 - 0 - - - - - Preview - True - True - False - True - True - Show HTML preview - Show HTML preview - start - none - - - - 2 - 0 - - - - - True - False - end - True - Words: - - - 3 - 0 - - - - - True - False - end - 0 - right - 4 - 1 - - - 4 - 0 - - - - - True - False - end - 10 - 10 - 10 - 10 - vertical - - - 5 - 0 - - - - - True - False - end - Characters: - - - 6 - 0 - - - - - True - False - end - 11 - 11 - 0 - 6 - 1 - - - 7 - 0 - - - - - - - 0 - 1 - - - - - True - False - True - True - natural - natural - none - - - True - False - center - True - True - - - 500 - True - True - True - adjustment1 - - - - - - - - - - 0 - 0 - - - - - False - False - - - - - 0 - 2 - - - - - True - False - - - True - False - True - True - - - True - False - none - True - - - True - False - vertical - - - True - False - 6 - - - - - - True - False - - - True - True - edit-find-symbolic - False - False - - - False - True - 0 - - - - - True - True - True - Previous Match - amunt - - - False - True - 1 - - - - - True - True - True - avall - - - False - True - 2 - - - - - - False - True - 1 - - - - - - - - True - False - - - True - True - True - Case Sensitive - case_sensitiv - - - False - True - 0 - - - - - True - True - True - regex1 - - - False - True - 1 - - - - - True - True - True - reemplaza - - - False - True - 2 - - - - - - False - True - 3 - - - - - - - - False - True - 0 - - - - - True - False - - - True - False - 6 - 6 - - - - - - True - False - - - True - True - True - gtk-find-and-replace - - - True - True - 0 - - - - - - False - True - 1 - - - - - - - - True - False - - - Replace - True - True - True - ortografia1 - - - False - True - 0 - - - - - Replace all - True - True - True - reemplaza1 - - - False - True - 1 - - - - - - False - True - 3 - - - - - - - - - - False - True - 1 - - - - - - - - - - - 0 - 1 - - - - diff --git a/data/ui/uberwriter_advanced_export_dialog.xml b/data/ui/uberwriter_advanced_export_dialog.xml deleted file mode 100644 index d1585a2..0000000 --- a/data/ui/uberwriter_advanced_export_dialog.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - diff --git a/de.wolfvollprecht.UberWriter.desktop b/de.wolfvollprecht.UberWriter.desktop deleted file mode 100644 index 05ee3ad..0000000 --- a/de.wolfvollprecht.UberWriter.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=UberWriter -Comment=UberWriter, a simple and distraction free Markdown Editor -Categories=GNOME;Office; -Exec=uberwriter %U -Icon=/usr/share/uberwriter/media/uberwriter.svg -Terminal=false -Type=Application -MimeType=text/x-markdown;text/plain; diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 0221816..0000000 --- a/debian/changelog +++ /dev/null @@ -1,285 +0,0 @@ -uberwriter (15.05.01-publicubuntu3) vivid; urgency=medium - - * some fixes for ubuntu gtk :) - - -- Wolf Vollprecht Wed, 20 May 2015 00:03:00 +0200 -uberwriter (14.09.08-publicubuntu3) trusty; urgency=medium - - * added missing dependency - - -- Wolf Vollprecht Thu, 04 Oct 2014 11:47:32 +0200 - -uberwriter (14.09.08-publicubuntu2) trusty; urgency=medium - - * icon working again - - -- Wolf Vollprecht Thu, 02 Oct 2014 22:47:32 +0200 - -uberwriter (14.09.08-publicubuntu1) trusty; urgency=medium - - * several bug fixes - * added some experimental features - - -- Wolf Vollprecht Mon, 02 Oct 2014 19:36:08 +0200 - -uberwriter (14.09.07-publicubuntu1) trusty; urgency=medium - - * reworking the installation script - * some bug fixes - - -- Wolf Vollprecht Mon, 15 Sep 2014 15:56:08 +0200 - -uberwriter (14.09.06-public) trusty; urgency=low - - [ Wolf ] - * disabling schema because of installation failure - -- Wolf Vollprecht Fri, 06 Sep 2014 18:08:00 +0200 - -uberwriter (14.09.05-public) trusty; urgency=low - - [ Wolf ] - * disabling tests for now - -- Wolf Vollprecht Fri, 06 Sep 2014 11:08:00 +0200 - -uberwriter (14.09.04-public) trusty; urgency=low - - [ Wolf ] - * disabling tests for now - -- Wolf Vollprecht Fri, 06 Sep 2014 11:07:00 +0200 - -uberwriter (14.09.03-public) trusty; urgency=low - - [ Wolf ] - * Making it build with pybuild again - -- Wolf Vollprecht Fri, 05 Sep 2014 21:07:00 +0200 - -uberwriter (14.09.02-public) trusty; urgency=low - - [ Wolf ] - * Add python3-all-dev as build dependency - -- Wolf Vollprecht Fri, 05 Sep 2014 21:07:00 +0200 - -uberwriter (14.09.01-public) trusty; urgency=low - - [ Wolf ] - * Rewrite of UI code and GTK CSS - -- Wolf Vollprecht Fri, 05 Sep 2014 14:21:00 +0200 - -uberwriter (12.11.04-public) quantal; urgency=low - - [ Wolf ] - * Added utf 8 encoding to files, necessary or else build on launchpad - fails - -- Wolf Mon, 02 Nov 2012 03:20:00 +0200 - -uberwriter (12.11.03-public) quantal; urgency=low - - [ Wolf ] - * New Preview - * New Inline Preview - * New Session restore for spellcheck and darkmode - - -- Wolf Mon, 01 Nov 2012 22:20:00 +0200 - - -uberwriter (12.11.02-public1-beta) quantal; urgency=low - - [ Wolf ] - * Targetting quantal - - -- Wolf Mon, 01 Oct 2012 15:20:00 +0200 - -uberwriter (12.11.01-public1) quantal; urgency=low - - [ Wolf ] - * Bug resolved involving copy+paste and unicode chars - * Statusbar now fades away (at least in quantal) - * Targetting quantal - - -- Wolf Mon, 01 Oct 2012 11:20:00 +0200 - - -uberwriter (12.08.28-public1) precise; urgency=low - - [ Wolf ] - * Hotfixing a stupid wordcount bug - - -- Wolf Mon, 27 Aug 2012 23:10:00 +0200 - -uberwriter (12.08.27-public1) precise; urgency=low - - [ Wolf ] - * Recent Files now working - * Several bugfixes - - -- Wolf Mon, 27 Aug 2012 23:00:00 +0200 - -uberwriter (12.08.26-public1) precise; urgency=low - - [ Wolf ] - * Advanced Export Menu - - -- Wolf Mon, 27 Aug 2012 10:00:00 +0200 - -uberwriter (12.08.25-publicbeta2) precise; urgency=low - - [ Wolf ] - * Much more useful *.desktop File - - -- Wolf Sat, 25 Aug 2012 15:00:00 +0200 - -uberwriter (12.08.24-publicbeta) precise; urgency=low - - [ Wolf ] - * Various bugfixes - * Auto Spellcheck now settable - * Filename in window title - * ODT instead of RTF export - - -- Wolf Sun, 26 Jul 2012 02:36:23 +0200 - -uberwriter (12.08.04-public1) precise; urgency=low - - [ Wolf ] - * New Button style - * Blockquote get's better styled - * Many, many improvements - - -- Wolf Sun, 26 Jul 2012 02:36:23 +0200 - -uberwriter (12.08.03-public1) precise; urgency=low - - [ Wolf ] - * Added libglib to the correct section - - -- Wolf Sun, 19 Jul 2012 15:09:23 +0200 - -uberwriter (12.08.02-public1) precise; urgency=low - - [ Wolf ] - * Added libglib for launchpad compilation - - -- Wolf Sun, 19 Jul 2012 14:23:34 +0200 - -uberwriter (12.08.01-public1) precise; urgency=low - - [ Wolf ] - * Installs now in opt as promised - - -- Wolf Sun, 19 Jul 2012 14:23:34 +0200 - -uberwriter (12.07.58-public1) precise; urgency=low - - [ Wolf ] - * New Packaging, link probably broken. - - -- Wolf Sun, 15 Jul 2012 13:22:34 +0200 - -uberwriter (12.07.57-public1) precise; urgency=low - - [ Wolf ] - * Various Bugfixes - * Added a spellchecker - - -- Wolf Sun, 15 Jul 2012 13:22:34 +0200 - - -uberwriter (12.07.56-public1) precise; urgency=low - - [ Wolf ] - * Various Bugfixes - * New orange cursor - * No more jumping when switching to focus / typewriter mode - - -- Wolf Sun, 15 Jul 2012 13:22:34 +0200 - -uberwriter (12.07.48-public1) precise; urgency=low - - [ Wolf ] - * Sharing to PPA version bump. - - -- Wolf Sun, 15 Jul 2012 13:22:34 +0200 - -uberwriter (12.07.17-public1) precise; urgency=low - - [ Wolf ] - * New release. - - [ wolf ] - - -- Wolf Sun, 15 Jul 2012 13:22:34 +0200 - -uberwriter (12.07.10-public1ubuntu1) precise; urgency=low - - * - - -- Wolf Sun, 15 Jul 2012 03:20:37 +0200 - -uberwriter (12.07.10-public1) precise; urgency=low - - * New release. - - -- Wolf Sun, 15 Jul 2012 03:11:09 +0200 - -uberwriter (12.07.3ubuntu1) precise; urgency=low - - * - - -- Wolf Sun, 15 Jul 2012 02:50:23 +0200 - -uberwriter (12.07.3) precise; urgency=low - - * Added Dependencies for Pandoc & Latex - - -- Wolf Sun, 15 Jul 2012 02:40:15 +0200 - -uberwriter (12.07.2-public2) precise; urgency=low - - * New release. - - -- Wolf Sun, 15 Jul 2012 02:39:57 +0200 - -uberwriter (12.07.2-public1) precise; urgency=low - - * New release. - - -- Wolf Sun, 15 Jul 2012 02:04:06 +0200 - -uberwriter (12.07.2) precise; urgency=low - - * New release. - - -- Wolf Tue, 10 Jul 2012 01:59:10 +0200 - -uberwriter (12.07.1-public1) precise; urgency=low - - * New release. - - -- Wolf Tue, 10 Jul 2012 01:58:32 +0200 - -uberwriter (12.07.1) precise; urgency=low - - [ Wolf ] - * New release. - - [ wolf ] - - -- Wolf Tue, 10 Jul 2012 01:58:06 +0200 - -uberwriter (12.07) precise; urgency=low - - * Creating ubuntu package - - -- Wolf Mon, 09 Jul 2012 14:10:54 +0200 - -uberwriter (0.1-public1) precise; urgency=low - - * New release. - - -- Wolf Mon, 09 Jul 2012 14:03:43 +0200 - -uberwriter (0.1) precise; urgency=low - - * Initial release. - - -- Wolf Mon, 09 Jul 2012 13:54:01 +0200 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 45a4fb7..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -8 diff --git a/debian/control b/debian/control deleted file mode 100644 index b335a7c..0000000 --- a/debian/control +++ /dev/null @@ -1,37 +0,0 @@ -Source: uberwriter -Section: python -Priority: extra -Build-Depends: debhelper (>= 8), - python3 (>= 3.2.3-3~), - python3-distutils-extra (>= 2.37-1~) -Maintainer: Wolf Vollprecht -Standards-Version: 3.9.3 - -Package: uberwriter -Architecture: all -Depends: - python3:any (>= 3.3.2-2~), - ${misc:Depends}, - ${python3:Depends}, - python3-enchant, - gir1.2-gtk-3.0, - gir1.2-pango-1.0, - gir1.2-glib-2.0, - python3-cairo, - gir1.2-gdkpixbuf-2.0, - python3-apt, - gir1.2-webkit-3.0, - pandoc, - yelp, - gnome-web-photo, - fonts-inconsolata, - python3-levenshtein, - python3-regex, - dvipng -Suggests: texlive -Description: UberWriter, beautiful distraction free writing - With UberWriter you get only one thing: An empty textbox, that is to - fill with your ideas. There are no settings, you don't have to choose a - font, it is only for writing.You can use markdown for all your markup - needs. PDF, RTF and HTML are generated with pandoc. For PDF generation it - is also required that you choose to install the texlive-luatex package. \ No newline at end of file diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 097dbef..0000000 --- a/debian/copyright +++ /dev/null @@ -1,17 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: uberwriter -Upstream-Contact: Wolf Vollprecht -Source: https://launchpad.com/uberwriter - -Files: * -Copyright: (C) 2007, Joe Smith -Copyright: (C) 2010, Stuart Rackham -Copyright: (C) 2012, Carlos Jenkins -Copyright: (C) 2012, Maximilian Köhl -Copyright: (C) 2012, Rosetta Contributors and Canonical Ltd 2012 -Copyright: (C) 2012, Vova Kolobok -Copyright: (C) 2012, Wolf Vollprecht - -License: GPL-3 - The full text of the GPL is distributed in - /usr/share/common-licenses/GPL-3 on Debian systems. diff --git a/debian/quickly/changelog b/debian/quickly/changelog deleted file mode 100644 index 38a03db..0000000 --- a/debian/quickly/changelog +++ /dev/null @@ -1,5 +0,0 @@ -uberwriter (0.1) precise; urgency=low - - * Initial release. - - -- Wolf Thu, 30 Aug 2012 08:12:09 +0200 diff --git a/debian/quickly/compat b/debian/quickly/compat deleted file mode 100644 index 45a4fb7..0000000 --- a/debian/quickly/compat +++ /dev/null @@ -1 +0,0 @@ -8 diff --git a/debian/quickly/control b/debian/quickly/control deleted file mode 100644 index 6cfd37d..0000000 --- a/debian/quickly/control +++ /dev/null @@ -1,29 +0,0 @@ -Source: uberwriter -Section: python -Priority: extra -Build-Depends: debhelper (>= 8), - python (>= 2.6.6-3~), - python-distutils-extra (>= 2.10) -Maintainer: Wolf Vollprecht -Standards-Version: 3.9.3 -X-Python-Version: >= 2.6 - -Package: uberwriter -Architecture: all -Depends: ${misc:Depends}, - ${python:Depends}, - gir1.2-gtk-3.0, - gir1.2-pango-1.0, - gir1.2-glib-2.0, - uberwriter, - python-cairo, - python-enchant, - python-apt, - yelp -Description: A beautiful, simple and distraction free markdown editor. - UberWriter, beautiful distraction free writing With UberWriter you get - only one thing: An empty textbox, that is to fill with your ideas. - There are no settings, you don't have to choose a font, it is only for - writing.You can use markdown for all your markup needs. PDF, RTF and - HTML are generated with pandoc. For PDF generation it is also required - that you choose to install the texlive-luatex package. diff --git a/debian/quickly/copyright b/debian/quickly/copyright deleted file mode 100644 index 4c961fd..0000000 --- a/debian/quickly/copyright +++ /dev/null @@ -1,13 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: uberwriter -Upstream-Contact: Wolf Vollprecht -Source: https://launchpad.com/uberwriter - -Files: * -Copyright: (C) 2007 Joe Smith -Copyright: (C) 2012, Carlos Jenkins -Copyright: (C) 2012 Wolf Vollprecht -Copyright: (C) 2012, Maximilian Köhl -License: GPL-3 - The full text of the GPL is distributed in - /usr/share/common-licenses/GPL-3 on Debian systems. diff --git a/debian/quickly/rules b/debian/quickly/rules deleted file mode 100755 index 2c0fe5e..0000000 --- a/debian/quickly/rules +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/make -f -%: -ifneq ($(shell dh -l | grep -xF translations),) - dh $@ --with python2,translations -else - dh $@ --with python2 -endif - - diff --git a/debian/rules b/debian/rules deleted file mode 100755 index b9e1deb..0000000 --- a/debian/rules +++ /dev/null @@ -1,9 +0,0 @@ - -export PYBUILD_NAME=uberwriter -export PYBUILD_DISABLE=test -export PYBUILD_INSTALL_ARGS_python3="--root=./debian/uberwriter/ --install-scripts=/opt/extras.ubuntu.com/uberwriter/bin --install-data=/opt/extras.ubuntu.com/uberwriter --install-lib=/opt/extras.ubuntu.com/uberwriter" - -export XDG_RUNTIME_DIR=/tmp - -%: - dh $@ --with python3 --buildsystem=pybuild \ No newline at end of file diff --git a/flatpak/de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml b/flatpak/de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml deleted file mode 100644 index d789ef2..0000000 --- a/flatpak/de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - de.wolfvollprecht.UberWriter.Plugin.TexLive - de.wolfvollprecht.UberWriter.desktop - TexLive Plugin - Allows to export to pdf and to show formulas in the inline preview - https://www.tug.org/texlive// - LPPL - CC0-1.0 - w.vollprecht_AT_gmail.com - \ No newline at end of file diff --git a/flatpak/de.wolfvollprecht.UberWriter.appdata.xml b/flatpak/de.wolfvollprecht.UberWriter.appdata.xml deleted file mode 100644 index 68846ff..0000000 --- a/flatpak/de.wolfvollprecht.UberWriter.appdata.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - de.wolfvollprecht.UberWriter.desktop - UberWriter - An elegant, free distraction GTK+ markdown editor - -

Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.

-
- - Office - TextEditor - GTK - - ​ - - The UberWriter main window - https://user-images.githubusercontent.com/8913975/39668441-37b97b9e-50ce-11e8-83b4-19f481c79468.png - - - Dark theme available - https://user-images.githubusercontent.com/8913975/39668442-37ec83b8-50ce-11e8-9896-0d2f5876ebfb.png - - - With inline preview for formulas, images, footnotes and definitions - https://user-images.githubusercontent.com/8913975/39668440-379c4236-50ce-11e8-8c89-3d03c639953e.png - - - The preview mode shows a live preview of the rendered document - https://user-images.githubusercontent.com/8913975/39668443-380813f8-50ce-11e8-8bc1-b69f97fb6080.png - - - The focus mode helps you providing a clear environment for writing - https://user-images.githubusercontent.com/8913975/39668438-375ffbb4-50ce-11e8-8abe-1109702f8656.png - - - CC0-1.0 - GPL-3.0+ - http://uberwriter.wolfvollprecht.de/ - -
\ No newline at end of file diff --git a/flatpak/flatpak_gnome_web_photo.json b/flatpak/flatpak_gnome_web_photo.json deleted file mode 100644 index c711f39..0000000 --- a/flatpak/flatpak_gnome_web_photo.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "id": "de.wolfvollprecht.UberWriter.Plugin.WebPhoto", - "runtime": "de.wolfvollprecht.UberWriter", - "branch": "stable", - "sdk": "org.gnome.Sdk//3.26", - "build-extension": true, - "separate-locales": false, - "appstream-compose": false, - "finish-args": [ - ], - "build-options" : { - "prefix": "/app/extensions/WebPhoto", - "env": { - "PATH": "/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/x86_64-linux:/app/bin:/usr/bin" - } - }, - "cleanup": [], - "modules": [ - { - "name": "Glib2", - "sources": [ - { - "type": "archive", - "url": "http://ftp.gnome.org/pub/gnome/sources/glib/2.56/glib-2.56.1.tar.xz", - "sha256": "40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d" - } - ] - }, - { - "name": "LibIDL", - "buildsystem": "autotools", - "sources": [ - { - "type": "git", - "url": "https://github.com/GNOME/libIDL/", - "tag": "LIBIDL_0_8_14", - "commit": "666fcbf086fb859738b67417c99a9895bb3d8ce5" - } - ] - }, - { - "name": "ORBit2", - "rm-configure": true, - "config-opts": ["--prefix=/app/extensions/WebPhoto"], - "build-options": { - "env":{ - "PKG_CONFIG_PATH": "/app/extensions/WebPhoto/lib/pkgconfig", - "GNOME2_DIR": "/app/extensions/WebPhoto", - "LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib", - "PATH": "/app/extensions/WebPhoto/bin:/usr/bin" - } - }, - "sources": [ - { - "type": "archive", - "url": "http://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14/ORBit2-2.14.19.tar.bz2", - "sha256": "55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550" - }, - { - "type": "patch", - "path": "ORBit2.patch" - }, - { - "type": "script", - "dest-filename": "autogen.sh", - "commands": [ - "autoreconf -fi" - ] - } - ] - }, - { - "name": "gconf", - "buildsystem": "autotools", - "config-opts": ["--prefix=/app/extensions/WebPhoto"], - "build-options": { - "env":{ - "PKG_CONFIG_PATH": "/app/extensions/WebPhoto/lib/pkgconfig", - "GNOME2_DIR": "/app/extensions/WebPhoto", - "LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib", - "PATH": "/app/extensions/WebPhoto/bin:/usr/bin" - } - }, - "sources": [ - { - "type": "archive", - "url": "http://ftp.gnome.org/pub/GNOME/sources/GConf/3.2/GConf-3.2.6.tar.xz", - "sha256": "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c" - } - ] - }, - { - "name": "gnome-web-photo", - "buildsystem": "autotools", - "config-opts": [ - "--with-gtk=3.0", - "--prefix=/app/extensions/WebPhoto" - ], - "build-options": { - "env":{ - "LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib", - "PATH": "/app/bin:/app/extensions/WebPhoto/bin:/usr/bin", - "ACLOCAL_PATH": "/app/extensions/WebPhoto/share/aclocal" - } - }, - "sources": [ - { - "type": "git", - "url": "https://github.com/GNOME/gnome-web-photo/", - "tag": "0.10.6", - "commit": "827d6b98c120b4dd8d689a1faf52450685ca6d46" - }, - { - "type": "patch", - "path": "GnomeWebPhoto.patch" - } - - ] - } - ] -} diff --git a/flatpak/flatpak_texlive.json b/flatpak/flatpak_texlive.json deleted file mode 100644 index 526690e..0000000 --- a/flatpak/flatpak_texlive.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "id": "de.wolfvollprecht.UberWriter.Plugin.TexLive", - "runtime": "de.wolfvollprecht.UberWriter", - "branch": "stable", - "sdk": "org.gnome.Sdk//3.26", - "build-extension": true, - "separate-locales": false, - "appstream-compose": false, - "finish-args": [ - ], - "build-options" : { - "prefix": "/app/extensions/TexLive", - "cflags": "-O2 -g", - "cxxflags": "-O2 -g", - "env": { - "PATH": "/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/x86_64-linux:/app/bin:/usr/bin" - } - }, - "cleanup": ["/bin/wget"], - "modules": [ - { - "name": "wget", - "builddir": true, - "config-opts": ["--prefix=/app/extensions/TexLive"], - "sources": [ - { - "type": "archive", - "url": "https://ftp.gnu.org/gnu/wget/wget-1.19.4.tar.gz", - "sha256": "93fb96b0f48a20ff5be0d9d9d3c4a986b469cb853131f9d5fe4cc9cecbc8b5b5" - } - ] - }, - { - "name": "texlive", - "builddir": false, - "build-options" : { - "build-args": ["--share=network"], - "config-opts": ["--prefix=/app/extensions/TexLive"] - }, - "build-commands": [ - ], - "sources": [ - { - "type": "file", - "path": "texlive_install.sh", - "dest-filename": "configure" - } - ] - }, - { - "name": "appdata", - "buildsystem": "simple", - "build-commands": [ - "mkdir -p /app/extensions/TexLive/share/appdata", - "install -Dm644 de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml /app/extensions/TexLive/share/appdata/de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml", - "appstream-compose --basename=de.wolfvollprecht.UberWriter.Plugin.TexLive --prefix=/app/extensions/TexLive --origin=flatpak de.wolfvollprecht.UberWriter.Plugin.TexLive" - ], - "sources": [ - { - "type": "file", - "path": "de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml" - } - ] - } - ] -} diff --git a/flatpak/flatpak_texlive_flathub.json b/flatpak/flatpak_texlive_flathub.json deleted file mode 100644 index e129688..0000000 --- a/flatpak/flatpak_texlive_flathub.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "id": "de.wolfvollprecht.UberWriter.Plugin.TexLive", - "runtime": "de.wolfvollprecht.UberWriter", - "branch": "stable", - "sdk": "org.gnome.Sdk//3.26", - "build-extension": true, - "separate-locales": false, - "appstream-compose": false, - "finish-args": [ - ], - "build-options" : { - "prefix": "/app/extensions/TexLive", - "cflags": "-O2 -g", - "cxxflags": "-O2 -g", - "env": { - "PATH": "/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/x86_64-linux:/app/bin:/usr/bin" - } - }, - "cleanup": ["/bin/wget"], - "modules": [ - { - "name": "wget", - "builddir": true, - "config-opts": ["--prefix=/app/extensions/TexLive"], - "sources": [ - { - "type": "archive", - "url": "https://ftp.gnu.org/gnu/wget/wget-1.19.4.tar.gz", - "sha256": "93fb96b0f48a20ff5be0d9d9d3c4a986b469cb853131f9d5fe4cc9cecbc8b5b5" - } - ] - }, - { - "name": "p7zip", - "no-autogen": true, - "config-opts": ["--prefix=/app/extensions/TexLive"], - "make-args": ["7z"], - "cleanup": ["*"], - "sources": [ - { - "type": "archive", - "url": "https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2", - "sha256": "5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f" - }, - { - "type": "shell", - "commands": ["sed -i 's|/usr/local|/app/extensions/TexLive|g' makefile.common"] - } - ] - }, - { - "name": "texlive", - "buildsystem": "simple", - "sources": [ - { - "type":"file", - "url": "http://mirrors.ctan.org/systems/texlive/Images/texlive.iso", - "sha512": "7b7f0dd0eab3bfffe52c5cd1139c7f75d029b9ff4c4ce0e57e06834705522f4ec0c02cd99a80b053c6619abda51c20a60f8e91e91781bdc2b9b60fc2e5708adb" - }, - { - "type": "file", - "path": "texlive.profile" - }, - { - "type": "shell", - "commands": ["7z x texlive.iso"] - } - ], - "build-commands": [ - "chmod +x install-tl", - "echo \"In\" | TEXLIVE_INSTALL_PREFIX=/app/extensions/TexLive ./install-tl --profile texlive.profile", - "yes | rm -r /app/extensions/TexLive/texmf-dist/doc" - ] - }, - { - "name": "appdata", - "buildsystem": "simple", - "build-commands": [ - "mkdir -p /app/extensions/TexLive/share/appdata", - "install -Dm644 de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml /app/extensions/TexLive/share/appdata/de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml", - "appstream-compose --basename=de.wolfvollprecht.UberWriter.Plugin.TexLive --prefix=/app/extensions/TexLive --origin=flatpak de.wolfvollprecht.UberWriter.Plugin.TexLive" - ], - "sources": [ - { - "type": "file", - "path": "de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml" - } - ] - } - ] -} diff --git a/flatpak/texlive.profile b/flatpak/texlive.profile deleted file mode 100644 index 08c93f6..0000000 --- a/flatpak/texlive.profile +++ /dev/null @@ -1,30 +0,0 @@ -selected_scheme scheme-basic -TEXDIR /app/extensions/TexLive/2018 -TEXMFCONFIG ~/.texlive2018/texmf-config -TEXMFHOME ~/texmf -TEXMFLOCAL /app/extensions/TexLive/texmf-local -TEXMFSYSCONFIG /app/extensions/TexLive/2018/texmf-config -TEXMFSYSVAR /app/extensions/TexLive/2018/texmf-var -TEXMFVAR ~/.texlive2018/texmf-var -binary_x86_64-linux 1 -collection-latex 1 -collection-binextra 1 -collection-fontsrecommended 1 -instopt_adjustpath 0 -instopt_adjustrepo 1 -instopt_letter 0 -instopt_portable 1 -instopt_write18_restricted 1 -tlpdbopt_autobackup 1 -tlpdbopt_backupdir tlpkg/backups -tlpdbopt_create_formats 1 -tlpdbopt_desktop_integration 1 -tlpdbopt_file_assocs 1 -tlpdbopt_generate_updmap 0 -tlpdbopt_install_docfiles 0 -tlpdbopt_install_srcfiles 0 -tlpdbopt_post_code 1 -tlpdbopt_sys_bin /usr/local/bin -tlpdbopt_sys_info /usr/local/share/info -tlpdbopt_sys_man /usr/local/share/man -tlpdbopt_w32_multi_user 1 \ No newline at end of file diff --git a/flatpak/texlive_install.sh b/flatpak/texlive_install.sh deleted file mode 100755 index 2ec3dd4..0000000 --- a/flatpak/texlive_install.sh +++ /dev/null @@ -1,62 +0,0 @@ -# Download the installer! -# Currently using 2017 edition, upgrade to 2018 tomorrow! (just released, needs) -# time to propagate everywhere -wget ftp://tug.org/historic/systems/texlive/2018/install-tl-unx.tar.gz -myhash=$(sha256sum install-tl-unx.tar.gz | cut -d' ' -f1) -if [ $myhash != "82c13110852af162c4c5ef1579fa2f4f51c2040850ec02fb7f97497da45eb446" ] ; then echo "CHECKSUM MISMATCH!"; exit 1 ; fi - -tar xvf install-tl-unx.tar.gz - -# The texlive profile sets some variables for the installation -# so the installer doesn't use the text user interface -# Most importantly (besides the paths') is "selected-scheme" -# Currently set to scheme-minimal which installs almost nothing -# (which is great for testing, but less for actual usage! :) - -cat < texlive.profile -# texlive.profile written on Sat Apr 28 18:37:30 2018 UTC -# It will NOT be updated and reflects only the -# installation profile at installation time. -selected_scheme scheme-basic -TEXDIR /app/extensions/TexLive/2018 -TEXMFCONFIG ~/.texlive2018/texmf-config -TEXMFHOME ~/texmf -TEXMFLOCAL /app/extensions/TexLive/texmf-local -TEXMFSYSCONFIG /app/extensions/TexLive/2018/texmf-config -TEXMFSYSVAR /app/extensions/TexLive/2018/texmf-var -TEXMFVAR ~/.texlive2018/texmf-var -binary_x86_64-linux 1 -collection-latex 1 -collection-binextra 1 -collection-fontsrecommended 1 -instopt_adjustpath 0 -instopt_adjustrepo 1 -instopt_letter 0 -instopt_portable 1 -instopt_write18_restricted 1 -tlpdbopt_autobackup 1 -tlpdbopt_backupdir tlpkg/backups -tlpdbopt_create_formats 1 -tlpdbopt_desktop_integration 1 -tlpdbopt_file_assocs 1 -tlpdbopt_generate_updmap 0 -tlpdbopt_install_docfiles 0 -tlpdbopt_install_srcfiles 0 -tlpdbopt_post_code 1 -tlpdbopt_sys_bin /usr/local/bin -tlpdbopt_sys_info /usr/local/share/info -tlpdbopt_sys_man /usr/local/share/man -tlpdbopt_w32_multi_user 1 -EOF - -# Makefile which is required by flatpak ... so this one is almost empty -# except for the install command which uses the texlive installer to download -# all the packages! - -cat < Makefile -all: - echo "I am a pretty empty Makefile." - -install: - ./install-tl-20180414/install-tl --profile texlive.profile -EOF diff --git a/flatpak/uberwriter.json b/flatpak/uberwriter.json deleted file mode 100644 index a19bb43..0000000 --- a/flatpak/uberwriter.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "app-id": "de.wolfvollprecht.UberWriter", - "runtime": "org.gnome.Platform", - "runtime-version": "3.26", - "sdk": "org.gnome.Sdk", - "command": "uberwriter", - "rename-icon": "uberwriter", - "finish-args": [ - "--socket=x11", - "--share=ipc", - "--filesystem=host", - "--env=IN_FLATPAK=1", - "--filesystem=xdg-run/dconf", - "--filesystem=~/.config/dconf:ro", - "--talk-name=ca.desrt.dconf", - "--env=DCONF_USER_CONFIG_DIR=.config/dconf", - "--env=PATH=/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/x86_64-linux:/app/bin:/usr/bin" - ], - "build-options" : { - "env": { - "PYTHON": "python3" - } - }, - "add-extensions": { - "de.wolfvollprecht.UberWriter.Plugin": { - "directory": "extensions", - "version": "stable", - "subdirectories": true, - "no-autodownload": true, - "autodelete": true - } - }, - "modules": [ - { - "name": "uberwriter", - "sources": [ - { - "type" : "git", - "url" : "git://github.com/wolfv/uberwriter", - "branch" : "master" - } - ], - "build-commands": [ - "install -Dm644 flatpak/de.wolfvollprecht.UberWriter.appdata.xml /app/share/appdata/de.wolfvollprecht.UberWriter.appdata.xml " - ], - "post-install": [ - "glib-compile-schemas /app/share/glib-2.0/schemas", - "install -d /app/extensions" - ] - }, - { - "name": "pandoc", - "only-arches": [ - "x86_64" - ], - "buildsystem": "simple", - "build-commands": [ - "cp bin/pandoc /app/bin/pandoc", - "cp bin/pandoc-citeproc /app/bin/pandoc-citeproc" - ], - "sources": [ - { - "type": "archive", - "url": "https://github.com/jgm/pandoc/releases/download/2.2/pandoc-2.2-linux.tar.gz", - "sha256": "06ecd882e42ef9b7390b1c82e1e71b3ea48679181289b9b810a8797825bed8ed" - } - ] - }, - { - "name": "pipdeps", - "buildsystem": "simple", - "build-commands": [ - "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyenchant regex pypandoc" - ], - "sources": [ - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/5d/c1/45947333669b31bc6b4933308dd07c2aa2fedcec0a95b14eedae993bd449/wheel-0.31.0.tar.gz", - "sha256": "1ae8153bed701cb062913b72429bcf854ba824f973735427681882a688cb55ce" - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz", - "sha256": "f2bd08e0cd1b06e10218feaf6fef299f473ba706582eb3bd9d52203fdbd7ee68" - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/71/81/00184643e5a10a456b4118fc12c96780823adb8ed974eb2289f29703b29b/pypandoc-1.4.tar.gz", - "sha256": "e914e6d5f84a76764887e4d909b09d63308725f0cbb5293872c2c92f07c11a5b" - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/a2/51/c39562cfed3272592c60cfd229e5464d715b78537e332eac2b695422dc49/regex-2018.02.21.tar.gz", - "sha256": "b44624a38d07d3c954c84ad302c29f7930f4bf01443beef5589e9157b14e2a29" - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/9e/54/04d88a59efa33fefb88133ceb638cdf754319030c28aadc5a379d82140ed/pyenchant-2.0.0.tar.gz", - "sha256": "fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0" - } - ] - }, - { - "name": "fonts", - "buildsystem": "simple", - "build-commands": [ - "mkdir -p /app/share/fonts/", - "cp ttf/* /app/share/fonts/" - ], - "sources": [ - { - "type": "git", - "url": "https://github.com/mozilla/Fira", - "tag": "4.202" - } - ] - }, - { - "name": "appdata", - "buildsystem": "simple", - "build-commands": [ - "mkdir -p /app/share/appdata", - "install -Dm644 de.wolfvollprecht.UberWriter.appdata.xml /app/share/appdata/de.wolfvollprecht.UberWriter.appdata.xml" - ], - "sources": [ - { - "type": "file", - "path": "de.wolfvollprecht.UberWriter.appdata.xml" - } - ] - } - ] - } diff --git a/help/C/figures/icon.png b/help/C/figures/icon.png deleted file mode 100644 index e5cf5ff..0000000 Binary files a/help/C/figures/icon.png and /dev/null differ diff --git a/help/C/figures/icon_down.png b/help/C/figures/icon_down.png deleted file mode 100644 index e1c2f52..0000000 Binary files a/help/C/figures/icon_down.png and /dev/null differ diff --git a/help/C/index.page b/help/C/index.page deleted file mode 100644 index 8954936..0000000 --- a/help/C/index.page +++ /dev/null @@ -1,34 +0,0 @@ - - - - - UberWriter - The UberWriter help. - - Wolf Vollprecht - w.vollprecht@gmail.com - 2012 - - -

Creative Commons Attribution-Share Alike 3.0 Unported License

-
-
- - -<!-- This shows on the page in title font --> -<!-- the icon only shows when installed --> -<media type="image" mime="image/png" src="figures/icon_down.png" width="16">[icon]</media> -<app>UberWriter</app> Help - - -

Help Topics for UberWriter:

- - -
- -Contents -
- -
diff --git a/help/C/pandocs-markdown.page b/help/C/pandocs-markdown.page deleted file mode 100644 index a5c6b9c..0000000 --- a/help/C/pandocs-markdown.page +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - Wolf Vollprecht - w.vollprecht@gmail.com - 2012 - - Introducing Pandoc's Markdown - - -Pandoc's Markdown -

Markdown Tutorial for UberWriter

-

I will try to give a short impressions on how I use markdown/pandocs capabilities to greatly reduce the time spent on formatting anything – from websites to PDF Documents.

-

You can find a much more exhaustive documentation for all features pandoc offers on pandoc’s help page: Link

-

Headers

-

There are two styles for headers. One looks like this:

-

Header Level One

-

Header Level Two

-
        ...
-
Header Level Six
-

And another one, that has only »two« levels:

-

Header One

-

Header Two

-

You can use both styles, whichever you prefer. Additionally, pandoc requires you to have a blank line before a header.

-

Paragraphs

-

A paragraph is one or more lines of text followed by one or more blank line. Newlines are treated as spaces. If you need a hard line break, put two or more spaces at the end of a line, or type a backslash at the end of a line.

-

Block quotations

-

Block quotations in markdown use the same convention as in emails. A generic block quote looks like this:

-
-

This is a block quote. This paragraph has two lines.

-
-

And block quotes can be nested, as well.

-
-
-

Note the empty line you need to leave before the second level blockquote.

-

Code blocks

-

There are two ways of creating a code block. You can indent your code four spaces or one tab.

-
Code
-

Or use a fenced code block:

-
a = function() {
-    return 0;
-}
-

Which works as well. You can identify the language of your code block to add syntax highlighting to the resulting document.

-

Short code examples can be surrounded by backticks to make them appear verbatim: this.code() == true.

-

Lists

-

Bullet List:

-
    -
  • one
  • -
  • two
  • -
  • three
  • -
-

Nested Lists:

-
    -
  • fruits -
      -
    • pears
    • -
    • peaches
    • -
  • -
  • vegetables -
      -
    • broccoli
    • -
    • ubuntu -
        -
      • mint
      • -
      • lubuntu
      • -
      • kubuntu
      • -
    • -
  • -
-

Numbered Lists:

-
    -
  1. Item 1
  2. -
  3. Item 2
  4. -
  5. Item 3
  6. -
-

Title blocks

-

To give your document some meta-information and a nice title, you can use title blocks at the top of your document:

-
% title
-% author(s) (separated by semicolons)
-% date
-

Inline formatting

-

Emphasizing some text is done by surrounding it with *s:

-

This is emphasized with asterisks, and this will be a bold text. And even more krass. And if you want to erase something: completely gone (sorrounded by ~)

-

Horizontal Rules

-

Horizontal rules are easily created by putting three or more *** or --- on a line:

-
-

Super- and subscripts

-

Superscripts may be written by surrounding the superscripted text by ^ characters; subscripts may be written by surrounding the subscripted text by ~ characters. Thus, for example,

-

H2O is a liquid. 210 is 1024.

-

Math

-

There are two ways to generate math type setting in pandoc: Inline math looks like this:

-

This is inline 1 + 2 = 3 math.

-

Note that there are no spaces allowed next to the dollar signs.

-

And there is also another format:

-

This is a beautiful equation:
∣∑ i = 1nxii2 ≤ ∑ j = 1nxj2∑ k = 1nyk2
And it stands on it’s own.

- -

Enclosing an URL in pointy brackets transforms them into links:

-

http://johnmacfarlane.net/pandoc

- -

This is an inline link, and here’s one with a title.

-

Images

-
-This is the caption

This is the caption

-
-

Footnotes

-

An example for footnotes (you can place the referenced footnote wherever you want, e.g. at the bottom of your document):

-

Here is a footnote reference,1 and another.2

-

There is also a different format for inline footnotes, that are easier to write:

-

Here is an inline note.3

-
-
-
    -
  1. Here is the footnote.

  2. -
  3. Here’s one with multiple blocks. Subsequent paragraphs are indented to show that they belong to the previous footnote. The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.

  4. -
  5. Inlines notes are easier to write, since you don’t have to pick an identifier and move down to type the note.

  6. -
-
- -
diff --git a/help/C/preview.page b/help/C/preview.page deleted file mode 100644 index beb7711..0000000 --- a/help/C/preview.page +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Wolf Vollprecht - w.vollprecht@gmail.com - 2012 - - UberWriters preview functionalities - - -UberWriter Preview -

There are 2 different ways to preview your MarkDown files in UberWriter and -quickly check, what you have written. -

-
- Inline Preview -

- If you have e.g. math, you can open the context menu with a right click - on your formula and will get a quick preview of your equation inside the context menu. - This will work not only for math, but also for links, footnotes and - images. -

-
-
-Complete Preview -

If you want a complete Preview of your document, you just need to hit the - preview Button on the statusbar at the bottom of the UberWriter window. - It will render the complete HTML Output of your MarkDown file.

-
-
diff --git a/help/stump/help.md b/help/stump/help.md deleted file mode 100644 index c63bf5b..0000000 --- a/help/stump/help.md +++ /dev/null @@ -1,1208 +0,0 @@ -% Pandoc User's Guide -% John MacFarlane -% January 27, 2012 - -## Pandoc's markdown - -Pandoc understands an extended and slightly revised version of -John Gruber's [markdown] syntax. This document explains the syntax, noting differences from standard markdown. - -### Philosophy - -Markdown is designed to be easy to write, and, even more importantly, easy to read: - -> A Markdown-formatted document should be publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions. -> -- [John Gruber](http://daringfireball.net/projects/markdown/syntax#philosophy) - -This principle has guided pandoc's decisions in finding syntax for -tables, footnotes, and other extensions. - -### Paragraphs - -A paragraph is one or more lines of text followed by one or more blank line. Newlines are treated as spaces, so you can reflow your paragraphs as you like. If you need a hard line break, put two or more spaces at the end of a line. - -**Extension: `escaped_line_breaks`** - -A backslash followed by a newline is also a hard line break. - -### Headers - -An header consists of one to six `#` signs and a line of text, optionally followed by any number of `#` signs. -The number of `#` signs at the beginning of the line is the header level: - - ## A level-two header - - ### A level-three header ### - -As with setext-style headers, the header text can contain formatting: - - # A level-one header with a [link](/url) and *emphasis* - -**Extension: `blank_before_header`** - -Standard markdown syntax does not require a blank line before a header. Pandoc does require this (except, of course, at the beginning of the document). The reason for the requirement is that it is all too easy for a `#` to end up at the beginning of a line by accident (perhaps through line wrapping). Consider, for example: - - I like several of their flavors of ice cream: - #22, for example, and #5. - - -### Header identifiers in HTML, LaTeX, and ConTeXt - -**Extension** - -Each header element in pandoc's HTML and ConTeXt output is given a -unique identifier. This identifier is based on the text of the header. -To derive the identifier from the header - - - Remove all formatting, links, etc. - - Remove all punctuation, except underscores, hyphens, and periods. - - Replace all spaces and newlines with hyphens. - - Convert all alphabetic characters to lowercase. - - Remove everything up to the first letter (identifiers may - not begin with a number or punctuation mark). - - If nothing is left after this, use the identifier `section`. - -Thus, for example, - - Header Identifier - ------------------------------- ---------------------------- - Header identifiers in HTML `header-identifiers-in-html` - *Dogs*?--in *my* house? `dogs--in-my-house` - [HTML], [S5], or [RTF]? `html-s5-or-rtf` - 3. Applications `applications` - 33 `section` - -These rules should, in most cases, allow one to determine the identifier from the header text. The exception is when several headers have the same text; in this case, the first will get an identifier as described above; the second will get the same identifier with `-1` appended; the third with `-2`; and so on. - -These identifiers are used to provide link targets in the table of -contents generated by the `--toc|--table-of-contents` option. They -also make it easy to provide links from one section of a document to another. A link to this section, for example, might look like this: - - See the section on - [header identifiers](#header-identifiers-in-html). - -Note, however, that this method of providing links to sections works only in HTML, LaTeX, and ConTeXt formats. - -If the `--section-divs` option is specified, then each section will be wrapped in a `div` (or a `section`, if `--html5` was specified), and the identifier will be attached to the enclosing `
` (or `
`) tag rather than the header itself. This allows entire sections to be manipulated using javascript or treated differently in CSS. - -### Block quotations - -Markdown uses email conventions for quoting blocks of text. -A block quotation is one or more paragraphs or other block elements (such as lists or headers), with each line preceded by a `>` character and a space. - -> This is a block quote. This paragraph does indeed have more than one line. -> -> 1. This is a list inside a block quote. -> 2. Second item. - -Among the block elements that can be contained in a block quote are other block quotes. That is, block quotes can be nested: - -> This is a block quote. -> ->> A block quote within a block quote. - -**Extension: `blank_line_before_blockquote`** - -Standard markdown syntax does not require a blank line before a block quote. Pandoc does require this (except, of course, at the beginning of the document). The reason for the requirement is that it is all too easy for a `>` to end up at the beginning of a line by accident (perhaps through line wrapping). So, unless `--strict` is used, the following does not produce a nested block quote in pandoc: - -> This is a block quote. ->> Nested. - - -### Verbatim (code) blocks - -#### Indented code blocks - -A block of text indented four spaces (or one tab) is treated as verbatim text: that is, special characters do not trigger special formatting, and all spaces and line breaks are preserved. For example, - - if (a > 3) { - moveShip(5 * gravity, DOWN); - } - -The initial (four space or one tab) indentation is not considered part of the verbatim text, and is removed in the output. - -Note: blank lines in the verbatim text need not begin with four spaces. - -#### Delimited code blocks - -**Extension: `delimited_code_blocks`** - -In addition to standard indented code blocks, Pandoc supports -*delimited* code blocks. These begin with a row of three or more -tildes (`~`) or backticks (`` ` ``) and end with a row of tildes or backticks that must be at least as long as the starting row. Everything between these lines is treated as code. No indentation is necessary: - - ~~~~~~~ - if (a > 3) { - moveShip(5 * gravity, DOWN); - } - ~~~~~~~ - -Like regular code blocks, delimited code blocks must be separated -from surrounding text by blank lines. - -If the code itself contains a row of tildes or backticks, just use a longer row of tildes or backticks at the start and end: - - ~~~~~~~~~~~~~~~~ - ~~~~~~~~~~ - code including tildes - ~~~~~~~~~~ - ~~~~~~~~~~~~~~~~ - -Optionally, you may attach attributes to the code block using -this syntax: - - ~~~~ {#mycode .haskell .numberLines startFrom="100"} - qsort [] = [] - qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++ - qsort (filter (>= x) xs) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Here `mycode` is an identifier, `haskell` and `numberLines` are classes, and `startFrom` is an attribute with value `100`. Some output formats can use this information to do syntax highlighting. Currently, the only output formats that uses this information are HTML and LaTeX. If highlighting is supported -for your output format and language, then the code block above will appear highlighted, with numbered lines. (To see which languages are supported, do `pandoc --version`.) Otherwise, the code block above will appear as follows: - -
-      
-      ...
-      
-    
- -A shortcut form can also be used for specifying the language of -the code block: - - ```haskell - qsort [] = [] - ``` - -This is equivalent to: - - ``` {.haskell} - qsort [] = [] - ``` - -### Lists -#### Bullet lists - -A bullet list is a list of bulleted list items. A bulleted list -item begins with a bullet (`*`, `+`, or `-`). Here is a simple -example: - -* one -* two -* three - -This will produce a "compact" list. If you want a "loose" list, in which each item is formatted as a paragraph, put spaces between the items: - -* one - -* two - -* three - -### The four-space rule - -A list item may contain multiple paragraphs and other block-level -content. However, subsequent paragraphs must be preceded by a blank line and indented four spaces or a tab. The list will look better if the first paragraph is aligned with the rest: - -* First paragraph. - -Continued. - -* Second paragraph. With a code block, which must be indented -eight spaces: - - { code } - -List items may include other lists. In this case the preceding blank line is optional. The nested list must be indented one tab: - -* fruits - + apples - - macintosh - - red delicious - + pears - + peaches -* vegetables - + brocolli - + chard - -The [markdown syntax guide] is not explicit whether the four-space -rule applies to *all* block-level content in a list item; it only -mentions paragraphs and code blocks. But it implies that the rule -applies to all block-level content (including nested lists), and -pandoc interprets it that way. - - [markdown syntax guide]: - http://daringfireball.net/projects/markdown/syntax#list - -### Ordered lists - -Ordered lists work just like bulleted lists, except that the items begin with enumerators rather than bullets. - -In standard markdown, enumerators are decimal numbers followed by a period and a space. The numbers themselves are ignored, so there is no difference between this list: - -1. one -2. two -3. three - -and this one: - -5. one -7. two -1. three - -**Extension: `fancy_lists`** - -Unlike standard markdown, Pandoc allows ordered list items to be marked with uppercase and lowercase letters and roman numerals, in addition to arabic numerals. List markers may be enclosed in parentheses or followed by a single right-parentheses or period. They must be separated from the text that follows by at least one space, and, if the list marker is a capital letter with a period, by at least two spaces.[^2] - -[^2]: The point of this rule is to ensure that normal paragraphs starting with people's initials, like - - B. Russell was an English philosopher. - - do not get treated as list items. - - This rule will not prevent - - (C) 2007 Joe Smith - - from being interpreted as a list item. In this case, a backslash escape can be used: - - (C\) 2007 Joe Smith - -**Extension: `startnum`** - -Pandoc also pays attention to the type of list marker used, and to the starting number, and both of these are preserved where possible in the output format. Thus, the following yields a list with numbers followed by a single parenthesis, starting with 9, and a sublist with lowercase roman numerals: - -9) Ninth -10) Tenth -11) Eleventh - i. subone - ii. subtwo - iii. subthree - -Pandoc will start a new list each time a different type of list marker is used. So, the following will create three lists: - -2) Two -5) Three -1. Four -* Five - -If default list markers are desired, use `#.`: - -#. one -#. two -#. three - - -### Definition lists - -**Extension: `definition_lists`** - -Pandoc supports definition lists, using a syntax inspired by -[PHP Markdown Extra] and [reStructuredText]:[^3] - - Term 1 - - : Definition 1 - - Term 2 with *inline markup* - - : Definition 2 - - { some code, part of Definition 2 } - - Third paragraph of definition 2. - -Each term must fit on one line, which may optionally be followed by a blank line, and must be followed by one or more definitions. -A definition begins with a colon or tilde, which may be indented one or two spaces. The body of the definition (including the first line, aside from the colon or tilde) should be indented four spaces. A term may have multiple definitions, and each definition may consist of one or more block elements (paragraph, code block, list, etc.), each indented four spaces or one tab stop. - -If you leave space after the definition (as in the example above), -the blocks of the definitions will be considered paragraphs. In some output formats, this will mean greater spacing between term/definition pairs. For a compact definition list, do not leave space between the definition and the next term: - - Term 1 - ~ Definition 1 - Term 2 - ~ Definition 2a - ~ Definition 2b - -[^3]: I have also been influenced by the suggestions of [David Wheeler](http://www.justatheory.com/computers/markup/modest-markdown-proposal.html). - -[PHP Markdown Extra]: http://www.michelf.com/projects/php-markdown/extra/ - - -### Numbered example lists - -**Extension: `example_lists`** - -The special list marker `@` can be used for sequentially numbered -examples. The first list item with a `@` marker will be numbered '1', the next '2', and so on, throughout the document. The numbered examples need not occur in a single list; each new list using `@` will take up where the last stopped. So, for example: - - (@) My first example will be numbered (1). - (@) My second example will be numbered (2). - - Explanation of examples. - - (@) My third example will be numbered (3). - -Numbered examples can be labeled and referred to elsewhere in the -document: - - (@good) This is a good example. - - As (@good) illustrates, ... - -The label can be any string of alphanumeric characters, underscores, or hyphens. - -### Compact and loose lists - -Pandoc behaves differently from `Markdown.pl` on some "edge -cases" involving lists. Consider this source: - - + First - + Second: - - Fee - - Fie - - Foe - - + Third - -Pandoc transforms this into a "compact list" (with no `

` tags around "First", "Second", or "Third"), while markdown puts `

` tags around "Second" and "Third" (but not "First"), because of the blank space around "Third". Pandoc follows a simple rule: if the text is followed by a blank line, it is treated as a paragraph. Since "Second" is followed by a list, and not a blank line, it isn't treated as a paragraph. The fact that the list is followed by a blank line is irrelevant. - - -### Ending a list - -What if you want to put an indented code block after a list? - - - item one - - item two - - { my code block } - -Trouble! Here pandoc (like other markdown implementations) will treat `{ my code block }` as the second paragraph of item two, and not as a code block. - -To "cut off" the list after item two, you can insert some non-indented content, like an HTML comment, which won't produce visible output in any format: - - - item one - - item two - - - - { my code block } - -You can use the same trick if you want two consecutive lists instead of one big list: - - 1. one - 2. two - 3. three - - - - 1. uno - 2. dos - 3. tres - -### Horizontal rules - -A line containing a row of three or more `*`, `-`, or `_` characters -(optionally separated by spaces) produces a horizontal rule: - -* * * - - -### Tables - -Four kinds of tables may be used. The first three kinds presuppose the use of a fixed-width font, such as Courier. The fourth kind can be used with proportionally spaced fonts, as it does not require lining up columns. - -#### Simple tables - -Simple tables look like this: - - Right Left Center Default - ------- ------ ---------- ------- - 12 12 12 12 - 123 123 123 123 - 1 1 1 1 - - Table: Demonstration of simple table syntax. - -The headers and table rows must each fit on one line. Column -alignments are determined by the position of the header text relative to the dashed line below it: - -- If the dashed line is flush with the header text on the right side but extends beyond it on the left, the column is right-aligned. -- If the dashed line is flush with the header text on the left side but extends beyond it on the right, the column is left-aligned. -- If the dashed line extends beyond the header text on both sides, the column is centered. -- If the dashed line is flush with the header text on both sides, the default alignment is used (in most cases, this will be left). - -The table must end with a blank line, or a line of dashes followed by a blank line. A caption may optionally be provided (as illustrated in the example above). A caption is a paragraph beginning with the string `Table:` (or just `:`), which will be stripped off. It may appear either before or after the table. - -The column headers may be omitted, provided a dashed line is used -to end the table. For example: - - ------- ------ ---------- ------- - 12 12 12 12 - 123 123 123 123 - 1 1 1 1 - ------- ------ ---------- ------- - -When headers are omitted, column alignments are determined on the basis of the first line of the table body. So, in the tables above, the columns would be right, left, center, and right aligned, respectively. - -#### Multiline tables - -Multiline tables allow headers and table rows to span multiple lines of text (but cells that span multiple columns or rows of the table are not supported). -Here is an example: - - ------------------------------------------------------------- - Centered Default Right Left - Header Aligned Aligned Aligned - ----------- ------- --------------- ------------------------- - First row 12.0 Example of a row that - spans multiple lines. - - Second row 5.0 Here's another one. Note - the blank line between - rows. - ------------------------------------------------------------- - - Table: Here's the caption. - -These work like simple tables, but with the following differences: - - - They must begin with a row of dashes, before the header text - (unless the headers are omitted). - - They must end with a row of dashes, then a blank line. - - The rows must be separated by blank lines. - -In multiline tables, the table parser pays attention to the widths of the columns, and the writers try to reproduce these relative widths in the output. So, if you find that one of the columns is too narrow in the output, try widening it in the markdown source. - -Headers may be omitted in multiline tables as well as simple tables: - - ----------- ------- --------------- ------------------------- - First row 12.0 Example of a row that - spans multiple lines. - - Second row 5.0 Here's another one. Note - the blank line between - rows. - ------------------------------------------------------------- - -It is possible for a multiline table to have just one row, but the row should be followed by a blank line (and then the row of dashes that ends the table), or the table may be interpreted as a simple table. - -#### Grid tables - -Grid tables look like this: - - +---------------+---------------+--------------------+ - | Fruit | Price | Advantages | - +===============+===============+====================+ - | Bananas | $1.34 | - built-in wrapper | - | | | - bright color | - +---------------+---------------+--------------------+ - | Oranges | $2.10 | - cures scurvy | - | | | - tasty | - +---------------+---------------+--------------------+ - -The row of `=`s separates the header from the table body, and can be omitted for a headerless table. The cells of grid tables may contain arbitrary block elements (multiple paragraphs, code blocks, lists, etc.). Alignments are not supported, nor are cells that span multiple columns or rows. Grid tables can be created easily using [Emacs table mode]. - -#### Pipe tables - -Pipe tables look like this: - - | Right | Left | Default | Center | - |------:|:-----|---------|:------:| - | 12 | 12 | 12 | 12 | - | 123 | 123 | 123 | 123 | - | 1 | 1 | 1 | 1 | - -The syntax is the same as in PHP Markdown Extra. The beginning and ending pipe characters are optional, but pipes are required between all columns. The colons indicate column alignment as shown. The header can be omitted, but the horizontal line must still be included, as it defines column alignments. - -Since the pipes indicate column boundaries, columns need not be vertically aligned, as they are in the above example. So, this is a perfectly legal (though ugly) pipe table: - - fruit| price - -----|-----: - apple|2.05 - pear|1.37 - orange|3.09 - -The cells of pipe tables cannot contain block elements like paragraphs and lists, and cannot span multiple lines. - -Title block ------------ - -**Extension: `pandoc_title_blocks`** - -If the file begins with a title block - - % title - % author(s) (separated by semicolons) - % date - -it will be parsed as bibliographic information, not regular text. (It will be used, for example, in the title of standalone LaTeX or HTML output.) The block may contain just a title, a title and an author, or all three elements. If you want to include an author but no title, or a title and a date but no author, you need a blank line: - - % - % Author - - % My title - % - % June 15, 2006 - -The title may occupy multiple lines, but continuation lines must -begin with leading space, thus: - - % My title - on multiple lines - -If a document has multiple authors, the authors may be put on -separate lines with leading space, or separated by semicolons, or -both. So, all of the following are equivalent: - - % Author One - Author Two - - % Author One; Author Two - - % Author One; - Author Two - -The date must fit on one line. - -All three metadata fields may contain standard inline formatting -(italics, links, footnotes, etc.). - -Backslash escapes ------------------ - -**Extension: `all_symbols_escapable`** - -Except inside a code block or inline code, any punctuation or space character preceded by a backslash will be treated literally, even if it would normally indicate formatting. Thus, for example, if one writes - - *\*hello\** - -one will get - - *hello* - -instead of - - hello - -This rule is easier to remember than standard markdown's rule, which allows only the following characters to be backslash-escaped: - - \`*_{}[]()>#+-.! - -A backslash-escaped space is parsed as a nonbreaking space. It will appear in TeX output as `~` and in HTML and XML as `\ ` or `\ `. - -A backslash-escaped newline (i.e. a backslash occurring at the end of a line) is parsed as a hard line break. It will appear in TeX output as `\\` and in HTML as `
`. This is a nice alternative to markdown's "invisible" way of indicating hard line breaks using two trailing spaces on a line. - -Backslash escapes do not work in verbatim contexts. - -### Smart punctuation - -Pandoc will produce typographically correct output, converting straight quotes to curly quotes, `---` to em-dashes, `--` to en-dashes, and `...` to ellipses. Nonbreaking spaces are inserted after certain abbreviations, such as "Mr." - -Note: if your LaTeX template uses the `csquotes` package, pandoc will detect automatically this and use `\enquote{...}` for quoted text. - -### Inline formatting - -To *emphasize* some text, surround it with `*`s or `_`, like this: - - This text is _emphasized with underscores_, and this - is *emphasized with asterisks*. - -Double `*` or `_` produces **strong emphasis**: - - This is **strong emphasis** and __with underscores__. - -A `*` or `_` character surrounded by spaces, or backslash-escaped, -will not trigger emphasis: - - This is * not emphasized *, and \*neither is this\*. - -Because `_` is sometimes used inside words and identifiers, pandoc does not interpret a `_` surrounded by alphanumeric characters as an emphasis marker. If you want to emphasize just part of a word, use `*`: - - feas*ible*, not feas*able*. - -#### Strikeout - -To strikeout a section of text with a horizontal line, begin and end it with `~~`. Thus, for example, - - This ~~is deleted text.~~ - -#### Superscripts and subscripts - -Superscripts may be written by surrounding the superscripted text by `^` characters; subscripts may be written by surrounding the subscripted text by `~` characters. - -Thus, for example, - - H~2~O is a liquid. 2^10^ is 1024. - -If the superscripted or subscripted text contains spaces, these spaces must be escaped with backslashes. (This is to prevent accidental superscripting and subscripting through the ordinary use of `~` and `^`.) - -Thus, if you want the letter P with 'a cat' in subscripts, use -`P~a\ cat~`, not `P~a cat~`. - -#### Verbatim - -To make a short span of text verbatim, put it inside backticks: - - What is the difference between `>>=` and `>>`? - -If the verbatim text includes a backtick, use double backticks: - - Here is a literal backtick `` ` ``. - -(The spaces after the opening backticks and before the closing backticks will be ignored.) - -The general rule is that a verbatim span starts with a string of consecutive backticks (optionally followed by a space) and ends with a string of the same number of backticks (optionally preceded by a space). - -Note that backslash-escapes (and other markdown constructs) do not work in verbatim contexts: - - This is a backslash followed by an asterisk: `\*`. - -**Extension: `inline_code_attributes`** - -Attributes can be attached to verbatim text, just as with -[delimited code blocks](#delimited-code-blocks): - - `<$>`{.haskell} - -### Math - -Anything between two `$` characters will be treated as TeX math. The opening `$` must have a character immediately to its right, while the closing `$` must have a character immediately to its left. Thus, `$20,000 and $30,000` won't parse as math. If for some reason you need to enclose text in literal `$` characters, backslash-escape them and they won't be treated as math delimiters. - -TeX math will be printed in all output formats. How it is rendered depends on the output format: - -* HTML: with (mathjax)[http://www.mathjax.org/] -* Latex: with Latex - -### Raw HTML - -Markdown allows you to insert raw HTML (or DocBook) anywhere in a document (except verbatim contexts, where `<`, `>`, and `&` are interpreted literally). - -Standard markdown allows you to include HTML "blocks": blocks -of HTML between balanced tags that are separated from the surrounding text with blank lines, and start and end at the left margin. - -Within these blocks, everything is interpreted as HTML, not markdown; so (for example), `*` does not signify emphasis. - -Pandoc interprets material between HTML block tags as markdown. -Thus, for example, Pandoc will turn - - - - - - -
*one*[a link](http://google.com)
- -into - - - - - - -
onea link
- - - -There is one exception to this rule: text between ` + + + + +

+ +

berWriter

+ +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/lipsum.md b/lipsum.md deleted file mode 100644 index 2fdba79..0000000 --- a/lipsum.md +++ /dev/null @@ -1,39 +0,0 @@ -### This is Lorem ficksum - -asdja kdja dskj - -$\frac{1}{2} + 1 12+2=14$ Testing more input whatt. - -[](http://www.wolfvollprecht.de/) -[](http://google.com) - -![Insert image title here](/home/wolf/Pictures/IMG_20130901_152337.jpg) - -asd sa - -Lorem ipsum dolor sit amet, exerci mucius perpetua vix at, quo persius nostrum singulis ei, integre delicata ei vel. Cu eum dicant copiosae philosophia, nec ad vide insolens. His propriae pericula periculis at, mei et aeque commune efficiendi, eum ea quis consetetur. Ius ut iuvaret denique. Mei ea odio legere suscipit. - -# Heading Uno - -Ius ex timeam appetere[^1], mea id sumo partiendo, qui at viris patrioque gloriatur. Sit ferri oratio tamquam eu. Persius senserit ei his, an nec mundi ponderum dissentias. Placerat erroribus pri in, his te dolor diceret. - -```javascript -function(3) { - exit(); -} -``` - -In eos civibus tincidunt, paulo voluptatibus cum ei. Eu mei reprehendunt necessitatibus, ea mundi sententiae vix. Mel dico impetus te, pro an nihil epicurei phaedrum. Nulla labitur meliore no vel, soleat facilisi pro te, et aliquam suscipiantur reprehendunt vis. Duo minim explicari ei, lobortis scripserit ex eam. Eum ea nobis latine, ad mazim latine tritani cum, homero eruditi vivendo ex nam. - -## Heading Twodacei th - -Highlighting one sentence at a time. This is it. What can -I Das is doch schiete. as asddo? Now we actually. H a candidat e here ave. -Esse inermis pri et, sea pericula petentium te, eum urbanitas signiferumque et. Tantas graece ad sed, pertinax erroribus no mei. Ei elitr melius antiopam est. In ius cetero inermis electram. Quot aliquid dolorem ne eos. -[^2] -Usu nostrud recteque ex, inani suscipiantur mea et, et sit graeco aeterno oporteat. Et partem iisque rationibus eos. Modus dicam sanctus at his, ad eos velit regione constituam. Ad tacimates conceptam persequeris est. No populo delicata duo, ut pro sumo euripidis. Oporteat assentior constituto sea ei, nam sint scaevola eu. Mel vidisse dolores neglegentur cu. - -[^1]: This is my footnote, and I am very proud of it. Cool, right? not? I don't know, anyway. - And a consecutive ressurection of the same footnote, anyway, great or not, I don't know. - -[^2]: asda sdas dasd asdasasd \ No newline at end of file diff --git a/markdown_test.md b/markdown_test.md deleted file mode 100644 index 3c41bb7..0000000 --- a/markdown_test.md +++ /dev/null @@ -1,887 +0,0 @@ -Markdown: Syntax -================ - - - - -* [Overview](#overview) - * [Philosophy](#philosophy) - * [Inline HTML](#html) - * [Automatic Escaping for Special Characters](#autoescape) -* [Block Elements](#block) - * [Paragraphs and Line Breaks](#p) - * [Headers](#header) - * [Blockquotes](#blockquote) - * [Lists](#list) - * [Code Blocks](#precode) - * [Horizontal Rules](#hr) -* [Span Elements](#span) - * [Links](#link) - * [Emphasis](#em) - * [Code](#code) - * [Images](#img) -* [Miscellaneous](#misc) - * [Backslash Escapes](#backslash) - * [Automatic Links](#autolink) - - -**Note:** This document is itself written using Markdown; you -can [see the source for it by adding '.text' to the URL][src]. - - [src]: /projects/markdown/syntax.text - -* * * - -

Overview

- -

Philosophy

- -Markdown is intended to be as easy-to-read and easy-to-write as is feasible. - -Readability, however, is emphasized above all else. A Markdown-formatted -document should be publishable as-is, as plain text, without looking -like it's been marked up with tags or formatting instructions. While -Markdown's syntax has been influenced by several existing text-to-HTML -filters -- including [Setext] [1], [atx] [2], [Textile] [3], [reStructuredText] [4], -[Grutatext] [5], and [EtText] [6] -- the single biggest source of -inspiration for Markdown's syntax is the format of plain text email. - - [1]: http://docutils.sourceforge.net/mirror/setext.html - [2]: http://www.aaronsw.com/2002/atx/ - [3]: http://textism.com/tools/textile/ - [4]: http://docutils.sourceforge.net/rst.html - [5]: http://www.triptico.com/software/grutatxt.html - [6]: http://ettext.taint.org/doc/ - -To this end, Markdown's syntax is comprised entirely of punctuation -characters, which punctuation characters have been carefully chosen so -as to look like what they mean. E.g., asterisks around a word actually -look like \*emphasis\*. Markdown lists look like, well, lists. Even -blockquotes look like quoted passages of text, assuming you've ever -used email. - - - -

Inline HTML

- -Markdown's syntax is intended for one purpose: to be used as a -format for *writing* for the web. - -Markdown is not a replacement for HTML, or even close to it. Its -syntax is very small, corresponding only to a very small subset of -HTML tags. The idea is *not* to create a syntax that makes it easier -to insert HTML tags. In my opinion, HTML tags are already easy to -insert. The idea for Markdown is to make it easy to read, write, and -edit prose. HTML is a *publishing* format; Markdown is a *writing* -format. Thus, Markdown's formatting syntax only addresses issues that -can be conveyed in plain text. - -For any markup that is not covered by Markdown's syntax, you simply -use HTML itself. There's no need to preface it or delimit it to -indicate that you're switching from Markdown to HTML; you just use -the tags. - -The only restrictions are that block-level HTML elements -- e.g. `
`, -``, `
`, `

`, etc. -- must be separated from surrounding -content by blank lines, and the start and end tags of the block should -not be indented with tabs or spaces. Markdown is smart enough not -to add extra (unwanted) `

` tags around HTML block-level tags. - -For example, to add an HTML table to a Markdown article: - - This is a regular paragraph. - -

- - - -
Foo
- - This is another regular paragraph. - -Note that Markdown formatting syntax is not processed within block-level -HTML tags. E.g., you can't use Markdown-style `*emphasis*` inside an -HTML block. - -Span-level HTML tags -- e.g. ``, ``, or `` -- can be -used anywhere in a Markdown paragraph, list item, or header. If you -want, you can even use HTML tags instead of Markdown formatting; e.g. if -you'd prefer to use HTML `` or `` tags instead of Markdown's -link or image syntax, go right ahead. - -Unlike block-level HTML tags, Markdown syntax *is* processed within -span-level tags. - - -

Automatic Escaping for Special Characters

- -In HTML, there are two characters that demand special treatment: `<` -and `&`. Left angle brackets are used to start tags; ampersands are -used to denote HTML entities. If you want to use them as literal -characters, you must escape them as entities, e.g. `<`, and -`&`. - -Ampersands in particular are bedeviling for web writers. If you want to -write about 'AT&T', you need to write '`AT&T`'. You even need to -escape ampersands within URLs. Thus, if you want to link to: - - http://images.google.com/images?num=30&q=larry+bird - -you need to encode the URL as: - - http://images.google.com/images?num=30&q=larry+bird - -in your anchor tag `href` attribute. Needless to say, this is easy to -forget, and is probably the single most common source of HTML validation -errors in otherwise well-marked-up web sites. - -Markdown allows you to use these characters naturally, taking care of -all the necessary escaping for you. If you use an ampersand as part of -an HTML entity, it remains unchanged; otherwise it will be translated -into `&`. - -So, if you want to include a copyright symbol in your article, you can write: - - © - -and Markdown will leave it alone. But if you write: - - AT&T - -Markdown will translate it to: - - AT&T - -Similarly, because Markdown supports [inline HTML](#html), if you use -angle brackets as delimiters for HTML tags, Markdown will treat them as -such. But if you write: - - 4 < 5 - -Markdown will translate it to: - - 4 < 5 - -However, inside Markdown code spans and blocks, angle brackets and -ampersands are *always* encoded automatically. This makes it easy to use -Markdown to write about HTML code. (As opposed to raw HTML, which is a -terrible format for writing about HTML syntax, because every single `<` -and `&` in your example code needs to be escaped.) - - -* * * - - -

Block Elements

- - -

Paragraphs and Line Breaks

- -A paragraph is simply one or more consecutive lines of text, separated -by one or more blank lines. (A blank line is any line that looks like a -blank line -- a line containing nothing but spaces or tabs is considered -blank.) Normal paragraphs should not be intended with spaces or tabs. - -The implication of the "one or more consecutive lines of text" rule is -that Markdown supports "hard-wrapped" text paragraphs. This differs -significantly from most other text-to-HTML formatters (including Movable -Type's "Convert Line Breaks" option) which translate every line break -character in a paragraph into a `
` tag. - -When you *do* want to insert a `
` break tag using Markdown, you -end a line with two or more spaces, then type return. - -Yes, this takes a tad more effort to create a `
`, but a simplistic -"every line break is a `
`" rule wouldn't work for Markdown. -Markdown's email-style [blockquoting][bq] and multi-paragraph [list items][l] -work best -- and look better -- when you format them with hard breaks. - - [bq]: #blockquote - [l]: #list - - - - - -Markdown supports two styles of headers, [Setext] [1] and [atx] [2]. - -Setext-style headers are "underlined" using equal signs (for first-level -headers) and dashes (for second-level headers). For example: - - This is an H1 - ============= - - This is an H2 - ------------- - -Any number of underlining `=`'s or `-`'s will work. - -Atx-style headers use 1-6 hash characters at the start of the line, -corresponding to header levels 1-6. For example: - - # This is an H1 - - ## This is an H2 - - ###### This is an H6 - -Optionally, you may "close" atx-style headers. This is purely -cosmetic -- you can use this if you think it looks better. The -closing hashes don't even need to match the number of hashes -used to open the header. (The number of opening hashes -determines the header level.) : - - # This is an H1 # - - ## This is an H2 ## - - ### This is an H3 ###### - - -

Blockquotes

- -Markdown uses email-style `>` characters for blockquoting. If you're -familiar with quoting passages of text in an email message, then you -know how to create a blockquote in Markdown. It looks best if you hard -wrap the text and put a `>` before every line: - - > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, - > consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. - > Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. - > - > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse - > id sem consectetuer libero luctus adipiscing. - -Markdown allows you to be lazy and only put the `>` before the first -line of a hard-wrapped paragraph: - - > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, - consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. - Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. - - > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse - id sem consectetuer libero luctus adipiscing. - -Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by -adding additional levels of `>`: - - > This is the first level of quoting. - > - > > This is nested blockquote. - > - > Back to the first level. - -Blockquotes can contain other Markdown elements, including headers, lists, -and code blocks: - - > ## This is a header. - > - > 1. This is the first list item. - > 2. This is the second list item. - > - > Here's some example code: - > - > return shell_exec("echo $input | $markdown_script"); - -Any decent text editor should make email-style quoting easy. For -example, with BBEdit, you can make a selection and choose Increase -Quote Level from the Text menu. - - -

Lists

- -Markdown supports ordered (numbered) and unordered (bulleted) lists. - -Unordered lists use asterisks, pluses, and hyphens -- interchangably --- as list markers: - - * Red - * Green - * Blue - -is equivalent to: - - + Red - + Green - + Blue - -and: - - - Red - - Green - - Blue - -Ordered lists use numbers followed by periods: - - 1. Bird - 2. McHale - 3. Parish - -It's important to note that the actual numbers you use to mark the -list have no effect on the HTML output Markdown produces. The HTML -Markdown produces from the above list is: - -
    -
  1. Bird
  2. -
  3. McHale
  4. -
  5. Parish
  6. -
- -If you instead wrote the list in Markdown like this: - - 1. Bird - 1. McHale - 1. Parish - -or even: - - 3. Bird - 1. McHale - 8. Parish - -you'd get the exact same HTML output. The point is, if you want to, -you can use ordinal numbers in your ordered Markdown lists, so that -the numbers in your source match the numbers in your published HTML. -But if you want to be lazy, you don't have to. - -If you do use lazy list numbering, however, you should still start the -list with the number 1. At some point in the future, Markdown may support -starting ordered lists at an arbitrary number. - -List markers typically start at the left margin, but may be indented by -up to three spaces. List markers must be followed by one or more spaces -or a tab. - -To make lists look nice, you can wrap items with hanging indents: - - * Lorem ipsum dolor sit amet, consectetuer adipiscing elit. - Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, - viverra nec, fringilla in, laoreet vitae, risus. - * Donec sit amet nisl. Aliquam semper ipsum sit amet velit. - Suspendisse id sem consectetuer libero luctus adipiscing. - -But if you want to be lazy, you don't have to: - - * Lorem ipsum dolor sit amet, consectetuer adipiscing elit. - Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, - viverra nec, fringilla in, laoreet vitae, risus. - * Donec sit amet nisl. Aliquam semper ipsum sit amet velit. - Suspendisse id sem consectetuer libero luctus adipiscing. - -If list items are separated by blank lines, Markdown will wrap the -items in `

` tags in the HTML output. For example, this input: - - * Bird - * Magic - -will turn into: - -

    -
  • Bird
  • -
  • Magic
  • -
- -But this: - - * Bird - - * Magic - -will turn into: - -
    -
  • Bird

  • -
  • Magic

  • -
- -List items may consist of multiple paragraphs. Each subsequent -paragraph in a list item must be intended by either 4 spaces -or one tab: - - 1. This is a list item with two paragraphs. Lorem ipsum dolor - sit amet, consectetuer adipiscing elit. Aliquam hendrerit - mi posuere lectus. - - Vestibulum enim wisi, viverra nec, fringilla in, laoreet - vitae, risus. Donec sit amet nisl. Aliquam semper ipsum - sit amet velit. - - 2. Suspendisse id sem consectetuer libero luctus adipiscing. - -It looks nice if you indent every line of the subsequent -paragraphs, but here again, Markdown will allow you to be -lazy: - - * This is a list item with two paragraphs. - - This is the second paragraph in the list item. You're - only required to indent the first line. Lorem ipsum dolor - sit amet, consectetuer adipiscing elit. - - * Another item in the same list. - -To put a blockquote within a list item, the blockquote's `>` -delimiters need to be indented: - - * A list item with a blockquote: - - > This is a blockquote - > inside a list item. - -To put a code block within a list item, the code block needs -to be indented *twice* -- 8 spaces or two tabs: - - * A list item with a code block: - - - - -It's worth noting that it's possible to trigger an ordered list by -accident, by writing something like this: - - 1986. What a great season. - -In other words, a *number-period-space* sequence at the beginning of a -line. To avoid this, you can backslash-escape the period: - - 1986\. What a great season. - - - -

Code Blocks

- -Pre-formatted code blocks are used for writing about programming or -markup source code. Rather than forming normal paragraphs, the lines -of a code block are interpreted literally. Markdown wraps a code block -in both `
` and `` tags.
-
-To produce a code block in Markdown, simply indent every line of the
-block by at least 4 spaces or 1 tab. For example, given this input:
-
-    This is a normal paragraph:
-
-        This is a code block.
-
-Markdown will generate:
-
-    

This is a normal paragraph:

- -
This is a code block.
-    
- -One level of indentation -- 4 spaces or 1 tab -- is removed from each -line of the code block. For example, this: - - Here is an example of AppleScript: - - tell application "Foo" - beep - end tell - -will turn into: - -

Here is an example of AppleScript:

- -
tell application "Foo"
-        beep
-    end tell
-    
- -A code block continues until it reaches a line that is not indented -(or the end of the article). - -Within a code block, ampersands (`&`) and angle brackets (`<` and `>`) -are automatically converted into HTML entities. This makes it very -easy to include example HTML source code using Markdown -- just paste -it and indent it, and Markdown will handle the hassle of encoding the -ampersands and angle brackets. For example, this: - - - -will turn into: - -
<div class="footer">
-        &copy; 2004 Foo Corporation
-    </div>
-    
- -Regular Markdown syntax is not processed within code blocks. E.g., -asterisks are just literal asterisks within a code block. This means -it's also easy to use Markdown to write about Markdown's own syntax. - - - -

Horizontal Rules

- -You can produce a horizontal rule tag (`
`) by placing three or -more hyphens, asterisks, or underscores on a line by themselves. If you -wish, you may use spaces between the hyphens or asterisks. Each of the -following lines will produce a horizontal rule: - - * * * - - *** - - ***** - - - - - - - --------------------------------------- - - _ _ _ - - -* * * - -

Span Elements

- - - -Markdown supports two style of links: *inline* and *reference*. - -In both styles, the link text is delimited by [square brackets]. - -To create an inline link, use a set of regular parentheses immediately -after the link text's closing square bracket. Inside the parentheses, -put the URL where you want the link to point, along with an *optional* -title for the link, surrounded in quotes. For example: - - This is [an example](http://example.com/ "Title") inline link. - - [This link](http://example.net/) has no title attribute. - -Will produce: - -

This is - an example inline link.

- -

This link has no - title attribute.

- -If you're referring to a local resource on the same server, you can -use relative paths: - - See my [About](/about/) page for details. - -Reference-style links use a second set of square brackets, inside -which you place a label of your choosing to identify the link: - - This is [an example][id] reference-style link. - -You can optionally use a space to separate the sets of brackets: - - This is [an example] [id] reference-style link. - -Then, anywhere in the document, you define your link label like this, -on a line by itself: - - [id]: http://example.com/ "Optional Title Here" - -That is: - -* Square brackets containing the link identifier (optionally - indented from the left margin using up to three spaces); -* followed by a colon; -* followed by one or more spaces (or tabs); -* followed by the URL for the link; -* optionally followed by a title attribute for the link, enclosed - in double or single quotes. - -The link URL may, optionally, be surrounded by angle brackets: - - [id]: "Optional Title Here" - -You can put the title attribute on the next line and use extra spaces -or tabs for padding, which tends to look better with longer URLs: - - [id]: http://example.com/longish/path/to/resource/here - "Optional Title Here" - -Link definitions are only used for creating links during Markdown -processing, and are stripped from your document in the HTML output. - -Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are *not* case sensitive. E.g. these two links: - - [link text][a] - [link text][A] - -are equivalent. - -The *implicit link name* shortcut allows you to omit the name of the -link, in which case the link text itself is used as the name. -Just use an empty set of square brackets -- e.g., to link the word -"Google" to the google.com web site, you could simply write: - - [Google][] - -And then define the link: - - [Google]: http://google.com/ - -Because link names may contain spaces, this shortcut even works for -multiple words in the link text: - - Visit [Daring Fireball][] for more information. - -And then define the link: - - [Daring Fireball]: http://daringfireball.net/ - -Link definitions can be placed anywhere in your Markdown document. I -tend to put them immediately after each paragraph in which they're -used, but if you want, you can put them all at the end of your -document, sort of like footnotes. - -Here's an example of reference links in action: - - I get 10 times more traffic from [Google] [1] than from - [Yahoo] [2] or [MSN] [3]. - - [1]: http://google.com/ "Google" - [2]: http://search.yahoo.com/ "Yahoo Search" - [3]: http://search.msn.com/ "MSN Search" - -Using the implicit link name shortcut, you could instead write: - - I get 10 times more traffic from [Google][] than from - [Yahoo][] or [MSN][]. - - [google]: http://google.com/ "Google" - [yahoo]: http://search.yahoo.com/ "Yahoo Search" - [msn]: http://search.msn.com/ "MSN Search" - -Both of the above examples will produce the following HTML output: - -

I get 10 times more traffic from Google than from - Yahoo - or MSN.

- -For comparison, here is the same paragraph written using -Markdown's inline link style: - - I get 10 times more traffic from [Google](http://google.com/ "Google") - than from [Yahoo](http://search.yahoo.com/ "Yahoo Search") or - [MSN](http://search.msn.com/ "MSN Search"). - -The point of reference-style links is not that they're easier to -write. The point is that with reference-style links, your document -source is vastly more readable. Compare the above examples: using -reference-style links, the paragraph itself is only 81 characters -long; with inline-style links, it's 176 characters; and as raw HTML, -it's 234 characters. In the raw HTML, there's more markup than there -is text. - -With Markdown's reference-style links, a source document much more -closely resembles the final output, as rendered in a browser. By -allowing you to move the markup-related metadata out of the paragraph, -you can add links without interrupting the narrative flow of your -prose. - - -

Emphasis

- -Markdown treats asterisks (`*`) and underscores (`_`) as indicators of -emphasis. Text wrapped with one `*` or `_` will be wrapped with an -HTML `` tag; double `*`'s or `_`'s will be wrapped with an HTML -`` tag. E.g., this input: - - *single asterisks* - - _single underscores_ - - **double asterisks** - - __double underscores__ - -will produce: - - single asterisks - - single underscores - - double asterisks - - double underscores - -You can use whichever style you prefer; the lone restriction is that -the same character must be used to open and close an emphasis span. - -Emphasis can be used in the middle of a word: - - un*fucking*believable - -But if you surround an `*` or `_` with spaces, it'll be treated as a -literal asterisk or underscore. - -To produce a literal asterisk or underscore at a position where it -would otherwise be used as an emphasis delimiter, you can backslash -escape it: - - \*this text is surrounded by literal asterisks\* - - - -

Code

- -To indicate a span of code, wrap it with backtick quotes (`` ` ``). -Unlike a pre-formatted code block, a code span indicates code within a -normal paragraph. For example: - - Use the `printf()` function. - -will produce: - -

Use the printf() function.

- -To include a literal backtick character within a code span, you can use -multiple backticks as the opening and closing delimiters: - - ``There is a literal backtick (`) here.`` - -which will produce this: - -

There is a literal backtick (`) here.

- -The backtick delimiters surrounding a code span may include spaces -- -one after the opening, one before the closing. This allows you to place -literal backtick characters at the beginning or end of a code span: - - A single backtick in a code span: `` ` `` - - A backtick-delimited string in a code span: `` `foo` `` - -will produce: - -

A single backtick in a code span: `

- -

A backtick-delimited string in a code span: `foo`

- -With a code span, ampersands and angle brackets are encoded as HTML -entities automatically, which makes it easy to include example HTML -tags. Markdown will turn this: - - Please don't use any `` tags. - -into: - -

Please don't use any <blink> tags.

- -You can write this: - - `—` is the decimal-encoded equivalent of `—`. - -to produce: - -

&#8212; is the decimal-encoded - equivalent of &mdash;.

- - - -

Images

- -Admittedly, it's fairly difficult to devise a "natural" syntax for -placing images into a plain text document format. - -Markdown uses an image syntax that is intended to resemble the syntax -for links, allowing for two styles: *inline* and *reference*. - -Inline image syntax looks like this: - - ![Alt text](/path/to/img.jpg) - - ![Alt text](/path/to/img.jpg "Optional title") - -That is: - -* An exclamation mark: `!`; -* followed by a set of square brackets, containing the `alt` - attribute text for the image; -* followed by a set of parentheses, containing the URL or path to - the image, and an optional `title` attribute enclosed in double - or single quotes. - -Reference-style image syntax looks like this: - - ![Alt text][id] - -Where "id" is the name of a defined image reference. Image references -are defined using syntax identical to link references: - - [id]: url/to/image "Optional title attribute" - -As of this writing, Markdown has no syntax for specifying the -dimensions of an image; if this is important to you, you can simply -use regular HTML `` tags. - - -* * * - - -

Miscellaneous

- - - -Markdown supports a shortcut style for creating "automatic" links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this: - - - -Markdown will turn this into: - - http://example.com/ - -Automatic links for email addresses work similarly, except that -Markdown will also perform a bit of randomized decimal and hex -entity-encoding to help obscure your address from address-harvesting -spambots. For example, Markdown will turn this: - - - -into something like this: - - address@exa - mple.com - -which will render in a browser as a clickable link to "address@example.com". - -(This sort of entity-encoding trick will indeed fool many, if not -most, address-harvesting bots, but it definitely won't fool all of -them. It's better than nothing, but an address published in this way -will probably eventually start receiving spam.) - - - -

Backslash Escapes

- -Markdown allows you to use backslash escapes to generate literal -characters which would otherwise have special meaning in Markdown's -formatting syntax. For example, if you wanted to surround a word with -literal asterisks (instead of an HTML `` tag), you can backslashes -before the asterisks, like this: - - \*literal asterisks\* - -Markdown provides backslash escapes for the following characters: - - \ backslash - ` backtick - * asterisk - _ underscore - {} curly braces - [] square brackets - () parentheses - # hash mark - + plus sign - - minus sign (hyphen) - . dot - ! exclamation mark diff --git a/po/ca/LC_MESSAGES/uberwriter-ca.po b/po/ca/LC_MESSAGES/uberwriter-ca.po deleted file mode 100644 index ebeda6f..0000000 --- a/po/ca/LC_MESSAGES/uberwriter-ca.po +++ /dev/null @@ -1,679 +0,0 @@ -# Catalan translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:04+0200\n" -"Last-Translator: Alfredo Hernández \n" -"Language-Team: Catalan \n" -"Language: ca\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Mode fosc" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "Nova finestra" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "Dreceres" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "Ajuda del Pandoc" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "_Acerca de" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "Surt" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "General" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "Nou" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "Obre" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Desa ara" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Desa ara" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "Surt" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Mode de concentració" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Pantalla completa" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Previsualització" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "Cerca" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Edita" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "Separador" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Element de llista" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "Cursiva" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "Negreta" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Encapçalament" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "Corta" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "Copia" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "Pega" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "Selecciona-ho tot" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exporta" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Intel·ligent" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "El Pandoc pot convertir automàticament «--» a un guió y més" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalitza" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Suprimeix elements com espais o espais dobles al començament d'un paràgraf" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Índex" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Independent" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Utilitza la capçalera i el peu per incloure coses com fulls d'estil o " -"metainformació" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Numera les seccions" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Markdown estricte" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Utilitza markdown «estricte» en comptes de markdown «pandoc»" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Vinyetes incrementals de presentació" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Mostra una vinyeta rere l'altra en una presentació" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Opcions generals" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Realça la sintaxi" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Tria un tema de color per al realçat de sintaxi" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Estil de realçat " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Realçat de sintaxi (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Autocontingut" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Produeix HTML sense dependències externes (totes les imatges i fulls d'estil " -"estan inclosos)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Utilitzar sintaxi HTML5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Trieu un fitxer CSS que volgueu utilitzar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "Fitxer CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "Opcions d'HTML" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Fixer de bibliografía" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Referència de la línea d'ordres" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Obre un fitxer recent" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "Expressió regular" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Fitxer" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -#, fuzzy -#| msgctxt "shortcut window" -#| msgid "Open" -msgid "_Open" -msgstr "Obre" - -#: data/ui/UberwriterWindow.ui:96 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open Recent File" -msgstr "Obre un fitxer .md" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open examples" -msgstr "Obre un fitxer recent" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Tutorial breu de Markdown" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Desa ara" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Desa ara" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Exporta com a ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Exporta com a ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exporta com a ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Exportació avançada…" - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "Copia el codi HTML al porta-retalls" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Visualitza" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Mode de concentració" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Pantalla completa" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "Barra lateral" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Text clar sobre fons fosc" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Mode fosc" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Canvia al mode de previsualització" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Previsualització" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "Cerca i reemplaça..." - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "_Correcció ortogràfica automàtica" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "A_juda" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Contingut" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Tutorial breu de Markdown" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Obre l'ajuda en línea de Markdown Pandoc…" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Traduïu aquesta aplicació…" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Vés al mode de concentració" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Vés al mode de pantalla completa" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Mostra previsualització d'HTML" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Paraules:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Caràcters:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "Coincidència anterior" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "Coincidència de majúscules i minúscules" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "Reemplaça" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "Reemplaça-ho tot" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "text destacat" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "text en negreta" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "text en negreta" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Element de llista" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Encapçalament" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "La pàgina web no està disponible" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "La pàgina web està disponible" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Obre l'enllaç en un navegador web" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "No s'ha pogut trobar la nota de peu corresponent" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Deseu el vostre fitxer" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "No es pot exportar a PDF." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Instal·leu texlive des del centre de programari." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "Markdown o text simple" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Obre un fitxer .md" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "No heu desat els canvis." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Tanca sense desar" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Cancel·la" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Desa ara" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Canvis sense desar" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "No es pot activar el corrector ortogràfic." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Instal·leu els diccionaris de «hunspell» o «aspell» per al vostre idioma des " -"del centre de programari." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Mostra missatges de depuració (-vv depura uberwriter_lib també)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "Utilitzar característiques experimentals" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(cap suggeriment)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Afegeix «{}» al diccionari" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignora-ho tot" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Idiomes" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Suggeriments" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, un editor de Markdown simple i lliure de distraccions" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# Aquest programa és programari lliure: podeu redistribuir-lo i/o " -#~ "modificar-lo \n" -#~ "# sota els termes de la Llicència Pública General de GNU versió 3, com \n" -#~ "# la publica la Free Software Foundation.\n" -#~ "# \n" -#~ "# Aquest programa es distribueix amb l'esperança que serà útil, però \n" -#~ "# SENSE CAP GARANTIA; sense tansols les garanties implícites de \n" -#~ "# COMERCIABILITAT, QUALITAT SATISFACTÒRIA o IDONEÏTAT PER A UN \n" -#~ "# PROPÒSIT PARTICULAR. Veieu la Llicencia Pública General de GNU per a " -#~ "més detalls.\n" -#~ "# \n" -#~ "# Hauríeu d'haver rebut una còpia de la Llicència Pública General de GNU " -#~ "amb \n" -#~ "# aquest programa. Si no, veieu .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " - -#~ msgid "F_ormat" -#~ msgstr "F_ormata" - -#~ msgid "Unordered List Item" -#~ msgstr "Element de llista sense ordenar" - -#~ msgid "Horizontal Rule" -#~ msgstr "Regle horitzontal" - -#~ msgid "Get Help Online..." -#~ msgstr "Obteniu ajuda en línia…" diff --git a/po/ca/LC_MESSAGES/uberwriter.mo b/po/ca/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index ba24f90..0000000 Binary files a/po/ca/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/ca_ES/LC_MESSAGES/uberwriter-ca_ES.po b/po/ca_ES/LC_MESSAGES/uberwriter-ca_ES.po deleted file mode 100644 index 18bfd0c..0000000 --- a/po/ca_ES/LC_MESSAGES/uberwriter-ca_ES.po +++ /dev/null @@ -1,581 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: UberWriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-05-01 20:21+0200\n" -"PO-Revision-Date: \n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ca\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -msgid "Dark mode" -msgstr "Mode fosc" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "Nova finestra" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "Dreceres" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "Ajuda del Pandoc" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "_Acerca de" - -#: data/ui/App_menu.ui:37 -msgid "Help to _translate" -msgstr "" - -#: data/ui/App_menu.ui:41 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "Surt" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "General" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "Nou" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "Obre" - -#: data/ui/Shortcuts.ui:31 -msgctxt "shortcut window" -msgid "Save" -msgstr "Desa" - -#: data/ui/Shortcuts.ui:38 -msgctxt "shortcut window" -msgid "Save as" -msgstr "Desa com a" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "Surt" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Mode de concentració" - -#: data/ui/Shortcuts.ui:59 -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Pantalla completa" - -#: data/ui/Shortcuts.ui:66 -msgctxt "shortcut window" -msgid "Preview" -msgstr "Previsualització" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "Cerca" - -#: data/ui/Shortcuts.ui:82 -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Editor" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "Separador" - -#: data/ui/Shortcuts.ui:93 -msgctxt "shortcut window" -msgid "List item" -msgstr "Element de llista" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "Cursiva" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "Negreta" - -#: data/ui/Shortcuts.ui:114 -msgctxt "shortcut window" -msgid "Header" -msgstr "Encapçalament" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "Corta" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "Copia" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "Pega" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "Selecciona-ho tot" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exporta" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Intel·ligent" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "El Pandoc pot convertir automàticament «--» a un guió y més" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalitza" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Suprimeix elements com espais o espais dobles al començament d'un paràgraf" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Índex" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Independent" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Utilitza la capçalera i el peu per incloure coses com fulls d'estil o " -"metainformació" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Numera les seccions" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Markdown estricte" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Utilitza markdown «estricte» en comptes de markdown «pandoc»" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Vinyetes incrementals de presentació" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Mostra una vinyeta rere l'altra en una presentació" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Opcions generals" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Realça la sintaxi" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Tria un tema de color per al realçat de sintaxi" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Estil de realçat " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Realçat de sintaxi (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Autocontingut" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Produeix HTML sense dependències externes (totes les imatges i fulls d'estil " -"estan inclosos)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Utilitzar sintaxi HTML5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Trieu un fitxer CSS que volgueu utilitzar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "Fitxer CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "Opcions d'HTML" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Fixer de bibliografía" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Referència de la línea d'ordres" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "Següent coincidència" - -#: data/ui/UberwriterWindow.ui:41 -msgid "Open Replace" -msgstr "Reemplaçar" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "Expressió regular" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Fitxer" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "_Nou" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "_Obre" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Obre un fitxer recent" - -#: data/ui/UberwriterWindow.ui:102 -msgid "Open examples" -msgstr "Exemples" - -#: data/ui/UberwriterWindow.ui:114 -msgid "_Quick markdown tutorial" -msgstr "Tutorial breu de Markdown" - -#: data/ui/UberwriterWindow.ui:131 -msgid "_Save" -msgstr "De_sa" - -#: data/ui/UberwriterWindow.ui:141 -msgid "Save _As" -msgstr "Des_a com a" - -#: data/ui/UberwriterWindow.ui:157 -msgid "Export as HTML" -msgstr "Exporta com HTML" - -#: data/ui/UberwriterWindow.ui:166 -msgid "Export as PDF" -msgstr "Exporta com a PDF" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exporta com a ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Exportació avançada…" - -#: data/ui/UberwriterWindow.ui:201 -msgid "Copy Raw HTML to Clipboard" -msgstr "Copia el codi HTML al porta-retalls" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Visualitza" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:425 -msgid "Focus Mode" -msgstr "Mode de concentració" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:445 -msgid "Fullscreen" -msgstr "Pantalla completa" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "Barra lateral" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Text clar sobre fons fosc" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Mode fosc" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Canvia al mode de previsualització" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:464 -msgid "Preview" -msgstr "Previsualització" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "Cerca i reemplaça" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "Cerca i reemplaça..." - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "_Correcció ortogràfica automàtica" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "A_juda" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Contingut" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Tutorial breu de Markdown" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Obre l'ajuda en línea de Markdown Pandoc…" - -#: data/ui/UberwriterWindow.ui:432 data/ui/UberwriterWindow.ui:433 -msgid "Go into focus mode" -msgstr "Vés al mode de concentració" - -#: data/ui/UberwriterWindow.ui:451 data/ui/UberwriterWindow.ui:452 -msgid "Go into fullscreen mode" -msgstr "Vés al mode de pantalla completa" - -#: data/ui/UberwriterWindow.ui:470 data/ui/UberwriterWindow.ui:471 -msgid "Show HTML preview" -msgstr "Mostra previsualització d'HTML" - -#: data/ui/UberwriterWindow.ui:487 -msgid "Words:" -msgstr "Paraules:" - -#: data/ui/UberwriterWindow.ui:530 -msgid "Characters:" -msgstr "Caràcters:" - -#: data/ui/UberwriterWindow.ui:661 -msgid "Previous Match" -msgstr "Coincidència anterior" - -#: data/ui/UberwriterWindow.ui:705 -msgid "Case Sensitive" -msgstr "Coincidència de majúscules i minúscules" - -#: data/ui/UberwriterWindow.ui:809 -msgid "Replace" -msgstr "Reemplaça" - -#: data/ui/UberwriterWindow.ui:823 -msgid "Replace all" -msgstr "Reemplaça tot" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "text destacat" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "text en negreta" - -#: uberwriter/FormatShortcuts.py:91 -msgid "striked out text" -msgstr "text destacat" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Element de llista" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Encapçalament" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "La pàgina web no està disponible" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "La pàgina web està disponible" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Obre l'enllaç en un navegador web" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "No s'ha pogut trobar la nota de peu corresponent" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Deseu el vostre fitxer" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "No es pot exportar a PDF." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Instal·leu texlive des del centre de programari." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "Markdown o text simple" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Obre un fitxer .md" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "No heu desat els canvis." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Tanca sense desar" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Cancel·la" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Desa ara" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Canvis sense desar" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "No es pot activar el corrector ortogràfic." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Instal·leu els diccionaris de «hunspell» o «aspell» per al vostre idioma des " -"del centre de programari." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:158 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Mostra missatges de depuració (-vv depura uberwriter_lib també)" - -#: uberwriter_lib/AppWindow.py:160 -msgid "Use experimental features" -msgstr "Utilitzar característiques experimentals" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(cap suggeriment)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Afegeix «{}» al diccionari" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignora-ho tot" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Idiomes" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Suggeriments" - -#~ msgid "Translate This Application..." -#~ msgstr "Traduïu aquesta aplicació…" diff --git a/po/ca_ES/LC_MESSAGES/uberwriter.mo b/po/ca_ES/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 0c06fc7..0000000 Binary files a/po/ca_ES/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/compile_translations.sh b/po/compile_translations.sh deleted file mode 100755 index 8ad5524..0000000 --- a/po/compile_translations.sh +++ /dev/null @@ -1,2 +0,0 @@ -find . -name \*.po -execdir sh -c 'msgfmt "$0" -o uberwriter.mo' '{}' \; - diff --git a/po/cs/LC_MESSAGES/uberwriter-cs.po b/po/cs/LC_MESSAGES/uberwriter-cs.po deleted file mode 100644 index 8f115f6..0000000 --- a/po/cs/LC_MESSAGES/uberwriter-cs.po +++ /dev/null @@ -1,607 +0,0 @@ -# Czech translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:04+0200\n" -"Last-Translator: Tomo Moto \n" -"Language-Team: Czech \n" -"Language: cs\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -msgid "Dark mode" -msgstr "" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -msgctxt "shortcut window" -msgid "Save" -msgstr "" - -#: data/ui/Shortcuts.ui:38 -msgctxt "shortcut window" -msgid "Save as" -msgstr "" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Na celou obrazovku" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Náhled" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Upravit" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -msgctxt "shortcut window" -msgid "List item" -msgstr "" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Nadpis" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Otevřít poslední soubor" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Soubor" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Otevřít poslední soubor" - -#: data/ui/UberwriterWindow.ui:102 -msgid "Open examples" -msgstr "" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Krátký tutoriál k Markdown" - -#: data/ui/UberwriterWindow.ui:131 -msgid "_Save" -msgstr "" - -#: data/ui/UberwriterWindow.ui:141 -msgid "Save _As" -msgstr "" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Exportovat jako ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Exportovat jako ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exportovat jako ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Pokročilý export" - -#: data/ui/UberwriterWindow.ui:201 -msgid "Copy Raw HTML to Clipboard" -msgstr "" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Zobrazit" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Na celou obrazovku" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Světlý text na tmavém pozadí" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Náhled" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Nápověda" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Obsahuje" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Krátký tutoriál k Markdown" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Otevřít nápovědu Pandoc Markdown" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Přeložte tuto aplikaci…" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Slova:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Znaky:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:91 -msgid "striked out text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Nadpis" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Stránka je nedostupná" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Stránka je dostupná" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Otevřít odkaz v prohlížeči" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(žádné návrhy)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Přidat \"{}\" do slovníku" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignorovat vše" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Jazyky" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Návrhy" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, jednoduchý a nerozptylující Markdown editor" - -#~ msgid "F_ormat" -#~ msgstr "F_ormát" - -#~ msgid "Horizontal Rule" -#~ msgstr "Vodorovná oddělovací čára" - -#~ msgid "Get Help Online..." -#~ msgstr "Získat online nápovědu…" diff --git a/po/cs/LC_MESSAGES/uberwriter.mo b/po/cs/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 963a8d3..0000000 Binary files a/po/cs/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/de/LC_MESSAGES/uberwriter-de.po b/po/de/LC_MESSAGES/uberwriter-de.po deleted file mode 100644 index 0f6c0b5..0000000 --- a/po/de/LC_MESSAGES/uberwriter-de.po +++ /dev/null @@ -1,676 +0,0 @@ -# German translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:04+0200\n" -"Last-Translator: Wolf Vollprecht \n" -"Language-Team: German \n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Abgedunkelter Modus" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Jetzt speichern" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Jetzt speichern" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Fokusmodus" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Vollbildmodus" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Vorschau" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Bearbeiten" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Listeneintrag" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Überschrift" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "_Exportieren" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Intelligent" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc kann \"--\" automatisch zu einem langen Strich machen und mehr" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalisieren" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Enfernt doppelte Leerzeichen oder Leerzeichen am Anfang eines Paragraphs" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Inhaltsverzeichnis" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Eigenständig" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Meta-Informationen können durch einen Kopf- und Fußteil hinzugefügt werden" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Abschnitte nummerieren" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Striktes Markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "\"Striktes\" Markdown statt \"pandoc\"-Markdown benutzen" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Slideshow (Ein Punkt nach dem anderen)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Einen Listenpunkt nach dem anderen zeigen" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Allgemeine Optionen" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Syntax hervorheben" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Ein Farbschema zur Hervorhebung der Syntax wählen" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Stil der Hervorhebung " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Syntax-Hervorhebung (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Als Container" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "Erzeugt ein HTML-Dokument, das alle Bilder und Stylesheets enthält" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "HTML-5-Syntax benutzen" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Wählen Sie eine CSS-Datei, die Sie verwenden möchten" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "CSS-Datei" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "HTML-Einstellungen" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Literaturverzeichnis" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Befehlszeilenargumente" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Zuletzt benutzte Datei öffnen" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Datei" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Zuletzt benutzte Datei öffnen" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Eine .md-Datei öffnen" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Kurzes Markdown Tutorial (englisch)" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Jetzt speichern" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Jetzt speichern" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Als ODT exportieren" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Als ODT exportieren" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Als ODT exportieren" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Erweiterter Export" - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "HTML in die Zwischenablage kopieren" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Ansicht" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Fokusmodus" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Vollbildmodus" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Heller Text auf dunklem Hintergrund" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Abgedunkelter Modus" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "In den Vorschaumodus wechseln" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Vorschau" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "Rechtschreibkorrektur" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Hilfe" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Inhalte" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Kurzes Markdown Tutorial (englisch)" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Pandoc Online Markdown Hilfe Öffnen" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Diese Anwendung übersetzen..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "In Fokusmodus wechseln" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "In Vollbildmodus wechseln" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "HTML Vorschau ansehen" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Wörter:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Zeichen:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "kursiv" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "fettgedruckt" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "fettgedruckt" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Listeneintrag" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Überschrift" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Webseite nicht erreichbar" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Webseite erreichbar" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Link in Browser öffnen" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "Keine zugehörige Fussnote gefunden" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Datei speichern" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "PDF-Export nicht möglich" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Bitte installieren Sie das Paket texlive aus dem " -"Software-Center" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown oder unformatierter Text" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Eine .md-Datei öffnen" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "Sie haben Ihre Änderungen nicht gespeichert." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Schließen, ohne zu speichern" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Abbrechen" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Jetzt speichern" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Ungespeicherte Änderungen" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Die Rechtschreib-Korrektur konnte nicht aktiviert werden." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Bitte installieren Sie die Pakete 'hunspell' oder 'aspell' für Ihre Sprache " -"aus dem Software-Center." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Debugnachrichten anzeigen" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(keine Vorschläge)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "\"{}\" zum Wörterbuch hinzufügen" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Alle Ignorieren" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Sprachauswahl" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Vorschläge" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, ein einfacher und ablenkungsfreier Markdown-Editor" - -#~ msgid "F_ormat" -#~ msgstr "_Format" - -#~ msgid "Unordered List Item" -#~ msgstr "Ungeordnetes Listenelement" - -#~ msgid "Horizontal Rule" -#~ msgstr "Horizontale Linie" - -#~ msgid "Get Help Online..." -#~ msgstr "Online Hilfe erhalten …" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "#Dieses Programm ist freie Software. Sie können es unter den Bedingungen " -#~ "der \n" -#~ "#GNU General Public License in der Version 3, wie von der Free Software " -#~ "Foundation veröffentlicht, \n" -#~ "#weitergeben und/oder modifizieren. \n" -#~ "# \n" -#~ "#Die Veröffentlichung dieses Programms erfolgt in der Hoffnung, dass es " -#~ "Ihnen \n" -#~ "#von Nutzen sein wird, aber OHNE IRGENDEINE GARANTIE, sogar ohne die " -#~ "implizite \n" -#~ "#Garantie der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN BESTIMMTEN " -#~ "ZWECK. \n" -#~ "#Details finden Sie in der GNU General Public License.\n" -#~ "#\n" -#~ "#Sie sollten ein Exemplar der GNU General Public License zusammen mit " -#~ "diesem\n" -#~ "#Programm erhalten haben. Falls nicht, siehe .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " diff --git a/po/de/LC_MESSAGES/uberwriter.mo b/po/de/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 34284a5..0000000 Binary files a/po/de/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/en_GB/LC_MESSAGES/uberwriter-en_GB.po b/po/en_GB/LC_MESSAGES/uberwriter-en_GB.po deleted file mode 100644 index 2e98719..0000000 --- a/po/en_GB/LC_MESSAGES/uberwriter-en_GB.po +++ /dev/null @@ -1,674 +0,0 @@ -# English (United Kingdom) translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:04+0200\n" -"Last-Translator: Alfredo Hernández \n" -"Language-Team: English (United Kingdom) \n" -"Language: en_GB\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Dark Mode" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Save now" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Save now" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Focus Mode" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Fullscreen" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Preview" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Edit" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "List item" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Heading" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Export" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Smart" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc can automatically make '--' to a long dash and more" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalise" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Removes things like double spaces or spaces at the beginning of a paragraph" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Table of Contents" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Stand-alone" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Use a header and footer to include things like stylesheets and meta " -"information" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Number Sections" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Strict Markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Use 'strict' markdown instead of 'pandoc' markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Slideshow incremental bullets" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Show one bullet point after another in a slideshow" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "General Options" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Highlight syntax" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Choose a colour theme for syntax highlighting" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Highlight style " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Syntax highlighting (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Self Contained" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Use HTML 5 syntax" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Choose a CSS File that you want to use" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "CSS File" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "HTML Options" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Bibliography File" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Commandline Reference" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Open Recent File" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_File" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Open Recent File" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Open a .md-File" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Short Markdown Tutorial" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Save now" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Save now" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Export as ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Export as ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Export as ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Advanced Export…" - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "Copy raw HTML to clipboard" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_View" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Focus Mode" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Fullscreen" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Light text on a dark background" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Dark Mode" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Switch to preview mode" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Preview" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "Auto _Spellcheck" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Help" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Contents" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Short Markdown Tutorial" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Open Pandoc Online Markdown Help…" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Translate This Application…" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Go into focus mode" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Go into fullscreen mode" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Show HTML preview" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Words:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Characters:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "emphasised text" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "strong text" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "strong text" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "List item" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Heading" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Website is not available" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Website is available" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Open Link in Web Browser" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "No matching footnote found" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Save your file" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "You can not export to PDF." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Please install texlive from the software center." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown or Plain Text" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Open a .md-File" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "You have not saved your changes." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Close without saving" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Cancel" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Save now" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Unsaved changes" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "You can not enable the Spell Checker." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Please install 'hunspell' or 'aspell' dictionaries for your language from " -"the software center." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Show debug messages (-vv debugs uberwriter_lib also)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(no suggestions)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Add '{}' to Dictionary" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignore All" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Languages" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Suggestions" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, a simple and distraction free Markdown Editor" - -#~ msgid "F_ormat" -#~ msgstr "F_ormat" - -#~ msgid "Unordered List Item" -#~ msgstr "Unordered List Item" - -#~ msgid "Horizontal Rule" -#~ msgstr "Horizontal Rule" - -#~ msgid "Get Help Online..." -#~ msgstr "Get Help Online…" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " diff --git a/po/en_GB/LC_MESSAGES/uberwriter.mo b/po/en_GB/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 2ec6028..0000000 Binary files a/po/en_GB/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/es/LC_MESSAGES/uberwriter-es.po b/po/es/LC_MESSAGES/uberwriter-es.po deleted file mode 100644 index 7bea6d5..0000000 --- a/po/es/LC_MESSAGES/uberwriter-es.po +++ /dev/null @@ -1,640 +0,0 @@ -# Spanish translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:04+0200\n" -"Last-Translator: Alfredo Hernández \n" -"Language-Team: Spanish \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Modo oscuro" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "Nueva ventana" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "Atajo_s" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "Ayuda de Pandoc" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "_Acerca de" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "Salir" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "General" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "Nuevo" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "Abrir" - -#: data/ui/Shortcuts.ui:31 -msgctxt "shortcut window" -msgid "Save" -msgstr "Guardar" - -#: data/ui/Shortcuts.ui:38 -msgctxt "shortcut window" -msgid "Save as" -msgstr "Guardar como" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "Salir" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Modo de concentración" - -#: data/ui/Shortcuts.ui:59 -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Pantalla completa" - -#: data/ui/Shortcuts.ui:66 -msgctxt "shortcut window" -msgid "Preview" -msgstr "Previsualización" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "Buscar" - -#: data/ui/Shortcuts.ui:82 -msgctxt "shortcut window" -msgid "Editor" -msgstr "Editor" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "Separador" - -#: data/ui/Shortcuts.ui:93 -msgctxt "shortcut window" -msgid "List item" -msgstr "Elemento de lista" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "Cursiva" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "Negita" - -#: data/ui/Shortcuts.ui:114 -msgctxt "shortcut window" -msgid "Header" -msgstr "Encabezado" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "Cortar" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "Copiar" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "Pegar" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "Seleccionar todo" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exportar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Inteligente" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc puede convertir automáticamente «--» a una raya y más" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalizar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Quita elementos como espacios o espacios dobles al comienzo de un párrafo" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Índice" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Independiente" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Usar el encabezado y el pie para incluir cosas como hojas de estilo o " -"metainformación" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Numerar las secciones" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Markdown estricto" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Utiliza markdown «estricto» en lugar de markdown «pandoc»" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Viñetas incrementales de presentación" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Mostrar una viñeta tras otra en una presentación" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Opciones generales" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Resaltar la sintaxis" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Elegir un tema de color para el resaltado de sintaxis" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Estilo de resaltado " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Resaltado de sintaxis (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Autocontenido" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Produce HTML sin dependencias externas (todas las imágenes y hojas de estilo " -"están incluidas)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Usar sintaxis HTML5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Elija un archivo CSS que quiera usar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "Archivo CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "Opciones de HTML" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Archivo de bibliografía" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Referencia de línea de comandos" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "Coincidencia siguiente" - -#: data/ui/UberwriterWindow.ui:41 -msgid "Open Replace" -msgstr "Reemplazar" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "Expresiones regulares" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Archivo" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "_Nuevo" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "Abrir" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Abrir archivo reciente" - -#: data/ui/UberwriterWindow.ui:102 -msgid "Open examples" -msgstr "Abrir ejemplos" - -#: data/ui/UberwriterWindow.ui:114 -msgid "_Quick markdown tutorial" -msgstr "Tutorial breve de Markdown" - -#: data/ui/UberwriterWindow.ui:131 -msgid "_Save" -msgstr "Guardar" - -#: data/ui/UberwriterWindow.ui:141 -msgid "Save _As" -msgstr "Guardar como" - -#: data/ui/UberwriterWindow.ui:157 -msgid "Export as HTML" -msgstr "Exportar como HTML" - -#: data/ui/UberwriterWindow.ui:166 -msgid "Export as PDF" -msgstr "Exportar como PDF" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exportar como ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Exportación avanzada…" - -#: data/ui/UberwriterWindow.ui:201 -msgid "Copy Raw HTML to Clipboard" -msgstr "Copiar código HTML al portapapeles" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Ver" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Modo de concentración" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Pantalla completa" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Texto claro sobre un fondo oscuro" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Modo oscuro" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Cambiar a modo de previsualización" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Previsualización" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "Abrir \"buscar y reemplazar\"" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "Buscar y reemplazar..." - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "_Corrección ortográfica automática" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "Ay_uda" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Contenido" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Tutorial breve de Markdown" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Abrir ayuda de Markdown Pandoc en línea…" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Traducir esta aplicación…" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Ir al modo de concentración" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Ir al modo de pantalla completa" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Mostrar vista preliminar de HTML" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Palabras:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Caracteres:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "Coincidencia anterior" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "Coincidencia de mayúsculas y minúsculas" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "Reemplazar" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "Reemplazar todo" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "texto destacado" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "texto en negrita" - -#: uberwriter/FormatShortcuts.py:91 -msgid "striked out text" -msgstr "texto destacado" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Elemento de lista" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Encabezado" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "El sitio web no está disponible" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "El sitio web está disponible" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Abrir enlace en un navegador web" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "No se encontró la nota de pie correspondiente" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Guarde su archivo" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "No puede exportar a PDF." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Instale texlive desde el centro de software." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "Markdown o texto simple" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Abrir un archivo .md" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "No ha guardado los cambios." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Cerrar sin guardar" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Cancelar" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Guardar ahora" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Cambios sin guardar" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "No puede activar el corrector ortográfico." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Instale los diccionarios de «hunspell» o «aspell» para su idioma desde el " -"centro de software." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "etiqueta" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Mostrar mensajes de depuración (-vv depura uberwriter_lib también)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "Usar características experimentales" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(no hay sugerencias)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Añadir «{}» al diccionario" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignorar todo" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Idiomas" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Sugerencias" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, un editor de Markdown simple y libre de distracciones" - -#~ msgid "F_ormat" -#~ msgstr "_Formato" - -#~ msgid "Unordered List Item" -#~ msgstr "Elemento de lista sin ordenar" - -#~ msgid "Horizontal Rule" -#~ msgstr "Regla horizontal" - -#~ msgid "Get Help Online..." -#~ msgstr "Obtener ayuda en línea…" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# Este programa es software libre: puede redistribuirlo y/o modificarlo \n" -#~ "# bajo los términos de la Licencia Pública General de GNU versión 3, " -#~ "como \n" -#~ "# la publica la Free Software Foundation.\n" -#~ "# \n" -#~ "# Este programa se distribuye con la esperanza de que será útil, pero \n" -#~ "# SIN NINGUNA GARANTÍA; sin siquiera las garantías implícitas de \n" -#~ "# COMERCIABILIDAD, CALIDAD SATISFACTORIA o IDONEIDAD PARA UN \n" -#~ "# PROPÓSITO PARTICULAR. Vea la Licencia Pública General de GNU para más " -#~ "detalles.\n" -#~ "# \n" -#~ "# Debería haber recibido una copia de la Licencia Pública General de GNU " -#~ "con \n" -#~ "# este programa. Si no, vea .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " diff --git a/po/es/LC_MESSAGES/uberwriter.mo b/po/es/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 9f2efaf..0000000 Binary files a/po/es/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/eu/LC_MESSAGES/uberwriter-eu.po b/po/eu/LC_MESSAGES/uberwriter-eu.po deleted file mode 100644 index 933b4c9..0000000 --- a/po/eu/LC_MESSAGES/uberwriter-eu.po +++ /dev/null @@ -1,634 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:03+0200\n" -"Last-Translator: Asier Iturralde Sarasola \n" -"Language-Team: Basque \n" -"Language: eu\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Modu iluna" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Gorde orain" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Gorde orain" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Fokuaren modua" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Pantaila osoa" - -#: data/ui/Shortcuts.ui:66 -msgctxt "shortcut window" -msgid "Preview" -msgstr "" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Editatu" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Zerrendako elementua" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Izenburua" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Esportatu" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Adimentsua" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc-ek automatikoki bihur dezake \"--\" marra luzean eta gauza gehiago" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalizatu" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Zuriune bikoitzak edo paragrafo hasierako zuriuneak bezalako gauzak kentzen " -"ditu" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Edukien aurkibidea" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Autonomoa" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Erabili goiburua eta orri-oina estilo-orriak eta meta-informazioa bezalako " -"gauzak gehitzeko" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Zenbakitu atalak" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Markaketa zorrotza" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Erabili \"strict\" markaketa \"pandoc\" markaketaren ordez" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Buleta inkrementalak diapositiba-aurkezpenetan" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Erakutsi buleta bat bestearen atzetik diapositiba-aurkezpenetan" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Aukera orokorrak" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Nabarmendu sintaxia" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Aukeratu kolore-gai bat sintaxia nabarmentzeko" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Nabarmentze-estiloa " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Sintaxiaren nabarmentzea (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Beregaina" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Kanpoko menpekotasunik gabeko HTMLa sortzen du (irudi eta estilo-orri " -"guztiak erantsita daude)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Erabili HTML 5 sintaxia" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Aukeratu erabili nahi duzun CSS fitxategi bat" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "CSS fitxategia" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "HTML aukerak" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Bibliografia-fitxategia" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Komando-lerroko erreferentzia" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Ireki oraintsuko fitxategia" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Fitxategia" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Ireki oraintsuko fitxategia" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Ireki .md fitxategi bat" - -#: data/ui/UberwriterWindow.ui:114 -msgid "_Quick markdown tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Gorde orain" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Gorde orain" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Esportatu ODT bezala" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Esportatu ODT bezala" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Esportatu ODT bezala" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Esportatze aurreratua..." - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "Kopiatu HTML gordina arbelera" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Ikusi" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Fokuaren modua" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Pantaila osoa" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Modu iluna" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "_Egiaztatu ortografia automatikoki" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Laguntza" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Edukiak" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Itzuli aplikazio hau..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Joan fokuaren modura" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Joan pantaila osoko modura" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Hitzak:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Karaktereak:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "nabarmendutako testua" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "testu lodia" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "testu lodia" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Zerrendako elementua" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Izenburua" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Gorde zure fitxategia" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "Ezin duzu PDFra esportatu." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Mesedez instalatu texlive software-zentrotik." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "Markaketa edo testu-laua" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Ireki .md fitxategi bat" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "Ez dituzu gorde zure aldaketak." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Itxi gorde gabe" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Utzi" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Gorde orain" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Gorde gabeko aldaketak" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Ezin duzu zuzentzaile ortografikoa gaitu." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Mesedez instalatu zure hizkuntzaren 'hunspell' edo 'aspell' hiztegiak " -"software-zentrotik." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" -"Erakutsi arazketako mezuak (-vv erabiliz uberwriter_lib ere arazten da)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(iradokizunik ez)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Gehitu \"{}\" hiztegira" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ez ikusi egin guztiei" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Hizkuntzak" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Iradokizunak" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, markaketa-editore sinple eta arreta-galtzerik gabea" - -#~ msgid "F_ormat" -#~ msgstr "F_ormatua" - -#~ msgid "Unordered List Item" -#~ msgstr "Ordenatu gabeko zerrendako elementua" - -#~ msgid "Horizontal Rule" -#~ msgstr "Marra horizontala" - -#~ msgid "Get Help Online..." -#~ msgstr "Lortu laguntza linean..." - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright-a (C) 2012, Wolf Vollprecht " diff --git a/po/eu/LC_MESSAGES/uberwriter.mo b/po/eu/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index c42891a..0000000 Binary files a/po/eu/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/fr/LC_MESSAGES/uberwriter-fr.po b/po/fr/LC_MESSAGES/uberwriter-fr.po deleted file mode 100644 index 5fb7a7f..0000000 --- a/po/fr/LC_MESSAGES/uberwriter-fr.po +++ /dev/null @@ -1,675 +0,0 @@ -# French translation for uberwriter -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:03+0200\n" -"Last-Translator: RastaPopoulos \n" -"Language-Team: French \n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Mode sombre" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Enregistrer maintenant" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Enregistrer maintenant" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Mode focus" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Plein écran" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Aperçu" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Édition" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Liste ordonnée" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Entête" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exporter" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Intelligente" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc peut automatiquement remplacer \"--\" par un tiret long et plus" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normaliser" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Supprimer les choses comme les espaces ou les espaces doubles en début de " -"paragraphe" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Table des matières" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Autonome" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Utiliser une en-tête et un pied de page pour incorporer les feuilles de " -"styles et les meta informations" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Numéroter les sections" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Markdown stricte" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Utiliser le Markdown \"strict\" à la place du Markdown \"pandoc\"" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Puces incremental de diaporama" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Montrer une puce après l'autre dans un diaporama" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Options générales" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Coloration syntaxique" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Choisissez un jeu de couleur pour la coloration syntaxique" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Style de coloration " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Coloration syntaxique (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Autonome" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Génère un HTML sans dépendances externes (toutes les images et styles sont " -"inclus)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Utiliser la syntaxe HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Choisir un fichier CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "Fichier CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "Options HTML" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Fichier de bibliographie" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Référence de Ligne de Commande" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Ouvrir un document récent" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Fichier" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Ouvrir un document récent" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Ouvrir un fichier .md" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Tutoriel Markdown rapide" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Enregistrer maintenant" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Enregistrer maintenant" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Exporter en ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Exporter en ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exporter en ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Export avancé…" - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "Copier le HTML brut dans le presse-papiers" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Affichage" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Mode focus" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Plein écran" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Texte clair sur fond sombre" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Mode sombre" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Basculer vers l'aperçu" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Aperçu" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "_Vérifier l’orthographe" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Aide" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Table des matières" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Tutoriel Markdown rapide" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Ouvrir l'aide en ligne de Markdown pour Pandoc…" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Traduire cette application..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Basculer vers le mode focus" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Basculer vers le mode plein ecran" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Montrer l'aperçu HTML" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Mots :" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Caractères :" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "surligner le texte" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "texte en gras" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "texte en gras" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Liste ordonnée" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Entête" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Site web indisponible" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Site web disponible" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Ouvrir le lien dans le navigateur" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "Aucun note de bas de page correspondante" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Sauvegarder le document" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "Impossible d'exporter en PDF" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Veuillez installer texlive du software center." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown ou Texte Brut" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Ouvrir un fichier .md" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "Vous n'avez pas sauvegardé vos modifications." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Fermer sans sauvegarder" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Annuler" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Enregistrer maintenant" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Modifications non enregistrées" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Vous ne pouvez pas activer le Correcteur Orthographique" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Veuillez installer les dictionnaires 'hunspell' ou 'aspell' pour votre " -"langues depuis le software center." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Montrer les messages débogage" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(aucune suggestion)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Ajouter {} au dictionnaire" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignorer tout" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Langues" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Suggestions" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, un éditeur Markdown simple et sans distractions" - -#~ msgid "F_ormat" -#~ msgstr "F_ormat" - -#~ msgid "Unordered List Item" -#~ msgstr "Liste non ordonnée" - -#~ msgid "Horizontal Rule" -#~ msgstr "Ligne horizontale" - -#~ msgid "Get Help Online..." -#~ msgstr "Obtenir de l'aide en ligne…" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it\n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published\n" -#~ "# by the Free Software Foundation.\n" -#~ "#\n" -#~ "# This program is distributed in the hope that it will be useful, but\n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of\n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR\n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "#\n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along\n" -#~ "# with this program. If not, see .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " diff --git a/po/fr/LC_MESSAGES/uberwriter.mo b/po/fr/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 50fe289..0000000 Binary files a/po/fr/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/hu/LC_MESSAGES/uberwriter-hu.po b/po/hu/LC_MESSAGES/uberwriter-hu.po deleted file mode 100644 index bbf6132..0000000 --- a/po/hu/LC_MESSAGES/uberwriter-hu.po +++ /dev/null @@ -1,635 +0,0 @@ -# Hungarian translation for uberwriter -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:03+0200\n" -"Last-Translator: Barna Keresztes \n" -"Language-Team: Hungarian \n" -"Language: hu\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Elsötétített nézet" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Mentés most" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Mentés most" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Teljes képernyő" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Előnézet" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "Szerkesztés" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Listaelem" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Címsor" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exportálás" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Intelligens" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Nyomdailag helyes szöveg generálása" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalizálás" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "Ismételt szóközök elhagyása" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Tartalomjegyzék" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Egyedülálló" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Alcímek számozása" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Szigorú Markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "" -"Szigorú Markdown használata a \"Pandoc\" kiterjesztett markdown helyett" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Diavetítéskor a pontok egymás után jelennek meg" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Általános beállítások" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Szintaxis kiszínezése" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Színtéma választása a szintaxiskiemeléshez" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Kiemelés stílusa " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Szintaxis kiemelés" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Külso függőségek nélküli HTML generálása (a képek és a CSS fileok " -"beágyazódnak)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "HTML 5 szintaxis használata" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "CSS állomány kiválasztása" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "CSS File" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "HTML beállítások" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Bibliográfia" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Elozmények megnyitása" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Fájl" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Elozmények megnyitása" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr ".md állomány megnyitása" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Rövid Markdown lecke" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Mentés most" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Mentés most" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Exportálás ODT formátumban" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Exportálás ODT formátumban" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exportálás ODT formátumban" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Exportálás..." - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "HTML kód másolása a vágólapra" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Nézet" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Teljes képernyő" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Világos szöveg sötét háttéren" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Elsötétített nézet" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Előnézeti mód" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Előnézet" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "Helyesírás ellenőrzés" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Súgó" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Tartalom" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Rövid Markdown lecke" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Pandoc Markdown sugó megnyitása" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Alkalmazás fordítása..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Váltás teljes képernyő módba" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "HTML előnézet" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Szavak száma:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Karakterek száma:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "dőlt betű" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "vastag betű" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "vastag betű" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Listaelem" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Címsor" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "A weblap nem elérhető" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "A weblap elérhető" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "A link megnyitása" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "Nincs találó lábjegyzet" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Állomány mentése" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "Nem tudtam PDF formátumba exportálni" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Kérlek installáld a texlive csomagot a " -"szoftwareközpontból." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "Markdown vagy síma szöveg" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr ".md állomány megnyitása" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "A változtatások nincsenek lementve" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Bezárás mentés nélkül" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Mégsem" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Mentés most" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Mentetlen változtatások" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Helyesírás ellenőrzőt nem lehet bekapcsolni" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Installáld a 'hunspell' vagy az 'aspell' szótárat a nyelvedhez a " -"szoftwareközpontból" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(nincs javaslat)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "{} hozzáadása a szótárhoz" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Összes mellőzése" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Nyelvek" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Javaslatok" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "Uberwriter, egy egyszerü Markdown szövegszerkesztő" - -#~ msgid "F_ormat" -#~ msgstr "F_ormátum" - -#~ msgid "Unordered List Item" -#~ msgstr "Felsorolás" - -#~ msgid "Horizontal Rule" -#~ msgstr "Vízszintes elválasztó" - -#~ msgid "Get Help Online..." -#~ msgstr "Online segítség…" diff --git a/po/hu/LC_MESSAGES/uberwriter.mo b/po/hu/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 0532fc0..0000000 Binary files a/po/hu/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/pl/LC_MESSAGES/uberwriter-pl.po b/po/pl/LC_MESSAGES/uberwriter-pl.po deleted file mode 100644 index 3c89627..0000000 --- a/po/pl/LC_MESSAGES/uberwriter-pl.po +++ /dev/null @@ -1,669 +0,0 @@ -# Polish translation for uberwriter -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:03+0200\n" -"Last-Translator: emol007 \n" -"Language-Team: Polish \n" -"Language: pl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Tryb ciemny" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Zapisz teraz" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Zapisz teraz" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Tryb skupienia" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Pełny ekran" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Podgląd" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Edytuj" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Element listy" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Nagłówek" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Eksport" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Inteligentne" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc potrafi automatycznie zmienić \"--\" na myślnik i więcej" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalizuj" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "Usuń takie rzeczy jak podwójne spacje lub spacje na początku akapitu" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Spis treści" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Samodzielny" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Użyj nagłówka i stopki, aby umieścić takie rzeczy jak arkusze stylów i " -"informacje meta" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Numer Sekcji" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Ścisły Markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Użyj \"ścisłego\" markdown zamiast \"pandoc\" markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Prezentacja przyrowa punktów" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Pokaż jeden punkt po innym w prezentacji" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Opcje ogólne" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Wyróżnij składnie" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Wybierz temat kolorystyczny dla wyróżnienia składni" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Styl wyróżnienia " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Wyróżnianie składni (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Samozawierający" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Tworzy HTML, który nie ma zależności zewnętrznych (wszystkie obrazy i " -"arkusze stylów są włączone w plik)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Użyj składni HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Wybierz plik CSS, który ma być użyty" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "Plik CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "Opcje HTML" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Plik bibliografii" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Wiresz poleceń referencji" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Otwórz poprzedni plik" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Plik" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Otwórz poprzedni plik" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Otwórz plik .md" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Krótkie wporwadzenie do Markdown" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Zapisz teraz" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Zapisz teraz" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Eksportuj jako ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Eksportuj jako ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Eksportuj jako ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Zaawansowany eksport..." - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "Skopiuj surowy HTML do schowka" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Widok" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Tryb skupienia" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Pełny ekran" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Jasny tekst na ciemnym tle" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Tryb ciemny" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Przełącz do trybu podglądu" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Podgląd" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "Automatyczne _sprawdzanie pisowni" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Pomoc" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Zawartość" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Krótkie wporwadzenie do Markdown" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Otwórz pomoc do Pandoc w sieci ..." - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Przetłumacz ten program..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Przejdź w tryb skupienia" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Przejdź w tryb pełnoekranowy" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Pokaż podgląd HTML" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Słowa:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Znaki:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "tekst podkreślony" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "tekst pogrubiony" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "tekst pogrubiony" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Element listy" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Nagłówek" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Strona nie jest dostępna" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Strona jest dostępna" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Otwórz lonk w przeglądarce" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "Nie znaleziono pasującego przypisu" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Zapisz swój plik" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "Możesz nie eksportować do PDF." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "Zainstaluj proszę texlive." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown albo czysty tekst" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Otwórz plik .md" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "Nie zapisałeś swoich zmian." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Zamknij bez zapisywania" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Anuluj" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Zapisz teraz" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Niezapisane zmiany" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Możesz nie sprawdzać pisowni." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "Zainstaluj słownik 'hunspell' lub 'aspell' dla swojego języka." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Pokaż wiadomość debugowania (-vv także debugi uberwriter_lib)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(brak sugestii)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Dodaj \"{}\" do słownika" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignoruj wszystko" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Języki" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Sugestie" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, prosty i nierozpraszający edytor Markdown" - -#~ msgid "F_ormat" -#~ msgstr "F_ormat" - -#~ msgid "Unordered List Item" -#~ msgstr "Nieuporządkowane wypunktowanie" - -#~ msgid "Horizontal Rule" -#~ msgstr "Linijka pozioma" - -#~ msgid "Get Help Online..." -#~ msgstr "Uzyskaj pomoc w sieci..." - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "Prawa autorskie (C) 2012, Wolf Vollprecht \n" -#~ "# Ten program jest wolnym oprogramowaniem: możesz go rozprowadzać dalej " -#~ "i / lub modyfikować \n" -#~ "# Na warunkach Powszechnej Licencji Publicznej GNU w wersji 3, jak " -#~ "opublikowane \n" -#~ "# przez Free Software Foundation.\n" -#~ "# \n" -#~ "# Ten program jest rozpowszechniany w nadziei, że będzie użyteczny, ale \n" -#~ "# BEZ JAKIEJKOLWIEK GWARANCJI, nawet domyślnej gwarancji \n" -#~ "# HANDLOWEJ, JAKOŚCI I PRZYDATNOŚCI \n" -#~ "# CELOWEJ. Zobacz licencję GNU General Public więcej szczegółów.\n" -#~ "# \n" -#~ "# Powinieneś otrzymać kopię licencji GNU General Public wraz \n" -#~ "# z tym programem. Jeśli nie, patrz .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Prawa autorskie (C) 2012, Wolf Vollprecht " diff --git a/po/pl/LC_MESSAGES/uberwriter.mo b/po/pl/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 8c6a4e3..0000000 Binary files a/po/pl/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/pt/LC_MESSAGES/uberwriter-pt.po b/po/pt/LC_MESSAGES/uberwriter-pt.po deleted file mode 100644 index 3c9ce29..0000000 --- a/po/pt/LC_MESSAGES/uberwriter-pt.po +++ /dev/null @@ -1,674 +0,0 @@ -# Portuguese translation for uberwriter -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:03+0200\n" -"Last-Translator: Pedro Sardinha \n" -"Language-Team: Portuguese \n" -"Language: pt\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Modo Escuro" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Guardar agora" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Guardar agora" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Modo de Foco" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Ecrã Completo" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Pré-visualizar" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Editar" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Item de lista" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Título" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exportar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Inteligente" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc pode transformar \"--\" automaticamente num hífen longo e mais" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalizar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "Remove coisas como espaços duplos ou espaços no início de um parágrafo" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Tabela de Conteúdo" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Autónomo" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Use um cabeçalho e um rodapé para incluir coisas como folhas de estilo e " -"metadados" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Secções de Números" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Markdown Estrito" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Usar markdown \"estrito\" em vez de markdown \"pandoc\"" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Marcadores incrementais de diapositivo" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Mostrar um ponto de marcação a seguir a outro num diapositivo" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Opções Gerais" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Destacar sintaxe" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Escolha um tema de cores para o destaque da sintaxe" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Destacar estilo " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Destaque da Sintaxe (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Auto Contido" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Produz um HTML sem dependências externas (todas as imagens e folhas de " -"estilo são incluídas)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Usar sintaxe HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Escolha o ficheiro CSS que pretende usar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "Ficheiro CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "Opções HTML" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Ficheiro de Bibliografia" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Referência de Linha de Comando" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Abrir Ficheiros Recentes" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Ficheiro" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Abrir Ficheiros Recentes" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Abrir Ficheiro *.md" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Pequeno Tutorial de Markdown" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Guardar agora" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Guardar agora" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Exportar como ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Exportar como ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exportar como ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Exportação Avançada..." - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "Copiar código HTML para a área de transferência" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Visualizar" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Modo de Foco" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Ecrã Completo" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Texto claro em fundo escuro" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Modo Escuro" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Mudar para o modo de pré-visualização" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Pré-visualizar" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "_Ortografia Automática" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Ajuda" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Conteúdo" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Pequeno Tutorial de Markdown" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Abrir Ajuda Online de Markdown Pandoc..." - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Traduzir Esta Aplicação..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Ir para modo de Foco" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Ir para modo de ecrã completo" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Pré-visualização em HTML" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Palavras:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Caracteres:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "texto destacado" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "texto em negrito" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "texto em negrito" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Item de lista" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Título" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Sítio na Rede não disponível" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Sítio na Rede disponível" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Abrir Hiperligação no Navegador" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "Não encontradas notas de rodapé correspondentes" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Guarde o seu Ficheiro" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "Não é possível exportar para PDF." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Por favor, instale texlive a partir do centro de " -"software." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown ou Texto Simples" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Abrir Ficheiro *.md" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "Ainda não gravou as suas alterações." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Fechar sem Gravar" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Cancelar" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Guardar agora" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Alterações não guardadas" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Não foi possível habilitar o Corretor Ortográfico." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Por favor, instale os dicionários 'hunspell' ou 'aspell' da sua Língua a " -"partir do centro de software." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Mostrar mensagens de depuração (-vv depura também o uberwriter_lib)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(sem sugestões)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Adicionar \"{}\" ao Dicionário" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignorar Tudo" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Idiomas" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Sugestões" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, um editor de Markdown simples e livre de distrações" - -#~ msgid "F_ormat" -#~ msgstr "F_ormatar" - -#~ msgid "Unordered List Item" -#~ msgstr "Lista de Itens Não Ordenados" - -#~ msgid "Horizontal Rule" -#~ msgstr "Linha Horizontal" - -#~ msgid "Get Help Online..." -#~ msgstr "Obter Ajuda Online..." - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# Este programa é Software Livre: pode redistribuí-lo e/ou modificá-lo\n" -#~ "# sob os termos da licença GNU General Public License version 3, conforme " -#~ "publicada \n" -#~ "# pela Free Software Foundation.\n" -#~ "# \n" -#~ "# Este programa é distribuido na esperança de ser útil, mas \n" -#~ "# SEM NENHUMA GARANTIA; nem mesmo as garantias implícitas na \n" -#~ "# COMERCIALIZAÇÃO, SATISFAÇÃO DA QUALIDADE, ou FINALIDADE PARA UM USO \n" -#~ "# PARTICULAR. Veja a licença GNU General Public License para mais " -#~ "detalhes.\n" -#~ "# \n" -#~ "# Deverá ter recebido uma cópia da licença GNU General Public License \n" -#~ "# juntamente com este programa. Se não, veja .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " diff --git a/po/pt/LC_MESSAGES/uberwriter.mo b/po/pt/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index d96e7b8..0000000 Binary files a/po/pt/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/pt_BR/LC_MESSAGES/uberwriter-pt_BR.po b/po/pt_BR/LC_MESSAGES/uberwriter-pt_BR.po deleted file mode 100644 index 8b209e9..0000000 --- a/po/pt_BR/LC_MESSAGES/uberwriter-pt_BR.po +++ /dev/null @@ -1,676 +0,0 @@ -# Brazilian Portuguese translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:02+0200\n" -"Last-Translator: Kemel Zaidan aka Legendario \n" -"Language-Team: Brazilian Portuguese \n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Modo Escuro" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Salvar agora" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Salvar agora" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Modo de Foco" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Tela Cheia" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Pré-visualizar" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Editar" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Item da lista" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Cabeçalho" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exportar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Inteligente" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" -"Pandoc pode transformar \"--\" automaticamente em um hífen longo e mais" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalizar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "Remove coisas como espaços duplos os espaços no começo de parágrafos" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Tabela de Conteúdos" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Independente" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Use um cabeçalho e um rodapé para incluir coisas como folhas de estilo e " -"metadados" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Seções de Números" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Estritamente Markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Usar markdown \"estrito\" ao invés de markdown \"pandoc\"" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Apresentar em slides pontos de bala incrementais" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Mostrar um ponto de bala após o outro em uma apresentação de slides" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Opções Gerais" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Destacar sintaxe" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Escolhar um tema de cores para destaque de sintaxe" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Destacar estilo " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Destaque de Sintaxe (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Auto Contido" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Produz o HTML sem dependências externas (todas as imagens e folhas de estilo " -"estarão inclusas)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Usar sintaxe do HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Escolha um arquivo CSS que você quer usar" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "Arquivo CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "Opções HTML" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Arquivo Bibliográfico" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Referência da Linha de Comando" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Abrir Arquivo Recente" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Arquivo" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Abrir Arquivo Recente" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Abrir um arquivo .md" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Mostrar Tutorial de Markdown" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Salvar agora" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Salvar agora" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Exportar como ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Exportar como ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exportar como ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Exportação Avançada..." - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "Copiar código HTML à área de transferência" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Visualizar" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Modo de Foco" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Tela Cheia" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Texto claro no fundo escuro" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Modo Escuro" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Mudar para o modo de pré-visualização" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Pré-visualizar" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "Correção _Automática" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Ajuda" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Conteúdos" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Mostrar Tutorial de Markdown" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Abrir Ajuda de Markdown da Pandoc Online" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Traduzir Este Aplicativo..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Ir ao modo de foco" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Ir ao modo tela cheia" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Mostrar prévia em HTML" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Palavras:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Caractéres:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "texto em destaque" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "texto em negrito" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "texto em negrito" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Item da lista" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Cabeçalho" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Página da web indisponível" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Página da web disponível" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Abrir Link no Navegador" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "Nenhuma nota de rodapé adequada encontrada" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Salvar seu arquivo" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "Não é possível exportar para PDF." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Por favor, instale texlive da central de " -"programas." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown ou Texto Simples" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Abrir um arquivo .md" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "Você não salvou suas alterações." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Fechar sem Salvar" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Cancelar" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Salvar agora" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Alterações não salvas" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Não foi possível ativar o Corretor Ortográfico." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Por favor, instale os dicionários 'hunspell' ou 'aspell' adequados à sua " -"língua a partir da central de programas." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Mostrar mensagens de depuração (--v depura também o uberwriter_lib)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(sem sugestões)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Adicionar \"{}\" ao Dicionário" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignorar Tudo" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Idiomas" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Sugestões" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "" -#~ "UberWriter, um editor de Markdown livre, simples e livre de distrações" - -#~ msgid "F_ormat" -#~ msgstr "F_ormatar" - -#~ msgid "Unordered List Item" -#~ msgstr "Lista de Itens Desordenada" - -#~ msgid "Horizontal Rule" -#~ msgstr "Linha Horizontal" - -#~ msgid "Get Help Online..." -#~ msgstr "Obter Ajuda Online..." - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# Este programa é software livre: você pode redistribuí-lo e/ou modificá-" -#~ "lo\n" -#~ "# sob os termos da GNU General Public License versão 3, conforme " -#~ "publicado \n" -#~ "# pela Free Software Foundation.\n" -#~ "# \n" -#~ "# Este programa é distribuido na esperança de ser útil, mas \n" -#~ "# SEM NENHUMA GARANTIA; nem mesmo as garantias implícitas na \n" -#~ "# COMERCIALIZAÇÃO, QUALIDADE SATISFATÓRI, ou FINALIDADE PARA UM USO\n" -#~ "# PARTICULAR. Veja a GNU General Public License para mais detalhes.\n" -#~ "# \n" -#~ "# Você dever ter recebido uma códi da GNU General Public License com \n" -#~ "# com este programa. Se não recebeu, veja .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " diff --git a/po/pt_BR/LC_MESSAGES/uberwriter.mo b/po/pt_BR/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index ad43f0d..0000000 Binary files a/po/pt_BR/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/ru/LC_MESSAGES/uberwriter-ru.po b/po/ru/LC_MESSAGES/uberwriter-ru.po deleted file mode 100644 index 648d6a1..0000000 --- a/po/ru/LC_MESSAGES/uberwriter-ru.po +++ /dev/null @@ -1,680 +0,0 @@ -# Russian translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:02+0200\n" -"Last-Translator: Устин \n" -"Language-Team: Russian \n" -"Language: ru\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Темный режим" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Сохранить сейчас" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Сохранить сейчас" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "«Фокус»" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Полноэкранный режим" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Предосмотр" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Правка" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Элемент списка" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Заголовок" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Экспорт" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Типографировать" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" -"Pandoc может автоматически конвертировать \"--\" в длинное тире и многое " -"другое" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Нормализовать" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "Удалить двойные пробелы или пробелы в начале параграфа" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Содержание" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Создавать файл целиком(включать все необходимые заголовки)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Использовать header и footer для включения таблиц стилей и мета-информации" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Пронумеровать секции" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Строгий Markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Использовать \"строгий\" markdown вместо \"pandoc\" markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Показывать элементы последовательного списка один за другим" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Показывать элементы маркированного списка один за другим в слайдшоу" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Основные опции" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "Подстветка синтаксиса" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "Выбрать цветовую тему для подсветки синтаксиса" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "Цветовая схема " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "Подсветка синтаксиса (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "Включать все содержимое в файл" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Создать HTML без внешних зависимостей (все изображения и таблицы стилей " -"будут включены)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Использовать HTML 5 синтаксис" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Выбрать CSS файл, который вы хотите использовать" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "Файл CSS" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "Опции HTML" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Файл с библиографическим списком" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Руководство по использованию командной строки" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Последние файлы" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Файл" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Последние файлы" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Открыть .md файл" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Краткое руководство по Markdown" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Сохранить сейчас" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Сохранить сейчас" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Экспортировать как ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Экспортировать как ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Экспортировать как ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Расширенный экспорт…" - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "Скопировать чистый HTML в буфер обмена" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Вид" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "«Фокус»" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Полноэкранный режим" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Светлый текст на тёмном фоне" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Темный режим" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Переключиться в режим предосмотра" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Предосмотр" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "Автоматическая проверка орфографии" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Помощь" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Содержание" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Краткое руководство по Markdown" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Открыть Pandoc Online Markdown Help ..." - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Перевести это приложение…" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Включить «фокус»" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Переключиться в полноэкранный режим" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Показать предосмотр HTML" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Слов:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Символов:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "курсив" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "жирный" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "жирный" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Элемент списка" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Заголовок" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Веб-сайт недоступен" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Веб-сайт доступен" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Открыть ссылку в веб-браузере" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "Не найдено совпадающей сноски" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Сохранить ваш файл" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "Вы не можете экспортировать в PDF." - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" -"Пожалуйста, установите texlive из центра " -"приложений." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown или обычный текст" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Открыть .md файл" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "Вы не сохранили изменения." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Закрыть без сохранения" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Отменить" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Сохранить сейчас" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Несохранённые изменения" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Вы не можете включить проверку орфографии." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Пожалуйста, установите 'hunspell' или 'aspell' словари для вашего языка из " -"центра приложений." - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" -"Показывать отладочную информацию (-vv включает заодно и отладку " -"uberwriter_lib)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(нет предложений)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Добавить \"{}\" в словарь" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Игнорировать все" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Языки" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Предложения" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "" -#~ "UberWriter, простой редактор, позволяющий полностью погрузиться в " -#~ "редактирование разметки Markdown" - -#~ msgid "F_ormat" -#~ msgstr "Ф_ормат" - -#~ msgid "Unordered List Item" -#~ msgstr "Элемент неупорядоченного списка" - -#~ msgid "Horizontal Rule" -#~ msgstr "Горизонтальная линия" - -#~ msgid "Get Help Online..." -#~ msgstr "Получить помощь онлайн…" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Авторское право (С) 2012, Wolf Vollprecht \n" -#~ "# Это свободная программа; вы можете повторно распространять ее\n" -#~ "# и/или модифицировать её в соответствии с условиями\n" -#~ "# GNU General Public License, версия 3, опубликованной\n" -#~ "# Free Software Foundation.\n" -#~ "# \n" -#~ "# Эта программа распространяется в надежде, что она будет полезной, но\n" -#~ "# БЕЗ КАКИХ-либо ГАРАНТИЙ; даже без подразумеваемых гарантий\n" -#~ "# коммерческой ценности, УДОВЛЕТВОРИТЕЛЬНОГО КАЧЕСТВА или\n" -#~ "# ПРИГОДНОСТИ ДЛЯ КОНКРЕТНОЙ ЦЕЛИ. Подробнее\n" -#~ "# смотрите GNU General Public License.\n" -#~ "# \n" -#~ "# Вы должны были получить копию стандартной Общественной\n" -#~ "# Лицензии GNU вместе с этой программой.\n" -#~ "# Если нет, смотрите .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "" -#~ "Авторское право принадлежит Wolf Vollprecht " diff --git a/po/ru/LC_MESSAGES/uberwriter.mo b/po/ru/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 4619e2b..0000000 Binary files a/po/ru/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/si/LC_MESSAGES/uberwriter-si.po b/po/si/LC_MESSAGES/uberwriter-si.po deleted file mode 100644 index 9ff6a7b..0000000 --- a/po/si/LC_MESSAGES/uberwriter-si.po +++ /dev/null @@ -1,655 +0,0 @@ -# Sinhalese translation for uberwriter -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:02+0200\n" -"Last-Translator: Nishadi Madavi \n" -"Language-Team: Sinhalese \n" -"Language: si\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "අඳුරු විධිය" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be light themed " -"asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "දැන් සුරකින්න" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "දැන් සුරකින්න" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "එල්ල කරනා විධිය" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "සම්පූර්ණ තිරය" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "පෙරදසුන" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_සංස්කරණය" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "අයිතම ලැයිස්තුව" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "ශීර්ෂ පාඨය" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "නිර්යාත කරන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "ස්මාට්" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "පැනඩොක් හට ස්වයංක්‍රියව \"--\" දිගු රේඛාවකට සහ තවෙකට සකස් කළ හැක" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "යථා තත්වයට පත් කරන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "ජේද ආරම්භයේ ඇති ද්වී පරතර හෝ පරතර වැනි දෑ ඉවත් කරන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "පටුන" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "නොබැඳි" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "Use a header and footer to include things like stylesheets and meta information" -msgstr "ශෛලීපත්‍ර සහ පෂ්ව තොරතුරු වැනි දෑ ඇතුලත් කිරීමට ශීර්ෂ සහ පාදතලය භාවිතා කරන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "සංඛ්‍යා අංශය" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "විධිමත් සටහන් තබාගැනීම්" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "පැනඩොක් සටහන් තබාගැනීම් වෙනුවට විධිමත් සටහන් තබාගැනීම් භාවිත කරන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "චිත්‍රකාච දර්ශන වෘද්ධි කරුණු" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "චිත්‍රකාච දර්ශන තුළ එක් කරුණකට පසු තවෙකක් ආකාරයට පෙන්වන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "සාමාන්‍ය විකල්පය" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "වාක්‍ය වින්‍යාස ඉස්මතු කරන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "වාක්‍ය වින්‍යාස ඉස්මතු කිරීමට වර්ණ තේමාවක් තෝරාගන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "ශෛල්‍ය ඉස්මතු කරන්න " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "වාක්‍ය වින්‍යාසය ඉස්මතු කරන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "ස්වයංපූර්ණ" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and stylesheets are included)" -msgstr "බාහිර පරායත්තතාවක් නොමැති HTML සාදන්න (සියළු අනුරූප සහ ශෛලීපත්‍ර ඇතුලත්ය)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "HTML 5 වාක්‍ය වින්‍යාසය භාවිතා කරන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "ඔබට භාවිතා කිරීමට අවශ්‍ය CSS ගොනුව තෝරාගන්න" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "CSS ගොනුව" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr " HTML විකල්ප" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr " ග්‍රනථ නාමාවලි ගොනුව " - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "විධාන පෙළ නිර්දේශන" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "නූතන ගොනුව විවෘත කරන්න" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_ගොනුව" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "නූතන ගොනුව විවෘත කරන්න" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr ".md ගොනුවක් විවෘත කරන්න" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "කෙටි සටහන් තබන පංක්ති පාඩම" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "දැන් සුරකින්න" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "දැන් සුරකින්න" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "ODT ලෙස අපනයනය කරන්න" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "ODT ලෙස අපනයනය කරන්න" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "ODT ලෙස අපනයනය කරන්න" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "ඉදිරියට පැමිණි අපනයනය" - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "දළ HTML ඇමුණුම් පුවරුවට පිටපත් කරන්න" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_පෙන්වන්න" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "එල්ල කරනා විධිය" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "සම්පූර්ණ තිරය" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "අඳුරුපසුතලයක වූ ආලොකමත් පාඨ" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "අඳුරු විධිය" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "පෙර විධියට මාරුවන්න" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "පෙරදසුන" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "ස්වයං_අක්ෂර වින්‍යාස පරීක්ෂනය" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_සහය" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "අන්තර්ගතයන්" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "කෙටි සටහන් තබන පංක්ති පාඩම" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "පැන්ඩොක් මාර්ගගත සටහන් තැබීමේ සහය විවෘත කරන්න" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "මෙම මෘදුකාංගය පරිවර්තනය කරන්න" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "එල්ල කරනා විධියට යන්න" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "සම්පූර්ණ තිර විධියට යන්න" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "HTML පූර්වදර්ශනය පෙන්වන්න" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "පද:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "අක්ෂර" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "අවධාරණ පාඨ" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "ප්‍රබල පාඨ" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "ප්‍රබල පාඨ" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "අයිතම ලැයිස්තුව" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "ශීර්ෂ පාඨය" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "වෙබ් අඩවිය නොපවතී" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "වෙබ් අඩවිය පවතී" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "විවෘත සම්බන්ධිත ලිපිනය වෙබ් බ්‍රව්සරයේ ඇත." - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "ගැළපෙන අධෝලිපියක් සොයාගත නොහැක" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "ඔබේ ගොනුව සුරකින්න" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "ඔබට PDF ලෙස නිර්යාත කළ නොහැක" - -#: uberwriter/UberwriterWindow.py:508 -msgid "Please install texlive from the software center." -msgstr "කරුණාකර මෘදුකාංග මධ්‍යස්ථානයෙන් texlive පිහිටුවන්න" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "සටහන් තැබීම හෝ සරල පාඨ" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr ".md ගොනුවක් විවෘත කරන්න" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "ඔබ ඔබේ වෙනස් කිරීම් ආරක්ෂා කර නොමැත" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "සුරැකීමකින් තොරව ඉවත්වන්න" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "අහෝසි කරන්න" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "දැන් සුරකින්න" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "සූරක්ෂිත නොවූ වෙනස් කිරීම්" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "ඔබට අක්ෂර වින්‍යාසය සොයාබැලීමට බලය දිය නොහැක" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the software " -"center." -msgstr "කරුණාකර ඔබේ භාෂාව සඳහා, 'හන්ස්පෙල්' හෝ 'ඇස්පෙල්' ශබ්දකෝෂ මෘදුකාංග කේන්ද්‍රයේ සිට පිහිටුවන්න" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "ද්‍යෝෂය ඉවත්කරන පණිවිඩ පෙන්වන්න (-vv එසේම උබ(ර්)ලියනයේ_lib)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(යෝජනා නොමැත)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "ශබ්දකෝෂයට \"{}\" ඇතුලත් කරන්න" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "සියල්ල නොසලකා හරින්න" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "භාෂා" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "යෝජනා" - -#~ msgid "UberWriter" -#~ msgstr "උබ(ර්)ලියනය" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "උබ(ර්)ලියනය, සරල සහ වික්ෂිප්ත නිදහස් සටහන් තබාගන්නා සංස්කාරකයකි" - -#~ msgid "F_ormat" -#~ msgstr "_ආකෘතිය" - -#~ msgid "Unordered List Item" -#~ msgstr "ලයිස්තුගත නොකල අයිතම" - -#~ msgid "Horizontal Rule" -#~ msgstr "තිරස් නිතීය" - -#~ msgid "Get Help Online..." -#~ msgstr "මාර්ගගත සහය ලබා ගන්න" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify it \n" -#~ "# under the terms of the GNU General Public License version 3, as published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "ප්‍රකාශන අයිතිය (C) 2012, වොල්ෆ් වොල්ප්‍රෙච්ට් \n" -#~ "මෙම වැඩසටහන නිදහස් මෘදුකාංගයකි: ඔබට එය නැවත බෙදාහැරීමට හෝ/සහ වෙනස් කිරීමට හැකි වන්නේ \n" -#~ "GNU සාමාන්‍ය පොදු බලපත්‍රයේ තුන් වන සංස්කරණයේ ප්‍රකාශිත කොන්දේසි වලට අනුවය \n" -#~ "නිදහස් මෘදුකාංග පදනම මගින්\n" -#~ " \n" -#~ "මෙම වැඩසටහන බෙදාහරින ලද්දේ එය ප්‍රයෝජනවත් වේ යන බලාපොරොත්තුවෙනි, නමුත් \n" -#~ "කිසිඳු වගකීමකින් තොරව; ගම්‍යමාන වගකීම්වන \n" -#~ "විකිණිය හැකි, පිළිගත හැකි ගුණාංග ඇති, හෝ විශේෂ අරමුණු සඳහා යෝග්‍ය යන්නෙන් තොරවය \n" -#~ "වැඩි විස්තර සඳහා GNU සාමාන්‍ය පොදු බලපත්‍රය බලන්න.\n" -#~ " \n" -#~ "ඔබට මෙම වැඩසටහනත් සමඟම GNU සාමාන්‍ය පොදු බලපත්‍රයේ පිටපතක් ලැබිය යුතුය. \n" -#~ "එසේ නොමැතිනම් බලන්න\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "ප්‍රකාශන අයිතිය (C) 2012, වොල්ෆ් වොල්ප්‍රෙච්ට් " diff --git a/po/si/LC_MESSAGES/uberwriter.mo b/po/si/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 6c1b857..0000000 Binary files a/po/si/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/sv/LC_MESSAGES/uberwriter-sv.po b/po/sv/LC_MESSAGES/uberwriter-sv.po deleted file mode 100644 index 145df57..0000000 --- a/po/sv/LC_MESSAGES/uberwriter-sv.po +++ /dev/null @@ -1,630 +0,0 @@ -# Swedish translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:02+0200\n" -"Last-Translator: Tirithen \n" -"Language-Team: Swedish \n" -"Language: sv\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "Mörkt läge" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "Spara nu" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "Spara nu" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "Fokusläge" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "Helskärm" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "Förhandsgranskning" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "_Redigera" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "Listelement" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "Rubrik" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exportera" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "Smart" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" -"Pandoc kan automatiskt konvertera \"--\" till ett långt bindestreck och mer" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalisera" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Tar bort saker som dubbla mellanslag eller mellanslag i början av en paragraf" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "Innehållsförteckning" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "Fristående" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" -"Använd sidhuvud och sidfot för att inkludera till exempel stilmallar och " -"metainformation" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "Numrera sektioner" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "Strikt Markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "Använd \"strikt\" Markdown istället för \"pandoc\" Markdown" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "Allmänna alternativ" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" -"Skapar HTML utan externa beroenden (alla bilder och stilmallar inkluderas)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "Använd HTML 5 syntax" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "Välj den CSS-fil du vill använda" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "CSS-fil" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "HTML alternativ" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Bilbliografifil" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "Terminalreferens" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "Senaste filer" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "_Arkiv" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "Senaste filer" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "Öppna .md-fil" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "Kort markdown-guide" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "Spara nu" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "Spara nu" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "Exportera som ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "Exportera som ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "Exportera som ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "Avancerad export..." - -#: data/ui/UberwriterWindow.ui:201 -msgid "Copy Raw HTML to Clipboard" -msgstr "" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "_Visa" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "Fokusläge" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "Helskärm" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "Ljus text på mörk bakgrund" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "Mörkt läge" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "Växla till förhandsgranskning" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "Förhandsgranskning" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "Automatisk _stavningskontroll" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "_Hjälp" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "Innehåll" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "Kort markdown-guide" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "Öppna hjälp för Pandoc Markdown via internet..." - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "Översätt det här programmet..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "Växla till fokusläge" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "Växla till helskärmsläge" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "Visa förhandsgranskning av HTML" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "Ord:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "Tecken:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "betonad text" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "kraftig text" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "kraftig text" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "Listelement" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "Rubrik" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Webbplatsen är inte tillgänglig" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Webbplatsen är tillgänglig" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Öppna länk i webbläsare" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "Kunde inte hitta någon matchande fotnot" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "Spara din fil" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "Du kan inte exportera till PDF" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "Installera texlive från Programcentralen." - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "Markdown eller text" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "Öppna .md-fil" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "Ändringarna har inte sparats." - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "Stäng utan att spara" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "Avbryt" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "Spara nu" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "Osparade ändringar" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "Du kan inte aktivera rättstavning." - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Visa felsökningsmeddelanden (-vv felsäker uberwriter_lib också)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(inga förslag)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Lägg till \"{}\" i ordlistan" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignorera alla" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Språk" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Förslag" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, ett enkelt redigeringsverktyg för Markdown" - -#~ msgid "F_ormat" -#~ msgstr "_Format" - -#~ msgid "Unordered List Item" -#~ msgstr "Oordnat listelement" - -#~ msgid "Horizontal Rule" -#~ msgstr "Horisontell linje" - -#~ msgid "Get Help Online..." -#~ msgstr "Få hjälp på internet..." diff --git a/po/sv/LC_MESSAGES/uberwriter.mo b/po/sv/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index cac90d4..0000000 Binary files a/po/sv/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/tr/LC_MESSAGES/uberwriter-th.po b/po/tr/LC_MESSAGES/uberwriter-th.po deleted file mode 100644 index f6b3ac6..0000000 --- a/po/tr/LC_MESSAGES/uberwriter-th.po +++ /dev/null @@ -1,579 +0,0 @@ -# Thai translation for uberwriter -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:02+0200\n" -"Last-Translator: Tharawut Paripaiboon \n" -"Language-Team: Thai \n" -"Language: th\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -msgid "Dark mode" -msgstr "" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -msgctxt "shortcut window" -msgid "Save" -msgstr "" - -#: data/ui/Shortcuts.ui:38 -msgctxt "shortcut window" -msgid "Save as" -msgstr "" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "" - -#: data/ui/Shortcuts.ui:59 -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "" - -#: data/ui/Shortcuts.ui:66 -msgctxt "shortcut window" -msgid "Preview" -msgstr "" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -msgctxt "shortcut window" -msgid "Editor" -msgstr "" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -msgctxt "shortcut window" -msgid "List item" -msgstr "" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -msgctxt "shortcut window" -msgid "Header" -msgstr "" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -msgid "Open Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "" - -#: data/ui/UberwriterWindow.ui:102 -msgid "Open examples" -msgstr "" - -#: data/ui/UberwriterWindow.ui:114 -msgid "_Quick markdown tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:131 -msgid "_Save" -msgstr "" - -#: data/ui/UberwriterWindow.ui:141 -msgid "Save _As" -msgstr "" - -#: data/ui/UberwriterWindow.ui:157 -msgid "Export as HTML" -msgstr "" - -#: data/ui/UberwriterWindow.ui:166 -msgid "Export as PDF" -msgstr "" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:201 -msgid "Copy Raw HTML to Clipboard" -msgstr "" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:91 -msgid "striked out text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "เปิด Link ในเว็บบราวเซอร์" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "เพิ่ม \"{}\" ในพจนานุกรม" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "เพิกเฉยทั้งหมด" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "ภาษา" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" diff --git a/po/tr/LC_MESSAGES/uberwriter-tr.po b/po/tr/LC_MESSAGES/uberwriter-tr.po deleted file mode 100644 index 734a59d..0000000 --- a/po/tr/LC_MESSAGES/uberwriter-tr.po +++ /dev/null @@ -1,583 +0,0 @@ -# Turkish translation for uberwriter -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:01+0200\n" -"Last-Translator: Caner GÜRAL \n" -"Language-Team: Turkish \n" -"Language: tr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -msgid "Dark mode" -msgstr "" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -msgctxt "shortcut window" -msgid "Save" -msgstr "" - -#: data/ui/Shortcuts.ui:38 -msgctxt "shortcut window" -msgid "Save as" -msgstr "" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "" - -#: data/ui/Shortcuts.ui:59 -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "" - -#: data/ui/Shortcuts.ui:66 -msgctxt "shortcut window" -msgid "Preview" -msgstr "" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -msgctxt "shortcut window" -msgid "Editor" -msgstr "" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -msgctxt "shortcut window" -msgid "List item" -msgstr "" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -msgctxt "shortcut window" -msgid "Header" -msgstr "" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -msgid "Open Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "" - -#: data/ui/UberwriterWindow.ui:102 -msgid "Open examples" -msgstr "" - -#: data/ui/UberwriterWindow.ui:114 -msgid "_Quick markdown tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:131 -msgid "_Save" -msgstr "" - -#: data/ui/UberwriterWindow.ui:141 -msgid "Save _As" -msgstr "" - -#: data/ui/UberwriterWindow.ui:157 -msgid "Export as HTML" -msgstr "" - -#: data/ui/UberwriterWindow.ui:166 -msgid "Export as PDF" -msgstr "" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:201 -msgid "Copy Raw HTML to Clipboard" -msgstr "" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:91 -msgid "striked out text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "Web sitesi kullanılamıyor" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "Web sitesi müsait" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Bağlantıyı tarayıcıda aç" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(öneri yok)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "\"{}\" 'i sözlüğe ekle" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Tümünü Yoksay" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Diller" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Öneriler" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "" -#~ "UberWriter, basit ve uğraşması zevkli ücretsiz bir Markdown düzenleyicisi" diff --git a/po/tr/LC_MESSAGES/uberwriter.mo b/po/tr/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 5d076ba..0000000 Binary files a/po/tr/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/uberwriter.pot b/po/uberwriter.pot deleted file mode 100644 index 708dbdf..0000000 --- a/po/uberwriter.pot +++ /dev/null @@ -1,579 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-05-01 20:21+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.6\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-SearchPath-0: uberwriter\n" -"X-Poedit-SearchPath-1: uberwriter_lib\n" -"X-Poedit-SearchPath-2: data\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -msgid "Dark mode" -msgstr "" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 -msgid "Help to _translate" -msgstr "" - -#: data/ui/App_menu.ui:41 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -msgctxt "shortcut window" -msgid "Save" -msgstr "" - -#: data/ui/Shortcuts.ui:38 -msgctxt "shortcut window" -msgid "Save as" -msgstr "" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "" - -#: data/ui/Shortcuts.ui:59 -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "" - -#: data/ui/Shortcuts.ui:66 -msgctxt "shortcut window" -msgid "Preview" -msgstr "" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -msgctxt "shortcut window" -msgid "Editor" -msgstr "" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -msgctxt "shortcut window" -msgid "List item" -msgstr "" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -msgctxt "shortcut window" -msgid "Header" -msgstr "" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -msgid "Open Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "" - -#: data/ui/UberwriterWindow.ui:102 -msgid "Open examples" -msgstr "" - -#: data/ui/UberwriterWindow.ui:114 -msgid "_Quick markdown tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:131 -msgid "_Save" -msgstr "" - -#: data/ui/UberwriterWindow.ui:141 -msgid "Save _As" -msgstr "" - -#: data/ui/UberwriterWindow.ui:157 -msgid "Export as HTML" -msgstr "" - -#: data/ui/UberwriterWindow.ui:166 -msgid "Export as PDF" -msgstr "" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:201 -msgid "Copy Raw HTML to Clipboard" -msgstr "" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:425 -msgid "Focus Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:445 -msgid "Fullscreen" -msgstr "" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:464 -msgid "Preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:432 data/ui/UberwriterWindow.ui:433 -msgid "Go into focus mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:451 data/ui/UberwriterWindow.ui:452 -msgid "Go into fullscreen mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:470 data/ui/UberwriterWindow.ui:471 -msgid "Show HTML preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:487 -msgid "Words:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:530 -msgid "Characters:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:661 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:705 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:809 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:823 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:91 -msgid "striked out text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:158 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" - -#: uberwriter_lib/AppWindow.py:160 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "" diff --git a/po/vi/LC_MESSAGES/uberwriter-vi.po b/po/vi/LC_MESSAGES/uberwriter-vi.po deleted file mode 100644 index b4dfe4d..0000000 --- a/po/vi/LC_MESSAGES/uberwriter-vi.po +++ /dev/null @@ -1,576 +0,0 @@ -# Vietnamese translation for uberwriter -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:01+0200\n" -"Last-Translator: pdq \n" -"Language-Team: Vietnamese \n" -"Language: vi\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -msgid "Dark mode" -msgstr "" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -msgctxt "shortcut window" -msgid "Save" -msgstr "" - -#: data/ui/Shortcuts.ui:38 -msgctxt "shortcut window" -msgid "Save as" -msgstr "" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "" - -#: data/ui/Shortcuts.ui:59 -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "" - -#: data/ui/Shortcuts.ui:66 -msgctxt "shortcut window" -msgid "Preview" -msgstr "" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -msgctxt "shortcut window" -msgid "Editor" -msgstr "" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -msgctxt "shortcut window" -msgid "List item" -msgstr "" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -msgctxt "shortcut window" -msgid "Header" -msgstr "" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -msgid "Open Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "" - -#: data/ui/UberwriterWindow.ui:102 -msgid "Open examples" -msgstr "" - -#: data/ui/UberwriterWindow.ui:114 -msgid "_Quick markdown tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:131 -msgid "_Save" -msgstr "" - -#: data/ui/UberwriterWindow.ui:141 -msgid "Save _As" -msgstr "" - -#: data/ui/UberwriterWindow.ui:157 -msgid "Export as HTML" -msgstr "" - -#: data/ui/UberwriterWindow.ui:166 -msgid "Export as PDF" -msgstr "" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:201 -msgid "Copy Raw HTML to Clipboard" -msgstr "" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:91 -msgid "striked out text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "Mở Link trong trình duyệt" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Thêm \"{}\" vào từ điển" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Lờ tất cả" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Các ngôn ngữ" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Gợi ý" diff --git a/po/vi/LC_MESSAGES/uberwriter.mo b/po/vi/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 7685a3c..0000000 Binary files a/po/vi/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/zh_CN/LC_MESSAGES/uberwriter-zh_CN.po b/po/zh_CN/LC_MESSAGES/uberwriter-zh_CN.po deleted file mode 100644 index 708983c..0000000 --- a/po/zh_CN/LC_MESSAGES/uberwriter-zh_CN.po +++ /dev/null @@ -1,666 +0,0 @@ -# Chinese (Simplified) translation for uberwriter -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 22:01+0200\n" -"Last-Translator: Sidney Chen \n" -"Language-Team: Chinese (Simplified) \n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "深色模式" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "立即保存" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "立即保存" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "聚焦模式" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "全屏" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "预览" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "编辑(_E)" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "列表项目" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "标题" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "导出" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "智能" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc 可以自动转换\"--\"为长划线" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "标准化" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "移除段首空格" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "目录" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "独立模式" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "用页眉和页脚来显示样式表和元信息" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "带序号的节标题" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "严格的Markdown语法" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "使用严格的markdown语法代替\"pandoc“ markdown的语法" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "常规选项" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "语法高亮" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "选择语法高亮的颜色主题" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "高亮样式 " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "语法高亮 (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "自助式" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "制作无外部依赖(包括全部图像和样式表)的 HTML 文件" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "使用 HTML 5 语法" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "选择一个您要使用的 CSS 文件" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "CSS 文件" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "HTML 选项" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "参考书目文件" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "命令行参考" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "打开最近的文件" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "文件(_F)" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "打开最近的文件" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "打开一个 .md 文件" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "简洁 Markdown 教程" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "立即保存" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "立即保存" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "导出为 ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "导出为 ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "导出为 ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "高级导出..." - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "复制原始 HTML 到剪贴板" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "查看(_V)" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "聚焦模式" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "全屏" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "浅色文本-黑色背景" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "深色模式" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "切换到预览模式" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "预览" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "自动拼写检查(_S)" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "帮助(_H)" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "内容" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "简洁 Markdown 教程" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "打开 Pandoc 在线 Markdown 帮助..." - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "翻译该应用..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "进入聚焦模式" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "进入全屏模式" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "显示 HTML 预览" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "单词数:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "字数:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "强调文本" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "文本加粗" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "文本加粗" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "列表项目" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "标题" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "网站不可访问" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "网站可访问" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "在网络浏览器中打开链接" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "未发现匹配的脚注" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "保存文件" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "您无法导出为 PDF。" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "请从软件中心安装 texlive。" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown 或纯文本" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "打开一个 .md 文件" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "您还没有保存您的更改。" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "关闭但不保存" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "取消" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "立即保存" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "未保存的更改" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "您无法启用拼写检查。" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "请从软件中心安装您所使用语言的 'hunspell' 或 'aspell' 字典。" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "显示调试信息(-vv 亦调试 uberwriter_lib)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(无建议)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "添加“{}”到字典" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "全部忽略" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "语言" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "建议" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter,一款简单、免打扰的 Markdown 编辑器" - -#~ msgid "F_ormat" -#~ msgstr "格式(_O)" - -#~ msgid "Unordered List Item" -#~ msgstr "无序列表项" - -#~ msgid "Horizontal Rule" -#~ msgstr "水平标尺" - -#~ msgid "Get Help Online..." -#~ msgstr "获取在线帮助..." - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "版权所有 (C) 2012,Wolf Vollprecht " diff --git a/po/zh_CN/LC_MESSAGES/uberwriter.mo b/po/zh_CN/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index 446ffad..0000000 Binary files a/po/zh_CN/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.mo b/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.mo deleted file mode 100644 index 25c4075..0000000 Binary files a/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.mo and /dev/null differ diff --git a/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.po b/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.po deleted file mode 100644 index 1c22fc4..0000000 --- a/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.po +++ /dev/null @@ -1,667 +0,0 @@ -# Chinese (Traditional) translation for uberwriter -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the uberwriter package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: uberwriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-20 21:44+0200\n" -"PO-Revision-Date: 2018-04-20 21:53+0200\n" -"Last-Translator: Walter Cheuk \n" -"Language-Team: Chinese (Traditional) \n" -"Language: zh_TW\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n" -"X-Generator: Poedit 2.0.6\n" -"X-Poedit-Basepath: .\n" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -#| msgid "Dark Mode" -msgid "Dark mode" -msgstr "陰暗模式" - -#: data/de.wolfvollprecht.UberWriter.gschema.xml:10 -msgid "" -"If enabled, the window will be dark themed If disabled, the window will be " -"light themed asked to install them manually." -msgstr "" - -#. -#. win.change_label -#. String 1 -#: data/ui/App_menu.ui:10 -msgid "New window" -msgstr "" - -#: data/ui/App_menu.ui:25 -msgid "_Shortcuts" -msgstr "" - -#: data/ui/App_menu.ui:29 -msgid "Pandoc _Help" -msgstr "" - -#: data/ui/App_menu.ui:33 -msgid "_About" -msgstr "" - -#: data/ui/App_menu.ui:37 data/ui/UberwriterWindow.ui:214 -msgid "_Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save" -msgstr "現在存取" - -#: data/ui/Shortcuts.ui:38 -#, fuzzy -#| msgid "Save now" -msgctxt "shortcut window" -msgid "Save as" -msgstr "現在存取" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -#, fuzzy -#| msgid "Focus Mode" -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "鎖定模式" - -#: data/ui/Shortcuts.ui:59 -#, fuzzy -#| msgid "Fullscreen" -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "全螢幕" - -#: data/ui/Shortcuts.ui:66 -#, fuzzy -#| msgid "Preview" -msgctxt "shortcut window" -msgid "Preview" -msgstr "預覽" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -#, fuzzy -#| msgid "_Edit" -msgctxt "shortcut window" -msgid "Editor" -msgstr "編輯(_E)" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -#, fuzzy -#| msgid "List item" -msgctxt "shortcut window" -msgid "List item" -msgstr "清單項目" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -#, fuzzy -#| msgid "Heading" -msgctxt "shortcut window" -msgid "Header" -msgstr "標題" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "匯出" - -#: data/ui/UberwriterAdvancedExportDialog.ui:98 -msgid "Smart" -msgstr "精明的詢問" - -#: data/ui/UberwriterAdvancedExportDialog.ui:103 -msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "Pandoc 能自動地讓 「--」 轉成長槓或者其他的東西" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "正規化" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "移除連續雙空白或是在段落前面的空白" - -#: data/ui/UberwriterAdvancedExportDialog.ui:135 -msgid "Table of Contents" -msgstr "目錄" - -#: data/ui/UberwriterAdvancedExportDialog.ui:152 -msgid "Standalone" -msgstr "獨立" - -#: data/ui/UberwriterAdvancedExportDialog.ui:157 -msgid "" -"Use a header and footer to include things like stylesheets and meta " -"information" -msgstr "使用 header 或是 footer 來引入樣式表及初始資料" - -#: data/ui/UberwriterAdvancedExportDialog.ui:171 -msgid "Number Sections" -msgstr "數字區間" - -#: data/ui/UberwriterAdvancedExportDialog.ui:188 -msgid "Strict Markdown" -msgstr "嚴格的 Markdown 格式" - -#: data/ui/UberwriterAdvancedExportDialog.ui:193 -msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "使用「嚴格的」 Markdown 格式來取代「pandoc」的 Mardown 格式" - -#: data/ui/UberwriterAdvancedExportDialog.ui:206 -msgid "Slideshow incremental bullets" -msgstr "Slideshow incremental bullets" - -#: data/ui/UberwriterAdvancedExportDialog.ui:211 -msgid "Show one bullet point after another in a slideshow" -msgstr "Show one bullet point after another in a slideshow" - -#: data/ui/UberwriterAdvancedExportDialog.ui:230 -msgid "General Options" -msgstr "一般選項" - -#: data/ui/UberwriterAdvancedExportDialog.ui:263 -msgid "Highlight syntax" -msgstr "語法高亮" - -#: data/ui/UberwriterAdvancedExportDialog.ui:287 -#: data/ui/UberwriterAdvancedExportDialog.ui:300 -msgid "Choose a color theme for syntax highlighting" -msgstr "選擇語法高亮顏色主題" - -#: data/ui/UberwriterAdvancedExportDialog.ui:288 -msgid "Highlight style " -msgstr "高亮主題 " - -#: data/ui/UberwriterAdvancedExportDialog.ui:337 -msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "語法高亮 (HTML, LaTeX)" - -#: data/ui/UberwriterAdvancedExportDialog.ui:371 -msgid "Self Contained" -msgstr "獨立的" - -#: data/ui/UberwriterAdvancedExportDialog.ui:376 -msgid "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" -msgstr "產生一個沒有外部相關的 HTML 文件 ( 包含所有的圖片及樣式表 )" - -#: data/ui/UberwriterAdvancedExportDialog.ui:389 -msgid "HTML 5" -msgstr "HTML 5" - -#: data/ui/UberwriterAdvancedExportDialog.ui:394 -msgid "Use HTML 5 syntax" -msgstr "使用 HTML 5 語法" - -#: data/ui/UberwriterAdvancedExportDialog.ui:413 -#: data/ui/UberwriterAdvancedExportDialog.ui:427 -msgid "Choose a CSS File that you want to use" -msgstr "選擇一個您想要使用的 CSS 檔案" - -#: data/ui/UberwriterAdvancedExportDialog.ui:415 -msgid "CSS File" -msgstr "CSS 檔案" - -#: data/ui/UberwriterAdvancedExportDialog.ui:451 -msgid "HTML Options" -msgstr "HTML 選項" - -#: data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "參考文件" - -#: data/ui/UberwriterAdvancedExportDialog.ui:510 -msgid "Commandline Reference" -msgstr "命令列參考" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:41 -#, fuzzy -#| msgid "Open Recent File" -msgid "Open Replace" -msgstr "開啟最近使用過的檔案" - -#: data/ui/UberwriterWindow.ui:52 -msgid "Activate Regex" -msgstr "" - -#: data/ui/UberwriterWindow.ui:66 -msgid "_File" -msgstr "檔案(_F)" - -#: data/ui/UberwriterWindow.ui:74 -msgid "_New" -msgstr "" - -#: data/ui/UberwriterWindow.ui:84 -msgid "_Open" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Open Recent File" -msgstr "開啟最近使用過的檔案" - -#: data/ui/UberwriterWindow.ui:102 -#, fuzzy -#| msgid "Open a .md-File" -msgid "Open examples" -msgstr "開啟一個 .md 檔案" - -#: data/ui/UberwriterWindow.ui:114 -#, fuzzy -#| msgid "Short Markdown Tutorial" -msgid "_Quick markdown tutorial" -msgstr "簡單 Markdown 教學" - -#: data/ui/UberwriterWindow.ui:131 -#, fuzzy -#| msgid "Save now" -msgid "_Save" -msgstr "現在存取" - -#: data/ui/UberwriterWindow.ui:141 -#, fuzzy -#| msgid "Save now" -msgid "Save _As" -msgstr "現在存取" - -#: data/ui/UberwriterWindow.ui:157 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as HTML" -msgstr "匯出檔案成 ODT" - -#: data/ui/UberwriterWindow.ui:166 -#, fuzzy -#| msgid "Export as ODT" -msgid "Export as PDF" -msgstr "匯出檔案成 ODT" - -#: data/ui/UberwriterWindow.ui:175 -msgid "Export as ODT" -msgstr "匯出檔案成 ODT" - -#: data/ui/UberwriterWindow.ui:186 -msgid "Advanced Export..." -msgstr "進階匯出..." - -#: data/ui/UberwriterWindow.ui:201 -#, fuzzy -#| msgid "Copy raw HTML to clipboard" -msgid "Copy Raw HTML to Clipboard" -msgstr "複製原始 HTML 至剪貼簿" - -#: data/ui/UberwriterWindow.ui:229 -msgid "_View" -msgstr "檢視(_V)" - -#: data/ui/UberwriterWindow.ui:239 data/ui/UberwriterWindow.ui:434 -msgid "Focus Mode" -msgstr "鎖定模式" - -#: data/ui/UberwriterWindow.ui:247 data/ui/UberwriterWindow.ui:454 -msgid "Fullscreen" -msgstr "全螢幕" - -#: data/ui/UberwriterWindow.ui:254 -msgid "Sidebar" -msgstr "" - -#: data/ui/UberwriterWindow.ui:261 -msgid "Light text on a dark background" -msgstr "暗色背景及明亮字體" - -#: data/ui/UberwriterWindow.ui:262 -msgid "Dark Mode" -msgstr "陰暗模式" - -#: data/ui/UberwriterWindow.ui:270 -msgid "Switch to preview mode" -msgstr "切換到預覽模式" - -#: data/ui/UberwriterWindow.ui:271 data/ui/UberwriterWindow.ui:473 -msgid "Preview" -msgstr "預覽" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Open Search and Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:280 -msgid "Search and Replace ..." -msgstr "" - -#: data/ui/UberwriterWindow.ui:307 -msgid "Auto _Spellcheck" -msgstr "自動_拼字檢查" - -#: data/ui/UberwriterWindow.ui:320 -msgid "_Help" -msgstr "說明 (_H)" - -#: data/ui/UberwriterWindow.ui:330 -msgid "Contents" -msgstr "內容" - -#: data/ui/UberwriterWindow.ui:343 -msgid "Short Markdown Tutorial" -msgstr "簡單 Markdown 教學" - -#: data/ui/UberwriterWindow.ui:351 -msgid "Open Pandoc Online Markdown Help ..." -msgstr "開啟 Pandoc 線上 Markdown 說明 ..." - -#: data/ui/UberwriterWindow.ui:359 -msgid "Translate This Application..." -msgstr "翻譯本程式..." - -#: data/ui/UberwriterWindow.ui:441 data/ui/UberwriterWindow.ui:442 -msgid "Go into focus mode" -msgstr "使用鎖定模式" - -#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 -msgid "Go into fullscreen mode" -msgstr "使用全螢幕模式" - -#: data/ui/UberwriterWindow.ui:479 data/ui/UberwriterWindow.ui:480 -msgid "Show HTML preview" -msgstr "顯示 HTML 預覽" - -#: data/ui/UberwriterWindow.ui:496 -msgid "Words:" -msgstr "字數:" - -#: data/ui/UberwriterWindow.ui:539 -msgid "Characters:" -msgstr "字元:" - -#: data/ui/UberwriterWindow.ui:670 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:714 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:818 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:832 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:87 -msgid "emphasized text" -msgstr "強調文字" - -#: uberwriter/FormatShortcuts.py:89 -msgid "strong text" -msgstr "粗體字" - -#: uberwriter/FormatShortcuts.py:91 -#, fuzzy -#| msgid "strong text" -msgid "striked out text" -msgstr "粗體字" - -#: uberwriter/FormatShortcuts.py:105 -msgid "List item" -msgstr "清單項目" - -#: uberwriter/FormatShortcuts.py:186 -msgid "Heading" -msgstr "標題" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is not available" -msgstr "網站目前無法提供服務" - -#: uberwriter/UberwriterInlinePreview.py:187 -msgid "Website is available" -msgstr "網站可以提供服務" - -#: uberwriter/UberwriterInlinePreview.py:437 -msgid "Open Link in Webbrowser" -msgstr "在瀏覽器開啟連結" - -#: uberwriter/UberwriterInlinePreview.py:494 -msgid "No matching footnote found" -msgstr "沒有發現相符和的註解" - -#: uberwriter/UberwriterWindow.py:356 -msgid "Save your File" -msgstr "存取您的檔案" - -#: uberwriter/UberwriterWindow.py:506 -msgid "You can not export to PDF." -msgstr "您不能匯出至 PDF" - -#: uberwriter/UberwriterWindow.py:508 -msgid "" -"Please install texlive from the software center." -msgstr "請從軟體中心安裝 texlive" - -#: uberwriter/UberwriterWindow.py:538 -msgid "MarkDown or Plain Text" -msgstr "MarkDown 或者純文字" - -#: uberwriter/UberwriterWindow.py:541 -msgid "Open a .md-File" -msgstr "開啟一個 .md 檔案" - -#: uberwriter/UberwriterWindow.py:563 -msgid "You have not saved your changes." -msgstr "您尚未存取您的變更" - -#: uberwriter/UberwriterWindow.py:565 -msgid "Close without Saving" -msgstr "關閉但不儲存" - -#: uberwriter/UberwriterWindow.py:566 -msgid "Cancel" -msgstr "取消" - -#: uberwriter/UberwriterWindow.py:567 -msgid "Save now" -msgstr "現在存取" - -#: uberwriter/UberwriterWindow.py:568 -msgid "Unsaved changes" -msgstr "未儲存的變更" - -#: uberwriter/UberwriterWindow.py:634 -msgid "You can not enable the Spell Checker." -msgstr "您不能啟動拼字檢查器" - -#: uberwriter/UberwriterWindow.py:636 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "請從軟體中心安裝針對您的語言的 \"hunspell\" 或 \"aspell\" 字典檔" - -#: uberwriter/plugins/bibtex/bibtex_item.glade:18 -#: uberwriter/plugins/bibtex/bibtex_item.glade:32 -#: uberwriter/plugins/bibtex/bibtex_item.glade:45 -msgid "label" -msgstr "" - -#: uberwriter_lib/AppWindow.py:154 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "顯示 debug 資訊 (-vv debug uberwriter_lib also)" - -#: uberwriter_lib/AppWindow.py:156 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(no suggestions)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "加入 \"{}\" 至目錄" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "全部略過" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "語言" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "建議" - -#~ msgid "UberWriter" -#~ msgstr "UberWriter" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter,一個簡單、免費、有趣的 Markdown 編輯器" - -#~ msgid "F_ormat" -#~ msgstr "格式(_O)" - -#~ msgid "Unordered List Item" -#~ msgstr "無序串列物件" - -#~ msgid "Horizontal Rule" -#~ msgstr "水平線" - -#~ msgid "Get Help Online..." -#~ msgstr "取得線上說明..." - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \n" -#~ "# This program is free software: you can redistribute it and/or modify " -#~ "it \n" -#~ "# under the terms of the GNU General Public License version 3, as " -#~ "published \n" -#~ "# by the Free Software Foundation.\n" -#~ "# \n" -#~ "# This program is distributed in the hope that it will be useful, but \n" -#~ "# WITHOUT ANY WARRANTY; without even the implied warranties of \n" -#~ "# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n" -#~ "# PURPOSE. See the GNU General Public License for more details.\n" -#~ "# \n" -#~ "# You should have received a copy of the GNU General Public License " -#~ "along \n" -#~ "# with this program. If not, see .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " diff --git a/po/zh_TW/LC_MESSAGES/uberwriter.mo b/po/zh_TW/LC_MESSAGES/uberwriter.mo deleted file mode 100644 index d3213dd..0000000 Binary files a/po/zh_TW/LC_MESSAGES/uberwriter.mo and /dev/null differ diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 51fdc70..0000000 --- a/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -regex - diff --git a/screenshots/footnote.png b/screenshots/footnote.png deleted file mode 100644 index b99ee66..0000000 Binary files a/screenshots/footnote.png and /dev/null differ diff --git a/screenshots/formula.png b/screenshots/formula.png deleted file mode 100644 index 11330b3..0000000 Binary files a/screenshots/formula.png and /dev/null differ diff --git a/screenshots/main-dark.png b/screenshots/main-dark.png deleted file mode 100644 index 6dc5a1f..0000000 Binary files a/screenshots/main-dark.png and /dev/null differ diff --git a/screenshots/main.png b/screenshots/main.png deleted file mode 100644 index 8593c53..0000000 Binary files a/screenshots/main.png and /dev/null differ diff --git a/setup.py b/setup.py deleted file mode 100644 index a86f826..0000000 --- a/setup.py +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/env python3 -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - - -################################################################################## -###################### YOU SHOULD MODIFY ONLY WHAT IS BELOW ###################### -################################################################################## -from setuptools import setup -import os - -def package_files(directory): - paths = [] - for (path, directories, filenames) in os.walk(directory): - for filename in filenames: - paths.append(os.path.join(path, filename)) - return paths - -extra_files_ui = package_files('./data/ui') -extra_files_media = package_files('./data/media') -extra_files_scripts = package_files('./data/lua') -from pprint import pprint -pprint(extra_files_ui) -pprint(extra_files_media) - -if os.path.isfile("/.flatpak-info"): - app_prefix = '/app/' - print("in flatpak") -else: - app_prefix = '' - -setup( - name='uberwriter', - version='2.0 beta', - license='GPL-3', - author='Wolf Vollprecht', - author_email='w.vollprecht@gmail.com', - description='A beautiful, simple and distraction free markdown editor.', - long_description="""UberWriter, beautiful distraction free writing - With UberWriter you get only one thing: An empty textbox, that is to - fill with your ideas. There are no settings, you don't have to choose a - font, it is only for writing.You can use markdown for all your markup - needs. PDF, RTF and HTML are generated with pandoc. For PDF generation it - is also required that you choose to install the texlive-luatex package.""", - url='https://github.com/wolfv/uberwriter/', - # cmdclass={'install': InstallAndUpdateDataDirectory}, - package_dir = { - # "": '/opt/uberwriter/' - }, - packages=[ - "uberwriter_lib.gtkspellcheck", - "uberwriter_lib.pylocales", - # "uberwriter_lib.pressagio", - "uberwriter_lib", - "uberwriter", - "po" - # "uberwriter.plugins" - # "uberwriter.plugins.bibtex" - ], - include_package_data=True, - - package_data={ - 'uberwriter_lib.pylocales' : ['locales.db'], - }, - data_files=[ - (app_prefix + '/bin/', ['bin/uberwriter']), - (app_prefix + '/share/glib-2.0/schemas', ['data/de.wolfvollprecht.UberWriter.gschema.xml']), - (app_prefix + '/share/icons/hicolor/scalable/apps', ['data/media/uberwriter.svg']), - (app_prefix + '/share/applications', ['de.wolfvollprecht.UberWriter.desktop']), - (app_prefix + '/opt/uberwriter/data/ui', extra_files_ui), - (app_prefix + '/opt/uberwriter/data/media', extra_files_media), - (app_prefix + '/opt/uberwriter/data/lua', extra_files_scripts) - ] -) diff --git a/tests/test_example.py b/tests/test_example.py deleted file mode 100644 index ef12061..0000000 --- a/tests/test_example.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/python -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -import sys -import os.path -import unittest -sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), ".."))) - -from uberwriter import AboutUberwriterDialog - -class TestExample(unittest.TestCase): - def setUp(self): - self.AboutUberwriterDialog_members = [ - 'AboutDialog', 'AboutUberwriterDialog', 'gettext', 'logger', 'logging'] - - def test_AboutUberwriterDialog_members(self): - all_members = dir(AboutUberwriterDialog) - public_members = [x for x in all_members if not x.startswith('_')] - public_members.sort() - self.assertEqual(self.AboutUberwriterDialog_members, public_members) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/test_lint.py b/tests/test_lint.py deleted file mode 100644 index fa25364..0000000 --- a/tests/test_lint.py +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/python -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -import unittest -import subprocess - -class TestPylint(unittest.TestCase): - def test_project_errors_only(self): - '''run pylint in error only mode - - your code may well work even with pylint errors - but have some unusual code''' - return_code = subprocess.call(["pylint", '-E', 'uberwriter']) - # not needed because nosetests displays pylint console output - #self.assertEqual(return_code, 0) - - # un-comment the following for loads of diagnostics - #~ def test_project_full_report(self): - #~ '''Only for the brave -#~ - #~ you will have to make judgement calls about your code standards - #~ that differ from the norm''' - #~ return_code = subprocess.call(["pylint", 'uberwriter']) - -if __name__ == '__main__': - 'you will get better results with nosetests' - unittest.main() diff --git a/uberwriter/FixTable.py b/uberwriter/FixTable.py deleted file mode 100644 index e1b59ac..0000000 --- a/uberwriter/FixTable.py +++ /dev/null @@ -1,208 +0,0 @@ -import re -from gi.repository import Gtk - -import logging -logger = logging.getLogger('uberwriter') - -class FixTable(): - - def __init__(self, TextBuffer): - self.TextBuffer = TextBuffer - - @staticmethod - def create_seperator(widths, char): - """ - Generate a line of + and - as sepeartor - - Example: - >>> create_separarator([2, 4], '-') - '+----+------+' - """ - line = [] - - for w in widths: - line.append("+" + char * (w + 2)) - - line.append("+") - return ''.join(line) - - @staticmethod - def create_line(columns, widths): - """ - Crea una fila de la tabla separando los campos con un '|'. - - El argumento `columns` es una lista con las celdas que se - quieren imprimir y el argumento `widths` tiene el ancho - de cada columna. Si la columna es mas ancha que el texto - a imprimir se agregan espacios vacíos. - - Example - >>> create_line(['nombre', 'apellido'], [7, 10]) - '| nombre | apellido |' - """ - - line = zip(columns, widths) - result = [] - - for text, width in line: - spaces = " " * (width - len(text)) - text = "| " + text + spaces + " " - result.append(text) - - result.append("|") - return ''.join(result) - - @staticmethod - def create_table(content): - """Imprime una tabla en formato restructuredText. - - El argumento `content` tiene que ser una lista - de celdas. - - Example: - - >>> print create_table([['software', 'vesion'], ['python', '3.2'], - ['vim', '7.3']]) -+----------+--------+ -| software | vesion | -+==========+========+ -| python | 3.2 | -+----------+--------+ -| vim | 7.3 | -+----------+--------+ - """ - - # obtiene las columnas de toda la tabla. - columns = zip(*content) - # calcula el tamano maximo que debe tener cada columna. - # replace with len() - widths = [max([len(x) for x in i]) for i in columns] - - result = [] - - result.append(FixTable.create_seperator(widths, '-')) - print(content, widths) - result.append(FixTable.create_line(content[0], widths)) - result.append(FixTable.create_seperator(widths, '=')) - - for line in content[1:]: - result.append(FixTable.create_line(line, widths)) - result.append(FixTable.create_seperator(widths, '-')) - - return '\n'.join(result) - - @staticmethod - def are_in_a_table(current_line): - "Line in a table?" - return "|" in current_line or "+" in current_line - - @staticmethod - def are_in_a_paragraph(current_line): - "Line in a paragraph?" - return len(current_line.strip()) >= 1 - - def get_table_bounds(self, are_in_callback): - """ - Gets the row number where the table begins and ends. - are_in_callback argument must be a function -         indicating whether a particular line belongs or not -        to the table to be measured (or create). -        Returns two values ​​as a tuple - """ - top = 0 - - buf = self.TextBuffer - start_iter = buf.get_start_iter() - end_iter = buf.get_end_iter() - - text = self.TextBuffer.get_text(start_iter, end_iter, False).split('\n') - logger.debug(text) - length = len(text) - bottom = length - 1 - - insert_mark = self.TextBuffer.get_insert() - insert_iter = self.TextBuffer.get_iter_at_mark(insert_mark) - current_row_index = insert_iter.get_line() - - for a in range(current_row_index, top, -1): - if not are_in_callback(text[a]): - top = a + 1 - break - - for b in range(current_row_index, length): - if not are_in_callback(text[b]): - bottom = b - 1 - break - - return top, bottom - - @staticmethod - def remove_spaces(string): - """Remove unnecessary spaces""" - return re.sub("\s\s+", " ", string) - - @staticmethod - def create_separators_removing_spaces(string): - return re.sub("\s\s+", "|", string) - - @staticmethod - def extract_cells_as_list(string): - "Extrae el texto de una fila de tabla y lo retorna como una lista." - string = FixTable.remove_spaces(string) - return [item.strip() for item in string.split('|') if item] - - @staticmethod - def extract_table(text, top, bottom): - full_table_text = text[top:bottom] - # selecciona solamente las lineas que tienen celdas con texto. - only_text_lines = [x for x in full_table_text if '|' in x] - # extrae las celdas y descarta los separadores innecesarios. - return [FixTable.extract_cells_as_list(x) for x in only_text_lines] - - @staticmethod - def extract_words_as_lists(text, top, bottom): - "Genera una lista de palabras para crear una lista." - - lines = text[top:bottom + 1] - return [FixTable.create_separators_removing_spaces(line).split('|') for line in lines] - - def fix_table(self): - """ - Fix Table, so all columns have the same width (again) - - `initial_row` is a int idicationg the current row index - """ - - cursor_mark = self.TextBuffer.get_insert() - cursor_iter = self.TextBuffer.get_iter_at_mark(cursor_mark) - cursor_iter.set_line(cursor_iter.get_line()) - - end_line = cursor_iter.copy() - end_line.forward_to_line_end() - - - line_text = self.TextBuffer.get_text(cursor_iter, end_line, False) - if FixTable.are_in_a_table(line_text): - - # obtiene el indice donde comienza y termina la tabla. - r1, r2 = self.get_table_bounds(FixTable.are_in_a_table) - - logger.debug('asdasd ') - - # extrae de la tabla solo las celdas de texto - buf = self.TextBuffer - start_iter = buf.get_start_iter() - end_iter = buf.get_end_iter() - - text = self.TextBuffer.get_text(start_iter, end_iter, False).split('\n') - - table_as_list = FixTable.extract_table(text, r1, r2) - logger.debug(table_as_list) - # genera una nueva tabla tipo restructured text y la dibuja en el buffer. - table_content = FixTable.create_table(table_as_list) - logger.debug(table_content) - # Insert table back into Buffer ... - self.TextBuffer.insert(start_iter, table_content, -1) - else: - logger.debug("Not in a table") - print("Not in table") diff --git a/uberwriter/FormatShortcuts.py b/uberwriter/FormatShortcuts.py deleted file mode 100644 index 28711ac..0000000 --- a/uberwriter/FormatShortcuts.py +++ /dev/null @@ -1,221 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - - -import gettext - -import re -from gi.repository import Gtk, Gdk # pylint: disable=E0611 -from gi.repository import Pango # pylint: disable=E0611 - -from gettext import gettext as _ - -from . MarkupBuffer import MarkupBuffer - -class FormatShortcuts(): - - def __init__(self, textbuffer, texteditor): - self.TextBuffer = textbuffer - self.TextEditor = texteditor - - def rule(self): - self.TextBuffer.insert_at_cursor("\n\n-------\n") - self.TextEditor.scroll_mark_onscreen(self.TextBuffer.get_insert()) - self.regex = MarkupBuffer.regex - - def bold(self): - self.apply_format("**") - - def italic(self): - self.apply_format("*") - - def strikeout(self): - self.apply_format("~~") - - def apply_format(self, wrap = "*"): - if self.TextBuffer.get_has_selection(): - ## Find current highlighting - - (start, end) = self.TextBuffer.get_selection_bounds() - moved = False - if ( - start.get_offset() >= len(wrap) and - end.get_offset() <= self.TextBuffer.get_char_count() - len(wrap) - ): - moved = True - ext_start = start.copy() - ext_start.backward_chars(len(wrap)) - ext_end = end.copy() - ext_end.forward_chars(len(wrap)) - text = self.TextBuffer.get_text(ext_start, ext_end, True) - else: - text = self.TextBuffer.get_text(start, end, True) - - if moved and text.startswith(wrap) and text.endswith(wrap): - text = text[len(wrap):-len(wrap)] - new_text = text - self.TextBuffer.delete(ext_start, ext_end) - move_back = 0 - else: - if moved: - text = text[len(wrap):-len(wrap)] - new_text = text.lstrip().rstrip() - text = text.replace(new_text, wrap + new_text + wrap) - - self.TextBuffer.delete(start, end) - move_back = len(wrap) - - self.TextBuffer.insert_at_cursor(text) - text_length = len(new_text) - - else: - helptext = "" - if wrap == "*": - helptext = _("emphasized text") - elif wrap == "**": - helptext = _("strong text") - elif wrap == "~~": - helptext = _("striked out text") - - self.TextBuffer.insert_at_cursor(wrap + helptext + wrap) - text_length = len(helptext) - move_back = len(wrap) - - cursor_mark = self.TextBuffer.get_insert() - cursor_iter = self.TextBuffer.get_iter_at_mark(cursor_mark) - cursor_iter.backward_chars(move_back) - self.TextBuffer.move_mark_by_name('selection_bound', cursor_iter) - cursor_iter.backward_chars(text_length) - self.TextBuffer.move_mark_by_name('insert', cursor_iter) - - def unordered_list_item(self): - helptext = _("List item") - text_length = len(helptext) - move_back = 0 - if self.TextBuffer.get_has_selection(): - (start, end) = self.TextBuffer.get_selection_bounds() - if start.starts_line(): - text = self.TextBuffer.get_text(start, end, False) - if text.startswith(("- ", "* ", "+ ")): - delete_end = start.forward_chars(2) - self.TextBuffer.delete(start, delete_end) - else: - self.TextBuffer.insert(start, "- ") - else: - move_back = 0 - cursor_mark = self.TextBuffer.get_insert() - cursor_iter = self.TextBuffer.get_iter_at_mark(cursor_mark) - - start_ext = cursor_iter.copy() - start_ext.backward_lines(3) - text = self.TextBuffer.get_text(cursor_iter, start_ext, False) - lines = text.splitlines() - - for line in reversed(lines): - if len(line) and line.startswith(("- ", "* ", "+ ")): - if cursor_iter.starts_line(): - self.TextBuffer.insert_at_cursor(line[:2] + helptext) - else: - self.TextBuffer.insert_at_cursor("\n" + line[:2] + helptext) - break - else: - if len(lines[-1]) == 0 and len(lines[-2]) == 0: - self.TextBuffer.insert_at_cursor("- " + helptext) - elif len(lines[-1]) == 0: - if cursor_iter.starts_line(): - self.TextBuffer.insert_at_cursor("- " + helptext) - else: - self.TextBuffer.insert_at_cursor("\n- " + helptext) - else: - self.TextBuffer.insert_at_cursor("\n\n- " + helptext) - break - - self.select_edit(move_back, text_length) - - def ordered_list_item(self): - pass - - def select_edit(self, move_back, text_length): - cursor_mark = self.TextBuffer.get_insert() - cursor_iter = self.TextBuffer.get_iter_at_mark(cursor_mark) - cursor_iter.backward_chars(move_back) - self.TextBuffer.move_mark_by_name('selection_bound', cursor_iter) - cursor_iter.backward_chars(text_length) - self.TextBuffer.move_mark_by_name('insert', cursor_iter) - self.TextEditor.scroll_mark_onscreen(self.TextBuffer.get_insert()) - - def above(self, linestart = ""): - if not cursor_iter.starts_line(): - return "" - else: - cursor_mark = self.TextBuffer.get_insert() - cursor_iter = self.TextBuffer.get_iter_at_mark(cursor_mark) - - start_ext = cursor_iter.copy() - start_ext.backward_lines(2) - text = self.TextBuffer.get_text(cursor_iter, start_ext, False) - lines = text.splitlines() - - #if line[-1].startswith - - def get_lines(self, cursor_iter): - - start_ext = cursor_iter.copy() - start_ext.backward_lines(2) - text = self.TextBuffer.get_text(cursor_iter, start_ext, False) - lines = text.splitlines() - - abs_line = cursor_iter.get_line() - - return reversed(lines) - - def heading(self, level = 0): - helptext = _("Heading") - before = "" - if self.TextBuffer.get_has_selection(): - (start, end) = self.TextBuffer.get_selection_bounds() - text = self.TextBuffer.get_text(start, end, False) - self.TextBuffer.delete(start, end) - else: - text = helptext - - cursor_mark = self.TextBuffer.get_insert() - cursor_iter = self.TextBuffer.get_iter_at_mark(cursor_mark) - - #lines = self.get_lines(cursor_iter) - - #if cursor_iter.starts_line(): - # if lines[1] != '': - # before = before + "\n" - #else: - # match = re.match(r'([\#]+ )(.+)', lines[0]) - # if match: - # if match.group(1): - # - # print match.group(0) - # if len(match.group(0)) < 6: - # before = before + "#" * (len(match.group(0)) + 1) - # else: - # before = before + "#" - # else: - # before = before + "\n\n" - # - # - # check_text = self.TextBuffer.get_text(start, cursor_iter, False).decode("utf-8") - # print check_text - - self.TextBuffer.insert_at_cursor("#" + " " + text) - self.select_edit(0, len(text)) diff --git a/uberwriter/MarkupBuffer.py b/uberwriter/MarkupBuffer.py deleted file mode 100644 index eb1311e..0000000 --- a/uberwriter/MarkupBuffer.py +++ /dev/null @@ -1,326 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -import re -from gi.repository import Gtk # pylint: disable=E0611 -from gi.repository import Pango # pylint: disable=E0611 - - -class MarkupBuffer(): - - def __init__(self, Parent, TextBuffer, base_leftmargin): - self.multiplier = 10 - self.parent = Parent - self.TextBuffer = TextBuffer - - # Styles - self.italic = self.TextBuffer.create_tag("italic", - style=Pango.Style.ITALIC) - - self.emph = self.TextBuffer.create_tag("emph", - weight=Pango.Weight.BOLD, - style=Pango.Style.NORMAL) - - self.bolditalic = self.TextBuffer.create_tag("bolditalic", - weight=Pango.Weight.BOLD, - style=Pango.Style.ITALIC) - - self.headline_two = self.TextBuffer.create_tag("headline_two", - weight=Pango.Weight.BOLD, - style=Pango.Style.NORMAL) - - self.normal_indent = self.TextBuffer.create_tag('normal_indent', indent=100) - - self.green_text = self.TextBuffer.create_tag( - "greentext", - foreground="#00364C" - ) - - self.grayfont = self.TextBuffer.create_tag('graytag', - foreground="gray") - - self.blackfont = self.TextBuffer.create_tag('blacktag', - foreground="#222") - - self.underline = self.TextBuffer.create_tag( - "underline", - underline=Pango.Underline.SINGLE - ) - - self.underline.set_property('weight', Pango.Weight.BOLD) - - self.strikethrough = self.TextBuffer.create_tag( - "strikethrough", - strikethrough=True - ) - - self.centertext = self.TextBuffer.create_tag( - "centertext", - justification=Gtk.Justification.CENTER - ) - - self.TextBuffer.apply_tag( - self.normal_indent, - self.TextBuffer.get_start_iter(), - self.TextBuffer.get_end_iter() - ) - - self.rev_leftmargin = [] - for i in range(0, 6): - name = "rev_marg_indent_left" + str(i) - self.rev_leftmargin.append(self.TextBuffer.create_tag(name)) - self.rev_leftmargin[i].set_property("left-margin", 90 - 10 * (i + 1)) - self.rev_leftmargin[i].set_property("indent", - 10 * (i + 1) - 10) - #self.leftmargin[i].set_property("background", "gray") - - self.leftmargin = [] - - for i in range(0, 6): - name = "marg_indent_left" + str(i) - self.leftmargin.append(self.TextBuffer.create_tag(name)) - self.leftmargin[i].set_property("left-margin", base_leftmargin + 10 + 10 * (i + 1)) - self.leftmargin[i].set_property("indent", - 10 * (i + 1) - 10) - - self.leftindent = [] - - for i in range(0, 15): - name = "indent_left" + str(i) - self.leftindent.append(self.TextBuffer.create_tag(name)) - self.leftindent[i].set_property("indent", - 10 * (i + 1) - 20) - - self.table_env = self.TextBuffer.create_tag('table_env') - self.table_env.set_property('wrap-mode', Gtk.WrapMode.NONE) - # self.table_env.set_property('font', 'Ubuntu Mono 13px') - self.table_env.set_property('pixels-above-lines', 0) - self.table_env.set_property('pixels-below-lines', 0) - - # self.ftag = self.TextBuffer.create_tag("pix_front", pixels_above_lines = 100) - regex = { - "ITALIC": re.compile(r"\*\w(.+?)\*| _\w(.+?)_ |\*(.)\*| _(.)_ ", re.UNICODE), # *asdasd* // _asdasd asd asd_ - "STRONG": re.compile(r"\*{2}\w(.+?)\*{2}|\*{2}(.)\*{2}| [_]{2}\w(.+?)[_]{2} | [_]{2}(.)[_]{2} ", re.UNICODE), # **as das** // __asdasdasd asd ad a__ - "STRONGITALIC": re.compile(r"\*{3}\w(.+?)\*{3}|\*{3}(.)\*{3}| [_]{3}\w(.+?)[_]{3} | [_]{3}(.)[_]{3} "), - "BLOCKQUOTE": re.compile(r"^([\>]+ )", re.MULTILINE), - "STRIKETHROUGH": re.compile(r"~~[^ `~\n].+?~~"), - "LIST": re.compile(r"^[\-\*\+] ", re.MULTILINE), - "NUMERICLIST": re.compile(r"^((\d|[a-z]|\#)+[\.\)]) ", re.MULTILINE), - "INDENTEDLIST": re.compile(r"^(\t{1,6})((\d|[a-z]|\#)+[\.\)]|[\-\*\+]) ", re.MULTILINE), - "HEADINDICATOR": re.compile(r"^(#{1,6}) ", re.MULTILINE), - "HEADLINE": re.compile(r"^(#{1,6} [^\n]+)", re.MULTILINE), - "HEADLINE_TWO": re.compile(r"^\w.+\n[\=\-]{3,}", re.MULTILINE), - "MATH": re.compile(r"[\$]{1,2}([^` ].+?[^`\\ ])[\$]{1,2}"), - "HORIZONTALRULE": re.compile(r"(\n\n[\*\-]{3,}\n)"), - "TABLE": re.compile(r"^[\-\+]{5,}\n(.+?)\n[\-\+]{5,}\n", re.DOTALL), - "LINK": re.compile(r"\(http(.+?)\)") - } - - def markup_buffer(self, mode=0): - buf = self.TextBuffer - - # Test for shifting first line - # bbs = buf.get_start_iter() - # bbb = buf.get_iter_at_offset(3) - - # buf.apply_tag(self.ftag, bbs, bbb) - - # Modes: - # 0 -> start to end - # 1 -> around the cursor - # 2 -> n.d. - - if mode == 0: - context_start = buf.get_start_iter() - context_end = buf.get_end_iter() - context_offset = 0 - elif mode == 1: - cursor_mark = buf.get_insert() - context_start = buf.get_iter_at_mark(cursor_mark) - context_start.backward_lines(3) - context_end = buf.get_iter_at_mark(cursor_mark) - context_end.forward_lines(2) - context_offset = context_start.get_offset() - - text = buf.get_slice(context_start, context_end, False) - - self.TextBuffer.remove_tag(self.italic, context_start, context_end) - - matches = re.finditer(self.regex["ITALIC"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.italic, startIter, endIter) - - self.TextBuffer.remove_tag(self.emph, context_start, context_end) - - matches = re.finditer(self.regex["STRONG"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.emph, startIter, endIter) - - matches = re.finditer(self.regex["STRONGITALIC"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.bolditalic, startIter, endIter) - - self.TextBuffer.remove_tag(self.strikethrough, context_start, context_end) - - matches = re.finditer(self.regex["STRIKETHROUGH"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.strikethrough, startIter, endIter) - - self.TextBuffer.remove_tag(self.green_text, context_start, context_end) - - matches = re.finditer(self.regex["MATH"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.green_text, startIter, endIter) - - for margin in self.rev_leftmargin: - self.TextBuffer.remove_tag(margin, context_start, context_end) - - matches = re.finditer(self.regex["LIST"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.rev_leftmargin[0], startIter, endIter) - - matches = re.finditer(self.regex["NUMERICLIST"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - index = len(match.group(1)) - 1 - if index < len(self.rev_leftmargin): - margin = self.rev_leftmargin[index] - self.TextBuffer.apply_tag(margin, startIter, endIter) - - matches = re.finditer(self.regex["BLOCKQUOTE"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - index = len(match.group(1)) - 2 - if index < len(self.leftmargin): - self.TextBuffer.apply_tag(self.leftmargin[index], startIter, endIter) - - for leftindent in self.leftindent: - self.TextBuffer.remove_tag(leftindent, context_start, context_end) - - matches = re.finditer(self.regex["INDENTEDLIST"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - index = (len(match.group(1)) - 1) * 2 + len(match.group(2)) - if index < len(self.leftindent): - self.TextBuffer.apply_tag(self.leftindent[index], startIter, endIter) - - matches = re.finditer(self.regex["HEADINDICATOR"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - index = len(match.group(1)) - 1 - if index < len(self.rev_leftmargin): - margin = self.rev_leftmargin[index] - self.TextBuffer.apply_tag(margin, startIter, endIter) - - matches = re.finditer(self.regex["HORIZONTALRULE"], text) - rulecontext = context_start.copy() - rulecontext.forward_lines(3) - self.TextBuffer.remove_tag(self.centertext, rulecontext, context_end) - - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - startIter.forward_chars(2) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.centertext, startIter, endIter) - - matches = re.finditer(self.regex["HEADLINE"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.emph, startIter, endIter) - - matches = re.finditer(self.regex["HEADLINE_TWO"], text) - self.TextBuffer.remove_tag(self.headline_two, rulecontext, context_end) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.headline_two, startIter, endIter) - - matches = re.finditer(self.regex["TABLE"], text) - for match in matches: - startIter = buf.get_iter_at_offset(context_offset + match.start()) - endIter = buf.get_iter_at_offset(context_offset + match.end()) - self.TextBuffer.apply_tag(self.table_env, startIter, endIter) - - if self.parent.focusmode: - self.focusmode_highlight() - - def focusmode_highlight(self): - self.TextBuffer.apply_tag(self.grayfont, - self.TextBuffer.get_start_iter(), - self.TextBuffer.get_end_iter()) - - self.TextBuffer.remove_tag(self.blackfont, - self.TextBuffer.get_start_iter(), - self.TextBuffer.get_end_iter()) - - cursor = self.TextBuffer.get_mark("insert") - cursor_iter = self.TextBuffer.get_iter_at_mark(cursor) - - end_sentence = cursor_iter.copy() - end_sentence.forward_sentence_end() - - end_line = cursor_iter.copy() - end_line.forward_to_line_end() - - comp = end_line.compare(end_sentence) - # if comp < 0, end_line is BEFORE end_sentence - if comp <= 0: - end_sentence = end_line - - start_sentence = cursor_iter.copy() - start_sentence.backward_sentence_start() - - self.TextBuffer.apply_tag(self.blackfont, - start_sentence, end_sentence) - - def set_multiplier(self, multiplier): - self.multiplier = multiplier - - def recalculate(self, lm): - multiplier = self.multiplier - for i in range(0, 6): - new_margin = (lm - multiplier) - multiplier * (i + 1) - self.rev_leftmargin[i].set_property("left-margin", 0 if new_margin < 0 else new_margin) - self.rev_leftmargin[i].set_property("indent", - multiplier * (i + 1) - multiplier) - - for i in range(0, 6): - new_margin = (lm - multiplier) + multiplier + multiplier * (i + 1) - self.leftmargin[i].set_property("left-margin", 0 if new_margin < 0 else new_margin) - self.leftmargin[i].set_property("indent", - (multiplier - 1) * (i + 1) - multiplier) - - def dark_mode(self, active=False): - if active: - self.green_text.set_property("foreground", "#FA5B0F") - self.grayfont.set_property("foreground", "#666") - self.blackfont.set_property("foreground", "#CCC") - else: - self.green_text.set_property("foreground", "#00364C") - self.grayfont.set_property("foreground", "gray") - self.blackfont.set_property("foreground", "#222") diff --git a/uberwriter/Settings.py b/uberwriter/Settings.py deleted file mode 100644 index 1495e6a..0000000 --- a/uberwriter/Settings.py +++ /dev/null @@ -1,38 +0,0 @@ -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -from gi.repository import Gtk, Gdk, GLib, Gio - -from gettext import gettext as _ - -class Settings(Gio.Settings): - - """ - UberWriter Settings - """ - - def __init__(self): - """ - Init Settings - """ - Gio.Settings.__init__(self) - - def new(): - """ - Return a new Settings object - """ - settings = Gio.Settings.new("de.wolfvollprecht.UberWriter") - settings.__class__ = Settings - return settings \ No newline at end of file diff --git a/uberwriter/UberwriterAdvancedExportDialog.py b/uberwriter/UberwriterAdvancedExportDialog.py deleted file mode 100644 index 2705ece..0000000 --- a/uberwriter/UberwriterAdvancedExportDialog.py +++ /dev/null @@ -1,255 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -from gi.repository import Gtk -import os -import subprocess -import gettext - -from gettext import gettext as _ - -import logging -logger = logging.getLogger('uberwriter') - -from uberwriter_lib.AdvancedExportDialog import AdvancedExportDialog - -# See uberwriter_lib.AboutDialog.py for more details about how this class works. -class UberwriterAdvancedExportDialog(AdvancedExportDialog): - __gtype_name__ = "UberwriterAdvancedExportDialog" - - def finish_initializing(self, builder): # pylint: disable=E1002 - """Set up the about dialog""" - super(UberwriterAdvancedExportDialog, self).finish_initializing(builder) - - # Code for other initialization actions should be added here. - - self.builder.get_object("highlight_style").set_active(0) - - format_store = Gtk.ListStore(int, str) - for fmt_id in self.formats_dict: - format_store.append([fmt_id, self.formats_dict[fmt_id]["name"]]) - self.format_field = builder.get_object('choose_format') - self.format_field.set_model(format_store) - - format_renderer = Gtk.CellRendererText() - self.format_field.pack_start(format_renderer, True) - self.format_field.add_attribute(format_renderer, "text", 1) - self.format_field.set_active(0) - self.show_all() - - formats_dict = { - 1: { - "name": "LaTeX Source", - "ext": "tex", - "to": "latex" - }, - 2: { - "name": "LaTeX PDF", - "ext": "pdf", - "to": "pdf" - }, - 3: { - "name": "LaTeX beamer slide show Source .tex", - "ext": "tex", - "to": "beamer" - }, - 4: { - "name": "LaTeX beamer slide show PDF", - "ext": "pdf", - "to": "beamer" - }, - 5: { - "name": "HTML", - "ext": "html", - "to": "html" - }, - 6: { - "name": "Textile", - "ext": "txt", - "to": "textile" - }, - 7: { - "name": "OpenOffice text document", - "ext": "odt", - "to": "odt" - }, - 8: { - "name": "Word docx", - "ext": "docx", - "to": "docx" - }, - 9: { - "name": "reStructuredText txt", - "ext": "txt", - "to": "rst" - }, - 10: { - "name": "ConTeXt tex", - "ext": "tex", - "to": "context" - }, - 11: { - "name": "groff man", - "ext": "man", - "to": "man" - }, - 12: { - "name": "MediaWiki markup", - "ext": "txt", - "to": "mediawiki" - }, - 13: { - "name": "OpenDocument XML", - "ext": "xml", - "to": "opendocument" - }, - 14: { - "name": "OpenDocument XML", - "ext": "texi", - "to": "texinfo" - }, - 15: { - "name": "Slidy HTML and javascript slide show", - "ext": "html", - "to": "slidy" - }, - 16: { - "name": "Slideous HTML and javascript slide show", - "ext": "html", - "to": "slideous" - }, - 17: { - "name": "HTML5 + javascript slide show", - "ext": "html", - "to": "dzslides" - }, - 18: { - "name": "S5 HTML and javascript slide show", - "ext": "html", - "to": "s5" - }, - 19: { - "name": "EPub electronic publication", - "ext": "epub", - "to": "epub" - }, - 20: { - "name": "RTF Rich Text Format", - "ext": "rtf", - "to": "rtf" - } - - } - - def advanced_export(self, text = ""): - tree_iter = self.format_field.get_active_iter() - if tree_iter != None: - model = self.format_field.get_model() - row_id, name = model[tree_iter][:2] - - fmt = self.formats_dict[row_id] - logger.info(fmt) - filechooser = Gtk.FileChooserDialog( - "Export as %s" % fmt["name"], - self, - Gtk.FileChooserAction.SAVE, - (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, - Gtk.STOCK_SAVE, Gtk.ResponseType.OK) - ) - - filechooser.set_do_overwrite_confirmation(True) - - response = filechooser.run() - if response == Gtk.ResponseType.OK: - filename = filechooser.get_filename() - filechooser.destroy() - else: - filechooser.destroy() - return - - output_dir = os.path.abspath(os.path.join(filename, os.path.pardir)) - - basename = os.path.basename(filename) - - args = ['pandoc', '--from=markdown'] - - to = "--to=%s" % fmt["to"] - - if basename.endswith("." + fmt["ext"]): - output_file = "--output=%s" % basename - else: - output_file = "--output=%s.%s" % (basename, fmt["ext"]) - - if self.builder.get_object("toc").get_active(): - args.append('--toc') - if self.builder.get_object("normalize").get_active(): - args.append('--normalize') - if self.builder.get_object("smart").get_active(): - args.append('--smart') - - if self.builder.get_object("highlight").get_active == False: - args.append('--no-highlight') - else: - hs = self.builder.get_object("highlight_style").get_active_text() - args.append("--highlight-style=%s" % hs) - - if self.builder.get_object("standalone").get_active(): - args.append("--standalone") - - if self.builder.get_object("number_sections").get_active(): - args.append("--number-sections") - - if self.builder.get_object("strict").get_active(): - args.append("--strict") - - if self.builder.get_object("incremental").get_active(): - args.append("--incremental") - - if self.builder.get_object("self_contained").get_active(): - args.append("--self-contained") - - if self.builder.get_object("html5").get_active(): - if fmt["to"] == "html": - to = "--to=%s" % "html5" - - # Pandoc can't handle verbose -t pdf (#571) - - if fmt["to"] != "pdf": - args.append(to) - - css_uri = self.builder.get_object("css_filechooser").get_uri() - if css_uri: - if css_uri.startswith("file://"): - css_uri = css_uri[7:] - args.append("--css=%s" % css_uri) - - bib_uri = self.builder.get_object("bib_filechooser").get_uri() - if bib_uri: - if bib_uri.startswith("file://"): - bib_uri = bib_uri[7:] - args.append("--bibliography=%s" % bib_uri) - - - args.append(output_file) - - logger.info(args) - - p = subprocess.Popen(args, stdin=subprocess.PIPE, - stdout=subprocess.PIPE, cwd=output_dir) - - output = p.communicate(text)[0] - - return filename diff --git a/uberwriter/UberwriterAutoCorrect.py b/uberwriter/UberwriterAutoCorrect.py deleted file mode 100644 index ff9d0a0..0000000 --- a/uberwriter/UberwriterAutoCorrect.py +++ /dev/null @@ -1,220 +0,0 @@ -# UberwriterAutoCorrect -# The Uberwriter Auto Correct is a auto correction -# mechanism to prevent stupid typos -# import presage -from gi.repository import Gtk, Gdk - -import uberwriter_lib.pressagio as pressagio -import enchant - - -# d = enchant.Dict("de_DE") -import re - -import uberwriter_lib.pressagio.predictor -import uberwriter_lib.pressagio.tokenizer -import uberwriter_lib.pressagio.dbconnector -import uberwriter_lib.pressagio.context_tracker -import uberwriter_lib.pressagio.callback - -import xml.etree.ElementTree as ET -import pickle - -from Levenshtein import distance - -import configparser -from uberwriter_lib.helpers import get_media_path - -# Define and create PresageCallback object - -class PressagioCallback(pressagio.callback.Callback): - def __init__(self, buffer): - super().__init__() - self.buffer = buffer - - def past_stream(self): - return self.buffer - - def future_stream(self): - return '' - -class UberwriterAutoCorrect: - - def show_bubble(self, iter, suggestion): - self.suggestion = suggestion - if self.bubble: - self.bubble_label.set_text(suggestion) - else: - pos = self.TextView.get_iter_location(iter) - pos_adjusted = self.TextView.buffer_to_window_coords( - Gtk.TextWindowType.TEXT, pos.x, pos.y + pos.height) - self.bubble_eventbox = Gtk.EventBox.new() - self.bubble = Gtk.Grid.new() - self.bubble.set_name("AutoCorrect") - self.bubble_eventbox.add(self.bubble) - self.bubble_eventbox.add_events(Gdk.EventMask.BUTTON_PRESS_MASK) - self.bubble_eventbox.connect("button_press_event", self.clicked_bubble) - self.TextView.add_child_in_window(self.bubble_eventbox, - Gtk.TextWindowType.TEXT, pos_adjusted[0], pos_adjusted[1]) - - self.bubble_label = Gtk.Label.new(suggestion) - - self.bubble.attach(self.bubble_label, 0, 0, 1, 1) - self.bubble_close_eventbox = Gtk.EventBox.new() - self.bubble_close_eventbox.add_events(Gdk.EventMask.BUTTON_PRESS_MASK) - self.bubble_close_eventbox.connect("button_press_event", self.clicked_close) - close = Gtk.Image.new_from_icon_name('dialog-close', Gtk.IconSize.SMALL_TOOLBAR) - self.bubble_close_eventbox.add(close) - self.bubble.attach(self.bubble_close_eventbox, 1, 0, 1, 1) - self.bubble_eventbox.show_all() - - def clicked_bubble(self, widget, data=None): - self.accept_suggestion() - - def clicked_close(self, widget, data=None): - self.destroy_bubble() - - def suggest(self, stump, context): - if self.enchant_dict.check(stump): - self.destroy_bubble() - return - - self.callback.buffer = ' '.join(context) + ' ' + stump - self.callback.buffer = self.callback.buffer.lstrip().rstrip() - predictions = [] - if self.use_pressagio: - predictions = self.prsgio.predict(6, None) - prediction = None - if not len(predictions): - if self.enchant_dict.check(stump): - self.destroy_bubble() - return - predictions = self.enchant_dict.suggest(stump) - suggestions_map = [] - for suggestion in predictions: - if suggestion in self.frequency_dict: - suggestions_map.append({'suggestion': suggestion, 'freq': self.frequency_dict[suggestion]}) - else: - suggestions_map.append({'suggestion': suggestion, 'freq': 0}) - - suggestions_map.sort(key=lambda x: x['freq']) - suggestions_map.reverse() - prediction = suggestions_map[0] - print(predictions) - prediction = predictions[0] - else: - prediction = predictions[0].word - anchor_iter = self.buffer.get_iter_at_mark(self.buffer.get_insert()) - anchor_iter.backward_visible_word_start() - if len(stump) >= 1: - self.show_bubble(anchor_iter, prediction) - - def destroy_bubble(self, *args): - if not self.bubble: - return - self.bubble.destroy() - self.bubble = None - self.suggestion = '' - - def get_frequency_dict(self, language): - self.frequency_dict = {} - pp_pickled = get_media_path("frequency_dict_" + self.language + ".pickle") - if pp_pickled and os.path.isfile(pp_pickled): - f = open(pp_pickled, 'rb') - self.frequency_dict = pickle.load(f) - f.close() - else: - pp = get_media_path('wordlists/en_us_wordlist.xml') - frequencies = ET.parse(pp) - root = frequencies.getroot() - for child in root: - self.frequency_dict[child.text] = int(child.attrib['f']) - f = open('pickled_dict', 'wb+') - pickle.dump(self.frequency_dict, f) - f.close() - - def accept_suggestion(self, append=""): - print("called") - curr_iter = self.buffer.get_iter_at_mark(self.buffer.get_insert()) - start_iter = curr_iter.copy() - start_iter.backward_visible_word_start() - self.buffer.delete(start_iter, curr_iter) - self.buffer.insert_at_cursor(self.suggestion + append) - self.destroy_bubble() - - def key_pressed(self, widget, event): - if not self.bubble: - return False - if event.keyval in [Gdk.KEY_Escape, Gdk.KEY_BackSpace]: - self.destroy_bubble() - return False - - def text_insert(self, buffer, location, - text, len, data=None): - # check if at end of a word - # if yes, check if suggestion available - # then display suggetion - if self.suggestion and text in [' ', '\t', '\n', '.', '?', '!', ',', ';', '\'', '"', ')', ':']: - self.accept_suggestion(append=text) - location.assign(self.buffer.get_iter_at_mark(self.buffer.get_insert())) - elif location.ends_word(): - iter_start = location.copy() - iter_start.backward_visible_word_starts(3) - text = buffer.get_text(iter_start, location, False) - words = text.split() - self.suggest(words[-1], words[0:-1]) - - def disable(self): - self.disabled = True - - def enable(self): - self.disabled = False - - def set_language(self, language): - print("Language changed to: %s" % language) - - # handle 2 char cases e.g. "en" - if(len(language) == 2): - if "en": - language = "en_US" - - if self.language == language: - return - - else: - self.language = language - print("Language changing") - config_file = get_media_path("pressagio_config.ini") - pres_config = configparser.ConfigParser() - pres_config.read(config_file) - pres_config.set("Database", "database", get_media_path("corpora/" + self.language + ".sqlite")) - self.context_tracker = pressagio.context_tracker.ContextTracker( - pres_config, self.predictor_registry, self.callback) - self.prsgio = self.predictor_registry[0] - - self.enchant_dict = enchant.Dict(self.language) - - def __init__(self, textview, textbuffer): - self.TextView = textview - self.buffer = textbuffer - self.suggestion = "" - self.bubble = self.bubble_label = None - self.buffer.connect_after('insert-text', self.text_insert) - self.TextView.connect('key-press-event', self.key_pressed) - - self.language = "en_US" - self.frequency_dict = {} - self.get_frequency_dict(self.language) - self.enchant_dict = enchant.Dict(self.language) - - self.use_pressagio = False - config_file = get_media_path("pressagio_config.ini") - pres_config = configparser.ConfigParser() - pres_config.read(config_file) - pres_config.set("Database", "database", get_media_path("corpora/" + self.language + ".sqlite")) - self.callback = PressagioCallback("") - - self.predictor_registry = pressagio.predictor.PredictorRegistry(pres_config) - self.context_tracker = pressagio.context_tracker.ContextTracker( - pres_config, self.predictor_registry, self.callback) - self.prsgio = self.predictor_registry[0] \ No newline at end of file diff --git a/uberwriter/UberwriterInlinePreview.py b/uberwriter/UberwriterInlinePreview.py deleted file mode 100644 index bb57d2c..0000000 --- a/uberwriter/UberwriterInlinePreview.py +++ /dev/null @@ -1,536 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -import os -import re -import http.client -import urllib -from urllib.error import URLError, HTTPError -import webbrowser -import gettext -import subprocess -import tempfile - -import threading -from pprint import pprint - -from gi.repository import Gtk, Gdk, GdkPixbuf, GObject -from uberwriter_lib import LatexToPNG -from .Settings import Settings - -from .FixTable import FixTable - -from .MarkupBuffer import MarkupBuffer - -from gettext import gettext as _ - -import logging -logger = logging.getLogger('uberwriter') - -GObject.threads_init() # Still needed? - -# TODO: -# - Don't insert a span with id, it breaks the text to often -# Would be better to search for the nearest title and generate -# A jumping URL from that (for preview) -# Also, after going to preview, set cursor back to where it was - -import telnetlib - -import subprocess - -class DictAccessor(object): - - def __init__( self, host='pan.alephnull.com', port=2628, timeout=60 ): - self.tn = telnetlib.Telnet( host, port ) - self.timeout = timeout - self.login_response = self.tn.expect( [ self.reEndResponse ], self.timeout )[ 2 ] - - - def getOnline(self, word): - p = subprocess.Popen(['dict', '-d', 'wn', word], stdout=subprocess.PIPE) - return p.communicate()[0] - - def runCommand( self, cmd ): - self.tn.write( cmd.encode('utf-8') + b'\r\n' ) - return self.tn.expect( [ self.reEndResponse ], self.timeout )[ 2 ] - - def getMatches( self, database, strategy, word ): - if database in [ '', 'all' ]: - d = '*' - else: - d = database - if strategy in [ '', 'default' ]: - s = '.' - else: - s = strategy - w = word.replace( '"', r'\"' ) - tsplit = self.runCommand( 'MATCH %s %s "%s"' % ( d, s, w ) ).splitlines( ) - mlist = list( ) - if tsplit[ -1 ].startswith( b'250 ok' ) and tsplit[ 0 ].startswith( b'1' ): - mlines = tsplit[ 1:-2 ] - for line in mlines: - lsplit = line.strip( ).split( ) - db = lsplit[ 0 ] - word = unquote( ' '.join( lsplit[ 1: ] ) ) - mlist.append( ( db, word ) ) - return mlist - - reEndResponse = re.compile( b'^[2-5][0-58][0-9] .*\r\n$', re.DOTALL + re.MULTILINE ) - reDefinition = re.compile( b'^151(.*?)^\.', re.DOTALL + re.MULTILINE ) - - def getDefinition( self, database, word ): - if database in [ '', 'all' ]: - d = '*' - else: - d = database - w = word.replace( '"', r'\"' ) - dsplit = self.runCommand( 'DEFINE %s "%s"' % ( d, w ) ).splitlines( True ) - # dsplit = self.getOnline(word).splitlines() - - dlist = list( ) - if dsplit[ -1 ].startswith( b'250 ok' ) and dsplit[ 0 ].startswith( b'1' ): - dlines = dsplit[ 1:-1 ] - dtext = b''.join( dlines ) - dlist = self.reDefinition.findall( dtext ) - # print(dlist) - dlist = [ dtext ] - # dlist = dsplit # not using the localhost telnet connection - return dlist - - def close( self ): - t = self.runCommand( 'QUIT' ) - self.tn.close( ) - return t - - def parse_wordnet(self, response): - # consisting of group (n,v,adj,adv) - # number, description, examples, synonyms, antonyms - capture = {} - lines = response.splitlines() - lines = lines[2:] - lines = ' '.join(lines) - lines = re.sub('\s+', ' ', lines).strip() - lines = re.split(r'( adv | adj | n | v |^adv |^adj |^n |^v )', lines) - res = [] - act_res = {'defs': [], 'class': 'none', 'num': 'None'} - for l in lines: - l = l.strip() - if len(l) == 0: - continue - if l in ['adv', 'adj', 'n', 'v']: - if act_res: - res.append(act_res.copy()) - act_res = {} - act_res['defs'] = [] - act_res['class'] = l - else: - ll = re.split('(?: |^)(\d): ', l) - act_def = {} - for lll in ll: - if lll.strip().isdigit() or not lll.strip(): - if 'description' in act_def and act_def['description']: - act_res['defs'].append(act_def.copy()) - act_def = {'num': lll} - continue - a = re.findall(r'(\[(syn|ant): (.+?)\] ??)+', lll) - for n in a: - if n[1] == 'syn': - act_def['syn'] = re.findall(r'\{(.*?)\}.*?', n[2]) - else: - act_def['ant'] = re.findall(r'\{(.*?)\}.*?', n[2]) - tbr = re.search(r'\[.+\]', lll) - if tbr: - lll = lll[:tbr.start()] - lll = lll.split(';') - act_def['examples'] = [] - act_def['description'] = [] - for llll in lll: - llll = llll.strip() - if(llll.strip().startswith('"')): - act_def['examples'].append(llll) - else: - act_def['description'].append(llll) - - if act_def and 'description' in act_def: - act_res['defs'].append(act_def.copy()) - - # pprint(act_res) - res.append(act_res.copy()) - return res - -def check_url(url, item, spinner): - logger.debug("thread started, checking url") - error = False - try: - response = urllib.request.urlopen(url) - except URLError as e: - error = True - text = "Error! Reason: %s" % e.reason - - if not error: - if (response.code / 100) >= 4: - logger.debug("Website not available") - text = _("Website is not available") - else: - text = _("Website is available") - logger.debug("Response: %s" % text) - spinner.destroy() - item.set_label(text) - -def get_dictionary(term): - da = DictAccessor() - output = da.getDefinition('wn', term) - if(len(output)): - output = output[0] - else: - return None - return da.parse_wordnet(output.decode(encoding='UTF-8')) - -def get_web_thumbnail(url, item, spinner): - logger.debug("thread started, generating thumb") - - # error = False - - # gnome-web-photo only understands http urls - if url.startswith("www"): - url = "http://" + url - - filename = tempfile.mktemp(suffix='.png') - thumb_size = '256' # size can only be 32, 64, 96, 128 or 256! - args = ['gnome-web-photo', '--mode=thumbnail', '-s', thumb_size, url, filename] - p = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE) - output = p.communicate()[0] - - image = Gtk.Image.new_from_file(filename) - image.show() - - # if not error: - # if (response.code / 100) >= 4: - # logger.debug("Website not available") - # text = _("Website is not available") - # else: - # text = _("Website is available") - - spinner.destroy() - item.add(image) - item.show() - -def fill_lexikon_bubble(vocab, lexikon_dict): - grid = Gtk.Grid.new() - i = 0 - grid.set_name('LexikonBubble') - grid.set_row_spacing(2) - grid.set_column_spacing(4) - if lexikon_dict: - for entry in lexikon_dict: - vocab_label = Gtk.Label.new(vocab + ' ~ ' + entry['class']) - vocab_label.get_style_context().add_class('lexikon_heading') - vocab_label.set_halign(Gtk.Align.START) - vocab_label.set_justify(Gtk.Justification.LEFT) - grid.attach(vocab_label, 0, i, 3, 1) - - for definition in entry['defs']: - i = i + 1 - num_label = Gtk.Label.new(definition['num']) - num_label.get_style_context().add_class('lexikon_num') - num_label.set_justify(Gtk.Justification.RIGHT) - grid.attach(num_label, 0, i, 1, 1) - - def_label = Gtk.Label.new(' '.join(definition['description'])) - def_label.set_halign(Gtk.Align.START) - def_label.set_justify(Gtk.Justification.LEFT) - def_label.get_style_context().add_class('lexikon_definition') - def_label.props.wrap = True - grid.attach(def_label, 1, i, 1, 1) - i = i + 1 - grid.show_all() - return grid - else: - return None - - - -class UberwriterInlinePreview(): - - def __init__(self, view, text_buffer): - self.TextView = view - self.TextBuffer = text_buffer - self.LatexConverter = LatexToPNG.LatexToPNG() - cursor_mark = self.TextBuffer.get_insert() - cursor_iter = self.TextBuffer.get_iter_at_mark(cursor_mark) - self.ClickMark = self.TextBuffer.create_mark('click', cursor_iter) - # Events for popup menu - # self.TextView.connect_after('populate-popup', self.populate_popup) - # self.TextView.connect_after('popup-menu', self.move_popup) - self.TextView.connect('button-press-event', self.click_move_button) - self.popover = None - self.settings = Settings.new() - - def open_popover_with_widget(self, widget): - a = self.TextBuffer.create_child_anchor(self.TextBuffer.get_iter_at_mark(self.ClickMark)) - lbl = Gtk.Label('') - self.TextView.add_child_at_anchor(lbl, a) - lbl.show() - # a = Gtk.Window.new(Gtk.WindowType.POPUP) - # a.set_transient_for(self.TextView.get_toplevel()) - # a.grab_focus() - # a.set_name("QuickPreviewPopup") - # # a.set_attached_to(self.TextView) - # a.move(300, 300) - # a.set_modal(True) - # def close(widget, event, *args): - # if(event.keyval == Gdk.KEY_Escape): - # widget.destroy() - # a.connect('key-press-event', close) - b = Gtk.Grid.new() - alignment = Gtk.Alignment() - alignment.props.margin_bottom = 5 - alignment.props.margin_top = 5 - alignment.props.margin_left = 4 - alignment.add(widget) - # self.TextView.add_child_in_window(b, Gtk.TextWindowType.WIDGET, 200, 200) - # b.attach(Gtk.Label.new("test 123"), 0, 0, 1, 1) - # b.show_all() - # a.show_all() - self.popover = Gtk.Popover.new(lbl) - self.popover.add(alignment) - # a.add(alignment) - dismiss, rect = self.popover.get_pointing_to() - rect.y = rect.y - 20 - self.popover.set_pointing_to(rect) - # widget = Gtk.Label.new("testasds a;12j3 21 lk3j213") - widget.show_all() - - # b.attach(widget, 0, 1, 1, 1) - self.popover.set_modal(True) - self.popover.show_all() - # print(self.popover) - self.popover.set_property('width-request', 50) - - def click_move_button(self, widget, event): - if event.button == 1 and event.state & Gdk.ModifierType.CONTROL_MASK: - x, y = self.TextView.window_to_buffer_coords(2, - int(event.x), - int(event.y)) - self.TextBuffer.move_mark(self.ClickMark, - self.TextView.get_iter_at_location(x, y).iter) - self.populate_popup(self.TextView) - - def fix_table(self, widget, data=None): - logger.debug('fixing that table') - f = FixTable(self.TextBuffer) - f.fix_table() - - def populate_popup(self, editor, data=None): - # popover = Gtk.Popover.new(editor) - # pop_cont = Gtk.Container.new() - # popover.add(pop_cont) - # popover.show_all() - - item = Gtk.MenuItem.new() - item.set_name("PreviewMenuItem") - separator = Gtk.SeparatorMenuItem.new() - - # table_item = Gtk.MenuItem.new() - # table_item.set_label('Fix that table') - - # table_item.connect('activate', self.fix_table) - # table_item.show() - # menu.prepend(table_item) - # menu.show() - - start_iter = self.TextBuffer.get_iter_at_mark(self.ClickMark) - # Line offset of click mark - line_offset = start_iter.get_line_offset() - end_iter = start_iter.copy() - start_iter.set_line_offset(0) - end_iter.forward_to_line_end() - - text = self.TextBuffer.get_text(start_iter, end_iter, False) - - math = MarkupBuffer.regex["MATH"] - link = MarkupBuffer.regex["LINK"] - - footnote = re.compile('\[\^([^\s]+?)\]') - image = re.compile("!\[(.*?)\]\((.+?)\)") - - buf = self.TextBuffer - context_offset = 0 - - matchlist = [] - - found_match = False - - matches = re.finditer(math, text) - for match in matches: - logger.debug(match.group(1)) - if match.start() < line_offset and match.end() > line_offset: - success, result = self.LatexConverter.generatepng(match.group(1)) - if success: - image = Gtk.Image.new_from_file(result) - image.show() - logger.debug("logging image") - # item.add(image) - self.open_popover_with_widget(image) - else: - label = Gtk.Label() - msg = 'Formula looks incorrect:\n' + result - label.set_alignment(0.0, 0.5) - label.set_text(msg) - label.show() - item.add(label) - self.open_popover_with_widget(item) - item.show() - # menu.prepend(separator) - # separator.show() - # menu.prepend(item) - # menu.show() - found_match = True - break - - if not found_match: - # Links - matches = re.finditer(link, text) - for match in matches: - if match.start() < line_offset and match.end() > line_offset: - text = text[text.find("http://"):-1] - - item.connect("activate", lambda w: webbrowser.open(text)) - - logger.debug(text) - - statusitem = Gtk.MenuItem.new() - statusitem.show() - - spinner = Gtk.Spinner.new() - spinner.start() - statusitem.add(spinner) - spinner.show() - - thread = threading.Thread(target=check_url, - args=(text, statusitem, spinner)) - thread.start() - - webphoto_item = Gtk.MenuItem.new() - webphoto_item.show() - spinner_2 = Gtk.Spinner.new() - spinner_2.start() - webphoto_item.add(spinner_2) - spinner_2.show() - - thread_image = threading.Thread(target=get_web_thumbnail, - args=(text, webphoto_item, spinner_2)) - - thread_image.start() - - item.set_label(_("Open Link in Webbrowser")) - item.show() - self.open_popover_with_widget(webphoto_item) - - # menu.prepend(separator) - # separator.show() - - # menu.prepend(webphoto_item) - # menu.prepend(statusitem) - # menu.prepend(item) - # menu.show() - - - found_match = True - break - - if not found_match: - matches = re.finditer(image, text) - for match in matches: - if match.start() < line_offset and match.end() > line_offset: - path = match.group(2) - if path.startswith("file://"): - path = path[7:] - elif not path.startswith("/"): - # then the path is relative - base_path = self.settings.get_value("open-file-path").get_string() - path = base_path + "/" + path - - logger.info(path) - pb = GdkPixbuf.Pixbuf.new_from_file_at_size(path, 400, 300) - image = Gtk.Image.new_from_pixbuf(pb) - image.show() - self.open_popover_with_widget(image) - item.set_property('width-request', 50) - - # item.add(image) - # item.set_property('width-request', 50) - # item.show() - # menu.prepend(separator) - # separator.show() - # menu.prepend(item) - # menu.show() - found_match = True - break - - if not found_match: - matches = re.finditer(footnote, text) - for match in matches: - if match.start() < line_offset and match.end() > line_offset: - logger.debug(match.group(1)) - footnote_match = re.compile("\[\^" + match.group(1) + "\]: (.+(?:\n|\Z)(?:^[\t].+(?:\n|\Z))*)", re.MULTILINE) - replace = re.compile("^\t", re.MULTILINE) - start, end = self.TextBuffer.get_bounds() - fn_match = re.search(footnote_match, self.TextBuffer.get_text(start, end, False)) - label = Gtk.Label() - label.set_alignment(0.0, 0.5) - logger.debug(fn_match) - if fn_match: - result = re.sub(replace, "", fn_match.group(1)) - if result.endswith("\n"): - result = result[:-1] - else: - result = _("No matching footnote found") - label.set_max_width_chars(40) - label.set_line_wrap(True) - label.set_text(result) - label.show() - item.add(label) - item.show() - self.open_popover_with_widget(item) - - # menu.prepend(separator) - # separator.show() - # menu.prepend(item) - # menu.show() - found_match = True - break - - if not found_match: - start_iter = self.TextBuffer.get_iter_at_mark(self.ClickMark) - start_iter.backward_word_start() - end_iter = start_iter.copy() - end_iter.forward_word_end() - word = self.TextBuffer.get_text(start_iter, end_iter, False) - terms = get_dictionary(word) - if terms: - sc = Gtk.ScrolledWindow.new() - sc.add(fill_lexikon_bubble(word, terms)) - sc.props.width_request = 500 - sc.props.height_request = 400 - sc.show_all() - self.open_popover_with_widget(sc) - - return - - def move_popup(self): - pass diff --git a/uberwriter/UberwriterSearchAndReplace.py b/uberwriter/UberwriterSearchAndReplace.py deleted file mode 100644 index efc4ca1..0000000 --- a/uberwriter/UberwriterSearchAndReplace.py +++ /dev/null @@ -1,173 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -import os, re -import subprocess -from gi.repository import Gtk, Gdk -import time -# from plugins import plugins - -import logging -logger = logging.getLogger('uberwriter') - -class UberwriterSearchAndReplace(): - """ - Adds (regex) search and replace functionality to - uberwriter - """ - def __init__(self, parentwindow): - self.parentwindow = parentwindow - self.box = parentwindow.builder.get_object("searchbar_placeholder") - self.box.set_reveal_child(False) - self.searchbar=parentwindow.builder.get_object("searchbar") - self.searchentry = parentwindow.builder.get_object("searchentrybox") - self.searchentry.connect('changed', self.search) - self.searchentry.connect('activate', self.scrolltonext) - self.searchentry.connect('key-press-event', self.key_pressed) - - self.open_replace_button = parentwindow.builder.get_object("replace") - self.open_replace_button.connect("toggled", self.toggle_replace) - - self.textbuffer = parentwindow.TextBuffer - self.texteditor = parentwindow.TextEditor - - self.nextbutton = parentwindow.builder.get_object("next_result") - self.prevbutton = parentwindow.builder.get_object("previous_result") - self.regexbutton = parentwindow.builder.get_object("regex") - self.casesensitivebutton = parentwindow.builder.get_object("case_sensitive") - - self.replacebox = parentwindow.builder.get_object("replace_placeholder") - self.replacebox.set_reveal_child(False) - self.replace_one_button = parentwindow.builder.get_object("replace_one") - self.replace_all_button = parentwindow.builder.get_object("replace_all") - self.replaceentry = parentwindow.builder.get_object("replaceentrybox") - - self.replace_all_button.connect('clicked', self.replace_all) - self.replace_one_button.connect('clicked', self.replace_clicked) - self.replaceentry.connect('activate', self.replace_clicked) - - self.nextbutton.connect('clicked', self.scrolltonext) - self.prevbutton.connect('clicked', self.scrolltoprev) - self.regexbutton.connect('toggled', self.search) - self.casesensitivebutton.connect('toggled', self.search) - self.highlight = self.textbuffer.create_tag('search_highlight', - background="yellow") - - self.texteditor.connect("focus-in-event", self.focused_texteditor) - def toggle_replace(self, widget, data=None): - if widget.get_active(): - self.replacebox.set_reveal_child(True) - else: - self.replacebox.set_reveal_child(False) - - def key_pressed(self, widget, event, data=None): - if event.keyval in [Gdk.KEY_Escape]: - self.hide() - - def focused_texteditor(self, widget, data=None): - self.hide() - - def toggle_search(self, widget=None, data=None): - """ - show search box - """ - if self.box.get_reveal_child() == False or self.searchbar.get_search_mode() == False: - self.searchbar.set_search_mode(True) - self.box.set_reveal_child(True) - self.searchentry.grab_focus() - else: - self.hide() - self.open_replace_button.set_active(False) - - - def search(self, widget=None, data=None, scroll=True): - searchtext = self.searchentry.get_text() - buf = self.textbuffer - context_start = buf.get_start_iter() - context_end = buf.get_end_iter() - text = buf.get_slice(context_start, context_end, False) - - self.textbuffer.remove_tag(self.highlight, context_start, context_end) - - # case sensitive? - flags = False - if not self.casesensitivebutton.get_active(): - flags = flags | re.I - - # regex? - if not self.regexbutton.get_active(): - searchtext = re.escape(searchtext) - - matches = re.finditer(searchtext, text, flags) - - self.matchiters = [] - self.active = 0 - for match in matches: - startIter = buf.get_iter_at_offset(match.start()) - endIter = buf.get_iter_at_offset(match.end()) - self.matchiters.append((startIter, endIter)) - self.textbuffer.apply_tag(self.highlight, startIter, endIter) - if scroll: - self.scrollto(self.active) - logger.debug(searchtext) - - def scrolltonext(self, widget, data=None): - self.scrollto(self.active + 1) - - def scrolltoprev(self, widget, data=None): - self.scrollto(self.active - 1) - - def scrollto(self, index): - if not len(self.matchiters): - return - if(index < len(self.matchiters)): - self.active = index - else: - self.active = 0 - - matchiter = self.matchiters[self.active] - self.texteditor.get_buffer().select_range(matchiter[0], matchiter[1]) - - # self.texteditor.scroll_to_iter(matchiter[0], 0.0, True, 0.0, 0.5) - - def hide(self): - self.replacebox.set_reveal_child(False) - self.box.set_reveal_child(False) - self.textbuffer.remove_tag(self.highlight, - self.textbuffer.get_start_iter(), - self.textbuffer.get_end_iter()) - self.texteditor.grab_focus() - - - def replace_clicked(self, widget, data=None): - self.replace(self.active) - - def replace_all(self, widget=None, data=None): - while self.matchiters: - match = self.matchiters[0] - self.textbuffer.delete(match[0], match[1]) - self.textbuffer.insert(match[0], self.replaceentry.get_text()) - self.search(scroll=False) - - def replace(self, searchindex, inloop=False): - match = self.matchiters[searchindex] - self.textbuffer.delete(match[0], match[1]) - self.textbuffer.insert(match[0], self.replaceentry.get_text()) - active = self.active - self.search(scroll=False) - self.active = active - self.parentwindow.MarkupBuffer.markup_buffer() - self.scrollto(self.active) \ No newline at end of file diff --git a/uberwriter/UberwriterSidebar.py b/uberwriter/UberwriterSidebar.py deleted file mode 100644 index 6b2b84f..0000000 --- a/uberwriter/UberwriterSidebar.py +++ /dev/null @@ -1,192 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -import os -import subprocess -from gi.repository import Gtk, Gdk - -# from plugins import plugins - -import logging -logger = logging.getLogger('uberwriter') - -class Shelve(): - """ - Shelve holds a collection of folders - folders: - List of folders - name: - descriptive name of shelve e.g. blog, notes etc. - """ - - name = "" - folders = [] - - def __init__(self, name, folders): - self.name = name - self.folders = folders - - def get_tree(self, store): - node = {} - for folder in self.folders: - node[folder] = store.append(None, [os.path.basename(folder), folder]) - for root, dirs, files in os.walk(folder): - logger.debug(root) - for directory in dirs: - node[root + "/" + directory] = store.append(node[root], [directory, root + "/" + directory]) - for filename in files: - store.append(node[root], [filename, root + "/" + filename]) - - -class UberwriterSidebar(): - """ - Presentational class for shelves and files managed by the "sidebar" - - parentwindow: - Reference to UberwriterWindow - """ - def __init__(self, parentwindow): - """ - Initialize Treeview and Treestore - """ - - self.parentwindow = parentwindow - self.paned_window = parentwindow.paned_window - self.sidebar_box = parentwindow.sidebar_box - self.sidebar_open = True - # (GtkBox *box, - # GtkWidget *child, - # gboolean expand, - # gboolean fill, - # guint padding); - - self.shelve_store = Gtk.ListStore(str) - self.shelve_store.append(["testshelve"]) - self.shelves_dropdown = Gtk.ComboBox.new_with_model_and_entry(self.shelve_store) - - self.sidebar_box.pack_start(self.shelves_dropdown, False, False, 5) - - self.sidebar_scrolledwindow = Gtk.ScrolledWindow() - self.sidebar_scrolledwindow.set_hexpand(True) - self.sidebar_scrolledwindow.set_vexpand(True) - - self.store = Gtk.TreeStore(str, str) - self.active_shelf = Shelve("testshelve", ["/home/wolf/Documents/asd/"]) - self.active_shelf.get_tree(self.store) - - self.treeview = Gtk.TreeView(self.store) - self.treeview.set_headers_visible(False) - # expand first folder (root folder, but not children) - self.treeview.expand_row(Gtk.TreePath.new_from_string("0"), False) - - renderer = Gtk.CellRendererText() - column = Gtk.TreeViewColumn("Title", renderer, text=0) - self.treeview.append_column(column) - # new selection - self.treeview.connect('cursor_changed', self.get_selected_file) - # right click handler - self.treeview.connect('button-press-event', self.handle_button_press) - self.treeview.show() - - self.sidebar_scrolledwindow.add(self.treeview) - self.sidebar_box.pack_start(self.sidebar_scrolledwindow, True, True, 5) - - self.menu_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=6) - self.menu_button = Gtk.MenuButton.new() - - # TODO refactor - mb_menu = Gtk.Menu.new() - mitem = Gtk.MenuItem.new_with_label('etstasd asd as d') - mitem.show() - mb_menu.append(mitem) - mb_menu.show() - - self.menu_button.set_popup(mb_menu) - - self.menu_box.pack_start(self.menu_button, False, False, 5) - self.sidebar_box.pack_end(self.menu_box, False, False, 5) - - self.sidebar_box.show_all() - self.paned_window.pack1(self.sidebar_box, True, True); - self.paned_window.show_all() - - - def get_selected_file(self, widget, data=None): - """ - Handle left click on file - """ - selection = self.treeview.get_selection() - if not selection: - return - selection.set_mode(Gtk.SelectionMode.SINGLE) - treemodel, treeiter = selection.get_selected() - selected_file = treemodel.get_value(treeiter, 1) - self.parentwindow.load_file(selected_file) - logger.debug(selected_file) - - def handle_button_press(self, widget, event): - """ - Handle right click (context menu) - """ - if event.type == Gdk.EventType.BUTTON_PRESS and event.button == 3: - # reference to self to not have it garbage collected - self.popup = Gtk.Menu.new() - pathinfo = self.treeview.get_path_at_pos(event.x, event.y) - if pathinfo: - path, col, cellx, celly = pathinfo - treeiter = self.store.get_iter(path) - filename = self.store.get_value(treeiter, 1) - item = Gtk.MenuItem.new() - item.set_label("Open ...") - item.connect("activate", self.context_menu_open_file) - item.filename = filename - item.show() - self.popup.append(item) - self.popup.show() - self.popup.popup(None, None, None, None, event.button, event.time) - return True - - def get_treeview(self): - """ - Return Treeview to append to scrolled window - """ - return self.treeview - - - def context_menu_open_file(self, widget, data=None): - """ - Open selected file with xdg-open - """ - selected_file = widget.filename - subprocess.call(["xdg-open", selected_file]) - - def toggle_sidebar(self): - if self.sidebar_open: - self.close_sidebar() - else: - self.open_sidebar() - - - def open_sidebar(self): - # self.paned_window.set_property('min-position', 0) - self.paned_window.set_position(200) - self.sidebar_open = True - - - def close_sidebar(self): - # self.paned_window.set_property('min-position', 0) - self.paned_window.set_position(0) - self.sidebar_open = False \ No newline at end of file diff --git a/uberwriter/UberwriterTextEditor.py b/uberwriter/UberwriterTextEditor.py deleted file mode 100644 index 723bb4c..0000000 --- a/uberwriter/UberwriterTextEditor.py +++ /dev/null @@ -1,492 +0,0 @@ -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE -"""Module for the TextView widgth wich encapsulates management of TextBuffer -and TextIter for common functionality, such as cut, copy, paste, undo, redo, -and highlighting of text. - -Using -#create the TextEditor and set the text -editor = TextEditor() -editor.text = "Text to add to the editor" - -#use cut, works the same for copy, paste, undo, and redo -def __handle_on_cut(self, widget, data=None): - self.editor.cut() - -#add string to highlight -self.editor.add_highlight("Ubuntu") -self.editor.add_highlight("Quickly") - -#remove highlights -self.editor.clear_highlight("Ubuntu") -self.editor.clear_all_highlight() - -Configuring -#Configure as a TextView -self.editor.set_wrap_mode(Gtk.WRAP_CHAR) - -#Access the Gtk.TextBuffer if needed -buffer = self.editor.get_buffer() - -Extending -A TextEditor is Gtk.TextView - -""" - - -try: - from gi.repository import Gtk - from gi.repository import Gdk - from gi.repository import GObject - from .FormatShortcuts import FormatShortcuts - -except: - print("couldn't load depencies") - - - -import logging -logger = logging.getLogger('uberwriter') - - -class UndoableInsert(object): - """something that has been inserted into our textbuffer""" - def __init__(self, text_iter, text, length): - self.offset = text_iter.get_offset() - self.text = text - self.length = length - if self.length > 1 or self.text in ("\r", "\n", " "): - self.mergeable = False - else: - self.mergeable = True - - -class UndoableDelete(object): - """something that has ben deleted from our textbuffer""" - def __init__(self, text_buffer, start_iter, end_iter): - self.text = text_buffer.get_text(start_iter, end_iter, False) - self.start = start_iter.get_offset() - self.end = end_iter.get_offset() - # need to find out if backspace or delete key has been used - # so we don't mess up during redo - insert_iter = text_buffer.get_iter_at_mark(text_buffer.get_insert()) - if insert_iter.get_offset() <= self.start: - self.delete_key_used = True - else: - self.delete_key_used = False - if self.end - self.start > 1 or self.text in ("\r", "\n", " "): - self.mergeable = False - else: - self.mergeable = True - - -class TextEditor(Gtk.TextView): - """TextEditor encapsulates management of TextBuffer and TextIter for - common functionality, such as cut, copy, paste, undo, redo, and - highlighting of text. - - """ - - __gsignals__ = { - 'insert-italic': (GObject.SIGNAL_ACTION, None, ()), - 'insert-bold': (GObject.SIGNAL_ACTION, None, ()), - 'insert-hrule': (GObject.SIGNAL_ACTION, None, ()), - 'insert-ulistitem': (GObject.SIGNAL_ACTION, None, ()), - 'insert-heading': (GObject.SIGNAL_ACTION, None, ()), - 'insert-strikeout': (GObject.SIGNAL_ACTION, None, ()), - 'undo': (GObject.SIGNAL_ACTION, None, ()), - 'redo': (GObject.SIGNAL_ACTION, None, ()) - } - - def scroll_to_iter(self, iter, *args): - self.get_buffer().place_cursor(iter) - - def __init__(self): - """ - Create a TextEditor - """ - - Gtk.TextView.__init__(self) - self.undo_max = None - - self.insert_event = self.get_buffer().connect("insert-text", self.on_insert_text) - self.delete_event = self.get_buffer().connect("delete-range", self.on_delete_range) - display = self.get_display() - self.clipboard = Gtk.Clipboard.get_for_display(display, Gdk.SELECTION_CLIPBOARD) - - self.undo_stack = [] - self.redo_stack = [] - self.not_undoable_action = False - self.undo_in_progress = False - - self.FormatShortcuts = FormatShortcuts(self.get_buffer(), self) - - self.connect('insert-italic', self.set_italic) - self.connect('insert-bold', self.set_bold) - self.connect('insert-strikeout', self.set_strikeout) - self.connect('insert-hrule', self.insert_horizontal_rule) - self.connect('insert-ulistitem', self.insert_unordered_list_item) - self.connect('insert-heading', self.insert_heading) - self.connect('redo', self.redo) - self.connect('undo', self.undo) - - self.get_style_context().add_class("uberwriter-editor") - - @property - def text(self): - """ - text - a string specifying all the text currently - in the TextEditor's buffer. - - This property is read/write. - """ - start_iter = self.get_buffer().get_iter_at_offset(0) - end_iter = self.get_buffer().get_iter_at_offset(-1) - return self.get_buffer().get_text(start_iter, end_iter, False) - - @property - def can_undo(self): - return bool(self.undo_stack) - - @property - def can_redo(self): - return bool(self.redo_stack) - - - @text.setter - def text(self, text): - self.get_buffer().set_text(text) - - def append(self, text): - """append: appends text to the end of the textbuffer. - - arguments: - text - a string to add to the buffer. The text will be the - last text in the buffer. The insertion cursor will not be moved. - - """ - - end_iter = self.get_buffer().get_iter_at_offset(-1) - self.get_buffer().insert(end_iter, text) - - def prepend(self, text): - """prepend: appends text to the start of the textbuffer. - - arguments: - text - a string to add to the buffer. The text will be the - first text in the buffer. The insertion cursor will not be moved. - - """ - - start_iter = self.get_buffer().get_iter_at_offset(0) - self.get_buffer().insert(start_iter, text) - insert_iter = self.get_buffer().get_iter_at_offset(len(text)-1) - self.get_buffer().place_cursor(insert_iter) - - def cursor_to_end(self): - """cursor_to_end: moves the insertion curson to the last position - in the buffer. - - """ - - end_iter = self.get_buffer().get_iter_at_offset(-1) - self.get_buffer().place_cursor(end_iter) - - def cursor_to_start(self): - """cursor_to_start: moves the insertion curson to the first position - in the buffer. - - """ - - start_iter = self.get_buffer().get_iter_at_offset(0) - self.get_buffer().place_cursor(start_iter) - - def cut(self, widget=None, data=None): - """cut: cut currently selected text and put it on the clipboard. - This function can be called as a function, or assigned as a signal - handler. - - """ - - self.get_buffer().cut_clipboard(self.clipboard, True) - - def copy(self, widget=None, data=None): - """copy: copy currently selected text to the clipboard. - This function can be called as a function, or assigned as a signal - handler. - - """ - - self.get_buffer().copy_clipboard(self.clipboard) - - def paste(self, widget=None, data=None): - """paste: Insert any text currently on the clipboard into the - buffer. - This function can be called as a function, or assigned as a signal - handler. - - """ - - self.get_buffer().paste_clipboard(self.clipboard,None,True) - - def undo(self, widget=None, data=None): - """undo inserts or deletions - undone actions are being moved to redo stack""" - if not self.undo_stack: - return - self.begin_not_undoable_action() - self.undo_in_progress = True - undo_action = self.undo_stack.pop() - self.redo_stack.append(undo_action) - buf = self.get_buffer() - if isinstance(undo_action, UndoableInsert): - offset = undo_action.offset - start = buf.get_iter_at_offset(offset) - stop = buf.get_iter_at_offset( - offset + undo_action.length - ) - buf.place_cursor(start) - buf.delete(start, stop) - else: - start = buf.get_iter_at_offset(undo_action.start) - buf.insert(start, undo_action.text) - if undo_action.delete_key_used: - buf.place_cursor(start) - else: - stop = buf.get_iter_at_offset(undo_action.end) - buf.place_cursor(stop) - self.end_not_undoable_action() - self.undo_in_progress = False - - def redo(self, widget=None, data=None): - """redo inserts or deletions - - redone actions are moved to undo stack""" - if not self.redo_stack: - return - self.begin_not_undoable_action() - self.undo_in_progress = True - redo_action = self.redo_stack.pop() - self.undo_stack.append(redo_action) - buf = self.get_buffer() - if isinstance(redo_action, UndoableInsert): - start = buf.get_iter_at_offset(redo_action.offset) - buf.insert(start, redo_action.text) - new_cursor_pos = buf.get_iter_at_offset( - redo_action.offset + redo_action.length - ) - buf.place_cursor(new_cursor_pos) - else: - start = buf.get_iter_at_offset(redo_action.start) - stop = buf.get_iter_at_offset(redo_action.end) - buf.delete(start, stop) - buf.place_cursor(start) - self.end_not_undoable_action() - self.undo_in_progress = False - - def on_insert_text(self, textbuffer, text_iter, text, length): - """ - _on_insert: internal function to handle programatically inserted - text. Do not call directly. - """ - def can_be_merged(prev, cur): - """see if we can merge multiple inserts here - - will try to merge words or whitespace - can't merge if prev and cur are not mergeable in the first place - can't merge when user set the input bar somewhere else - can't merge across word boundaries""" - WHITESPACE = (' ', '\t') - if not cur.mergeable or not prev.mergeable: - return False - elif cur.offset != (prev.offset + prev.length): - return False - elif cur.text in WHITESPACE and not prev.text in WHITESPACE: - return False - elif prev.text in WHITESPACE and not cur.text in WHITESPACE: - return False - return True - - if not self.undo_in_progress: - self.redo_stack = [] - if self.not_undoable_action: - return - - undo_action = UndoableInsert(text_iter, text, len(text)) - try: - prev_insert = self.undo_stack.pop() - except IndexError: - self.undo_stack.append(undo_action) - return - if not isinstance(prev_insert, UndoableInsert): - self.undo_stack.append(prev_insert) - self.undo_stack.append(undo_action) - return - if can_be_merged(prev_insert, undo_action): - prev_insert.length += undo_action.length - prev_insert.text += undo_action.text - self.undo_stack.append(prev_insert) - else: - self.undo_stack.append(prev_insert) - self.undo_stack.append(undo_action) - - def on_delete_range(self, text_buffer, start_iter, end_iter): - """ - On delete - """ - def can_be_merged(prev, cur): - """see if we can merge multiple deletions here - - will try to merge words or whitespace - can't merge if prev and cur are not mergeable in the first place - can't merge if delete and backspace key were both used - can't merge across word boundaries""" - - WHITESPACE = (' ', '\t') - if not cur.mergeable or not prev.mergeable: - return False - elif prev.delete_key_used != cur.delete_key_used: - return False - elif prev.start != cur.start and prev.start != cur.end: - return False - elif cur.text not in WHITESPACE and \ - prev.text in WHITESPACE: - return False - elif cur.text in WHITESPACE and \ - prev.text not in WHITESPACE: - return False - return True - - if not self.undo_in_progress: - self.redo_stack = [] - if self.not_undoable_action: - return - undo_action = UndoableDelete(text_buffer, start_iter, end_iter) - try: - prev_delete = self.undo_stack.pop() - except IndexError: - self.undo_stack.append(undo_action) - return - if not isinstance(prev_delete, UndoableDelete): - self.undo_stack.append(prev_delete) - self.undo_stack.append(undo_action) - return - if can_be_merged(prev_delete, undo_action): - if prev_delete.start == undo_action.start: # delete key used - prev_delete.text += undo_action.text - prev_delete.end += (undo_action.end - undo_action.start) - else: # Backspace used - prev_delete.text = "%s%s" % (undo_action.text, - prev_delete.text) - prev_delete.start = undo_action.start - self.undo_stack.append(prev_delete) - else: - self.undo_stack.append(prev_delete) - self.undo_stack.append(undo_action) - - def begin_not_undoable_action(self): - """don't record the next actions - toggles self.not_undoable_action""" - self.not_undoable_action = True - - def end_not_undoable_action(self): - """record next actions - toggles self.not_undoable_action""" - self.not_undoable_action = False - - def set_italic(self, widget, data=None): - """Ctrl + I""" - self.FormatShortcuts.italic() - - def set_bold(self, widget, data=None): - """Ctrl + Shift + D""" - self.FormatShortcuts.bold() - - def set_strikeout(self, widget, data=None): - """Ctrl + B""" - self.FormatShortcuts.strikeout() - - def insert_horizontal_rule(self, widget, data=None): - """Ctrl + R""" - self.FormatShortcuts.rule() - - def insert_unordered_list_item(self, widget, data=None): - """Ctrl + U""" - self.FormatShortcuts.unordered_list_item() - - def insert_ordered_list(self, widget, data=None): - """CTRL + O""" - self.FormatShortcuts.ordered_list_item() - - def insert_heading(self, widget, data=None): - """CTRL + H""" - self.FormatShortcuts.heading() - - -class TestWindow(Gtk.Window): - """For testing and demonstrating AsycnTaskProgressBox. - - """ - def __init__(self): - #create a window a VBox to hold the controls - Gtk.Window.__init__(self) - self.set_title("TextEditor Test Window") - windowbox = Gtk.VBox(False, 2) - windowbox.show() - self.add(windowbox) - self.editor = TextEditor() - self.editor.show() - windowbox.pack_end(self.editor, True, True, 0) - self.set_size_request(200,200) - self.show() - self.maximize() - - self.connect("destroy", Gtk.main_quit) - self.editor.text = "this is some inserted text" - self.editor.append("\nLine 3") - self.editor.prepend("Line1\n") - self.editor.cursor_to_end() - self.editor.cursor_to_start() - self.editor.undo_max = 100 - cut_button = Gtk.Button("Cut") - cut_button.connect("clicked",self.editor.cut) - cut_button.show() - windowbox.pack_start(cut_button, False, False, 0) - - copy_button = Gtk.Button("Copy") - copy_button.connect("clicked",self.editor.copy) - copy_button.show() - windowbox.pack_start(copy_button, False, False, 0) - - paste_button = Gtk.Button("Paste") - paste_button.connect("clicked",self.editor.paste) - paste_button.show() - windowbox.pack_start(paste_button, False, False, 0) - - undo_button = Gtk.Button("Undo") - undo_button.connect("clicked",self.editor.undo) - undo_button.show() - windowbox.pack_start(undo_button, False, False, 0) - - redo_button = Gtk.Button("Redo") - redo_button.connect("clicked",self.editor.redo) - redo_button.show() - windowbox.pack_start(redo_button, False, False, 0) - - -if __name__== "__main__": - test = TestWindow() - Gtk.main() - diff --git a/uberwriter/UberwriterWindow.py b/uberwriter/UberwriterWindow.py deleted file mode 100644 index 535f1e8..0000000 --- a/uberwriter/UberwriterWindow.py +++ /dev/null @@ -1,1284 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE - -import gettext -import locale -import subprocess -import os -import sys -import codecs -import webbrowser -import urllib -import pickle - -import mimetypes - -import gi -gi.require_version('WebKit2', '4.0') -from gi.repository import Gtk, Gdk, GObject, Gio, GLib # pylint: disable=E0611 -from gi.repository import WebKit2 as WebKit -from gi.repository import Pango # pylint: disable=E0611 - -import cairo -# import cairo.Pattern, cairo.SolidPattern - -import re - -from gettext import gettext as _ - -from .MarkupBuffer import MarkupBuffer -from .UberwriterTextEditor import TextEditor -from .UberwriterInlinePreview import UberwriterInlinePreview -from .UberwriterSidebar import UberwriterSidebar -from .UberwriterSearchAndReplace import UberwriterSearchAndReplace -from .Settings import Settings -# from .UberwriterAutoCorrect import UberwriterAutoCorrect - -import logging -logger = logging.getLogger('uberwriter') - -# Spellcheck - -from uberwriter_lib.gtkspellcheck import SpellChecker - -try: - import apt - APT_ENABLED = True -except: - APT_ENABLED = False - -from uberwriter_lib.AppWindow import Window -from uberwriter_lib import helpers -from .UberwriterAdvancedExportDialog import UberwriterAdvancedExportDialog -# from .plugins.bibtex import BibTex -# Some Globals -# TODO move them somewhere for better -# accesibility from other files - -CONFIG_PATH = os.path.expanduser("~/.config/uberwriter/") - -# See texteditor_lib.Window.py for more details about how this class works -class UberwriterWindow(Window): - - #__gtype_name__ = "UberwriterWindow" - - __gsignals__ = { - 'save-file': (GObject.SIGNAL_ACTION, None, ()), - 'open-file': (GObject.SIGNAL_ACTION, None, ()), - 'save-file-as': (GObject.SIGNAL_ACTION, None, ()), - 'new-file': (GObject.SIGNAL_ACTION, None, ()), - 'toggle-focusmode': (GObject.SIGNAL_ACTION, None, ()), - 'toggle-bibtex': (GObject.SIGNAL_ACTION, None, ()), - 'toggle-fullscreen': (GObject.SIGNAL_ACTION, None, ()), - 'toggle-spellcheck': (GObject.SIGNAL_ACTION, None, ()), - 'toggle-preview': (GObject.SIGNAL_ACTION, None, ()), - 'toggle-search': (GObject.SIGNAL_ACTION, None, ()), - 'toggle-search-replace': (GObject.SIGNAL_ACTION, None, ()), - 'close-window': (GObject.SIGNAL_ACTION, None, ()) - } - - def scrolled(self, widget): - """if window scrolled + focusmode make font black again""" - # if self.focusmode: - # if self.textchange == False: - # if self.scroll_count >= 4: - # self.TextBuffer.apply_tag( - # self.MarkupBuffer.blackfont, - # self.TextBuffer.get_start_iter(), - # self.TextBuffer.get_end_iter()) - # else: - # self.scroll_count += 1 - # else: - # self.scroll_count = 0 - # self.textchange = False - - def paste_done(self, *args): - self.MarkupBuffer.markup_buffer(0) - - def init_typewriter(self): - self.editor_height = self.TextEditor.get_allocation().height - self.TextEditor.props.top_margin = self.editor_height / 2 - self.TextEditor.props.bottom_margin = self.editor_height / 2 - self.typewriter_initiated = True - - def remove_typewriter(self): - self.TextEditor.props.top_margin = 80 - self.TextEditor.props.bottom_margin = 16 - self.text_change_event = self.TextBuffer.connect('changed', self.text_changed) - - def get_text(self): - start_iter = self.TextBuffer.get_start_iter() - end_iter = self.TextBuffer.get_end_iter() - return self.TextBuffer.get_text(start_iter, end_iter, False) - - WORDCOUNT = re.compile(r"(?!\-\w)[\s#*\+\-]+", re.UNICODE) - def update_line_and_char_count(self): - if self.status_bar_visible == False: - return - self.char_count.set_text(str(self.TextBuffer.get_char_count())) - text = self.get_text() - words = re.split(self.WORDCOUNT, text) - length = len(words) - # Last word a "space" - if len(words[-1]) == 0: - length = length - 1 - # First word a "space" (happens in focus mode...) - if len(words[0]) == 0: - length = length - 1 - if length == -1: - length = 0 - self.word_count.set_text(str(length)) - - def mark_set(self, buffer, location, mark, data=None): - if mark.get_name() in ['insert', 'gtk_drag_target']: - self.check_scroll(mark) - return True - - def text_changed(self, widget, data=None): - if self.did_change == False: - self.did_change = True - title = self.get_title() - self.set_headerbar_title("* " + title) - - self.MarkupBuffer.markup_buffer(1) - self.textchange = True - - self.buffer_modified_for_status_bar = True - self.update_line_and_char_count() - self.check_scroll(self.TextBuffer.get_insert()) - - def toggle_fullscreen(self, widget, data=None): - if widget.get_active(): - self.fullscreen() - key, mod = Gtk.accelerator_parse("Escape") - self.fullscreen_button.add_accelerator("activate", - self.accel_group, key, mod, Gtk.AccelFlags.VISIBLE) - self.fullscreen_button.set_active(True) - self.fullscreen_menu_button.set_active(True) - # Hide Menu - self.menubar.hide() - else: - self.unfullscreen() - key, mod = Gtk.accelerator_parse("Escape") - self.fullscreen_button.remove_accelerator( - self.accel_group, key, mod) - self.fullscreen_button.set_active(False) - self.fullscreen_menu_button.set_active(False) - self.menubar.hide() - - self.TextEditor.grab_focus() - - def set_focusmode(self, widget, data=None): - if widget.get_active(): - self.init_typewriter() - self.MarkupBuffer.focusmode_highlight() - self.focusmode = True - self.TextEditor.grab_focus() - self.check_scroll(self.TextBuffer.get_insert()) - if self.spellcheck != False: - self.SpellChecker._misspelled.set_property('underline', 0) - self.focusmode_menu_button.set_active(True) - self.focusmode_button.set_active(True) - else: - self.remove_typewriter() - self.focusmode = False - self.TextBuffer.remove_tag(self.MarkupBuffer.grayfont, - self.TextBuffer.get_start_iter(), - self.TextBuffer.get_end_iter()) - self.TextBuffer.remove_tag(self.MarkupBuffer.blackfont, - self.TextBuffer.get_start_iter(), - self.TextBuffer.get_end_iter()) - - self.MarkupBuffer.markup_buffer(1) - self.TextEditor.grab_focus() - self.update_line_and_char_count() - self.check_scroll() - if self.spellcheck != False: - self.SpellChecker._misspelled.set_property('underline', 4) - self.focusmode_menu_button.set_active(False) - self.focusmode_button.set_active(False) - - def scroll_smoothly(self, widget, frame_clock, data = None): - if self.smooth_scroll_data['target_pos'] == -1: - return True - def ease_out_cubic(t): - p = t - 1 - return p * p * p + 1 - - now = frame_clock.get_frame_time() - if self.smooth_scroll_acttarget != self.smooth_scroll_data['target_pos']: - self.smooth_scroll_starttime = now - self.smooth_scroll_endtime = now + self.smooth_scroll_data['duration'] * 100 - self.smooth_scroll_acttarget = self.smooth_scroll_data['target_pos'] - - if(now < self.smooth_scroll_endtime): - t = float(now - self.smooth_scroll_starttime) / float(self.smooth_scroll_endtime - self.smooth_scroll_starttime) - else: - t = 1 - pos = self.smooth_scroll_data['source_pos'] + (t * (self.smooth_scroll_data['target_pos'] - self.smooth_scroll_data['source_pos'])) - widget.get_vadjustment().props.value = pos - self.smooth_scroll_data['target_pos'] = -1 - return True - - t = ease_out_cubic(t) - pos = self.smooth_scroll_data['source_pos'] + (t * (self.smooth_scroll_data['target_pos'] - self.smooth_scroll_data['source_pos'])) - widget.get_vadjustment().props.value = pos - return True # continue ticking - - def check_scroll(self, mark=None): - gradient_offset = 80 - buf = self.TextEditor.get_buffer() - if mark: - ins_it = buf.get_iter_at_mark(mark) - else: - ins_it = buf.get_iter_at_mark(buf.get_insert()) - loc_rect = self.TextEditor.get_iter_location(ins_it) - - # alignment offset added from top - pos_y = loc_rect.y + loc_rect.height + self.TextEditor.props.top_margin - - ha = self.ScrolledWindow.get_vadjustment() - if ha.props.page_size < gradient_offset: - return - pos = pos_y - ha.props.value - # print("pos: %i, pos_y %i, page_sz: %i, val: %i" % (pos, pos_y, ha.props.page_size - gradient_offset, ha.props.value)) - # global t, amount, initvadjustment - target_pos = -1 - if self.focusmode: - # print("pos: %i > %i" % (pos, ha.props.page_size * 0.5)) - if pos != (ha.props.page_size * 0.5): - target_pos = pos_y - (ha.props.page_size * 0.5) - elif pos > ha.props.page_size - gradient_offset - 60: - target_pos = pos_y - ha.props.page_size + gradient_offset + 40 - elif pos < gradient_offset: - target_pos = pos_y - gradient_offset - self.smooth_scroll_data = { - 'target_pos': target_pos, - 'source_pos': ha.props.value, - 'duration': 2000 - } - if self.smooth_scroll_tickid == -1: - self.smooth_scroll_tickid = self.ScrolledWindow.add_tick_callback(self.scroll_smoothly) - - def window_resize(self, widget, data=None): - # To calc padding top / bottom - self.window_height = widget.get_allocation().height - w_width = widget.get_allocation().width - # Calculate left / right margin - width_request = 600 - if(w_width < 900): - self.MarkupBuffer.set_multiplier(8) - self.current_font_size = 12 - self.alignment_padding = 30 - lm = 7 * 8 - self.get_style_context().remove_class("medium") - self.get_style_context().remove_class("large") - self.get_style_context().add_class("small") - - elif(w_width < 1400): - self.MarkupBuffer.set_multiplier(10) - width_request = 800 - self.current_font_size = 15 - self.alignment_padding = 40 - lm = 7 * 10 - self.get_style_context().remove_class("small") - self.get_style_context().remove_class("large") - self.get_style_context().add_class("medium") - - else: - self.MarkupBuffer.set_multiplier(13) - self.current_font_size = 17 - width_request = 1000 - self.alignment_padding = 60 - lm = 7 * 13 - self.get_style_context().remove_class("medium") - self.get_style_context().remove_class("small") - self.get_style_context().add_class("large") - - - self.EditorAlignment.props.margin_bottom = 0 - self.EditorAlignment.props.margin_top = 0 - self.TextEditor.set_left_margin(lm) - self.TextEditor.set_right_margin(lm) - - self.MarkupBuffer.recalculate(lm) - - if self.focusmode: - self.remove_typewriter() - self.init_typewriter() - - if self.TextEditor.props.width_request != width_request: - self.TextEditor.props.width_request = width_request - self.ScrolledWindow.props.width_request = width_request - alloc = self.TextEditor.get_allocation() - alloc.width = width_request - self.TextEditor.size_allocate(alloc) - - def style_changed(self, widget, data=None): - pgc = self.TextEditor.get_pango_context() - mets = pgc.get_metrics() - self.MarkupBuffer.set_multiplier(Pango.units_to_double(mets.get_approximate_char_width()) + 1) - - - def save_document(self, widget, data=None): - if self.filename: - logger.info("saving") - filename = self.filename - f = codecs.open(filename, encoding="utf-8", mode='w') - f.write(self.get_text()) - f.close() - if self.did_change: - self.did_change = False - title = self.get_title() - self.set_headerbar_title(title[2:]) - return Gtk.ResponseType.OK - - else: - - filefilter = Gtk.FileFilter.new() - filefilter.add_mime_type('text/x-markdown') - filefilter.add_mime_type('text/plain') - filefilter.set_name('MarkDown (.md)') - filechooser = Gtk.FileChooserDialog( - _("Save your File"), - self, - Gtk.FileChooserAction.SAVE, - ("_Cancel", Gtk.ResponseType.CANCEL, - "_Save", Gtk.ResponseType.OK) - ) - - filechooser.set_do_overwrite_confirmation(True) - filechooser.add_filter(filefilter) - response = filechooser.run() - if response == Gtk.ResponseType.OK: - filename = filechooser.get_filename() - - if filename[-3:] != ".md": - filename = filename + ".md" - try: - self.recent_manager.add_item("file:/ " + filename) - except: - pass - - f = codecs.open(filename, encoding="utf-8", mode='w') - - f.write(self.get_text()) - f.close() - - self.set_filename(filename) - self.set_headerbar_title(os.path.basename(filename) + self.title_end) - - self.did_change = False - filechooser.destroy() - return response - - else: - filechooser.destroy() - return Gtk.ResponseType.CANCEL - - def save_document_as(self, widget, data=None): - filechooser = Gtk.FileChooserDialog( - "Save your File", - self, - Gtk.FileChooserAction.SAVE, - ("_Cancel", Gtk.ResponseType.CANCEL, - "_Save", Gtk.ResponseType.OK) - ) - filechooser.set_do_overwrite_confirmation(True) - if self.filename: - filechooser.set_filename(self.filename) - response = filechooser.run() - if response == Gtk.ResponseType.OK: - - filename = filechooser.get_filename() - if filename[-3:] != ".md": - filename = filename + ".md" - try: - self.recent_manager.remove_item("file:/" + filename) - self.recent_manager.add_item("file:/ " + filename) - except: - pass - - f = codecs.open(filename, encoding="utf-8", mode='w') - f.write(self.get_text()) - f.close() - - self.set_filename(filename) - self.set_headerbar_title(os.path.basename(filename) + self.title_end) - - try: - self.recent_manager.add_item(filename) - except: - pass - - filechooser.destroy() - self.did_change = False - - else: - filechooser.destroy() - return Gtk.ResponseType.CANCEL - - def export(self, export_type="html"): - filechooser = Gtk.FileChooserDialog( - "Export as %s" % export_type.upper(), - self, - Gtk.FileChooserAction.SAVE, - ("_Cancel", Gtk.ResponseType.CANCEL, - "_Save", Gtk.ResponseType.OK) - ) - - filechooser.set_do_overwrite_confirmation(True) - if self.filename: - filechooser.set_filename(self.filename[:-2] + export_type.lower()) - - response = filechooser.run() - if response == Gtk.ResponseType.OK: - filename = filechooser.get_filename() - if filename.endswith("." + export_type): - filename = filename[:-len(export_type)-1] - filechooser.destroy() - else: - filechooser.destroy() - return - - # Converting text to bytes for python 3 - text = bytes(self.get_text(), "utf-8") - - output_dir = os.path.abspath(os.path.join(filename, os.path.pardir)) - - basename = os.path.basename(filename) - - args = ['pandoc', '--from=markdown', '-s'] - - if export_type == "pdf": - args.append("-o%s.pdf" % basename) - - elif export_type == "odt": - args.append("-o%s.odt" % basename) - - elif export_type == "html": - css = helpers.get_media_file('uberwriter.css') - relativize = helpers.get_script_path('relative_to_absolute.lua') - task_list = helpers.get_script_path('task-list.lua') - args.append("-c%s" % css) - args.append("-o%s.html" % basename) - args.append("--mathjax") - args.append("--lua-filter=" + relativize) - args.append("--lua-filter=" + task_list) - - p = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, cwd=output_dir) - output = p.communicate(text)[0] - - return filename - - def export_as_odt(self, widget, data=None): - self.export("odt") - - def export_as_html(self, widget, data=None): - self.export("html") - - def export_as_pdf(self, widget, data=None): - if self.texlive_installed == False and APT_ENABLED: - try: - cache = apt.Cache() - inst = cache["texlive"].is_installed - except: - inst = True - - if inst == False: - dialog = Gtk.MessageDialog(self, - Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT, - Gtk.MessageType.INFO, - Gtk.ButtonsType.NONE, - _("You can not export to PDF.") - ) - dialog.format_secondary_markup(_("Please install texlive from the software center.")) - response = dialog.run() - return - else: - self.texlive_installed = True - self.export("pdf") - - def copy_html_to_clipboard(self, widget, date=None): - """Copies only html without headers etc. to Clipboard""" - - args = ['pandoc', '--from=markdown', '-smart', '-thtml'] - p = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE) - - text = bytes(self.get_text(), "utf-8") - output = p.communicate(text)[0] - - cb = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD) - cb.set_text(output.decode("utf-8"), -1) - cb.store() - - def open_document(self, widget): - if self.check_change() == Gtk.ResponseType.CANCEL: - return - - if self.focusmode: - self.focusmode_button.set_active(False) - - filefilter = Gtk.FileFilter.new() - filefilter.add_mime_type('text/x-markdown') - filefilter.add_mime_type('text/plain') - filefilter.set_name(_('MarkDown or Plain Text')) - - filechooser = Gtk.FileChooserDialog( - _("Open a .md-File"), - self, - Gtk.FileChooserAction.OPEN, - ("_Cancel", Gtk.ResponseType.CANCEL, - "_Open", Gtk.ResponseType.OK) - ) - filechooser.add_filter(filefilter) - response = filechooser.run() - if response == Gtk.ResponseType.OK: - filename = filechooser.get_filename() - self.load_file(filename) - filechooser.destroy() - - elif response == Gtk.ResponseType.CANCEL: - filechooser.destroy() - - def check_change(self): - if self.did_change and len(self.get_text()): - dialog = Gtk.MessageDialog(self, - Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT, - Gtk.MessageType.WARNING, - Gtk.ButtonsType.NONE, - _("You have not saved your changes.") - ) - dialog.add_button(_("Close without Saving"), Gtk.ResponseType.NO) - dialog.add_button(_("Cancel"), Gtk.ResponseType.CANCEL) - dialog.add_button(_("Save now"), Gtk.ResponseType.YES) - dialog.set_title(_('Unsaved changes')) - dialog.set_default_size(200, 150) - dialog.set_default_response(Gtk.ResponseType.YES) - response = dialog.run() - - if response == Gtk.ResponseType.YES: - title = self.get_title() - if self.save_document(widget = None) == Gtk.ResponseType.CANCEL: - dialog.destroy() - return self.check_change() - else: - dialog.destroy() - return response - elif response == Gtk.ResponseType.NO: - dialog.destroy() - return response - else: - dialog.destroy() - return Gtk.ResponseType.CANCEL - - def new_document(self, widget): - if self.check_change() == Gtk.ResponseType.CANCEL: - return - else: - self.TextBuffer.set_text('') - self.TextEditor.undos = [] - self.TextEditor.redos = [] - - self.did_change = False - self.set_filename() - self.set_headerbar_title("New File" + self.title_end) - - def menu_activate_focusmode(self, widget=None): - self.focusmode_button.emit('activate') - - def menu_activate_fullscreen(self, widget=None): - self.fullscreen_button.emit('activate') - - def menu_toggle_sidebar(self, widget=None): - self.sidebar.toggle_sidebar() - -# def menu_activate_preview(self, widget=None): -# self.preview_button.emit('activate') - - def toggle_spellcheck(self, widget=None, data=None): - if widget: - if self.spellcheck: - if widget.get_active(): - self.SpellChecker.enable() - else: - self.SpellChecker.disable() - - elif widget.get_active(): - self.SpellChecker = SpellChecker(self.TextEditor, self, locale.getdefaultlocale()[0], collapse=False) - if self.auto_correct: - self.auto_correct.set_language(self.SpellChecker.language) - self.SpellChecker.connect_language_change(self.auto_correct.set_language) - try: - self.spellcheck = True - except: - self.SpellChecker = None - self.spellcheck = False - dialog = Gtk.MessageDialog(self, - Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT, - Gtk.MessageType.INFO, - Gtk.ButtonsType.NONE, - _("You can not enable the Spell Checker.") - ) - dialog.format_secondary_text(_("Please install 'hunspell' or 'aspell' dictionarys for your language from the software center.")) - response = dialog.run() - return - else: - widget = self.spellcheck_button - if self.spellcheck and self.SpellChecker.enabled(): - self.SpellChecker.disable() - widget.set_active(False) - else: - self.SpellChecker.enable() - widget.set_active(True) - - return - - def on_drag_data_received(self, widget, drag_context, x, y, - data, info, time): - """Handle drag and drop events""" - if info == 1: - # uri target - uris = data.get_uris() - for uri in uris: - uri = urllib.parse.unquote_plus(uri) - mime = mimetypes.guess_type(uri) - - if mime[0] is not None and mime[0].startswith('image'): - if uri.startswith("file://"): - uri = uri[7:] - text = "![Insert image title here](%s)" % uri - ll = 2 - lr = 23 - else: - text = "[Insert link title here](%s)" % uri - ll = 1 - lr = 22 - self.TextBuffer.place_cursor(self.TextBuffer.get_iter_at_mark( - self.TextBuffer.get_mark('gtk_drag_target'))) - self.TextBuffer.insert_at_cursor(text) - insert_mark = self.TextBuffer.get_insert() - selection_bound = self.TextBuffer.get_selection_bound() - cursor_iter = self.TextBuffer.get_iter_at_mark(insert_mark) - cursor_iter.backward_chars(len(text) - ll) - self.TextBuffer.move_mark(insert_mark, cursor_iter) - cursor_iter.forward_chars(lr) - self.TextBuffer.move_mark(selection_bound, cursor_iter) - - elif info == 2: - # Text target - self.TextBuffer.place_cursor(self.TextBuffer.get_iter_at_mark( - self.TextBuffer.get_mark('gtk_drag_target'))) - self.TextBuffer.insert_at_cursor(data.get_text()) - Gtk.drag_finish(drag_context, True, True, time) - self.present() - return False - - def toggle_preview(self, widget, data=None): - if widget.get_active(): - - # Toggle buttons - - # self.preview_button.set_active(True) - # self.preview_mnu_button.set_active(True) - # Insert a tag with ID to scroll to - # self.TextBuffer.insert_at_cursor('') - # TODO - # Find a way to find the next header, scroll to the next header. - # TODO: provide a local version of mathjax - - # We need to convert relative routes to absolute ones - # For that first we need to know if the file is saved: - if self.filename: - base_path = os.path.dirname(self.filename) - else: - base_path = '' - os.environ['PANDOC_PREFIX'] = base_path + '/' - - # Set the styles according the color theme - if self.settings.get_value("dark-mode"): - stylesheet = helpers.get_media_path('uberwriter_dark.css') - else: - stylesheet = helpers.get_media_path('uberwriter.css') - - args = ['pandoc', - '-s', - '--from=markdown', - '--to=html5', - '--mathjax', - '--css=' + stylesheet, - '--lua-filter=' + helpers.get_script_path('relative_to_absolute.lua'), - '--lua-filter=' + helpers.get_script_path('task-list.lua')] - - p = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE) - - text = bytes(self.get_text(), "utf-8") - output = p.communicate(text)[0] - - # Load in Webview and scroll to #ID - self.webview = WebKit.WebView() - self.webview_settings = self.webview.get_settings() - self.webview_settings.set_allow_universal_access_from_file_urls(True) - self.webview.load_html(output.decode("utf-8"), 'file://localhost/') - - # Delete the cursor-scroll mark again - # cursor_iter = self.TextBuffer.get_iter_at_mark(self.TextBuffer.get_insert()) - # begin_del = cursor_iter.copy() - # begin_del.backward_chars(30) - # self.TextBuffer.delete(begin_del, cursor_iter) - - self.ScrolledWindow.remove(self.TextEditor) - self.ScrolledWindow.add(self.webview) - self.webview.show() - - # This saying that all links will be opened in default browser, \ - # but local files are opened in appropriate apps: - self.webview.connect("decide-policy", self.on_click_link) - else: - self.ScrolledWindow.remove(self.webview) - self.webview.destroy() - self.ScrolledWindow.add(self.TextEditor) - self.TextEditor.show() - - # self.preview_button.set_active(False) - # self.preview_mnu_button.set_active(False) - - self.queue_draw() - return True - - def on_click_link(self, web_view, decision, decision_type): - # This provide ability for self.webview to open links in default browser - if(web_view.get_uri().startswith(("http://","https://","www."))): - webbrowser.open(web_view.get_uri()) - decision.ignore() - return True # Don't let the event "bubble up" - - def dark_mode_toggled(self, widget, data=None): - # Save state for saving settings later - self.dark_mode = widget.get_active() - if self.dark_mode: - # Dark Mode is on - # self.gtk_settings.set_property('gtk-application-prefer-dark-theme', True) - self.settings.set_value("dark-mode", GLib.Variant("b", True)) - self.get_style_context().add_class("dark_mode") - self.hb_container.get_style_context().add_class("dark_mode") - self.MarkupBuffer.dark_mode(True) - else: - # Dark mode off - # self.gtk_settings.set_property('gtk-application-prefer-dark-theme', False) - self.settings.set_value("dark-mode", GLib.Variant("b", False)) - self.get_style_context().remove_class("dark_mode") - self.hb_container.get_style_context().remove_class("dark_mode") - self.MarkupBuffer.dark_mode(False) - - # Redraw contents of window (self) - self.queue_draw() - - def load_file(self, filename=None): - """Open File from command line or open / open recent etc.""" - if filename: - if filename.startswith('file://'): - filename = filename[7:] - filename = urllib.parse.unquote_plus(filename) - try: - self.preview_button.set_active(False) - if not os.path.exists(filename): - self.TextBuffer.set_text("") - else: - f = codecs.open(filename, encoding="utf-8", mode='r') - self.TextBuffer.set_text(f.read()) - f.close() - self.MarkupBuffer.markup_buffer(0) - - self.set_headerbar_title(os.path.basename(filename) + self.title_end) - self.TextEditor.undo_stack = [] - self.TextEditor.redo_stack = [] - self.set_filename(filename) - - except Exception as e: - logger.warning("Error Reading File: %r" % e) - self.did_change = False - else: - logger.warning("No File arg") - - # Help Menu - def open_translation(self): - webbrowser.open("https://poeditor.com/join/project/gxVzFyXb2x") - - def open_pandoc_markdown(self, widget, data=None): - webbrowser.open("http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown") - - def open_uberwriter_markdown(self, widget, data=None): - self.load_file(helpers.get_media_file('uberwriter_markdown.md')) - - def open_search_and_replace(self, widget, data=None): - self.searchreplace.toggle_search() - - def open_advanced_export(self, widget, data=None): - if self.UberwriterAdvancedExportDialog is not None: - advexp = self.UberwriterAdvancedExportDialog() # pylint: disable= - - response = advexp.run() - if response == 1: - advexp.advanced_export(bytes(self.get_text(), "utf-8")) - - advexp.destroy() - - def open_recent(self, widget, data=None): - if data: - if self.check_change() == Gtk.ResponseType.CANCEL: - return - else: - self.load_file(data) - - def generate_recent_files_menu(self, parent_menu): - # Recent file filter - self.recent_manager = Gtk.RecentManager.get_default() - - self.recent_files_menu = Gtk.RecentChooserMenu.new_for_manager(self.recent_manager) - self.recent_files_menu.set_sort_type(Gtk.RecentSortType.MRU) - - recent_filter = Gtk.RecentFilter.new() - recent_filter.add_mime_type('text/x-markdown') - self.recent_files_menu.set_filter(recent_filter) - menu = Gtk.Menu.new() - - for entry in self.recent_files_menu.get_items(): - if entry.exists(): - item = Gtk.MenuItem.new_with_label(entry.get_display_name()) - item.connect('activate', self.open_recent, entry.get_uri()) - menu.append(item) - item.show() - - menu.show() - parent_menu.set_submenu(menu) - parent_menu.show() - - def poll_for_motion(self): - if (self.was_motion == False - and self.status_bar_visible - and self.buffer_modified_for_status_bar - and self.TextEditor.props.has_focus): - # self.status_bar.set_state_flags(Gtk.StateFlags.INSENSITIVE, True) - self.statusbar_revealer.set_reveal_child(False) - self.hb_revealer.set_reveal_child(False) - self.status_bar_visible = False - self.buffer_modified_for_status_bar = False - - self.was_motion = False - return True - - def on_motion_notify(self, widget, event, data=None): - now = event.get_time() - if now - self.timestamp_last_mouse_motion > 150: - # filter out accidental motions - self.timestamp_last_mouse_motion = now - return - if now - self.timestamp_last_mouse_motion < 100: - # filter out accidental motion - return - if now - self.timestamp_last_mouse_motion > 100: - # react on motion by fading in headerbar and statusbar - if self.status_bar_visible == False: - self.statusbar_revealer.set_reveal_child(True) - self.hb_revealer.set_reveal_child(True) - self.hb.props.opacity = 1 - self.status_bar_visible = True - self.buffer_modified_for_status_bar = False - self.update_line_and_char_count() - # self.status_bar.set_state_flags(Gtk.StateFlags.NORMAL, True) - self.was_motion = True - - def focus_out(self, widget, data=None): - if self.status_bar_visible == False: - self.statusbar_revealer.set_reveal_child(True) - self.hb_revealer.set_reveal_child(True) - self.hb.props.opacity = 1 - self.status_bar_visible = True - self.buffer_modified_for_status_bar = False - self.update_line_and_char_count() - - def draw_gradient(self, widget, cr): - bg_color = self.get_style_context().get_background_color(Gtk.StateFlags.ACTIVE) - - lg_top = cairo.LinearGradient(0, 0, 0, 35) - lg_top.add_color_stop_rgba(0, bg_color.red, bg_color.green, bg_color.blue, 1) - lg_top.add_color_stop_rgba(1, bg_color.red, bg_color.green, bg_color.blue, 0) - - width = self.ScrolledWindow.get_allocation().width - height = self.ScrolledWindow.get_allocation().height - - cr.rectangle(0, 0, width, 35) - cr.set_source(lg_top) - cr.fill() - cr.rectangle(0, height - 35, width, height) - - lg_btm = cairo.LinearGradient(0, height - 35, 0, height) - lg_btm.add_color_stop_rgba(1, bg_color.red, bg_color.green, bg_color.blue, 1) - lg_btm.add_color_stop_rgba(0, bg_color.red, bg_color.green, bg_color.blue, 0) - - cr.set_source(lg_btm) - cr.fill() - - def use_experimental_features(self, val): - try: - self.auto_correct = UberwriterAutoCorrect(self.TextEditor, self.TextBuffer) - except: - logger.debug("Couldn't install autocorrect.") - - def finish_initializing(self, builder): # pylint: disable=E1002 - """Set up the main window""" - - super(UberwriterWindow, self).finish_initializing(builder) - - # preferences - self.settings = Settings.new() - - self.UberwriterAdvancedExportDialog = UberwriterAdvancedExportDialog - self.builder = builder - - - self.connect('save-file', self.save_document) - self.connect('save-file-as', self.save_document_as) - self.connect('new-file', self.new_document) - self.connect('open-file', self.open_document) - self.connect('toggle-fullscreen', self.menu_activate_fullscreen) - self.connect('toggle-focusmode', self.menu_activate_focusmode) - #self.connect('toggle-preview', self.menu_activate_preview) - self.connect('toggle-spellcheck', self.toggle_spellcheck) - self.connect('close-window', self.on_mnu_close_activate) - self.connect('toggle-search', self.open_search_and_replace) - self.scroll_adjusted = False - - # Code for other initialization actions should be added here. - - # Texlive checker - self.texlive_installed = False - - self.set_name('UberwriterWindow') - - - self.use_headerbar = True - if self.use_headerbar == True: - self.hb_container = Gtk.Frame(name='titlebar_container') - self.hb_container.set_shadow_type(Gtk.ShadowType.NONE) - self.hb_revealer = Gtk.Revealer(name='titlebar_revealer') - self.hb = Gtk.HeaderBar() - self.hb_revealer.add(self.hb) - self.hb_revealer.props.transition_duration = 1000 - self.hb_revealer.props.transition_type = Gtk.RevealerTransitionType.CROSSFADE - self.hb.props.show_close_button = True - self.hb.get_style_context().add_class("titlebar") - self.hb_container.add(self.hb_revealer) - self.hb_container.show() - self.set_titlebar(self.hb_container) - self.hb_revealer.show() - self.hb_revealer.set_reveal_child(True) - self.hb.show() - - bbtn = Gtk.MenuButton() - btn_settings = Gtk.MenuButton() - btn_settings.props.image = Gtk.Image.new_from_icon_name('emblem-system-symbolic', Gtk.IconSize.BUTTON) - self.builder.get_object("menu4").detach() - btn_settings.set_popup(self.builder.get_object("menu4")) - - self.builder.get_object("menu1").detach() - bbtn.set_popup(self.builder.get_object("menu1")) - self.hb.pack_start(bbtn) - self.hb.pack_end(btn_settings) - self.hb.show_all() - self.testbits = Gdk.WindowState.MAXIMIZED - #self.connect('draw', self.override_headerbar_background) - - self.title_end = " – UberWriter" - self.set_headerbar_title("New File" + self.title_end) - - self.focusmode = False - - self.word_count = builder.get_object('word_count') - self.char_count = builder.get_object('char_count') - self.menubar = builder.get_object('menubar1') - self.menubar.hide() - - - # Wire up buttons - self.fullscreen_button = builder.get_object('fullscreen_toggle') - self.fullscreen_menu_button = builder.get_object('mnu_fullscreen') - self.focusmode_button = builder.get_object('focus_toggle') - self.focusmode_menu_button = builder.get_object('mnu_focusmode') - self.preview_button = builder.get_object('preview_toggle') - self.preview_mnu_button = builder.get_object('mnu_preview') - self.dark_mode_button = builder.get_object('dark_mode') - - self.fullscreen_button.set_name('fullscreen_toggle') - self.focusmode_button.set_name('focus_toggle') - self.preview_button.set_name('preview_toggle') - - self.export_pdf_button = builder.get_object('mnu_export_pdf') - - # Gray export to pdf if pdftex not avaliable - if not helpers.exist_executable('pdftex'): - self.export_pdf_button.set_sensitive(False) - - # Setup status bar hide after 3 seconds - - self.status_bar = builder.get_object('status_bar_box') - self.statusbar_revealer = builder.get_object('status_bar_revealer') - self.status_bar.get_style_context().add_class('status_bar_box') - self.status_bar_visible = True - self.was_motion = True - self.buffer_modified_for_status_bar = False - self.connect("motion-notify-event", self.on_motion_notify) - GObject.timeout_add(3000, self.poll_for_motion) - - self.accel_group = Gtk.AccelGroup() - self.add_accel_group(self.accel_group) - - # Setup light background - self.TextEditor = TextEditor() - self.TextEditor.set_name('UberwriterEditor') - self.get_style_context().add_class('uberwriter_window') - - base_leftmargin = 100 - self.TextEditor.set_left_margin(base_leftmargin) - self.TextEditor.set_left_margin(40) - self.TextEditor.set_top_margin(80) - self.TextEditor.props.width_request = 600 - self.TextEditor.props.halign = Gtk.Align.CENTER - self.TextEditor.set_vadjustment(builder.get_object('vadjustment1')) - self.TextEditor.set_wrap_mode(Gtk.WrapMode.WORD_CHAR) - self.TextEditor.connect('focus-out-event', self.focus_out) - self.TextEditor.get_style_context().connect('changed', self.style_changed) - - # self.TextEditor.install_style_property_parser - - self.TextEditor.show() - self.TextEditor.grab_focus() - - self.EditorAlignment = builder.get_object('editor_alignment') - self.ScrolledWindow = builder.get_object('editor_scrolledwindow') - self.ScrolledWindow.props.width_request = 600 - self.ScrolledWindow.add(self.TextEditor) - self.alignment_padding = 40 - self.EditorViewport = builder.get_object('editor_viewport') - self.ScrolledWindow.connect_after("draw", self.draw_gradient) - - self.smooth_scroll_starttime = 0 - self.smooth_scroll_endtime = 0 - self.smooth_scroll_acttarget = 0 - self.smooth_scroll_data = { - 'target_pos': -1, - 'source_pos': -1, - 'duration': 0 - } - self.smooth_scroll_tickid = -1 - - self.PreviewPane = builder.get_object('preview_scrolledwindow') - - self.TextEditor.set_top_margin(80) - self.TextEditor.set_bottom_margin(16) - - self.TextEditor.set_pixels_above_lines(4) - self.TextEditor.set_pixels_below_lines(4) - self.TextEditor.set_pixels_inside_wrap(8) - - tab_array = Pango.TabArray.new(1, True) - tab_array.set_tab(0, Pango.TabAlign.LEFT, 20) - self.TextEditor.set_tabs(tab_array) - - self.TextBuffer = self.TextEditor.get_buffer() - self.TextBuffer.set_text('') - - # Init Window height for top/bottom padding - self.window_height = self.get_size()[1] - - self.text_change_event = self.TextBuffer.connect('changed', self.text_changed) - - # Init file name with None - self.set_filename() - - self.generate_recent_files_menu(self.builder.get_object('recent')) - - self.style_provider = Gtk.CssProvider() - self.style_provider.load_from_path(helpers.get_media_path('style.css')) - - Gtk.StyleContext.add_provider_for_screen( - Gdk.Screen.get_default(), self.style_provider, - Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION - ) - - # Markup and Shortcuts for the TextBuffer - self.MarkupBuffer = MarkupBuffer(self, self.TextBuffer, base_leftmargin) - self.MarkupBuffer.markup_buffer() - - # Setup dark mode if so - if self.settings.get_value("dark-mode"): - self.dark_mode_button.set_active(True) - - - # Scrolling -> Dark or not? - self.textchange = False - self.scroll_count = 0 - self.timestamp_last_mouse_motion = 0 - self.TextBuffer.connect_after('mark-set', self.mark_set) - - # Drag and drop - - # self.TextEditor.drag_dest_unset() - # self.TextEditor.drag_dest_set(Gtk.DestDefaults.ALL, [], Gdk.DragAction.COPY) - self.target_list = Gtk.TargetList.new([]) - self.target_list.add_uri_targets(1) - self.target_list.add_text_targets(2) - - self.TextEditor.drag_dest_set_target_list(self.target_list) - self.TextEditor.connect_after('drag-data-received', self.on_drag_data_received) - def on_drop(widget, *args): - print("drop") - self.TextEditor.connect('drag-drop', on_drop) - - - self.TextBuffer.connect('paste-done', self.paste_done) - # self.connect('key-press-event', self.alt_mod) - - # Events for Typewriter mode - - # Setting up inline preview - self.InlinePreview = UberwriterInlinePreview(self.TextEditor, self.TextBuffer) - - # Vertical scrolling - self.vadjustment = self.ScrolledWindow.get_vadjustment() - self.vadjustment.connect('value-changed', self.scrolled) - - - self.spellcheck_button = builder.get_object("disable_spellcheck") - # Setting up spellcheck - self.auto_correct = None - try: - self.SpellChecker = SpellChecker(self.TextEditor, - locale.getdefaultlocale()[0], collapse=False) - if self.auto_correct: - self.auto_correct.set_language(self.SpellChecker.language) - self.SpellChecker.connect_language_change(self.auto_correct.set_language) - - self.spellcheck = True - except: - self.SpellChecker = None - self.spellcheck = False - builder.get_object("disable_spellcheck").set_active(False) - - if self.spellcheck: - self.SpellChecker.append_filter('[#*]+', SpellChecker.FILTER_WORD) - - self.did_change = False - - ### - # Sidebar initialization test - ### - self.paned_window = builder.get_object("main_pained") - self.sidebar_box = builder.get_object("sidebar_box") - self.sidebar = UberwriterSidebar(self) - self.sidebar_box.hide() - - ### - # Search and replace initialization - # Same interface as Sidebar ;) - ### - self.searchreplace = UberwriterSearchAndReplace(self) - - - # Window resize - self.window_resize(self) - self.connect("configure-event", self.window_resize) - self.connect("delete-event", self.on_delete_called) - - # self.plugins = [BibTex(self)] - - def alt_mod(self, widget, event, data=None): - # TODO: Click and open when alt is pressed - if event.state & Gdk.ModifierType.MOD2_MASK: - logger.info("Alt pressed") - return - - def on_delete_called(self, widget, data=None): - """Called when the TexteditorWindow is closed.""" - logger.info('delete called') - if self.check_change() == Gtk.ResponseType.CANCEL: - return True - return False - - def on_mnu_close_activate(self, widget, data=None): - """ - Signal handler for closing the UberwriterWindow. - Overriden from parent Window Class - """ - if self.on_delete_called(self): # Really destroy? - return - else: - self.destroy() - return - - def on_destroy(self, widget, data=None): - """Called when the TexteditorWindow is closed.""" - # Clean up code for saving application state should be added here. - self.save_settings() - Gtk.main_quit() - - def set_headerbar_title(self, title): - if self.use_headerbar: - self.hb.props.title = title - self.set_title(title) - - def set_filename(self, filename=None): - if filename: - self.filename = filename - base_path = os.path.dirname(self.filename) - else: - self.filename = None - base_path = "/" - self.settings.set_value("open-file-path", GLib.Variant("s", base_path)) - def save_settings(self): - if not os.path.exists(CONFIG_PATH): - try: - os.makedirs(CONFIG_PATH) - except Exception as e: - logger.debug("Failed to make uberwriter config path in\ - ~/.config/uberwriter. Error: %r" % e) - try: - settings = dict() - settings["dark_mode"] = self.dark_mode - settings["spellcheck"] = self.SpellChecker.enabled - f = open(CONFIG_PATH + "settings.pickle", "wb+") - pickle.dump(settings, f) - f.close() - logger.debug("Saved settings: %r" % settings) - except Exception as e: - logger.debug("Error writing settings file to disk. Error: %r" % e) - - def load_settings(self, builder): - dark_mode_button = builder.get_object("dark_mode") - spellcheck_button = builder.get_object("disable_spellcheck") - try: - f = open(CONFIG_PATH + "settings.pickle", "rb") - settings = pickle.load(f) - f.close() - self.dark_mode = settings['dark_mode'] - dark_mode_button.set_active(settings['dark_mode']) - spellcheck_button.set_active(settings['spellcheck']) - logger.debug("loaded settings: %r" % settings) - except Exception as e: - logger.debug("(First Run?) Error loading settings from home dir. \ - Error: %r", e) - return True diff --git a/uberwriter/__init__.py b/uberwriter/__init__.py deleted file mode 100644 index 75623c9..0000000 --- a/uberwriter/__init__.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, 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 . -### END LICENSE -import sys - -import locale -import os - -import gettext -from gettext import gettext as _ - -import gi -gi.require_version('Gtk', '3.0') -from gi.repository import Gtk # pylint: disable=E0611 - -from . import UberwriterWindow -from uberwriter_lib import AppWindow - -def main(): - 'constructor for your class instances' - # (options, args) = parse_options() - - # Run the application. - app = AppWindow.Application() - - # ~ if args: - # ~ for arg in args: - # ~ pass - # ~ else: - # ~ pass - # ~ if options.experimental_features: - # ~ window.use_experimental_features(True) - - app.run(sys.argv) - diff --git a/uberwriter/plugins/bibtex/__init__.py b/uberwriter/plugins/bibtex/__init__.py deleted file mode 100644 index 4a6569d..0000000 --- a/uberwriter/plugins/bibtex/__init__.py +++ /dev/null @@ -1 +0,0 @@ -#from .bibtex import BibTex \ No newline at end of file diff --git a/uberwriter/plugins/bibtex/bibtex.glade b/uberwriter/plugins/bibtex/bibtex.glade deleted file mode 100644 index c656c6d..0000000 --- a/uberwriter/plugins/bibtex/bibtex.glade +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - False - True - center-on-parent - center - - - True - False - vertical - - - True - True - edit-find-symbolic - False - False - - - False - True - 0 - - - - - True - True - in - - - True - False - - - True - False - False - - - - - - - True - True - 1 - - - - - - diff --git a/uberwriter/plugins/bibtex/bibtex.glade~ b/uberwriter/plugins/bibtex/bibtex.glade~ deleted file mode 100644 index 8aa2ad8..0000000 --- a/uberwriter/plugins/bibtex/bibtex.glade~ +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - False - True - center-on-parent - center - - - True - False - vertical - - - True - True - edit-find-symbolic - False - False - - - False - True - 0 - - - - - True - True - in - - - True - False - - - True - False - False - - - - - - - True - True - 1 - - - - - - - diff --git a/uberwriter/plugins/bibtex/bibtex.py b/uberwriter/plugins/bibtex/bibtex.py deleted file mode 100644 index 6194585..0000000 --- a/uberwriter/plugins/bibtex/bibtex.py +++ /dev/null @@ -1,75 +0,0 @@ -from gi.repository import Gtk, Gio - -from . import bibtexparser -from . import fuzzywuzzy - -from .gi_composites import GtkTemplate - - -@GtkTemplate(ui='/home/wolfv/Programs/uberwriter/uberwriter/plugins/bibtex/bibtex_item.glade') -class BibTexItem(Gtk.Box): - - __gtype_name__ = 'BibTexItem' - - title_label = GtkTemplate.Child() - author_label = GtkTemplate.Child() - other_label = GtkTemplate.Child() - - def __init__(self, data): - super(Gtk.Box, self).__init__() - # This must occur *after* you initialize your base - self.init_template() - self.title_label.set_text(data['title']) - self.author_label.set_text(data.get('author')) - self.other_label.set_text(data.get('year') if data.get('year') else 'N/A') - - -class BibTex(object): - """docstring for Handler""" - - def open_bibtex(self, event, *args): - self.match() - self.window.show_all() - # self.window.set_transient(True) - # self.window.set_modal(True) - - def get_widget_for_box(self, word): - return Gtk.Label(word) - - def real_row_activated(self, row, data=None): - print("A row was activated!!") - self.app.TextBuffer.insert_at_cursor('[@' + data + ']') - self.close() - print(data) - - def row_activated(self, widget, row, data=None): - # row.activate() - return - - def match(self, word=None): - self.rows = [] - for i in self.bib_db.entries: - row = Gtk.ListBoxRow() - item = BibTexItem(i) - row.add(item) - row.set_activatable(True) - row.connect('activate', self.real_row_activated, i['ID']) - self.rows.append(row) - self.listview.add(row) - - # self.listview.add(Gtk.Label('test')) - # self.listview.bind_model(a, self.get_widget_for_box) - self.listview.show_all() - - def __init__(self, app): - self.app = app - self.app.connect('toggle_bibtex', self.open_bibtex) - with open('/home/wolfv/ownCloud/Studium/Semester Project/Report/listb.bib') as f: - self.bib_db = bibtexparser.load(f) - - builder = Gtk.Builder() - builder.add_from_file('/home/wolfv/Programs/uberwriter/uberwriter/plugins/bibtex/bibtex.glade') - self.window = builder.get_object('bibtex_window') - self.window.set_transient_for(self.app) - self.window.set_modal(True) - self.listview = builder.get_object('listbox') \ No newline at end of file diff --git a/uberwriter/plugins/bibtex/bibtex_item.glade b/uberwriter/plugins/bibtex/bibtex_item.glade deleted file mode 100644 index 6f60e03..0000000 --- a/uberwriter/plugins/bibtex/bibtex_item.glade +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - diff --git a/uberwriter/plugins/bibtex/bibtex_item.glade~ b/uberwriter/plugins/bibtex/bibtex_item.glade~ deleted file mode 100644 index bec5c09..0000000 --- a/uberwriter/plugins/bibtex/bibtex_item.glade~ +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - diff --git a/uberwriter/plugins/bibtex/bibtexparser/__init__.py b/uberwriter/plugins/bibtex/bibtexparser/__init__.py deleted file mode 100644 index e36a239..0000000 --- a/uberwriter/plugins/bibtex/bibtexparser/__init__.py +++ /dev/null @@ -1,91 +0,0 @@ -""" -BibTeX is a bibliographic data file format. - -The :mod:`bibtexparser` module provides parsing and writing of BibTeX files functionality. The API is similar to the -:mod:`json` module. The parsed data is returned as a simple :class:`BibDatabase` object with the main attribute being -:attr:`entries` representing bibliographic sources such as books and journal articles. - -Parsing is a simple as:: - - >>>> import bibtexparser - >>>> with open('bibtex.bib') as bibtex_file: - >>>> bibtex_database = bibtexparser.load(bibtex_file) - -And writing:: - - >>>> import bibtexparser - >>>> with open('bibtex.bib', 'w') as bibtex_file: - >>>> bibtexparser.dump(bibtex_database, bibtex_file) - -""" -__all__ = [ - 'loads', 'load', 'dumps', 'dump', 'bibdatabase', - 'bparser', 'bwriter', 'latexenc', 'customization', -] -__version__ = '0.6.2' - -from . import bibdatabase, bparser, bwriter, latexenc, customization - - -def loads(bibtex_str, parser=None): - """ - Load :class:`BibDatabase` object from a string - - :param bibtex_str: input BibTeX string to be parsed - :type bibtex_str: str or unicode - :param parser: custom parser to use (optional) - :type parser: BibTexParser - :return: bibliographic database object - :rtype: BibDatabase - """ - if parser is None: - parser = bparser.BibTexParser() - return parser.parse(bibtex_str) - - -def load(bibtex_file, parser=None): - """ - Load :class:`BibDatabase` object from a file - - :param bibtex_file: input file to be parsed - :type bibtex_file: file - :param parser: custom parser to use (optional) - :type parser: BibTexParser - :return: bibliographic database object - :rtype: BibDatabase - """ - if parser is None: - parser = bparser.BibTexParser() - return parser.parse_file(bibtex_file) - - -def dumps(bib_database, writer=None): - """ - Dump :class:`BibDatabase` object to a BibTeX string - - :param bib_database: bibliographic database object - :type bib_database: BibDatabase - :param writer: custom writer to use (optional) (not yet implemented) - :type writer: BibTexWriter - :return: BibTeX string - :rtype: unicode - """ - if writer is None: - writer = bwriter.BibTexWriter() - return writer.write(bib_database) - - -def dump(bib_database, bibtex_file, writer=None): - """ - Save :class:`BibDatabase` object as a BibTeX text file - - :param bib_database: bibliographic database object - :type bib_database: BibDatabase - :param bibtex_file: file to write to - :type bibtex_file: file - :param writer: custom writer to use (optional) (not yet implemented) - :type writer: BibTexWriter - """ - if writer is None: - writer = bwriter.BibTexWriter() - bibtex_file.write(writer.write(bib_database)) diff --git a/uberwriter/plugins/bibtex/bibtexparser/bibdatabase.py b/uberwriter/plugins/bibtex/bibtexparser/bibdatabase.py deleted file mode 100644 index 6f71b4f..0000000 --- a/uberwriter/plugins/bibtex/bibtexparser/bibdatabase.py +++ /dev/null @@ -1,57 +0,0 @@ -from collections import OrderedDict -import sys - - -if sys.version_info.major == 2: - TEXT_TYPE = unicode -else: - TEXT_TYPE = str - - -class BibDatabase(object): - """ - A bibliographic database object following the data structure of a BibTeX file. - """ - def __init__(self): - #: List of BibTeX entries, for example `@book{...}`, `@article{...}`, etc. Each entry is a simple dict with - #: BibTeX field-value pairs, for example `'author': 'Bird, R.B. and Armstrong, R.C. and Hassager, O.'` Each - #: entry will always have the following dict keys (in addition to other BibTeX fields): - #: - `ID` (BibTeX key) - #: - `ENTRYTYPE` (entry type in lowercase, e.g. `book`, `article` etc.) - self.entries = [] - self._entries_dict = {} - #: List of BibTeX comment (`@comment{...}`) blocks. - self.comments = [] - #: OrderedDict of BibTeX string definitions (`@string{...}`). In order of definition. - self.strings = OrderedDict() # Not sure if order is import, keep order just in case - #: List of BibTeX preamble (`@preamble{...}`) blocks. - self.preambles = [] - - def get_entry_list(self): - """Get a list of bibtex entries. - - :returns: BibTeX entries - :rtype: list - .. deprecated:: 0.5.6 - Use :attr:`entries` instead. - """ - return self.entries - - @staticmethod - def entry_sort_key(entry, fields): - result = [] - for field in fields: - result.append(TEXT_TYPE(entry.get(field, '')).lower()) # Sorting always as string - return tuple(result) - - def get_entry_dict(self): - """Return a dictionary of BibTeX entries. - The dict key is the BibTeX entry key - """ - # If the hash has never been made, make it - if not self._entries_dict: - for entry in self.entries: - self._entries_dict[entry['ID']] = entry - return self._entries_dict - - entries_dict = property(get_entry_dict) diff --git a/uberwriter/plugins/bibtex/bibtexparser/bparser.py b/uberwriter/plugins/bibtex/bibtexparser/bparser.py deleted file mode 100644 index 7cdcf9e..0000000 --- a/uberwriter/plugins/bibtex/bibtexparser/bparser.py +++ /dev/null @@ -1,422 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -# Original source: github.com/okfn/bibserver -# Authors: -# markmacgillivray -# Etienne Posthumus (epoz) -# Francois Boulogne - -import sys -import logging -import io -import re -from .bibdatabase import BibDatabase - -logger = logging.getLogger(__name__) - -__all__ = ['BibTexParser'] - - -if sys.version_info >= (3, 0): - from io import StringIO - ustr = str -else: - from StringIO import StringIO - ustr = unicode - - -class BibTexParser(object): - """ - A parser for reading BibTeX bibliographic data files. - - Example:: - - from bibtexparser.bparser import BibTexParser - - bibtex_str = ... - - parser = BibTexParser() - parser.ignore_nonstandard_types = False - parser.homogenise_fields = False - bib_database = bibtexparser.loads(bibtex_str, parser) - """ - - def __new__(cls, data=None, - customization=None, - ignore_nonstandard_types=True, - homogenise_fields=True): - """ - To catch the old API structure in which creating the parser would immediately parse and return data. - """ - - if data is None: - return super(BibTexParser, cls).__new__(cls) - else: - # For backwards compatibility: if data is given, parse and return the `BibDatabase` object instead of the - # parser. - parser = BibTexParser() - parser.customization = customization - parser.ignore_nonstandard_types = ignore_nonstandard_types - parser.homogenise_fields = homogenise_fields - return parser.parse(data) - - def __init__(self): - """ - Creates a parser for rading BibTeX files - - :return: parser - :rtype: `BibTexParser` - """ - self.bib_database = BibDatabase() - #: Callback function to process BibTeX entries after parsing, for example to create a list from a string with - #: multiple values. By default all BibTeX values are treated as simple strings. Default: `None`. - self.customization = None - - #: Ignore non-standard BibTeX types (`book`, `article`, etc). Default: `True`. - self.ignore_nonstandard_types = True - - #: Sanitise BibTeX field names, for example change `url` to `link` etc. Field names are always converted to - #: lowercase names. Default: `True`. - self.homogenise_fields = True - - # On some sample data files, the character encoding detection simply - # hangs We are going to default to utf8, and mandate it. - self.encoding = 'utf8' - - # pre-defined set of key changes - self.alt_dict = { - 'keyw': 'keyword', - 'keywords': 'keyword', - 'authors': 'author', - 'editors': 'editor', - 'url': 'link', - 'urls': 'link', - 'links': 'link', - 'subjects': 'subject' - } - - self.replace_all_re = re.compile(r'((?P
"?)\s*(#|^)\s*(?P[^\d\W]\w*)\s*(#|$)\s*(?P"?))', re.UNICODE)
-
-    def _bibtex_file_obj(self, bibtex_str):
-        # Some files have Byte-order marks inserted at the start
-        byte = '\xef\xbb\xbf'
-        if not isinstance(byte, ustr):
-            byte = ustr('\xef\xbb\xbf', self.encoding, 'ignore')
-        if bibtex_str[:3] == byte:
-            bibtex_str = bibtex_str[3:]
-        return StringIO(bibtex_str)
-
-    def parse(self, bibtex_str):
-        """Parse a BibTeX string into an object
-
-        :param bibtex_str: BibTeX string
-        :type: str or unicode
-        :return: bibliographic database
-        :rtype: BibDatabase
-        """
-        self.bibtex_file_obj = self._bibtex_file_obj(bibtex_str)
-        self._parse_records(customization=self.customization)
-        return self.bib_database
-
-    def parse_file(self, file):
-        """Parse a BibTeX file into an object
-
-        :param file: BibTeX file or file-like object
-        :type: file
-        :return: bibliographic database
-        :rtype: BibDatabase
-        """
-        return self.parse(file.read())
-
-    def _parse_records(self, customization=None):
-        """Parse the bibtex into a list of records.
-
-        :param customization: a function
-        """
-        def _add_parsed_record(record, records):
-            """
-            Atomic function to parse a record
-            and append the result in records
-            """
-            if record != "":
-                logger.debug('The record is not empty. Let\'s parse it.')
-                parsed = self._parse_record(record, customization=customization)
-                if parsed:
-                    logger.debug('Store the result of the parsed record')
-                    records.append(parsed)
-                else:
-                    logger.debug('Nothing returned from the parsed record!')
-            else:
-                logger.debug('The record is empty')
-
-        records = []
-        record = ""
-        # read each line, bundle them up until they form an object, then send for parsing
-        for linenumber, line in enumerate(self.bibtex_file_obj):
-            logger.debug('Inspect line %s', linenumber)
-            if line.strip().startswith('@'):
-                # Remove leading whitespaces
-                line = line.lstrip()
-                logger.debug('Line starts with @')
-                # Parse previous record
-                _add_parsed_record(record, records)
-                # Start new record
-                logger.debug('The record is set to empty')
-                record = ""
-            # Keep adding lines to the record
-            record += line
-
-        # catch any remaining record and send it for parsing
-        _add_parsed_record(record, records)
-        logger.debug('Set the list of entries')
-        self.bib_database.entries = records
-
-    def _parse_record(self, record, customization=None):
-        """Parse a record.
-
-        * tidy whitespace and other rubbish
-        * parse out the bibtype and citekey
-        * find all the key-value pairs it contains
-
-        :param record: a record
-        :param customization: a function
-
-        :returns: dict --
-        """
-        d = {}
-
-        if not record.startswith('@'):
-            logger.debug('The record does not start with @. Return empty dict.')
-            return {}
-
-        # if a comment record, add to bib_database.comments
-        if record.lower().startswith('@comment'):
-            logger.debug('The record startswith @comment')
-            logger.debug('Store comment in list of comments')
-
-            self.bib_database.comments.append(re.search('\{(.*)\}', record, re.DOTALL).group(1))
-
-            logger.debug('Return an empty dict')
-            return {}
-
-        # if a preamble record, add to bib_database.preambles
-        if record.lower().startswith('@preamble'):
-            logger.debug('The record startswith @preamble')
-            logger.debug('Store preamble in list of preambles')
-
-            self.bib_database.preambles.append(re.search('\{(.*)\}', record, re.DOTALL).group(1))
-
-            logger.debug('Return an empty dict')
-            return {}
-
-        # prepare record
-        record = '\n'.join([i.strip() for i in record.split('\n')])
-        if '}\n' in record:
-            logger.debug('}\\n detected in the record. Clean up.')
-            record = record.replace('\r\n', '\n').replace('\r', '\n').rstrip('\n')
-            # treat the case for which the last line of the record
-            # does not have a coma
-            if record.endswith('}\n}') or record.endswith('}}'):
-                logger.debug('Missing coma in the last line of the record. Fix it.')
-                record = re.sub('}(\n|)}$', '},\n}', record)
-
-        # if a string record, put it in the replace_dict
-        if record.lower().startswith('@string'):
-            logger.debug('The record startswith @string')
-            key, val = [i.strip().strip('{').strip('}').replace('\n', ' ') for i in record.split('{', 1)[1].strip('}').strip('\n').strip(',').split('=')]
-            key = key.lower()  # key is case insensitive
-            val = self._string_subst_partial(val)
-            if val.startswith('"') or val.lower() not in self.bib_database.strings:
-                self.bib_database.strings[key] = val.strip('"')
-            else:
-                self.bib_database.strings[key] = self.bib_database.strings[val.lower()]
-            logger.debug('Return a dict')
-            return d
-
-        # for each line in record
-        logger.debug('Split the record of its lines and treat them')
-        kvs = [i.strip() for i in re.split(',\s*\n|\n\s*,', record)]
-        inkey = ""
-        inval = ""
-        for kv in kvs:
-            logger.debug('Inspect: %s', kv)
-            # TODO: We may check that the keyword belongs to a known type
-            if kv.startswith('@') and not inkey:
-                # it is the start of the record - set the bibtype and citekey (id)
-                logger.debug('Line starts with @ and the key is not stored yet.')
-                bibtype, id = kv.split('{', 1)
-                bibtype = self._add_key(bibtype)
-                id = id.lstrip().strip('}').strip(',')
-                logger.debug('bibtype = %s', bibtype)
-                logger.debug('id = %s', id)
-                if self.ignore_nonstandard_types and bibtype not in ('article',
-                                                                     'book',
-                                                                     'booklet',
-                                                                     'conference',
-                                                                     'inbook',
-                                                                     'incollection',
-                                                                     'inproceedings',
-                                                                     'manual',
-                                                                     'mastersthesis',
-                                                                     'misc',
-                                                                     'phdthesis',
-                                                                     'proceedings',
-                                                                     'techreport',
-                                                                     'unpublished'):
-                    logger.warning('Entry type %s not standard. Not considered.', bibtype)
-                    break
-            elif '=' in kv and not inkey:
-                # it is a line with a key value pair on it
-                logger.debug('Line contains a key-pair value and the key is not stored yet.')
-                key, val = [i.strip() for i in kv.split('=', 1)]
-                key = self._add_key(key)
-                val = self._string_subst_partial(val)
-                # if it looks like the value spans lines, store details for next loop
-                if (val.count('{') != val.count('}')) or (val.startswith('"') and not val.replace('}', '').endswith('"')):
-                    logger.debug('The line is not ending the record.')
-                    inkey = key
-                    inval = val
-                else:
-                    logger.debug('The line is the end of the record.')
-                    d[key] = self._add_val(val)
-            elif inkey:
-                logger.debug('Continues the previous line to complete the key pair value...')
-                # if this line continues the value from a previous line, append
-                inval += ', ' + kv
-                # if it looks like this line finishes the value, store it and clear for next loop
-                if (inval.startswith('{') and inval.endswith('}')) or (inval.startswith('"') and inval.endswith('"')):
-                    logger.debug('This line represents the end of the current key-pair value')
-                    d[inkey] = self._add_val(inval)
-                    inkey = ""
-                    inval = ""
-                else:
-                    logger.debug('This line does NOT represent the end of the current key-pair value')
-
-        logger.debug('All lines have been treated')
-        if not d:
-            logger.debug('The dict is empty, return it.')
-            return d
-
-        d['ENTRYTYPE'] = bibtype
-        d['ID'] = id
-
-        if customization is None:
-            logger.debug('No customization to apply, return dict')
-            return d
-        else:
-            # apply any customizations to the record object then return it
-            logger.debug('Apply customizations and return dict')
-            return customization(d)
-
-    def _strip_quotes(self, val):
-        """Strip double quotes enclosing string
-
-        :param val: a value
-        :type val: string
-        :returns: string -- value
-        """
-        logger.debug('Strip quotes')
-        val = val.strip()
-        if val.startswith('"') and val.endswith('"'):
-            return val[1:-1]
-        return val
-
-    def _strip_braces(self, val):
-        """Strip braces enclosing string
-
-        :param val: a value
-        :type val: string
-        :returns: string -- value
-        """
-        logger.debug('Strip braces')
-        val = val.strip()
-        if val.startswith('{') and val.endswith('}') and self._full_span(val):
-            return val[1:-1]
-        return val
-
-    def _full_span(self, val):
-        cnt = 0
-        for i in range(0, len(val)):
-                if val[i] == '{':
-                        cnt += 1
-                elif val[i] == '}':
-                        cnt -= 1
-                if cnt == 0:
-                        break
-        if i == len(val) - 1:
-                return True
-        else:
-                return False
-
-    def _string_subst(self, val):
-        """ Substitute string definitions
-
-        :param val: a value
-        :type val: string
-        :returns: string -- value
-        """
-        logger.debug('Substitute string definitions')
-        if not val:
-            return ''
-        for k in list(self.bib_database.strings.keys()):
-            if val.lower() == k:
-                val = self.bib_database.strings[k]
-        if not isinstance(val, ustr):
-            val = ustr(val, self.encoding, 'ignore')
-
-        return val
-
-    def _string_subst_partial(self, val):
-        """ Substitute string definitions inside larger expressions
-
-        :param val: a value
-        :type val: string
-        :returns: string -- value
-        """
-        def repl(m):
-            k = m.group('id')
-            replacement = self.bib_database.strings[k.lower()] if k.lower() in self.bib_database.strings else k
-            pre = '"' if m.group('pre') != '"' else ''
-            post = '"' if m.group('post') != '"' else ''
-            return pre + replacement + post
-
-        logger.debug('Substitute string definitions inside larger expressions')
-        if '#' not in val:
-            return val
-
-        # TODO?: Does not match two subsequent variables or strings, such as  "start" # foo # bar # "end"  or  "start" # "end".
-        # TODO:  Does not support braces instead of quotes, e.g.: {start} # foo # {bar}
-        # TODO:  Does not support strings like: "te#s#t"
-        return self.replace_all_re.sub(repl, val)
-
-    def _add_val(self, val):
-        """ Clean instring before adding to dictionary
-
-        :param val: a value
-        :type val: string
-        :returns: string -- value
-        """
-        if not val or val == "{}":
-            return ''
-        val = self._strip_braces(val)
-        val = self._strip_quotes(val)
-        val = self._strip_braces(val)
-        val = self._string_subst(val)
-        return val
-
-    def _add_key(self, key):
-        """ Add a key and homogeneize alternative forms.
-
-        :param key: a key
-        :type key: string
-        :returns: string -- value
-        """
-        key = key.strip().strip('@').lower()
-        if self.homogenise_fields:
-            if key in list(self.alt_dict.keys()):
-                key = self.alt_dict[key]
-        if not isinstance(key, ustr):
-            return ustr(key, 'utf-8')
-        else:
-            return key
diff --git a/uberwriter/plugins/bibtex/bibtexparser/bwriter.py b/uberwriter/plugins/bibtex/bibtexparser/bwriter.py
deleted file mode 100644
index 65472a4..0000000
--- a/uberwriter/plugins/bibtex/bibtexparser/bwriter.py
+++ /dev/null
@@ -1,136 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-# Author: Francois Boulogne
-# License:
-
-import logging
-from .bibdatabase import BibDatabase
-
-logger = logging.getLogger(__name__)
-
-__all__ = ['BibTexWriter']
-
-
-def to_bibtex(parsed):
-    """
-    Convenience function for backwards compatibility.
-    """
-    return BibTexWriter().write(parsed)
-
-
-class BibTexWriter(object):
-    """
-    Writer to convert a :class:`BibDatabase` object to a string or file formatted as a BibTeX file.
-
-    Example::
-
-        from bibtexparser.bwriter import BibTexWriter
-
-        bib_database = ...
-
-        writer = BibTexWriter()
-        writer.contents = ['comments', 'entries']
-        writer.indent = '  '
-        writer.order_entries_by = ('ENTRYTYPE', 'author', 'year')
-        bibtex_str = bibtexparser.dumps(bib_database, writer)
-
-    """
-
-    _valid_contents = ['entries', 'comments', 'preambles', 'strings']
-
-    def __init__(self):
-        #: List of BibTeX elements to write, valid values are `entries`, `comments`, `preambles`, `strings`.
-        self.contents = ['comments', 'preambles', 'strings', 'entries']
-        #: Character(s) for indenting BibTeX field-value pairs. Default: single space.
-        self.indent = ' '
-        #: Align values. Determines the maximal number of characters used in any fieldname and aligns all values
-        #    according to that by filling up with single spaces. Default: False
-        self.align_values = False
-        #: Characters(s) for separating BibTeX entries. Default: new line.
-        self.entry_separator = '\n'
-        #: Tuple of fields for ordering BibTeX entries. Set to `None` to disable sorting. Default: BibTeX key `('ID', )`.
-        self.order_entries_by = ('ID', )
-        #: Tuple of fields for display order in a single BibTeX entry. Fields not listed here will be displayed
-        #: alphabetically at the end. Set to '[]' for alphabetical order. Default: '[]'
-        self.display_order = []
-        #: BibTeX syntax allows comma first syntax
-        #: (common in functional languages), use this to enable
-        #: comma first syntax as the bwritter output
-        self.comma_first = False
-
-        #: internal variable used if self.align_values = True
-        self._max_field_width = 0
-
-
-    def write(self, bib_database):
-        """
-        Converts a bibliographic database to a BibTeX-formatted string.
-
-        :param bib_database: bibliographic database to be converted to a BibTeX string
-        :type bib_database: BibDatabase
-        :return: BibTeX-formatted string
-        :rtype: str or unicode
-        """
-        bibtex = ''
-        for content in self.contents:
-            try:
-                # Add each element set (entries, comments)
-                bibtex += getattr(self, '_' + content + '_to_bibtex')(bib_database)
-            except AttributeError:
-                logger.warning("BibTeX item '{}' does not exist and will not be written. Valid items are {}."
-                               .format(content, self._valid_contents))
-        return bibtex
-
-    def _entries_to_bibtex(self, bib_database):
-        bibtex = ''
-        if self.order_entries_by:
-            # TODO: allow sort field does not exist for entry
-            entries = sorted(bib_database.entries, key=lambda x: BibDatabase.entry_sort_key(x, self.order_entries_by))
-        else:
-            entries = bib_database.entries
-
-        if self.align_values:
-            # determine maximum field width to be used
-            widths = [max(map(len, entry.keys())) for entry in entries]
-            self._max_field_width = max(widths)
-
-        for entry in entries:
-            bibtex += self._entry_to_bibtex(entry)
-        return bibtex
-
-    def _entry_to_bibtex(self, entry):
-        bibtex = ''
-        # Write BibTeX key
-        bibtex += '@' + entry['ENTRYTYPE'] + '{' + entry['ID']
-
-        # create display_order of fields for this entry
-        # first those keys which are both in self.display_order and in entry.keys
-        display_order = [i for i in self.display_order if i in entry]
-        # then all the other fields sorted alphabetically
-        more_fields = [i for i in sorted(entry) if i not in self.display_order]
-        display_order += [i for i in sorted(entry) if i not in self.display_order]
-
-        # Write field = value lines
-        for field in [i for i in display_order if i not in ['ENTRYTYPE', 'ID']]:
-            try:
-                if self.comma_first:
-                    bibtex += "\n" + self.indent + ", " + "{0:<{1}}".format(field, self._max_field_width) + " = {" + entry[field] + "}"
-                else:
-                    bibtex += ",\n" + self.indent + "{0:<{1}}".format(field, self._max_field_width) + " = {" + entry[field] + "}"
-            except TypeError:
-                raise TypeError(u"The field %s in entry %s must be a string"
-                                % (field, entry['ID']))
-        bibtex += "\n}\n" + self.entry_separator
-        return bibtex
-
-    def _comments_to_bibtex(self, bib_database):
-        return ''.join(['@comment{{{0}}}\n{1}'.format(comment, self.entry_separator)
-                        for comment in bib_database.comments])
-
-    def _preambles_to_bibtex(self, bib_database):
-        return ''.join(['@preamble{{{0}}}\n{1}'.format(preamble, self.entry_separator)
-                        for preamble in bib_database.preambles])
-
-    def _strings_to_bibtex(self, bib_database):
-        return ''.join(['@string{{{0} = "{1}"}}\n{2}'.format(name, value, self.entry_separator)
-                        for name, value in bib_database.strings.items()])
diff --git a/uberwriter/plugins/bibtex/bibtexparser/customization.py b/uberwriter/plugins/bibtex/bibtexparser/customization.py
deleted file mode 100644
index 9b46025..0000000
--- a/uberwriter/plugins/bibtex/bibtexparser/customization.py
+++ /dev/null
@@ -1,255 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-"""
-A set of functions useful for customizing bibtex fields.
-You can find inspiration from these functions to design yours.
-Each of them takes a record and return the modified record.
-"""
-
-import itertools
-import re
-import logging
-
-from .latexenc import unicode_to_latex, unicode_to_crappy_latex1, unicode_to_crappy_latex2, string_to_latex, protect_uppercase
-
-logger = logging.getLogger(__name__)
-
-__all__ = ['getnames', 'author', 'editor', 'journal', 'keyword', 'link',
-           'page_double_hyphen', 'doi', 'type', 'convert_to_unicode',
-           'homogeneize_latex_encoding']
-
-
-def getnames(names):
-    """Make people names as surname, firstnames
-    or surname, initials. Should eventually combine up the two.
-
-    :param names: a list of names
-    :type names: list
-    :returns: list -- Correctly formated names
-    """
-    tidynames = []
-    for namestring in names:
-        namestring = namestring.strip()
-        if len(namestring) < 1:
-            continue
-        if ',' in namestring:
-            namesplit = namestring.split(',', 1)
-            last = namesplit[0].strip()
-            firsts = [i.strip() for i in namesplit[1].split()]
-        else:
-            namesplit = namestring.split()
-            last = namesplit.pop()
-            firsts = [i.replace('.', '. ').strip() for i in namesplit]
-        if last in ['jnr', 'jr', 'junior']:
-            last = firsts.pop()
-        for item in firsts:
-            if item in ['ben', 'van', 'der', 'de', 'la', 'le']:
-                last = firsts.pop() + ' ' + last
-        tidynames.append(last + ", " + ' '.join(firsts))
-    return tidynames
-
-
-def author(record):
-    """
-    Split author field into a list of "Name, Surname".
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-
-    """
-    if "author" in record:
-        if record["author"]:
-            record["author"] = getnames([i.strip() for i in record["author"].replace('\n', ' ').split(" and ")])
-        else:
-            del record["author"]
-    return record
-
-
-def editor(record):
-    """
-    Turn the editor field into a dict composed of the original editor name
-    and a editor id (without coma or blank).
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-
-    """
-    if "editor" in record:
-        if record["editor"]:
-            record["editor"] = getnames([i.strip() for i in record["editor"].replace('\n', ' ').split(" and ")])
-            # convert editor to object
-            record["editor"] = [{"name": i, "ID": i.replace(',', '').replace(' ', '').replace('.', '')} for i in record["editor"]]
-        else:
-            del record["editor"]
-    return record
-
-
-def page_double_hyphen(record):
-    """
-    Separate pages by a double hyphen (--).
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-
-    """
-    if "pages" in record:
-        # hyphen, non-breaking hyphen, en dash, em dash, hyphen-minus, minus sign
-        separators = [u'‐', u'‑', u'–', u'—', u'-', u'−']
-        for separator in separators:
-            if separator in record["pages"]:
-                p = [i.strip().strip(separator) for i in record["pages"].split(separator)]
-                record["pages"] = p[0] + '--' + p[-1]
-    return record
-
-
-def type(record):
-    """
-    Put the type into lower case.
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-
-    """
-    if "type" in record:
-        record["type"] = record["type"].lower()
-    return record
-
-
-def journal(record):
-    """
-    Turn the journal field into a dict composed of the original journal name
-    and a journal id (without coma or blank).
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-
-    """
-    if "journal" in record:
-        # switch journal to object
-        if record["journal"]:
-            record["journal"] = {"name": record["journal"], "ID": record["journal"].replace(',', '').replace(' ', '').replace('.', '')}
-
-    return record
-
-
-def keyword(record, sep=',|;'):
-    """
-    Split keyword field into a list.
-
-    :param record: the record.
-    :type record: dict
-    :param sep: pattern used for the splitting regexp.
-    :type record: string, optional
-    :returns: dict -- the modified record.
-
-    """
-    if "keyword" in record:
-        record["keyword"] = [i.strip() for i in re.split(sep, record["keyword"].replace('\n', ''))]
-
-    return record
-
-
-def link(record):
-    """
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-
-    """
-    if "link" in record:
-        links = [i.strip().replace("  ", " ") for i in record["link"].split('\n')]
-        record['link'] = []
-        for link in links:
-            parts = link.split(" ")
-            linkobj = {"url": parts[0]}
-            if len(parts) > 1:
-                linkobj["anchor"] = parts[1]
-            if len(parts) > 2:
-                linkobj["format"] = parts[2]
-            if len(linkobj["url"]) > 0:
-                record["link"].append(linkobj)
-
-    return record
-
-
-def doi(record):
-    """
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-
-    """
-    if 'doi' in record:
-        if 'link' not in record:
-            record['link'] = []
-        nodoi = True
-        for item in record['link']:
-            if 'doi' in item:
-                nodoi = False
-        if nodoi:
-            link = record['doi']
-            if link.startswith('10'):
-                link = 'http://dx.doi.org/' + link
-            record['link'].append({"url": link, "anchor": "doi"})
-    return record
-
-
-def convert_to_unicode(record):
-    """
-    Convert accent from latex to unicode style.
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-    """
-    for val in record:
-        if '\\' in record[val] or '{' in record[val]:
-            for k, v in itertools.chain(unicode_to_crappy_latex1, unicode_to_latex):
-                if v in record[val]:
-                    record[val] = record[val].replace(v, k)
-
-        # If there is still very crappy items
-        if '\\' in record[val]:
-            for k, v in unicode_to_crappy_latex2:
-                if v in record[val]:
-                    parts = record[val].split(str(v))
-                    for key, record[val] in enumerate(parts):
-                        if key+1 < len(parts) and len(parts[key+1]) > 0:
-                            # Change order to display accents
-                            parts[key] = parts[key] + parts[key+1][0]
-                            parts[key+1] = parts[key+1][1:]
-                    record[val] = k.join(parts)
-    return record
-
-
-def homogeneize_latex_encoding(record):
-    """
-    Homogeneize the latex enconding style for bibtex
-
-    This function is experimental.
-
-    :param record: the record.
-    :type record: dict
-    :returns: dict -- the modified record.
-    """
-    # First, we convert everything to unicode
-    record = convert_to_unicode(record)
-    # And then, we fall back
-    for val in record:
-        if val not in ('ID',):
-            logger.debug('Apply string_to_latex to: %s', val)
-            record[val] = string_to_latex(record[val])
-            if val == 'title':
-                logger.debug('Protect uppercase in title')
-                logger.debug('Before: %s', record[val])
-                record[val] = protect_uppercase(record[val])
-                logger.debug('After: %s', record[val])
-    return record
diff --git a/uberwriter/plugins/bibtex/bibtexparser/latexenc.py b/uberwriter/plugins/bibtex/bibtexparser/latexenc.py
deleted file mode 100644
index b919a24..0000000
--- a/uberwriter/plugins/bibtex/bibtexparser/latexenc.py
+++ /dev/null
@@ -1,2643 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-# Original source: github.com/okfn/bibserver
-# Authors:
-# markmacgillivray
-# Etienne Posthumus (epoz)
-# Francois Boulogne 
-
-import re
-import sys
-
-__all__ = ['string_to_latex', 'protect_uppercase', 'unicode_to_latex',
-           'unicode_to_crappy_latex1', 'unicode_to_crappy_latex2']
-
-
-def string_to_latex(string):
-    """
-    Convert a string to its latex equivalent
-    """
-    escape = [' ', '{', '}']
-
-    new = []
-    for char in string:
-        if char in escape:
-            new.append(char)
-        else:
-            new.append(unicode_to_latex_map.get(char, char))
-    return ''.join(new)
-
-
-def protect_uppercase(string):
-    """
-    Protect uppercase letters for bibtex
-
-    :param string: string to convert
-    :returns: string
-    """
-    string = re.sub('([^{]|^)([A-Z])([^}]|$)', '\g<1>{\g<2>}\g<3>', string)
-    return string
-
-
-# list of latex conversions from
-# https://gist.github.com/798549
-# this list contrains crappy accents
-# like \`{e} which is not advised for bibtex
-# http://tex.stackexchange.com/questions/57743/how-to-write-a-and-other-umlauts-and-accented-letters-in-bibliography/57745#57745
-# Correct accent are in unicode_to_latex
-unicode_to_latex = []
-unicode_to_latex_map = {}
-unicode_to_crappy_latex1 = []
-unicode_to_crappy_latex2 = []
-
-def prepare_unicode_to_latex():
-    global unicode_to_latex
-    global unicode_to_latex_map
-    global unicode_to_crappy_latex1
-    global unicode_to_crappy_latex2
-
-    to_crappy1 = (
-        ("\u00C0", "\\`{A}"),
-        ("\u00C1", "\\'{A}"),
-        ("\u00C2", "\\^{A}"),
-        ("\u00C3", "\\~{A}"),
-        ("\u00C4", "\\\"{A}"),
-        ("\u00C5", "\\AA "),
-        ("\u00C6", "\\AE "),
-        ("\u00C7", "\\c{C}"),
-        ("\u00C8", "\\`{E}"),
-        ("\u00C9", "\\'{E}"),
-        ("\u00CA", "\\^{E}"),
-        ("\u00CB", "\\\"{E}"),
-        ("\u00CC", "\\`{I}"),
-        ("\u00CD", "\\'{I}"),
-        ("\u00CE", "\\^{I}"),
-        ("\u00CF", "\\\"{I}"),
-        ("\u00D0", "\\DH "),
-        ("\u00D1", "\\~{N}"),
-        ("\u00D2", "\\`{O}"),
-        ("\u00D3", "\\'{O}"),
-        ("\u00D4", "\\^{O}"),
-        ("\u00D5", "\\~{O}"),
-        ("\u00D6", "\\\"{O}"),
-        ("\u00D7", "\\texttimes "),
-        ("\u00D8", "\\O "),
-        ("\u00D9", "\\`{U}"),
-        ("\u00DA", "\\'{U}"),
-        ("\u00DB", "\\^{U}"),
-        ("\u00DC", "\\\"{U}"),
-        ("\u00DD", "\\'{Y}"),
-        ("\u00DE", "\\TH "),
-        ("\u00DF", "\\ss "),
-        ("\u00E0", "\\`{a}"),
-        ("\u00E1", "\\'{a}"),
-        ("\u00E2", "\\^{a}"),
-        ("\u00E3", "\\~{a}"),
-        ("\u00E4", "\\\"{a}"),
-        ("\u00E5", "\\aa "),
-        ("\u00E6", "\\ae "),
-        ("\u00E7", "\\c{c}"),
-        ("\u00E8", "\\`{e}"),
-        ("\u00E9", "\\'{e}"),
-        ("\u00EA", "\\^{e}"),
-        ("\u00EB", "\\\"{e}"),
-        ("\u00EC", "\\`{\\i}"),
-        ("\u00ED", "\\'{\\i}"),
-        ("\u00EE", "\\^{\\i}"),
-        ("\u00EF", "\\\"{\\i}"),
-        ("\u00F0", "\\dh "),
-        ("\u00F1", "\\~{n}"),
-        ("\u00F2", "\\`{o}"),
-        ("\u00F3", "\\'{o}"),
-        ("\u00F4", "\\^{o}"),
-        ("\u00F5", "\\~{o}"),
-        ("\u00F6", "\\\"{o}"),
-        ("\u00F7", "\\div "),
-        ("\u00F8", "\\o "),
-        ("\u00F9", "\\`{u}"),
-        ("\u00FA", "\\'{u}"),
-        ("\u00FB", "\\^{u}"),
-        ("\u00FC", "\\\"{u}"),
-        ("\u00FD", "\\'{y}"),
-        ("\u00FE", "\\th "),
-        ("\u00FF", "\\\"{y}"),
-        ("\u0100", "\\={A}"),
-        ("\u0101", "\\={a}"),
-        ("\u0102", "\\u{A}"),
-        ("\u0103", "\\u{a}"),
-        ("\u0104", "\\k{A}"),
-        ("\u0105", "\\k{a}"),
-        ("\u0106", "\\'{C}"),
-        ("\u0107", "\\'{c}"),
-        ("\u0108", "\\^{C}"),
-        ("\u0109", "\\^{c}"),
-        ("\u010A", "\\.{C}"),
-        ("\u010B", "\\.{c}"),
-        ("\u010C", "\\v{C}"),
-        ("\u010D", "\\v{c}"),
-        ("\u010E", "\\v{D}"),
-        ("\u010F", "\\v{d}"),
-        ("\u0110", "\\DJ "),
-        ("\u0111", "\\dj "),
-        ("\u0112", "\\={E}"),
-        ("\u0113", "\\={e}"),
-        ("\u0114", "\\u{E}"),
-        ("\u0115", "\\u{e}"),
-        ("\u0116", "\\.{E}"),
-        ("\u0117", "\\.{e}"),
-        ("\u0118", "\\k{E}"),
-        ("\u0119", "\\k{e}"),
-        ("\u011A", "\\v{E}"),
-        ("\u011B", "\\v{e}"),
-        ("\u011C", "\\^{G}"),
-        ("\u011D", "\\^{g}"),
-        ("\u011E", "\\u{G}"),
-        ("\u011F", "\\u{g}"),
-        ("\u0120", "\\.{G}"),
-        ("\u0121", "\\.{g}"),
-        ("\u0122", "\\c{G}"),
-        ("\u0123", "\\c{g}"),
-        ("\u0124", "\\^{H}"),
-        ("\u0125", "\\^{h}"),
-        ("\u0126", "{\\fontencoding{LELA}\\selectfont\\char40}"),
-        ("\u0127", "\\Elzxh "),
-        ("\u0128", "\\~{I}"),
-        ("\u0129", "\\~{\\i}"),
-        ("\u012A", "\\={I}"),
-        ("\u012B", "\\={\\i}"),
-        ("\u012C", "\\u{I}"),
-        ("\u012D", "\\u{\\i}"),
-        ("\u012E", "\\k{I}"),
-        ("\u012F", "\\k{i}"),
-        ("\u0130", "\\.{I}"),
-        ("\u0131", "\\i "),
-#        (u"\u0132", "IJ"),
-#        (u"\u0133", "ij"),
-        ("\u0134", "\\^{J}"),
-        ("\u0135", "\\^{\\j}"),
-        ("\u0136", "\\c{K}"),
-        ("\u0137", "\\c{k}"),
-        ("\u0138", "{\\fontencoding{LELA}\\selectfont\\char91}"),
-        ("\u0139", "\\'{L}"),
-        ("\u013A", "\\'{l}"),
-        ("\u013B", "\\c{L}"),
-        ("\u013C", "\\c{l}"),
-        ("\u013D", "\\v{L}"),
-        ("\u013E", "\\v{l}"),
-        ("\u013F", "{\\fontencoding{LELA}\\selectfont\\char201}"),
-        ("\u0140", "{\\fontencoding{LELA}\\selectfont\\char202}"),
-        ("\u0141", "\\L "),
-        ("\u0142", "\\l "),
-        ("\u0143", "\\'{N}"),
-        ("\u0144", "\\'{n}"),
-        ("\u0145", "\\c{N}"),
-        ("\u0146", "\\c{n}"),
-        ("\u0147", "\\v{N}"),
-        ("\u0148", "\\v{n}"),
-        ("\u0149", "'n"),
-        ("\u014A", "\\NG "),
-        ("\u014B", "\\ng "),
-        ("\u014C", "\\={O}"),
-        ("\u014D", "\\={o}"),
-        ("\u014E", "\\u{O}"),
-        ("\u014F", "\\u{o}"),
-        ("\u0150", "\\H{O}"),
-        ("\u0151", "\\H{o}"),
-        ("\u0152", "\\OE "),
-        ("\u0153", "\\oe "),
-        ("\u0154", "\\'{R}"),
-        ("\u0155", "\\'{r}"),
-        ("\u0156", "\\c{R}"),
-        ("\u0157", "\\c{r}"),
-        ("\u0158", "\\v{R}"),
-        ("\u0159", "\\v{r}"),
-        ("\u015A", "\\'{S}"),
-        ("\u015B", "\\'{s}"),
-        ("\u015C", "\\^{S}"),
-        ("\u015D", "\\^{s}"),
-        ("\u015E", "\\c{S}"),
-        ("\u015F", "\\c{s}"),
-        ("\u0160", "\\v{S}"),
-        ("\u0161", "\\v{s}"),
-        ("\u0162", "\\c{T}"),
-        ("\u0163", "\\c{t}"),
-        ("\u0164", "\\v{T}"),
-        ("\u0165", "\\v{t}"),
-        ("\u0166", "{\\fontencoding{LELA}\\selectfont\\char47}"),
-        ("\u0167", "{\\fontencoding{LELA}\\selectfont\\char63}"),
-        ("\u0168", "\\~{U}"),
-        ("\u0169", "\\~{u}"),
-        ("\u016A", "\\={U}"),
-        ("\u016B", "\\={u}"),
-        ("\u016C", "\\u{U}"),
-        ("\u016D", "\\u{u}"),
-        ("\u016E", "\\r{U}"),
-        ("\u016F", "\\r{u}"),
-        ("\u0170", "\\H{U}"),
-        ("\u0171", "\\H{u}"),
-        ("\u0172", "\\k{U}"),
-        ("\u0173", "\\k{u}"),
-        ("\u0174", "\\^{W}"),
-        ("\u0175", "\\^{w}"),
-        ("\u0176", "\\^{Y}"),
-        ("\u0177", "\\^{y}"),
-        ("\u0178", "\\\"{Y}"),
-        ("\u0179", "\\'{Z}"),
-        ("\u017A", "\\'{z}"),
-        ("\u017B", "\\.{Z}"),
-        ("\u017C", "\\.{z}"),
-        ("\u017D", "\\v{Z}"),
-        ("\u017E", "\\v{z}"),
-        ("\u0195", "\\texthvlig "),
-        ("\u019E", "\\textnrleg "),
-        ("\u01AA", "\\eth "),
-        ("\u01BA", "{\\fontencoding{LELA}\\selectfont\\char195}"),
-        ("\u01C2", "\\textdoublepipe "),
-        ("\u01F5", "\\'{g}"),
-        ("\u0386", "\\'{A}"),
-        ("\u0388", "\\'{E}"),
-        ("\u0389", "\\'{H}"),
-        ("\u03CC", "\\'{o}"),
-    )
-
-    # These are dangerous
-    # should not be used on
-    # {\'E} for instance!
-    to_crappy2 = (
-        ("\u0300", "\\`"),
-        ("\u0301", "\\'"),
-        ("\u0302", "\\^"),
-        ("\u0327", "\\c"),
-    )
-
-    # list of latex conversions from
-    # https://gist.github.com/798549
-    # Corrected \`{e} -> {\`e}
-    to_latex = (
-        ("\u0020", "\\space "),
-        ("\u0023", "\\#"),
-        ("\u0024", "\\textdollar "),
-        ("\u0025", "\\%"),
-        ("\u0026", "\\&"),
-        ("\u0027", "\\textquotesingle "),
-        ("\u002A", "\\ast "),
-        ("\u005C", "\\textbackslash "),
-        ("\u005E", "\\^{}"),
-        ("\u005F", "\\_"),
-        ("\u0060", "\\textasciigrave "),
-        ("\u007B", "\\lbrace "),
-        ("\u007C", "\\vert "),
-        ("\u007D", "\\rbrace "),
-        ("\u007E", "\\textasciitilde "),
-        ("\u00A1", "\\textexclamdown "),
-        ("\u00A2", "\\textcent "),
-        ("\u00A3", "\\textsterling "),
-        ("\u00A4", "\\textcurrency "),
-        ("\u00A5", "\\textyen "),
-        ("\u00A6", "\\textbrokenbar "),
-        ("\u00A7", "\\textsection "),
-        ("\u00A8", "\\textasciidieresis "),
-        ("\u00A9", "\\textcopyright "),
-        ("\u00AA", "\\textordfeminine "),
-        ("\u00AB", "\\guillemotleft "),
-        ("\u00AC", "\\lnot "),
-        ("\u00AD", "\\-"),
-        ("\u00AE", "\\textregistered "),
-        ("\u00AF", "\\textasciimacron "),
-        ("\u00B0", "\\textdegree "),
-        ("\u00B1", "\\pm "),
-        ("\u00B2", "{^2}"),
-        ("\u00B3", "{^3}"),
-        ("\u00B4", "\\textasciiacute "),
-        ("\u00B5", "\\mathrm{\\mu}"),
-        ("\u00B6", "\\textparagraph "),
-        ("\u00B7", "\\cdot "),
-        ("\u00B8", "\\c{}"),
-        ("\u00B9", "{^1}"),
-        ("\u00BA", "\\textordmasculine "),
-        ("\u00BB", "\\guillemotright "),
-        ("\u00BC", "\\textonequarter "),
-        ("\u00BD", "\\textonehalf "),
-        ("\u00BE", "\\textthreequarters "),
-        ("\u00BF", "\\textquestiondown "),
-        ("\u00C0", "{\\`A}"),
-        ("\u00C1", "{\\'A}"),
-        ("\u00C2", "{\\^A}"),
-        ("\u00C3", "{\\~A}"),
-        ("\u00C4", "{\\\"A}"),
-        ("\u00C5", "{\\AA}"),
-        ("\u00C6", "{\\AE}"),
-        ("\u00C7", "{\\c C}"),
-        ("\u00C8", "{\\`E}"),
-        ("\u00C9", "{\\'E}"),
-        ("\u00CA", "{\\^E}"),
-        ("\u00CB", "{\\\"E}"),
-        ("\u00CC", "{\\`I}"),
-        ("\u00CD", "{\\'I}"),
-        ("\u00CE", "{\\^I}"),
-        ("\u00CF", "{\\\"I}"),
-        ("\u00D0", "{\\DH}"),
-        ("\u00D1", "{\\~N}"),
-        ("\u00D2", "{\\`O}"),
-        ("\u00D3", "{\\'O}"),
-        ("\u00D4", "{\\^O}"),
-        ("\u00D5", "{\\~O}"),
-        ("\u00D6", "{\\\"O}"),
-        ("\u00D7", "\\texttimes "),
-        ("\u00D8", "{\\O}"),
-        ("\u00D9", "{\\`U}"),
-        ("\u00DA", "{\\'U}"),
-        ("\u00DB", "{\\^U}"),
-        ("\u00DC", "{\\\"U}"),
-        ("\u00DD", "{\\'Y}"),
-        ("\u00DE", "{\\TH}"),
-        ("\u00DF", "{\\ss}"),
-        ("\u00E0", "{\\`a}"),
-        ("\u00E1", "{\\'a}"),
-        ("\u00E2", "{\\^a}"),
-        ("\u00E3", "{\\~a}"),
-        ("\u00E4", "{\\\"a}"),
-        ("\u00E5", "{\\aa}"),
-        ("\u00E6", "{\\ae}"),
-        ("\u00E7", "{\\c c}"),
-        ("\u00E8", "{\\`e}"),
-        ("\u00E9", "{\\'e}"),
-        ("\u00EA", "{\\^e}"),
-        ("\u00EB", "{\\\"e}"),
-        ("\u00EC", "{\\`\\i}"),
-        ("\u00ED", "{\\'\\i}"),
-        ("\u00EE", "{\\^\\i}"),
-        ("\u00EF", "{\\\"\\i}"),
-        ("\u00F0", "{\\dh }"),
-        ("\u00F1", "{\\~n}"),
-        ("\u00F2", "{\\`o}"),
-        ("\u00F3", "{\\'o}"),
-        ("\u00F4", "{\\^o}"),
-        ("\u00F5", "{\\~o}"),
-        ("\u00F6", "{\\\"o}"),
-        ("\u00F7", "{\\div}"),
-        ("\u00F8", "{\\o}"),
-        ("\u00F9", "{\\`u}"),
-        ("\u00FA", "{\\'u}"),
-        ("\u00FB", "{\\^u}"),
-        ("\u00FC", "{\\\"u}"),
-        ("\u00FD", "{\\'y}"),
-        ("\u00FE", "{\\th}"),
-        ("\u00FF", "{\\\"y}"),
-        ("\u0100", "{\\= A}"),
-        ("\u0101", "{\\= a}"),
-        ("\u0102", "{\\u A}"),
-        ("\u0103", "{\\u a}"),
-        ("\u0104", "{\\k A}"),
-        ("\u0105", "{\\k a}"),
-        ("\u0106", "{\\' C}"),
-        ("\u0107", "{\\' c}"),
-        ("\u0108", "{\\^ C}"),
-        ("\u0109", "{\\^ c}"),
-        ("\u010A", "{\\. C}"),
-        ("\u010B", "{\\. c}"),
-        ("\u010C", "{\\v C}"),
-        ("\u010D", "{\\v c}"),
-        ("\u010E", "{\\v D}"),
-        ("\u010F", "{\\v d}"),
-        ("\u0110", "{\\DJ}"),
-        ("\u0111", "{\\dj}"),
-        ("\u0112", "{\\= E}"),
-        ("\u0113", "{\\= e}"),
-        ("\u0114", "{\\u E}"),
-        ("\u0115", "{\\u e}"),
-        ("\u0116", "{\\.E}"),
-        ("\u0117", "{\\.e}"),
-        ("\u0118", "{\\k E}"),
-        ("\u0119", "{\\k e}"),
-        ("\u011A", "{\\v E}"),
-        ("\u011B", "{\\v e}"),
-        ("\u011C", "{\\^ G}"),
-        ("\u011D", "{\\^ g}"),
-        ("\u011E", "{\\u G}"),
-        ("\u011F", "{\\u g}"),
-        ("\u0120", "{\\. G}"),
-        ("\u0121", "{\\. g}"),
-        ("\u0122", "{\\c G}"),
-        ("\u0123", "{\\c g}"),
-        ("\u0124", "{\\^ H}"),
-        ("\u0125", "{\\^ h}"),
-        ("\u0126", "{\\fontencoding{LELA}\\selectfont\\char40}"),
-        ("\u0127", "\\Elzxh "),
-        ("\u0128", "{\\~ I}"),
-        ("\u0129", "{\\~ \\i}"),
-        ("\u012A", "{\\= I}"),
-        ("\u012B", "{\\= \\i}"),
-        ("\u012C", "{\\u I}"),
-        ("\u012D", "{\\u \\i}"),
-        ("\u012E", "{\\k I}"),
-        ("\u012F", "{\\k i}"),
-        ("\u0130", "{\\. I}"),
-        ("\u0131", "{\\i}"),
-#        (u"\u0132", "IJ"),
-#        (u"\u0133", "ij"),
-        ("\u0134", "{\\^J}"),
-        ("\u0135", "{\\^\\j}"),
-        ("\u0136", "{\\c K}"),
-        ("\u0137", "{\\c k}"),
-        ("\u0138", "{\\fontencoding{LELA}\\selectfont\\char91}"),
-        ("\u0139", "{\\'L}"),
-        ("\u013A", "{\\'l}"),
-        ("\u013B", "{\\c L}"),
-        ("\u013C", "{\\c l}"),
-        ("\u013D", "{\\v L}"),
-        ("\u013E", "{\\v l}"),
-        ("\u013F", "{\\fontencoding{LELA}\\selectfont\\char201}"),
-        ("\u0140", "{\\fontencoding{LELA}\\selectfont\\char202}"),
-        ("\u0141", "{\\L}"),
-        ("\u0142", "{\\l}"),
-        ("\u0143", "{\\'N}"),
-        ("\u0144", "{\\'n}"),
-        ("\u0145", "{\\c N}"),
-        ("\u0146", "{\\c n}"),
-        ("\u0147", "{\\v N}"),
-        ("\u0148", "{\\v n}"),
-        ("\u0149", "'n"),
-        ("\u014A", "{\\NG}"),
-        ("\u014B", "{\\ng}"),
-        ("\u014C", "{\\= O}"),
-        ("\u014D", "{\\= o}"),
-        ("\u014E", "{\\u O}"),
-        ("\u014F", "{\\u o}"),
-        ("\u0150", "{\\H O}"),
-        ("\u0151", "{\\H o}"),
-        ("\u0152", "{\\OE}"),
-        ("\u0153", "{\\oe}"),
-        ("\u0154", "{\\'R}"),
-        ("\u0155", "{\\'r}"),
-        ("\u0156", "{\\c R}"),
-        ("\u0157", "{\\c r}"),
-        ("\u0158", "{\\v R}"),
-        ("\u0159", "{\\v r}"),
-        ("\u015A", "{\\' S}"),
-        ("\u015B", "{\\' s}"),
-        ("\u015C", "{\\^ S}"),
-        ("\u015D", "{\\^ s}"),
-        ("\u015E", "{\\c S}"),
-        ("\u015F", "{\\c s}"),
-        ("\u0160", "{\\v S}"),
-        ("\u0161", "{\\v s}"),
-        ("\u0162", "{\\c T}"),
-        ("\u0163", "{\\c t}"),
-        ("\u0164", "{\\v T}"),
-        ("\u0165", "{\\v t}"),
-        ("\u0166", "{\\fontencoding{LELA}\\selectfont\\char47}"),
-        ("\u0167", "{\\fontencoding{LELA}\\selectfont\\char63}"),
-        ("\u0168", "{\\~ U}"),
-        ("\u0169", "{\\~ u}"),
-        ("\u016A", "{\\= U}"),
-        ("\u016B", "{\\= u}"),
-        ("\u016C", "{\\u U}"),
-        ("\u016D", "{\\u u}"),
-        ("\u016E", "{\\r U}"),
-        ("\u016F", "{\\r u}"),
-        ("\u0170", "{\\H U}"),
-        ("\u0171", "{\\H u}"),
-        ("\u0172", "{\\k U}"),
-        ("\u0173", "{\\k u}"),
-        ("\u0174", "{\\^ W}"),
-        ("\u0175", "{\\^ w}"),
-        ("\u0176", "{\\^ Y}"),
-        ("\u0177", "{\\^ y}"),
-        ("\u0178", "{\\\" Y}"),
-        ("\u0179", "{\\' Z}"),
-        ("\u017A", "{\\' z}"),
-        ("\u017B", "{\\. Z}"),
-        ("\u017C", "{\\. z}"),
-        ("\u017D", "{\\v Z}"),
-        ("\u017E", "{\\v z}"),
-        ("\u0195", "{\\texthvlig}"),
-        ("\u019E", "{\\textnrleg}"),
-        ("\u01AA", "{\\eth}"),
-        ("\u01BA", "{\\fontencoding{LELA}\\selectfont\\char195}"),
-        ("\u01C2", "\\textdoublepipe "),
-        ("\u01F5", "{\\' g}"),
-        ("\u0250", "\\Elztrna "),
-        ("\u0252", "\\Elztrnsa "),
-        ("\u0254", "\\Elzopeno "),
-        ("\u0256", "\\Elzrtld "),
-        ("\u0258", "{\\fontencoding{LEIP}\\selectfont\\char61}"),
-        ("\u0259", "\\Elzschwa "),
-        ("\u025B", "\\varepsilon "),
-        ("\u0263", "\\Elzpgamma "),
-        ("\u0264", "\\Elzpbgam "),
-        ("\u0265", "\\Elztrnh "),
-        ("\u026C", "\\Elzbtdl "),
-        ("\u026D", "\\Elzrtll "),
-        ("\u026F", "\\Elztrnm "),
-        ("\u0270", "\\Elztrnmlr "),
-        ("\u0271", "\\Elzltlmr "),
-        ("\u0272", "\\Elzltln "),
-        ("\u0273", "\\Elzrtln "),
-        ("\u0277", "\\Elzclomeg "),
-        ("\u0278", "\\textphi "),
-        ("\u0279", "\\Elztrnr "),
-        ("\u027A", "\\Elztrnrl "),
-        ("\u027B", "\\Elzrttrnr "),
-        ("\u027C", "\\Elzrl "),
-        ("\u027D", "\\Elzrtlr "),
-        ("\u027E", "\\Elzfhr "),
-        ("\u027F", "{\\fontencoding{LEIP}\\selectfont\\char202}"),
-        ("\u0282", "\\Elzrtls "),
-        ("\u0283", "\\Elzesh "),
-        ("\u0287", "\\Elztrnt "),
-        ("\u0288", "\\Elzrtlt "),
-        ("\u028A", "\\Elzpupsil "),
-        ("\u028B", "\\Elzpscrv "),
-        ("\u028C", "\\Elzinvv "),
-        ("\u028D", "\\Elzinvw "),
-        ("\u028E", "\\Elztrny "),
-        ("\u0290", "\\Elzrtlz "),
-        ("\u0292", "\\Elzyogh "),
-        ("\u0294", "\\Elzglst "),
-        ("\u0295", "\\Elzreglst "),
-        ("\u0296", "\\Elzinglst "),
-        ("\u029E", "\\textturnk "),
-        ("\u02A4", "\\Elzdyogh "),
-        ("\u02A7", "\\Elztesh "),
-        ("\u02C7", "\\textasciicaron "),
-        ("\u02C8", "\\Elzverts "),
-        ("\u02CC", "\\Elzverti "),
-        ("\u02D0", "\\Elzlmrk "),
-        ("\u02D1", "\\Elzhlmrk "),
-        ("\u02D2", "\\Elzsbrhr "),
-        ("\u02D3", "\\Elzsblhr "),
-        ("\u02D4", "\\Elzrais "),
-        ("\u02D5", "\\Elzlow "),
-        ("\u02D8", "\\textasciibreve "),
-        ("\u02D9", "\\textperiodcentered "),
-        ("\u02DA", "\\r{}"),
-        ("\u02DB", "\\k{}"),
-        ("\u02DC", "\\texttildelow "),
-        ("\u02DD", "\\H{}"),
-        ("\u02E5", "\\tone{55}"),
-        ("\u02E6", "\\tone{44}"),
-        ("\u02E7", "\\tone{33}"),
-        ("\u02E8", "\\tone{22}"),
-        ("\u02E9", "\\tone{11}"),
-        ("\u0303", "\\~"),
-        ("\u0304", "\\="),
-        ("\u0306", "\\u"),
-        ("\u0307", "\\."),
-        ("\u0308", "\\\""),
-        ("\u030A", "\\r"),
-        ("\u030B", "\\H"),
-        ("\u030C", "\\v"),
-        ("\u030F", "\\cyrchar\\C"),
-        ("\u0311", "{\\fontencoding{LECO}\\selectfont\\char177}"),
-        ("\u0318", "{\\fontencoding{LECO}\\selectfont\\char184}"),
-        ("\u0319", "{\\fontencoding{LECO}\\selectfont\\char185}"),
-        ("\u0321", "\\Elzpalh "),
-        ("\u0322", "\\Elzrh "),
-        ("\u0328", "\\k"),
-        ("\u032A", "\\Elzsbbrg "),
-        ("\u032B", "{\\fontencoding{LECO}\\selectfont\\char203}"),
-        ("\u032F", "{\\fontencoding{LECO}\\selectfont\\char207}"),
-        ("\u0335", "\\Elzxl "),
-        ("\u0336", "\\Elzbar "),
-        ("\u0337", "{\\fontencoding{LECO}\\selectfont\\char215}"),
-        ("\u0338", "{\\fontencoding{LECO}\\selectfont\\char216}"),
-        ("\u033A", "{\\fontencoding{LECO}\\selectfont\\char218}"),
-        ("\u033B", "{\\fontencoding{LECO}\\selectfont\\char219}"),
-        ("\u033C", "{\\fontencoding{LECO}\\selectfont\\char220}"),
-        ("\u033D", "{\\fontencoding{LECO}\\selectfont\\char221}"),
-        ("\u0361", "{\\fontencoding{LECO}\\selectfont\\char225}"),
-        ("\u0386", "{\\' A}"),
-        ("\u0388", "{\\' E}"),
-        ("\u0389", "{\\' H}"),
-        ("\u038A", "\\'{}{I}"),
-        ("\u038C", "\\'{}O"),
-        ("\u038E", "\\mathrm{'Y}"),
-        ("\u038F", "\\mathrm{'\\Omega}"),
-        ("\u0390", "\\acute{\\ddot{\\iota}}"),
-        ("\u0391", "\\Alpha "),
-        ("\u0392", "\\Beta "),
-        ("\u0393", "\\Gamma "),
-        ("\u0394", "\\Delta "),
-        ("\u0395", "\\Epsilon "),
-        ("\u0396", "\\Zeta "),
-        ("\u0397", "\\Eta "),
-        ("\u0398", "\\Theta "),
-        ("\u0399", "\\Iota "),
-        ("\u039A", "\\Kappa "),
-        ("\u039B", "\\Lambda "),
-        ("\u039E", "\\Xi "),
-        ("\u03A0", "\\Pi "),
-        ("\u03A1", "\\Rho "),
-        ("\u03A3", "\\Sigma "),
-        ("\u03A4", "\\Tau "),
-        ("\u03A5", "\\Upsilon "),
-        ("\u03A6", "\\Phi "),
-        ("\u03A7", "\\Chi "),
-        ("\u03A8", "\\Psi "),
-        ("\u03A9", "\\Omega "),
-        ("\u03AA", "\\mathrm{\\ddot{I}}"),
-        ("\u03AB", "\\mathrm{\\ddot{Y}}"),
-        ("\u03AC", "\\'{$\\alpha$}"),
-        ("\u03AD", "\\acute{\\epsilon}"),
-        ("\u03AE", "\\acute{\\eta}"),
-        ("\u03AF", "\\acute{\\iota}"),
-        ("\u03B0", "\\acute{\\ddot{\\upsilon}}"),
-        ("\u03B1", "\\alpha "),
-        ("\u03B2", "\\beta "),
-        ("\u03B3", "\\gamma "),
-        ("\u03B4", "\\delta "),
-        ("\u03B5", "\\epsilon "),
-        ("\u03B6", "\\zeta "),
-        ("\u03B7", "\\eta "),
-        ("\u03B8", "\\texttheta "),
-        ("\u03B9", "\\iota "),
-        ("\u03BA", "\\kappa "),
-        ("\u03BB", "\\lambda "),
-        ("\u03BC", "\\mu "),
-        ("\u03BD", "\\nu "),
-        ("\u03BE", "\\xi "),
-        ("\u03C0", "\\pi "),
-        ("\u03C1", "\\rho "),
-        ("\u03C2", "\\varsigma "),
-        ("\u03C3", "\\sigma "),
-        ("\u03C4", "\\tau "),
-        ("\u03C5", "\\upsilon "),
-        ("\u03C6", "\\varphi "),
-        ("\u03C7", "\\chi "),
-        ("\u03C8", "\\psi "),
-        ("\u03C9", "\\omega "),
-        ("\u03CA", "\\ddot{\\iota}"),
-        ("\u03CB", "\\ddot{\\upsilon}"),
-        ("\u03CC", "{\\' o}"),
-        ("\u03CD", "\\acute{\\upsilon}"),
-        ("\u03CE", "\\acute{\\omega}"),
-        ("\u03D0", "\\Pisymbol{ppi022}{87}"),
-        ("\u03D1", "\\textvartheta "),
-        ("\u03D2", "\\Upsilon "),
-        ("\u03D5", "\\phi "),
-        ("\u03D6", "\\varpi "),
-        ("\u03DA", "\\Stigma "),
-        ("\u03DC", "\\Digamma "),
-        ("\u03DD", "\\digamma "),
-        ("\u03DE", "\\Koppa "),
-        ("\u03E0", "\\Sampi "),
-        ("\u03F0", "\\varkappa "),
-        ("\u03F1", "\\varrho "),
-        ("\u03F4", "\\textTheta "),
-        ("\u03F6", "\\backepsilon "),
-        ("\u0401", "\\cyrchar\\CYRYO "),
-        ("\u0402", "\\cyrchar\\CYRDJE "),
-        ("\u0403", "\\cyrchar{\\'\\CYRG}"),
-        ("\u0404", "\\cyrchar\\CYRIE "),
-        ("\u0405", "\\cyrchar\\CYRDZE "),
-        ("\u0406", "\\cyrchar\\CYRII "),
-        ("\u0407", "\\cyrchar\\CYRYI "),
-        ("\u0408", "\\cyrchar\\CYRJE "),
-        ("\u0409", "\\cyrchar\\CYRLJE "),
-        ("\u040A", "\\cyrchar\\CYRNJE "),
-        ("\u040B", "\\cyrchar\\CYRTSHE "),
-        ("\u040C", "\\cyrchar{\\'\\CYRK}"),
-        ("\u040E", "\\cyrchar\\CYRUSHRT "),
-        ("\u040F", "\\cyrchar\\CYRDZHE "),
-        ("\u0410", "\\cyrchar\\CYRA "),
-        ("\u0411", "\\cyrchar\\CYRB "),
-        ("\u0412", "\\cyrchar\\CYRV "),
-        ("\u0413", "\\cyrchar\\CYRG "),
-        ("\u0414", "\\cyrchar\\CYRD "),
-        ("\u0415", "\\cyrchar\\CYRE "),
-        ("\u0416", "\\cyrchar\\CYRZH "),
-        ("\u0417", "\\cyrchar\\CYRZ "),
-        ("\u0418", "\\cyrchar\\CYRI "),
-        ("\u0419", "\\cyrchar\\CYRISHRT "),
-        ("\u041A", "\\cyrchar\\CYRK "),
-        ("\u041B", "\\cyrchar\\CYRL "),
-        ("\u041C", "\\cyrchar\\CYRM "),
-        ("\u041D", "\\cyrchar\\CYRN "),
-        ("\u041E", "\\cyrchar\\CYRO "),
-        ("\u041F", "\\cyrchar\\CYRP "),
-        ("\u0420", "\\cyrchar\\CYRR "),
-        ("\u0421", "\\cyrchar\\CYRS "),
-        ("\u0422", "\\cyrchar\\CYRT "),
-        ("\u0423", "\\cyrchar\\CYRU "),
-        ("\u0424", "\\cyrchar\\CYRF "),
-        ("\u0425", "\\cyrchar\\CYRH "),
-        ("\u0426", "\\cyrchar\\CYRC "),
-        ("\u0427", "\\cyrchar\\CYRCH "),
-        ("\u0428", "\\cyrchar\\CYRSH "),
-        ("\u0429", "\\cyrchar\\CYRSHCH "),
-        ("\u042A", "\\cyrchar\\CYRHRDSN "),
-        ("\u042B", "\\cyrchar\\CYRERY "),
-        ("\u042C", "\\cyrchar\\CYRSFTSN "),
-        ("\u042D", "\\cyrchar\\CYREREV "),
-        ("\u042E", "\\cyrchar\\CYRYU "),
-        ("\u042F", "\\cyrchar\\CYRYA "),
-        ("\u0430", "\\cyrchar\\cyra "),
-        ("\u0431", "\\cyrchar\\cyrb "),
-        ("\u0432", "\\cyrchar\\cyrv "),
-        ("\u0433", "\\cyrchar\\cyrg "),
-        ("\u0434", "\\cyrchar\\cyrd "),
-        ("\u0435", "\\cyrchar\\cyre "),
-        ("\u0436", "\\cyrchar\\cyrzh "),
-        ("\u0437", "\\cyrchar\\cyrz "),
-        ("\u0438", "\\cyrchar\\cyri "),
-        ("\u0439", "\\cyrchar\\cyrishrt "),
-        ("\u043A", "\\cyrchar\\cyrk "),
-        ("\u043B", "\\cyrchar\\cyrl "),
-        ("\u043C", "\\cyrchar\\cyrm "),
-        ("\u043D", "\\cyrchar\\cyrn "),
-        ("\u043E", "\\cyrchar\\cyro "),
-        ("\u043F", "\\cyrchar\\cyrp "),
-        ("\u0440", "\\cyrchar\\cyrr "),
-        ("\u0441", "\\cyrchar\\cyrs "),
-        ("\u0442", "\\cyrchar\\cyrt "),
-        ("\u0443", "\\cyrchar\\cyru "),
-        ("\u0444", "\\cyrchar\\cyrf "),
-        ("\u0445", "\\cyrchar\\cyrh "),
-        ("\u0446", "\\cyrchar\\cyrc "),
-        ("\u0447", "\\cyrchar\\cyrch "),
-        ("\u0448", "\\cyrchar\\cyrsh "),
-        ("\u0449", "\\cyrchar\\cyrshch "),
-        ("\u044A", "\\cyrchar\\cyrhrdsn "),
-        ("\u044B", "\\cyrchar\\cyrery "),
-        ("\u044C", "\\cyrchar\\cyrsftsn "),
-        ("\u044D", "\\cyrchar\\cyrerev "),
-        ("\u044E", "\\cyrchar\\cyryu "),
-        ("\u044F", "\\cyrchar\\cyrya "),
-        ("\u0451", "\\cyrchar\\cyryo "),
-        ("\u0452", "\\cyrchar\\cyrdje "),
-        ("\u0453", "\\cyrchar{\\'\\cyrg}"),
-        ("\u0454", "\\cyrchar\\cyrie "),
-        ("\u0455", "\\cyrchar\\cyrdze "),
-        ("\u0456", "\\cyrchar\\cyrii "),
-        ("\u0457", "\\cyrchar\\cyryi "),
-        ("\u0458", "\\cyrchar\\cyrje "),
-        ("\u0459", "\\cyrchar\\cyrlje "),
-        ("\u045A", "\\cyrchar\\cyrnje "),
-        ("\u045B", "\\cyrchar\\cyrtshe "),
-        ("\u045C", "\\cyrchar{\\'\\cyrk}"),
-        ("\u045E", "\\cyrchar\\cyrushrt "),
-        ("\u045F", "\\cyrchar\\cyrdzhe "),
-        ("\u0460", "\\cyrchar\\CYROMEGA "),
-        ("\u0461", "\\cyrchar\\cyromega "),
-        ("\u0462", "\\cyrchar\\CYRYAT "),
-        ("\u0464", "\\cyrchar\\CYRIOTE "),
-        ("\u0465", "\\cyrchar\\cyriote "),
-        ("\u0466", "\\cyrchar\\CYRLYUS "),
-        ("\u0467", "\\cyrchar\\cyrlyus "),
-        ("\u0468", "\\cyrchar\\CYRIOTLYUS "),
-        ("\u0469", "\\cyrchar\\cyriotlyus "),
-        ("\u046A", "\\cyrchar\\CYRBYUS "),
-        ("\u046C", "\\cyrchar\\CYRIOTBYUS "),
-        ("\u046D", "\\cyrchar\\cyriotbyus "),
-        ("\u046E", "\\cyrchar\\CYRKSI "),
-        ("\u046F", "\\cyrchar\\cyrksi "),
-        ("\u0470", "\\cyrchar\\CYRPSI "),
-        ("\u0471", "\\cyrchar\\cyrpsi "),
-        ("\u0472", "\\cyrchar\\CYRFITA "),
-        ("\u0474", "\\cyrchar\\CYRIZH "),
-        ("\u0478", "\\cyrchar\\CYRUK "),
-        ("\u0479", "\\cyrchar\\cyruk "),
-        ("\u047A", "\\cyrchar\\CYROMEGARND "),
-        ("\u047B", "\\cyrchar\\cyromegarnd "),
-        ("\u047C", "\\cyrchar\\CYROMEGATITLO "),
-        ("\u047D", "\\cyrchar\\cyromegatitlo "),
-        ("\u047E", "\\cyrchar\\CYROT "),
-        ("\u047F", "\\cyrchar\\cyrot "),
-        ("\u0480", "\\cyrchar\\CYRKOPPA "),
-        ("\u0481", "\\cyrchar\\cyrkoppa "),
-        ("\u0482", "\\cyrchar\\cyrthousands "),
-        ("\u0488", "\\cyrchar\\cyrhundredthousands "),
-        ("\u0489", "\\cyrchar\\cyrmillions "),
-        ("\u048C", "\\cyrchar\\CYRSEMISFTSN "),
-        ("\u048D", "\\cyrchar\\cyrsemisftsn "),
-        ("\u048E", "\\cyrchar\\CYRRTICK "),
-        ("\u048F", "\\cyrchar\\cyrrtick "),
-        ("\u0490", "\\cyrchar\\CYRGUP "),
-        ("\u0491", "\\cyrchar\\cyrgup "),
-        ("\u0492", "\\cyrchar\\CYRGHCRS "),
-        ("\u0493", "\\cyrchar\\cyrghcrs "),
-        ("\u0494", "\\cyrchar\\CYRGHK "),
-        ("\u0495", "\\cyrchar\\cyrghk "),
-        ("\u0496", "\\cyrchar\\CYRZHDSC "),
-        ("\u0497", "\\cyrchar\\cyrzhdsc "),
-        ("\u0498", "\\cyrchar\\CYRZDSC "),
-        ("\u0499", "\\cyrchar\\cyrzdsc "),
-        ("\u049A", "\\cyrchar\\CYRKDSC "),
-        ("\u049B", "\\cyrchar\\cyrkdsc "),
-        ("\u049C", "\\cyrchar\\CYRKVCRS "),
-        ("\u049D", "\\cyrchar\\cyrkvcrs "),
-        ("\u049E", "\\cyrchar\\CYRKHCRS "),
-        ("\u049F", "\\cyrchar\\cyrkhcrs "),
-        ("\u04A0", "\\cyrchar\\CYRKBEAK "),
-        ("\u04A1", "\\cyrchar\\cyrkbeak "),
-        ("\u04A2", "\\cyrchar\\CYRNDSC "),
-        ("\u04A3", "\\cyrchar\\cyrndsc "),
-        ("\u04A4", "\\cyrchar\\CYRNG "),
-        ("\u04A5", "\\cyrchar\\cyrng "),
-        ("\u04A6", "\\cyrchar\\CYRPHK "),
-        ("\u04A7", "\\cyrchar\\cyrphk "),
-        ("\u04A8", "\\cyrchar\\CYRABHHA "),
-        ("\u04A9", "\\cyrchar\\cyrabhha "),
-        ("\u04AA", "\\cyrchar\\CYRSDSC "),
-        ("\u04AB", "\\cyrchar\\cyrsdsc "),
-        ("\u04AC", "\\cyrchar\\CYRTDSC "),
-        ("\u04AD", "\\cyrchar\\cyrtdsc "),
-        ("\u04AE", "\\cyrchar\\CYRY "),
-        ("\u04AF", "\\cyrchar\\cyry "),
-        ("\u04B0", "\\cyrchar\\CYRYHCRS "),
-        ("\u04B1", "\\cyrchar\\cyryhcrs "),
-        ("\u04B2", "\\cyrchar\\CYRHDSC "),
-        ("\u04B3", "\\cyrchar\\cyrhdsc "),
-        ("\u04B4", "\\cyrchar\\CYRTETSE "),
-        ("\u04B5", "\\cyrchar\\cyrtetse "),
-        ("\u04B6", "\\cyrchar\\CYRCHRDSC "),
-        ("\u04B7", "\\cyrchar\\cyrchrdsc "),
-        ("\u04B8", "\\cyrchar\\CYRCHVCRS "),
-        ("\u04B9", "\\cyrchar\\cyrchvcrs "),
-        ("\u04BA", "\\cyrchar\\CYRSHHA "),
-        ("\u04BB", "\\cyrchar\\cyrshha "),
-        ("\u04BC", "\\cyrchar\\CYRABHCH "),
-        ("\u04BD", "\\cyrchar\\cyrabhch "),
-        ("\u04BE", "\\cyrchar\\CYRABHCHDSC "),
-        ("\u04BF", "\\cyrchar\\cyrabhchdsc "),
-        ("\u04C0", "\\cyrchar\\CYRpalochka "),
-        ("\u04C3", "\\cyrchar\\CYRKHK "),
-        ("\u04C4", "\\cyrchar\\cyrkhk "),
-        ("\u04C7", "\\cyrchar\\CYRNHK "),
-        ("\u04C8", "\\cyrchar\\cyrnhk "),
-        ("\u04CB", "\\cyrchar\\CYRCHLDSC "),
-        ("\u04CC", "\\cyrchar\\cyrchldsc "),
-        ("\u04D4", "\\cyrchar\\CYRAE "),
-        ("\u04D5", "\\cyrchar\\cyrae "),
-        ("\u04D8", "\\cyrchar\\CYRSCHWA "),
-        ("\u04D9", "\\cyrchar\\cyrschwa "),
-        ("\u04E0", "\\cyrchar\\CYRABHDZE "),
-        ("\u04E1", "\\cyrchar\\cyrabhdze "),
-        ("\u04E8", "\\cyrchar\\CYROTLD "),
-        ("\u04E9", "\\cyrchar\\cyrotld "),
-        ("\u2002", "\\hspace{0.6em}"),
-        ("\u2003", "\\hspace{1em}"),
-        ("\u2004", "\\hspace{0.33em}"),
-        ("\u2005", "\\hspace{0.25em}"),
-        ("\u2006", "\\hspace{0.166em}"),
-        ("\u2007", "\\hphantom{0}"),
-        ("\u2008", "\\hphantom{,}"),
-        ("\u2009", "\\hspace{0.167em}"),
-        ("\u2009-0200A-0200A", "\\;"),
-        ("\u200A", "\\mkern1mu "),
-        ("\u2013", "\\textendash "),
-        ("\u2014", "\\textemdash "),
-        ("\u2015", "\\rule{1em}{1pt}"),
-        ("\u2016", "\\Vert "),
-        ("\u201B", "\\Elzreapos "),
-        ("\u201C", "\\textquotedblleft "),
-        ("\u201D", "\\textquotedblright "),
-        ("\u201E", ",,"),
-        ("\u2020", "\\textdagger "),
-        ("\u2021", "\\textdaggerdbl "),
-        ("\u2022", "\\textbullet "),
-#        (u"\u2025", ".."),
-        ("\u2026", "\\ldots "),
-        ("\u2030", "\\textperthousand "),
-        ("\u2031", "\\textpertenthousand "),
-        ("\u2032", "{'}"),
-        ("\u2033", "{''}"),
-        ("\u2034", "{'''}"),
-        ("\u2035", "\\backprime "),
-        ("\u2039", "\\guilsinglleft "),
-        ("\u203A", "\\guilsinglright "),
-        ("\u2057", "''''"),
-        ("\u205F", "\\mkern4mu "),
-        ("\u2060", "\\nolinebreak "),
-        ("\u20A7", "\\ensuremath{\\Elzpes}"),
-        ("\u20AC", "\\mbox{\\texteuro} "),
-        ("\u20DB", "\\dddot "),
-        ("\u20DC", "\\ddddot "),
-        ("\u2102", "\\mathbb{C}"),
-        ("\u210A", "\\mathscr{g}"),
-        ("\u210B", "\\mathscr{H}"),
-        ("\u210C", "\\mathfrak{H}"),
-        ("\u210D", "\\mathbb{H}"),
-        ("\u210F", "\\hslash "),
-        ("\u2110", "\\mathscr{I}"),
-        ("\u2111", "\\mathfrak{I}"),
-        ("\u2112", "\\mathscr{L}"),
-        ("\u2113", "\\mathscr{l}"),
-        ("\u2115", "\\mathbb{N}"),
-        ("\u2116", "\\cyrchar\\textnumero "),
-        ("\u2118", "\\wp "),
-        ("\u2119", "\\mathbb{P}"),
-        ("\u211A", "\\mathbb{Q}"),
-        ("\u211B", "\\mathscr{R}"),
-        ("\u211C", "\\mathfrak{R}"),
-        ("\u211D", "\\mathbb{R}"),
-        ("\u211E", "\\Elzxrat "),
-        ("\u2122", "\\texttrademark "),
-        ("\u2124", "\\mathbb{Z}"),
-        ("\u2126", "\\Omega "),
-        ("\u2127", "\\mho "),
-        ("\u2128", "\\mathfrak{Z}"),
-        ("\u2129", "\\ElsevierGlyph{2129}"),
-        ("\u212B", "\\AA "),
-        ("\u212C", "\\mathscr{B}"),
-        ("\u212D", "\\mathfrak{C}"),
-        ("\u212F", "\\mathscr{e}"),
-        ("\u2130", "\\mathscr{E}"),
-        ("\u2131", "\\mathscr{F}"),
-        ("\u2133", "\\mathscr{M}"),
-        ("\u2134", "\\mathscr{o}"),
-        ("\u2135", "\\aleph "),
-        ("\u2136", "\\beth "),
-        ("\u2137", "\\gimel "),
-        ("\u2138", "\\daleth "),
-        ("\u2153", "\\textfrac{1}{3}"),
-        ("\u2154", "\\textfrac{2}{3}"),
-        ("\u2155", "\\textfrac{1}{5}"),
-        ("\u2156", "\\textfrac{2}{5}"),
-        ("\u2157", "\\textfrac{3}{5}"),
-        ("\u2158", "\\textfrac{4}{5}"),
-        ("\u2159", "\\textfrac{1}{6}"),
-        ("\u215A", "\\textfrac{5}{6}"),
-        ("\u215B", "\\textfrac{1}{8}"),
-        ("\u215C", "\\textfrac{3}{8}"),
-        ("\u215D", "\\textfrac{5}{8}"),
-        ("\u215E", "\\textfrac{7}{8}"),
-        ("\u2190", "\\leftarrow "),
-        ("\u2191", "\\uparrow "),
-        ("\u2192", "\\rightarrow "),
-        ("\u2193", "\\downarrow "),
-        ("\u2194", "\\leftrightarrow "),
-        ("\u2195", "\\updownarrow "),
-        ("\u2196", "\\nwarrow "),
-        ("\u2197", "\\nearrow "),
-        ("\u2198", "\\searrow "),
-        ("\u2199", "\\swarrow "),
-        ("\u219A", "\\nleftarrow "),
-        ("\u219B", "\\nrightarrow "),
-        ("\u219C", "\\arrowwaveright "),
-        ("\u219D", "\\arrowwaveright "),
-        ("\u219E", "\\twoheadleftarrow "),
-        ("\u21A0", "\\twoheadrightarrow "),
-        ("\u21A2", "\\leftarrowtail "),
-        ("\u21A3", "\\rightarrowtail "),
-        ("\u21A6", "\\mapsto "),
-        ("\u21A9", "\\hookleftarrow "),
-        ("\u21AA", "\\hookrightarrow "),
-        ("\u21AB", "\\looparrowleft "),
-        ("\u21AC", "\\looparrowright "),
-        ("\u21AD", "\\leftrightsquigarrow "),
-        ("\u21AE", "\\nleftrightarrow "),
-        ("\u21B0", "\\Lsh "),
-        ("\u21B1", "\\Rsh "),
-        ("\u21B3", "\\ElsevierGlyph{21B3}"),
-        ("\u21B6", "\\curvearrowleft "),
-        ("\u21B7", "\\curvearrowright "),
-        ("\u21BA", "\\circlearrowleft "),
-        ("\u21BB", "\\circlearrowright "),
-        ("\u21BC", "\\leftharpoonup "),
-        ("\u21BD", "\\leftharpoondown "),
-        ("\u21BE", "\\upharpoonright "),
-        ("\u21BF", "\\upharpoonleft "),
-        ("\u21C0", "\\rightharpoonup "),
-        ("\u21C1", "\\rightharpoondown "),
-        ("\u21C2", "\\downharpoonright "),
-        ("\u21C3", "\\downharpoonleft "),
-        ("\u21C4", "\\rightleftarrows "),
-        ("\u21C5", "\\dblarrowupdown "),
-        ("\u21C6", "\\leftrightarrows "),
-        ("\u21C7", "\\leftleftarrows "),
-        ("\u21C8", "\\upuparrows "),
-        ("\u21C9", "\\rightrightarrows "),
-        ("\u21CA", "\\downdownarrows "),
-        ("\u21CB", "\\leftrightharpoons "),
-        ("\u21CC", "\\rightleftharpoons "),
-        ("\u21CD", "\\nLeftarrow "),
-        ("\u21CE", "\\nLeftrightarrow "),
-        ("\u21CF", "\\nRightarrow "),
-        ("\u21D0", "\\Leftarrow "),
-        ("\u21D1", "\\Uparrow "),
-        ("\u21D2", "\\Rightarrow "),
-        ("\u21D3", "\\Downarrow "),
-        ("\u21D4", "\\Leftrightarrow "),
-        ("\u21D5", "\\Updownarrow "),
-        ("\u21DA", "\\Lleftarrow "),
-        ("\u21DB", "\\Rrightarrow "),
-        ("\u21DD", "\\rightsquigarrow "),
-        ("\u21F5", "\\DownArrowUpArrow "),
-        ("\u2200", "\\forall "),
-        ("\u2201", "\\complement "),
-        ("\u2202", "\\partial "),
-        ("\u2203", "\\exists "),
-        ("\u2204", "\\nexists "),
-        ("\u2205", "\\varnothing "),
-        ("\u2207", "\\nabla "),
-        ("\u2208", "\\in "),
-        ("\u2209", "\\not\\in "),
-        ("\u220B", "\\ni "),
-        ("\u220C", "\\not\\ni "),
-        ("\u220F", "\\prod "),
-        ("\u2210", "\\coprod "),
-        ("\u2211", "\\sum "),
-        ("\u2213", "\\mp "),
-        ("\u2214", "\\dotplus "),
-        ("\u2216", "\\setminus "),
-        ("\u2217", "{_\\ast}"),
-        ("\u2218", "\\circ "),
-        ("\u2219", "\\bullet "),
-        ("\u221A", "\\surd "),
-        ("\u221D", "\\propto "),
-        ("\u221E", "\\infty "),
-        ("\u221F", "\\rightangle "),
-        ("\u2220", "\\angle "),
-        ("\u2221", "\\measuredangle "),
-        ("\u2222", "\\sphericalangle "),
-        ("\u2223", "\\mid "),
-        ("\u2224", "\\nmid "),
-        ("\u2225", "\\parallel "),
-        ("\u2226", "\\nparallel "),
-        ("\u2227", "\\wedge "),
-        ("\u2228", "\\vee "),
-        ("\u2229", "\\cap "),
-        ("\u222A", "\\cup "),
-        ("\u222B", "\\int "),
-        ("\u222C", "\\int\\!\\int "),
-        ("\u222D", "\\int\\!\\int\\!\\int "),
-        ("\u222E", "\\oint "),
-        ("\u222F", "\\surfintegral "),
-        ("\u2230", "\\volintegral "),
-        ("\u2231", "\\clwintegral "),
-        ("\u2232", "\\ElsevierGlyph{2232}"),
-        ("\u2233", "\\ElsevierGlyph{2233}"),
-        ("\u2234", "\\therefore "),
-        ("\u2235", "\\because "),
-        ("\u2237", "\\Colon "),
-        ("\u2238", "\\ElsevierGlyph{2238}"),
-        ("\u223A", "\\mathbin{{:}\\!\\!{-}\\!\\!{:}}"),
-        ("\u223B", "\\homothetic "),
-        ("\u223C", "\\sim "),
-        ("\u223D", "\\backsim "),
-        ("\u223E", "\\lazysinv "),
-        ("\u2240", "\\wr "),
-        ("\u2241", "\\not\\sim "),
-        ("\u2242", "\\ElsevierGlyph{2242}"),
-        ("\u2242-00338", "\\NotEqualTilde "),
-        ("\u2243", "\\simeq "),
-        ("\u2244", "\\not\\simeq "),
-        ("\u2245", "\\cong "),
-        ("\u2246", "\\approxnotequal "),
-        ("\u2247", "\\not\\cong "),
-        ("\u2248", "\\approx "),
-        ("\u2249", "\\not\\approx "),
-        ("\u224A", "\\approxeq "),
-        ("\u224B", "\\tildetrpl "),
-        ("\u224B-00338", "\\not\\apid "),
-        ("\u224C", "\\allequal "),
-        ("\u224D", "\\asymp "),
-        ("\u224E", "\\Bumpeq "),
-        ("\u224E-00338", "\\NotHumpDownHump "),
-        ("\u224F", "\\bumpeq "),
-        ("\u224F-00338", "\\NotHumpEqual "),
-        ("\u2250", "\\doteq "),
-        ("\u2250-00338", "\\not\\doteq"),
-        ("\u2251", "\\doteqdot "),
-        ("\u2252", "\\fallingdotseq "),
-        ("\u2253", "\\risingdotseq "),
-        ("\u2254", ":="),
-        ("\u2255", "=:"),
-        ("\u2256", "\\eqcirc "),
-        ("\u2257", "\\circeq "),
-        ("\u2259", "\\estimates "),
-        ("\u225A", "\\ElsevierGlyph{225A}"),
-        ("\u225B", "\\starequal "),
-        ("\u225C", "\\triangleq "),
-        ("\u225F", "\\ElsevierGlyph{225F}"),
-        ("\u2260", "\\not ="),
-        ("\u2261", "\\equiv "),
-        ("\u2262", "\\not\\equiv "),
-        ("\u2264", "\\leq "),
-        ("\u2265", "\\geq "),
-        ("\u2266", "\\leqq "),
-        ("\u2267", "\\geqq "),
-        ("\u2268", "\\lneqq "),
-        ("\u2268-0FE00", "\\lvertneqq "),
-        ("\u2269", "\\gneqq "),
-        ("\u2269-0FE00", "\\gvertneqq "),
-        ("\u226A", "\\ll "),
-        ("\u226A-00338", "\\NotLessLess "),
-        ("\u226B", "\\gg "),
-        ("\u226B-00338", "\\NotGreaterGreater "),
-        ("\u226C", "\\between "),
-        ("\u226D", "\\not\\kern-0.3em\\times "),
-        ("\u226E", "\\not<"),
-        ("\u226F", "\\not>"),
-        ("\u2270", "\\not\\leq "),
-        ("\u2271", "\\not\\geq "),
-        ("\u2272", "\\lessequivlnt "),
-        ("\u2273", "\\greaterequivlnt "),
-        ("\u2274", "\\ElsevierGlyph{2274}"),
-        ("\u2275", "\\ElsevierGlyph{2275}"),
-        ("\u2276", "\\lessgtr "),
-        ("\u2277", "\\gtrless "),
-        ("\u2278", "\\notlessgreater "),
-        ("\u2279", "\\notgreaterless "),
-        ("\u227A", "\\prec "),
-        ("\u227B", "\\succ "),
-        ("\u227C", "\\preccurlyeq "),
-        ("\u227D", "\\succcurlyeq "),
-        ("\u227E", "\\precapprox "),
-        ("\u227E-00338", "\\NotPrecedesTilde "),
-        ("\u227F", "\\succapprox "),
-        ("\u227F-00338", "\\NotSucceedsTilde "),
-        ("\u2280", "\\not\\prec "),
-        ("\u2281", "\\not\\succ "),
-        ("\u2282", "\\subset "),
-        ("\u2283", "\\supset "),
-        ("\u2284", "\\not\\subset "),
-        ("\u2285", "\\not\\supset "),
-        ("\u2286", "\\subseteq "),
-        ("\u2287", "\\supseteq "),
-        ("\u2288", "\\not\\subseteq "),
-        ("\u2289", "\\not\\supseteq "),
-        ("\u228A", "\\subsetneq "),
-        ("\u228A-0FE00", "\\varsubsetneqq "),
-        ("\u228B", "\\supsetneq "),
-        ("\u228B-0FE00", "\\varsupsetneq "),
-        ("\u228E", "\\uplus "),
-        ("\u228F", "\\sqsubset "),
-        ("\u228F-00338", "\\NotSquareSubset "),
-        ("\u2290", "\\sqsupset "),
-        ("\u2290-00338", "\\NotSquareSuperset "),
-        ("\u2291", "\\sqsubseteq "),
-        ("\u2292", "\\sqsupseteq "),
-        ("\u2293", "\\sqcap "),
-        ("\u2294", "\\sqcup "),
-        ("\u2295", "\\oplus "),
-        ("\u2296", "\\ominus "),
-        ("\u2297", "\\otimes "),
-        ("\u2298", "\\oslash "),
-        ("\u2299", "\\odot "),
-        ("\u229A", "\\circledcirc "),
-        ("\u229B", "\\circledast "),
-        ("\u229D", "\\circleddash "),
-        ("\u229E", "\\boxplus "),
-        ("\u229F", "\\boxminus "),
-        ("\u22A0", "\\boxtimes "),
-        ("\u22A1", "\\boxdot "),
-        ("\u22A2", "\\vdash "),
-        ("\u22A3", "\\dashv "),
-        ("\u22A4", "\\top "),
-        ("\u22A5", "\\perp "),
-        ("\u22A7", "\\truestate "),
-        ("\u22A8", "\\forcesextra "),
-        ("\u22A9", "\\Vdash "),
-        ("\u22AA", "\\Vvdash "),
-        ("\u22AB", "\\VDash "),
-        ("\u22AC", "\\nvdash "),
-        ("\u22AD", "\\nvDash "),
-        ("\u22AE", "\\nVdash "),
-        ("\u22AF", "\\nVDash "),
-        ("\u22B2", "\\vartriangleleft "),
-        ("\u22B3", "\\vartriangleright "),
-        ("\u22B4", "\\trianglelefteq "),
-        ("\u22B5", "\\trianglerighteq "),
-        ("\u22B6", "\\original "),
-        ("\u22B7", "\\image "),
-        ("\u22B8", "\\multimap "),
-        ("\u22B9", "\\hermitconjmatrix "),
-        ("\u22BA", "\\intercal "),
-        ("\u22BB", "\\veebar "),
-        ("\u22BE", "\\rightanglearc "),
-        ("\u22C0", "\\ElsevierGlyph{22C0}"),
-        ("\u22C1", "\\ElsevierGlyph{22C1}"),
-        ("\u22C2", "\\bigcap "),
-        ("\u22C3", "\\bigcup "),
-        ("\u22C4", "\\diamond "),
-        ("\u22C5", "\\cdot "),
-        ("\u22C6", "\\star "),
-        ("\u22C7", "\\divideontimes "),
-        ("\u22C8", "\\bowtie "),
-        ("\u22C9", "\\ltimes "),
-        ("\u22CA", "\\rtimes "),
-        ("\u22CB", "\\leftthreetimes "),
-        ("\u22CC", "\\rightthreetimes "),
-        ("\u22CD", "\\backsimeq "),
-        ("\u22CE", "\\curlyvee "),
-        ("\u22CF", "\\curlywedge "),
-        ("\u22D0", "\\Subset "),
-        ("\u22D1", "\\Supset "),
-        ("\u22D2", "\\Cap "),
-        ("\u22D3", "\\Cup "),
-        ("\u22D4", "\\pitchfork "),
-        ("\u22D6", "\\lessdot "),
-        ("\u22D7", "\\gtrdot "),
-        ("\u22D8", "\\verymuchless "),
-        ("\u22D9", "\\verymuchgreater "),
-        ("\u22DA", "\\lesseqgtr "),
-        ("\u22DB", "\\gtreqless "),
-        ("\u22DE", "\\curlyeqprec "),
-        ("\u22DF", "\\curlyeqsucc "),
-        ("\u22E2", "\\not\\sqsubseteq "),
-        ("\u22E3", "\\not\\sqsupseteq "),
-        ("\u22E5", "\\Elzsqspne "),
-        ("\u22E6", "\\lnsim "),
-        ("\u22E7", "\\gnsim "),
-        ("\u22E8", "\\precedesnotsimilar "),
-        ("\u22E9", "\\succnsim "),
-        ("\u22EA", "\\ntriangleleft "),
-        ("\u22EB", "\\ntriangleright "),
-        ("\u22EC", "\\ntrianglelefteq "),
-        ("\u22ED", "\\ntrianglerighteq "),
-        ("\u22EE", "\\vdots "),
-        ("\u22EF", "\\cdots "),
-        ("\u22F0", "\\upslopeellipsis "),
-        ("\u22F1", "\\downslopeellipsis "),
-        ("\u2305", "\\barwedge "),
-        ("\u2306", "\\perspcorrespond "),
-        ("\u2308", "\\lceil "),
-        ("\u2309", "\\rceil "),
-        ("\u230A", "\\lfloor "),
-        ("\u230B", "\\rfloor "),
-        ("\u2315", "\\recorder "),
-        ("\u2316", "\\mathchar\"2208"),
-        ("\u231C", "\\ulcorner "),
-        ("\u231D", "\\urcorner "),
-        ("\u231E", "\\llcorner "),
-        ("\u231F", "\\lrcorner "),
-        ("\u2322", "\\frown "),
-        ("\u2323", "\\smile "),
-        ("\u2329", "\\langle "),
-        ("\u232A", "\\rangle "),
-        ("\u233D", "\\ElsevierGlyph{E838}"),
-        ("\u23A3", "\\Elzdlcorn "),
-        ("\u23B0", "\\lmoustache "),
-        ("\u23B1", "\\rmoustache "),
-        ("\u2423", "\\textvisiblespace "),
-        ("\u2460", "\\ding{172}"),
-        ("\u2461", "\\ding{173}"),
-        ("\u2462", "\\ding{174}"),
-        ("\u2463", "\\ding{175}"),
-        ("\u2464", "\\ding{176}"),
-        ("\u2465", "\\ding{177}"),
-        ("\u2466", "\\ding{178}"),
-        ("\u2467", "\\ding{179}"),
-        ("\u2468", "\\ding{180}"),
-        ("\u2469", "\\ding{181}"),
-        ("\u24C8", "\\circledS "),
-        ("\u2506", "\\Elzdshfnc "),
-        ("\u2519", "\\Elzsqfnw "),
-        ("\u2571", "\\diagup "),
-        ("\u25A0", "\\ding{110}"),
-        ("\u25A1", "\\square "),
-        ("\u25AA", "\\blacksquare "),
-        ("\u25AD", "\\fbox{~~}"),
-        ("\u25AF", "\\Elzvrecto "),
-        ("\u25B1", "\\ElsevierGlyph{E381}"),
-        ("\u25B2", "\\ding{115}"),
-        ("\u25B3", "\\bigtriangleup "),
-        ("\u25B4", "\\blacktriangle "),
-        ("\u25B5", "\\vartriangle "),
-        ("\u25B8", "\\blacktriangleright "),
-        ("\u25B9", "\\triangleright "),
-        ("\u25BC", "\\ding{116}"),
-        ("\u25BD", "\\bigtriangledown "),
-        ("\u25BE", "\\blacktriangledown "),
-        ("\u25BF", "\\triangledown "),
-        ("\u25C2", "\\blacktriangleleft "),
-        ("\u25C3", "\\triangleleft "),
-        ("\u25C6", "\\ding{117}"),
-        ("\u25CA", "\\lozenge "),
-        ("\u25CB", "\\bigcirc "),
-        ("\u25CF", "\\ding{108}"),
-        ("\u25D0", "\\Elzcirfl "),
-        ("\u25D1", "\\Elzcirfr "),
-        ("\u25D2", "\\Elzcirfb "),
-        ("\u25D7", "\\ding{119}"),
-        ("\u25D8", "\\Elzrvbull "),
-        ("\u25E7", "\\Elzsqfl "),
-        ("\u25E8", "\\Elzsqfr "),
-        ("\u25EA", "\\Elzsqfse "),
-        ("\u25EF", "\\bigcirc "),
-        ("\u2605", "\\ding{72}"),
-        ("\u2606", "\\ding{73}"),
-        ("\u260E", "\\ding{37}"),
-        ("\u261B", "\\ding{42}"),
-        ("\u261E", "\\ding{43}"),
-        ("\u263E", "\\rightmoon "),
-        ("\u263F", "\\mercury "),
-        ("\u2640", "\\venus "),
-        ("\u2642", "\\male "),
-        ("\u2643", "\\jupiter "),
-        ("\u2644", "\\saturn "),
-        ("\u2645", "\\uranus "),
-        ("\u2646", "\\neptune "),
-        ("\u2647", "\\pluto "),
-        ("\u2648", "\\aries "),
-        ("\u2649", "\\taurus "),
-        ("\u264A", "\\gemini "),
-        ("\u264B", "\\cancer "),
-        ("\u264C", "\\leo "),
-        ("\u264D", "\\virgo "),
-        ("\u264E", "\\libra "),
-        ("\u264F", "\\scorpio "),
-        ("\u2650", "\\sagittarius "),
-        ("\u2651", "\\capricornus "),
-        ("\u2652", "\\aquarius "),
-        ("\u2653", "\\pisces "),
-        ("\u2660", "\\ding{171}"),
-        ("\u2662", "\\diamond "),
-        ("\u2663", "\\ding{168}"),
-        ("\u2665", "\\ding{170}"),
-        ("\u2666", "\\ding{169}"),
-        ("\u2669", "\\quarternote "),
-        ("\u266A", "\\eighthnote "),
-        ("\u266D", "\\flat "),
-        ("\u266E", "\\natural "),
-        ("\u266F", "\\sharp "),
-        ("\u2701", "\\ding{33}"),
-        ("\u2702", "\\ding{34}"),
-        ("\u2703", "\\ding{35}"),
-        ("\u2704", "\\ding{36}"),
-        ("\u2706", "\\ding{38}"),
-        ("\u2707", "\\ding{39}"),
-        ("\u2708", "\\ding{40}"),
-        ("\u2709", "\\ding{41}"),
-        ("\u270C", "\\ding{44}"),
-        ("\u270D", "\\ding{45}"),
-        ("\u270E", "\\ding{46}"),
-        ("\u270F", "\\ding{47}"),
-        ("\u2710", "\\ding{48}"),
-        ("\u2711", "\\ding{49}"),
-        ("\u2712", "\\ding{50}"),
-        ("\u2713", "\\ding{51}"),
-        ("\u2714", "\\ding{52}"),
-        ("\u2715", "\\ding{53}"),
-        ("\u2716", "\\ding{54}"),
-        ("\u2717", "\\ding{55}"),
-        ("\u2718", "\\ding{56}"),
-        ("\u2719", "\\ding{57}"),
-        ("\u271A", "\\ding{58}"),
-        ("\u271B", "\\ding{59}"),
-        ("\u271C", "\\ding{60}"),
-        ("\u271D", "\\ding{61}"),
-        ("\u271E", "\\ding{62}"),
-        ("\u271F", "\\ding{63}"),
-        ("\u2720", "\\ding{64}"),
-        ("\u2721", "\\ding{65}"),
-        ("\u2722", "\\ding{66}"),
-        ("\u2723", "\\ding{67}"),
-        ("\u2724", "\\ding{68}"),
-        ("\u2725", "\\ding{69}"),
-        ("\u2726", "\\ding{70}"),
-        ("\u2727", "\\ding{71}"),
-        ("\u2729", "\\ding{73}"),
-        ("\u272A", "\\ding{74}"),
-        ("\u272B", "\\ding{75}"),
-        ("\u272C", "\\ding{76}"),
-        ("\u272D", "\\ding{77}"),
-        ("\u272E", "\\ding{78}"),
-        ("\u272F", "\\ding{79}"),
-        ("\u2730", "\\ding{80}"),
-        ("\u2731", "\\ding{81}"),
-        ("\u2732", "\\ding{82}"),
-        ("\u2733", "\\ding{83}"),
-        ("\u2734", "\\ding{84}"),
-        ("\u2735", "\\ding{85}"),
-        ("\u2736", "\\ding{86}"),
-        ("\u2737", "\\ding{87}"),
-        ("\u2738", "\\ding{88}"),
-        ("\u2739", "\\ding{89}"),
-        ("\u273A", "\\ding{90}"),
-        ("\u273B", "\\ding{91}"),
-        ("\u273C", "\\ding{92}"),
-        ("\u273D", "\\ding{93}"),
-        ("\u273E", "\\ding{94}"),
-        ("\u273F", "\\ding{95}"),
-        ("\u2740", "\\ding{96}"),
-        ("\u2741", "\\ding{97}"),
-        ("\u2742", "\\ding{98}"),
-        ("\u2743", "\\ding{99}"),
-        ("\u2744", "\\ding{100}"),
-        ("\u2745", "\\ding{101}"),
-        ("\u2746", "\\ding{102}"),
-        ("\u2747", "\\ding{103}"),
-        ("\u2748", "\\ding{104}"),
-        ("\u2749", "\\ding{105}"),
-        ("\u274A", "\\ding{106}"),
-        ("\u274B", "\\ding{107}"),
-        ("\u274D", "\\ding{109}"),
-        ("\u274F", "\\ding{111}"),
-        ("\u2750", "\\ding{112}"),
-        ("\u2751", "\\ding{113}"),
-        ("\u2752", "\\ding{114}"),
-        ("\u2756", "\\ding{118}"),
-        ("\u2758", "\\ding{120}"),
-        ("\u2759", "\\ding{121}"),
-        ("\u275A", "\\ding{122}"),
-        ("\u275B", "\\ding{123}"),
-        ("\u275C", "\\ding{124}"),
-        ("\u275D", "\\ding{125}"),
-        ("\u275E", "\\ding{126}"),
-        ("\u2761", "\\ding{161}"),
-        ("\u2762", "\\ding{162}"),
-        ("\u2763", "\\ding{163}"),
-        ("\u2764", "\\ding{164}"),
-        ("\u2765", "\\ding{165}"),
-        ("\u2766", "\\ding{166}"),
-        ("\u2767", "\\ding{167}"),
-        ("\u2776", "\\ding{182}"),
-        ("\u2777", "\\ding{183}"),
-        ("\u2778", "\\ding{184}"),
-        ("\u2779", "\\ding{185}"),
-        ("\u277A", "\\ding{186}"),
-        ("\u277B", "\\ding{187}"),
-        ("\u277C", "\\ding{188}"),
-        ("\u277D", "\\ding{189}"),
-        ("\u277E", "\\ding{190}"),
-        ("\u277F", "\\ding{191}"),
-        ("\u2780", "\\ding{192}"),
-        ("\u2781", "\\ding{193}"),
-        ("\u2782", "\\ding{194}"),
-        ("\u2783", "\\ding{195}"),
-        ("\u2784", "\\ding{196}"),
-        ("\u2785", "\\ding{197}"),
-        ("\u2786", "\\ding{198}"),
-        ("\u2787", "\\ding{199}"),
-        ("\u2788", "\\ding{200}"),
-        ("\u2789", "\\ding{201}"),
-        ("\u278A", "\\ding{202}"),
-        ("\u278B", "\\ding{203}"),
-        ("\u278C", "\\ding{204}"),
-        ("\u278D", "\\ding{205}"),
-        ("\u278E", "\\ding{206}"),
-        ("\u278F", "\\ding{207}"),
-        ("\u2790", "\\ding{208}"),
-        ("\u2791", "\\ding{209}"),
-        ("\u2792", "\\ding{210}"),
-        ("\u2793", "\\ding{211}"),
-        ("\u2794", "\\ding{212}"),
-        ("\u2798", "\\ding{216}"),
-        ("\u2799", "\\ding{217}"),
-        ("\u279A", "\\ding{218}"),
-        ("\u279B", "\\ding{219}"),
-        ("\u279C", "\\ding{220}"),
-        ("\u279D", "\\ding{221}"),
-        ("\u279E", "\\ding{222}"),
-        ("\u279F", "\\ding{223}"),
-        ("\u27A0", "\\ding{224}"),
-        ("\u27A1", "\\ding{225}"),
-        ("\u27A2", "\\ding{226}"),
-        ("\u27A3", "\\ding{227}"),
-        ("\u27A4", "\\ding{228}"),
-        ("\u27A5", "\\ding{229}"),
-        ("\u27A6", "\\ding{230}"),
-        ("\u27A7", "\\ding{231}"),
-        ("\u27A8", "\\ding{232}"),
-        ("\u27A9", "\\ding{233}"),
-        ("\u27AA", "\\ding{234}"),
-        ("\u27AB", "\\ding{235}"),
-        ("\u27AC", "\\ding{236}"),
-        ("\u27AD", "\\ding{237}"),
-        ("\u27AE", "\\ding{238}"),
-        ("\u27AF", "\\ding{239}"),
-        ("\u27B1", "\\ding{241}"),
-        ("\u27B2", "\\ding{242}"),
-        ("\u27B3", "\\ding{243}"),
-        ("\u27B4", "\\ding{244}"),
-        ("\u27B5", "\\ding{245}"),
-        ("\u27B6", "\\ding{246}"),
-        ("\u27B7", "\\ding{247}"),
-        ("\u27B8", "\\ding{248}"),
-        ("\u27B9", "\\ding{249}"),
-        ("\u27BA", "\\ding{250}"),
-        ("\u27BB", "\\ding{251}"),
-        ("\u27BC", "\\ding{252}"),
-        ("\u27BD", "\\ding{253}"),
-        ("\u27BE", "\\ding{254}"),
-        ("\u27F5", "\\longleftarrow "),
-        ("\u27F6", "\\longrightarrow "),
-        ("\u27F7", "\\longleftrightarrow "),
-        ("\u27F8", "\\Longleftarrow "),
-        ("\u27F9", "\\Longrightarrow "),
-        ("\u27FA", "\\Longleftrightarrow "),
-        ("\u27FC", "\\longmapsto "),
-        ("\u27FF", "\\sim\\joinrel\\leadsto"),
-        ("\u2905", "\\ElsevierGlyph{E212}"),
-        ("\u2912", "\\UpArrowBar "),
-        ("\u2913", "\\DownArrowBar "),
-        ("\u2923", "\\ElsevierGlyph{E20C}"),
-        ("\u2924", "\\ElsevierGlyph{E20D}"),
-        ("\u2925", "\\ElsevierGlyph{E20B}"),
-        ("\u2926", "\\ElsevierGlyph{E20A}"),
-        ("\u2927", "\\ElsevierGlyph{E211}"),
-        ("\u2928", "\\ElsevierGlyph{E20E}"),
-        ("\u2929", "\\ElsevierGlyph{E20F}"),
-        ("\u292A", "\\ElsevierGlyph{E210}"),
-        ("\u2933", "\\ElsevierGlyph{E21C}"),
-        ("\u2933-00338", "\\ElsevierGlyph{E21D}"),
-        ("\u2936", "\\ElsevierGlyph{E21A}"),
-        ("\u2937", "\\ElsevierGlyph{E219}"),
-        ("\u2940", "\\Elolarr "),
-        ("\u2941", "\\Elorarr "),
-        ("\u2942", "\\ElzRlarr "),
-        ("\u2944", "\\ElzrLarr "),
-        ("\u2947", "\\Elzrarrx "),
-        ("\u294E", "\\LeftRightVector "),
-        ("\u294F", "\\RightUpDownVector "),
-        ("\u2950", "\\DownLeftRightVector "),
-        ("\u2951", "\\LeftUpDownVector "),
-        ("\u2952", "\\LeftVectorBar "),
-        ("\u2953", "\\RightVectorBar "),
-        ("\u2954", "\\RightUpVectorBar "),
-        ("\u2955", "\\RightDownVectorBar "),
-        ("\u2956", "\\DownLeftVectorBar "),
-        ("\u2957", "\\DownRightVectorBar "),
-        ("\u2958", "\\LeftUpVectorBar "),
-        ("\u2959", "\\LeftDownVectorBar "),
-        ("\u295A", "\\LeftTeeVector "),
-        ("\u295B", "\\RightTeeVector "),
-        ("\u295C", "\\RightUpTeeVector "),
-        ("\u295D", "\\RightDownTeeVector "),
-        ("\u295E", "\\DownLeftTeeVector "),
-        ("\u295F", "\\DownRightTeeVector "),
-        ("\u2960", "\\LeftUpTeeVector "),
-        ("\u2961", "\\LeftDownTeeVector "),
-        ("\u296E", "\\UpEquilibrium "),
-        ("\u296F", "\\ReverseUpEquilibrium "),
-        ("\u2970", "\\RoundImplies "),
-        ("\u297C", "\\ElsevierGlyph{E214}"),
-        ("\u297D", "\\ElsevierGlyph{E215}"),
-        ("\u2980", "\\Elztfnc "),
-        ("\u2985", "\\ElsevierGlyph{3018}"),
-        ("\u2986", "\\Elroang "),
-        ("\u2993", "<\\kern-0.58em("),
-        ("\u2994", "\\ElsevierGlyph{E291}"),
-        ("\u2999", "\\Elzddfnc "),
-        ("\u299C", "\\Angle "),
-        ("\u29A0", "\\Elzlpargt "),
-        ("\u29B5", "\\ElsevierGlyph{E260}"),
-        ("\u29B6", "\\ElsevierGlyph{E61B}"),
-        ("\u29CA", "\\ElzLap "),
-        ("\u29CB", "\\Elzdefas "),
-        ("\u29CF", "\\LeftTriangleBar "),
-        ("\u29CF-00338", "\\NotLeftTriangleBar "),
-        ("\u29D0", "\\RightTriangleBar "),
-        ("\u29D0-00338", "\\NotRightTriangleBar "),
-        ("\u29DC", "\\ElsevierGlyph{E372}"),
-        ("\u29EB", "\\blacklozenge "),
-        ("\u29F4", "\\RuleDelayed "),
-        ("\u2A04", "\\Elxuplus "),
-        ("\u2A05", "\\ElzThr "),
-        ("\u2A06", "\\Elxsqcup "),
-        ("\u2A07", "\\ElzInf "),
-        ("\u2A08", "\\ElzSup "),
-        ("\u2A0D", "\\ElzCint "),
-        ("\u2A0F", "\\clockoint "),
-        ("\u2A10", "\\ElsevierGlyph{E395}"),
-        ("\u2A16", "\\sqrint "),
-        ("\u2A25", "\\ElsevierGlyph{E25A}"),
-        ("\u2A2A", "\\ElsevierGlyph{E25B}"),
-        ("\u2A2D", "\\ElsevierGlyph{E25C}"),
-        ("\u2A2E", "\\ElsevierGlyph{E25D}"),
-        ("\u2A2F", "\\ElzTimes "),
-        ("\u2A34", "\\ElsevierGlyph{E25E}"),
-        ("\u2A35", "\\ElsevierGlyph{E25E}"),
-        ("\u2A3C", "\\ElsevierGlyph{E259}"),
-        ("\u2A3F", "\\amalg "),
-        ("\u2A53", "\\ElzAnd "),
-        ("\u2A54", "\\ElzOr "),
-        ("\u2A55", "\\ElsevierGlyph{E36E}"),
-        ("\u2A56", "\\ElOr "),
-        ("\u2A5E", "\\perspcorrespond "),
-        ("\u2A5F", "\\Elzminhat "),
-        ("\u2A63", "\\ElsevierGlyph{225A}"),
-        ("\u2A6E", "\\stackrel{*}{=}"),
-        ("\u2A75", "\\Equal "),
-        ("\u2A7D", "\\leqslant "),
-        ("\u2A7D-00338", "\\nleqslant "),
-        ("\u2A7E", "\\geqslant "),
-        ("\u2A7E-00338", "\\ngeqslant "),
-        ("\u2A85", "\\lessapprox "),
-        ("\u2A86", "\\gtrapprox "),
-        ("\u2A87", "\\lneq "),
-        ("\u2A88", "\\gneq "),
-        ("\u2A89", "\\lnapprox "),
-        ("\u2A8A", "\\gnapprox "),
-        ("\u2A8B", "\\lesseqqgtr "),
-        ("\u2A8C", "\\gtreqqless "),
-        ("\u2A95", "\\eqslantless "),
-        ("\u2A96", "\\eqslantgtr "),
-        ("\u2A9D", "\\Pisymbol{ppi020}{117}"),
-        ("\u2A9E", "\\Pisymbol{ppi020}{105}"),
-        ("\u2AA1", "\\NestedLessLess "),
-        ("\u2AA1-00338", "\\NotNestedLessLess "),
-        ("\u2AA2", "\\NestedGreaterGreater "),
-        ("\u2AA2-00338", "\\NotNestedGreaterGreater "),
-        ("\u2AAF", "\\preceq "),
-        ("\u2AAF-00338", "\\not\\preceq "),
-        ("\u2AB0", "\\succeq "),
-        ("\u2AB0-00338", "\\not\\succeq "),
-        ("\u2AB5", "\\precneqq "),
-        ("\u2AB6", "\\succneqq "),
-        ("\u2AB7", "\\precapprox "),
-        ("\u2AB8", "\\succapprox "),
-        ("\u2AB9", "\\precnapprox "),
-        ("\u2ABA", "\\succnapprox "),
-        ("\u2AC5", "\\subseteqq "),
-        ("\u2AC5-00338", "\\nsubseteqq "),
-        ("\u2AC6", "\\supseteqq "),
-        ("\u2AC6-00338", "\\nsupseteqq"),
-        ("\u2ACB", "\\subsetneqq "),
-        ("\u2ACC", "\\supsetneqq "),
-        ("\u2AEB", "\\ElsevierGlyph{E30D}"),
-        ("\u2AF6", "\\Elztdcol "),
-        ("\u2AFD", "{{/}\\!\\!{/}}"),
-        ("\u2AFD-020E5", "{\\rlap{\\textbackslash}{{/}\\!\\!{/}}}"),
-        ("\u300A", "\\ElsevierGlyph{300A}"),
-        ("\u300B", "\\ElsevierGlyph{300B}"),
-        ("\u3018", "\\ElsevierGlyph{3018}"),
-        ("\u3019", "\\ElsevierGlyph{3019}"),
-        ("\u301A", "\\openbracketleft "),
-        ("\u301B", "\\openbracketright "),
-#        (u"\uFB00", "ff"),
-#        (u"\uFB01", "fi"),
-#        (u"\uFB02", "fl"),
-#        (u"\uFB03", "ffi"),
-#        (u"\uFB04", "ffl"),
-        ("\uD400", "\\mathbf{A}"),
-        ("\uD401", "\\mathbf{B}"),
-        ("\uD402", "\\mathbf{C}"),
-        ("\uD403", "\\mathbf{D}"),
-        ("\uD404", "\\mathbf{E}"),
-        ("\uD405", "\\mathbf{F}"),
-        ("\uD406", "\\mathbf{G}"),
-        ("\uD407", "\\mathbf{H}"),
-        ("\uD408", "\\mathbf{I}"),
-        ("\uD409", "\\mathbf{J}"),
-        ("\uD40A", "\\mathbf{K}"),
-        ("\uD40B", "\\mathbf{L}"),
-        ("\uD40C", "\\mathbf{M}"),
-        ("\uD40D", "\\mathbf{N}"),
-        ("\uD40E", "\\mathbf{O}"),
-        ("\uD40F", "\\mathbf{P}"),
-        ("\uD410", "\\mathbf{Q}"),
-        ("\uD411", "\\mathbf{R}"),
-        ("\uD412", "\\mathbf{S}"),
-        ("\uD413", "\\mathbf{T}"),
-        ("\uD414", "\\mathbf{U}"),
-        ("\uD415", "\\mathbf{V}"),
-        ("\uD416", "\\mathbf{W}"),
-        ("\uD417", "\\mathbf{X}"),
-        ("\uD418", "\\mathbf{Y}"),
-        ("\uD419", "\\mathbf{Z}"),
-        ("\uD41A", "\\mathbf{a}"),
-        ("\uD41B", "\\mathbf{b}"),
-        ("\uD41C", "\\mathbf{c}"),
-        ("\uD41D", "\\mathbf{d}"),
-        ("\uD41E", "\\mathbf{e}"),
-        ("\uD41F", "\\mathbf{f}"),
-        ("\uD420", "\\mathbf{g}"),
-        ("\uD421", "\\mathbf{h}"),
-        ("\uD422", "\\mathbf{i}"),
-        ("\uD423", "\\mathbf{j}"),
-        ("\uD424", "\\mathbf{k}"),
-        ("\uD425", "\\mathbf{l}"),
-        ("\uD426", "\\mathbf{m}"),
-        ("\uD427", "\\mathbf{n}"),
-        ("\uD428", "\\mathbf{o}"),
-        ("\uD429", "\\mathbf{p}"),
-        ("\uD42A", "\\mathbf{q}"),
-        ("\uD42B", "\\mathbf{r}"),
-        ("\uD42C", "\\mathbf{s}"),
-        ("\uD42D", "\\mathbf{t}"),
-        ("\uD42E", "\\mathbf{u}"),
-        ("\uD42F", "\\mathbf{v}"),
-        ("\uD430", "\\mathbf{w}"),
-        ("\uD431", "\\mathbf{x}"),
-        ("\uD432", "\\mathbf{y}"),
-        ("\uD433", "\\mathbf{z}"),
-        ("\uD434", "\\mathsl{A}"),
-        ("\uD435", "\\mathsl{B}"),
-        ("\uD436", "\\mathsl{C}"),
-        ("\uD437", "\\mathsl{D}"),
-        ("\uD438", "\\mathsl{E}"),
-        ("\uD439", "\\mathsl{F}"),
-        ("\uD43A", "\\mathsl{G}"),
-        ("\uD43B", "\\mathsl{H}"),
-        ("\uD43C", "\\mathsl{I}"),
-        ("\uD43D", "\\mathsl{J}"),
-        ("\uD43E", "\\mathsl{K}"),
-        ("\uD43F", "\\mathsl{L}"),
-        ("\uD440", "\\mathsl{M}"),
-        ("\uD441", "\\mathsl{N}"),
-        ("\uD442", "\\mathsl{O}"),
-        ("\uD443", "\\mathsl{P}"),
-        ("\uD444", "\\mathsl{Q}"),
-        ("\uD445", "\\mathsl{R}"),
-        ("\uD446", "\\mathsl{S}"),
-        ("\uD447", "\\mathsl{T}"),
-        ("\uD448", "\\mathsl{U}"),
-        ("\uD449", "\\mathsl{V}"),
-        ("\uD44A", "\\mathsl{W}"),
-        ("\uD44B", "\\mathsl{X}"),
-        ("\uD44C", "\\mathsl{Y}"),
-        ("\uD44D", "\\mathsl{Z}"),
-        ("\uD44E", "\\mathsl{a}"),
-        ("\uD44F", "\\mathsl{b}"),
-        ("\uD450", "\\mathsl{c}"),
-        ("\uD451", "\\mathsl{d}"),
-        ("\uD452", "\\mathsl{e}"),
-        ("\uD453", "\\mathsl{f}"),
-        ("\uD454", "\\mathsl{g}"),
-        ("\uD456", "\\mathsl{i}"),
-        ("\uD457", "\\mathsl{j}"),
-        ("\uD458", "\\mathsl{k}"),
-        ("\uD459", "\\mathsl{l}"),
-        ("\uD45A", "\\mathsl{m}"),
-        ("\uD45B", "\\mathsl{n}"),
-        ("\uD45C", "\\mathsl{o}"),
-        ("\uD45D", "\\mathsl{p}"),
-        ("\uD45E", "\\mathsl{q}"),
-        ("\uD45F", "\\mathsl{r}"),
-        ("\uD460", "\\mathsl{s}"),
-        ("\uD461", "\\mathsl{t}"),
-        ("\uD462", "\\mathsl{u}"),
-        ("\uD463", "\\mathsl{v}"),
-        ("\uD464", "\\mathsl{w}"),
-        ("\uD465", "\\mathsl{x}"),
-        ("\uD466", "\\mathsl{y}"),
-        ("\uD467", "\\mathsl{z}"),
-        ("\uD468", "\\mathbit{A}"),
-        ("\uD469", "\\mathbit{B}"),
-        ("\uD46A", "\\mathbit{C}"),
-        ("\uD46B", "\\mathbit{D}"),
-        ("\uD46C", "\\mathbit{E}"),
-        ("\uD46D", "\\mathbit{F}"),
-        ("\uD46E", "\\mathbit{G}"),
-        ("\uD46F", "\\mathbit{H}"),
-        ("\uD470", "\\mathbit{I}"),
-        ("\uD471", "\\mathbit{J}"),
-        ("\uD472", "\\mathbit{K}"),
-        ("\uD473", "\\mathbit{L}"),
-        ("\uD474", "\\mathbit{M}"),
-        ("\uD475", "\\mathbit{N}"),
-        ("\uD476", "\\mathbit{O}"),
-        ("\uD477", "\\mathbit{P}"),
-        ("\uD478", "\\mathbit{Q}"),
-        ("\uD479", "\\mathbit{R}"),
-        ("\uD47A", "\\mathbit{S}"),
-        ("\uD47B", "\\mathbit{T}"),
-        ("\uD47C", "\\mathbit{U}"),
-        ("\uD47D", "\\mathbit{V}"),
-        ("\uD47E", "\\mathbit{W}"),
-        ("\uD47F", "\\mathbit{X}"),
-        ("\uD480", "\\mathbit{Y}"),
-        ("\uD481", "\\mathbit{Z}"),
-        ("\uD482", "\\mathbit{a}"),
-        ("\uD483", "\\mathbit{b}"),
-        ("\uD484", "\\mathbit{c}"),
-        ("\uD485", "\\mathbit{d}"),
-        ("\uD486", "\\mathbit{e}"),
-        ("\uD487", "\\mathbit{f}"),
-        ("\uD488", "\\mathbit{g}"),
-        ("\uD489", "\\mathbit{h}"),
-        ("\uD48A", "\\mathbit{i}"),
-        ("\uD48B", "\\mathbit{j}"),
-        ("\uD48C", "\\mathbit{k}"),
-        ("\uD48D", "\\mathbit{l}"),
-        ("\uD48E", "\\mathbit{m}"),
-        ("\uD48F", "\\mathbit{n}"),
-        ("\uD490", "\\mathbit{o}"),
-        ("\uD491", "\\mathbit{p}"),
-        ("\uD492", "\\mathbit{q}"),
-        ("\uD493", "\\mathbit{r}"),
-        ("\uD494", "\\mathbit{s}"),
-        ("\uD495", "\\mathbit{t}"),
-        ("\uD496", "\\mathbit{u}"),
-        ("\uD497", "\\mathbit{v}"),
-        ("\uD498", "\\mathbit{w}"),
-        ("\uD499", "\\mathbit{x}"),
-        ("\uD49A", "\\mathbit{y}"),
-        ("\uD49B", "\\mathbit{z}"),
-        ("\uD49C", "\\mathscr{A}"),
-        ("\uD49E", "\\mathscr{C}"),
-        ("\uD49F", "\\mathscr{D}"),
-        ("\uD4A2", "\\mathscr{G}"),
-        ("\uD4A5", "\\mathscr{J}"),
-        ("\uD4A6", "\\mathscr{K}"),
-        ("\uD4A9", "\\mathscr{N}"),
-        ("\uD4AA", "\\mathscr{O}"),
-        ("\uD4AB", "\\mathscr{P}"),
-        ("\uD4AC", "\\mathscr{Q}"),
-        ("\uD4AE", "\\mathscr{S}"),
-        ("\uD4AF", "\\mathscr{T}"),
-        ("\uD4B0", "\\mathscr{U}"),
-        ("\uD4B1", "\\mathscr{V}"),
-        ("\uD4B2", "\\mathscr{W}"),
-        ("\uD4B3", "\\mathscr{X}"),
-        ("\uD4B4", "\\mathscr{Y}"),
-        ("\uD4B5", "\\mathscr{Z}"),
-        ("\uD4B6", "\\mathscr{a}"),
-        ("\uD4B7", "\\mathscr{b}"),
-        ("\uD4B8", "\\mathscr{c}"),
-        ("\uD4B9", "\\mathscr{d}"),
-        ("\uD4BB", "\\mathscr{f}"),
-        ("\uD4BD", "\\mathscr{h}"),
-        ("\uD4BE", "\\mathscr{i}"),
-        ("\uD4BF", "\\mathscr{j}"),
-        ("\uD4C0", "\\mathscr{k}"),
-        ("\uD4C1", "\\mathscr{l}"),
-        ("\uD4C2", "\\mathscr{m}"),
-        ("\uD4C3", "\\mathscr{n}"),
-        ("\uD4C5", "\\mathscr{p}"),
-        ("\uD4C6", "\\mathscr{q}"),
-        ("\uD4C7", "\\mathscr{r}"),
-        ("\uD4C8", "\\mathscr{s}"),
-        ("\uD4C9", "\\mathscr{t}"),
-        ("\uD4CA", "\\mathscr{u}"),
-        ("\uD4CB", "\\mathscr{v}"),
-        ("\uD4CC", "\\mathscr{w}"),
-        ("\uD4CD", "\\mathscr{x}"),
-        ("\uD4CE", "\\mathscr{y}"),
-        ("\uD4CF", "\\mathscr{z}"),
-        ("\uD4D0", "\\mathmit{A}"),
-        ("\uD4D1", "\\mathmit{B}"),
-        ("\uD4D2", "\\mathmit{C}"),
-        ("\uD4D3", "\\mathmit{D}"),
-        ("\uD4D4", "\\mathmit{E}"),
-        ("\uD4D5", "\\mathmit{F}"),
-        ("\uD4D6", "\\mathmit{G}"),
-        ("\uD4D7", "\\mathmit{H}"),
-        ("\uD4D8", "\\mathmit{I}"),
-        ("\uD4D9", "\\mathmit{J}"),
-        ("\uD4DA", "\\mathmit{K}"),
-        ("\uD4DB", "\\mathmit{L}"),
-        ("\uD4DC", "\\mathmit{M}"),
-        ("\uD4DD", "\\mathmit{N}"),
-        ("\uD4DE", "\\mathmit{O}"),
-        ("\uD4DF", "\\mathmit{P}"),
-        ("\uD4E0", "\\mathmit{Q}"),
-        ("\uD4E1", "\\mathmit{R}"),
-        ("\uD4E2", "\\mathmit{S}"),
-        ("\uD4E3", "\\mathmit{T}"),
-        ("\uD4E4", "\\mathmit{U}"),
-        ("\uD4E5", "\\mathmit{V}"),
-        ("\uD4E6", "\\mathmit{W}"),
-        ("\uD4E7", "\\mathmit{X}"),
-        ("\uD4E8", "\\mathmit{Y}"),
-        ("\uD4E9", "\\mathmit{Z}"),
-        ("\uD4EA", "\\mathmit{a}"),
-        ("\uD4EB", "\\mathmit{b}"),
-        ("\uD4EC", "\\mathmit{c}"),
-        ("\uD4ED", "\\mathmit{d}"),
-        ("\uD4EE", "\\mathmit{e}"),
-        ("\uD4EF", "\\mathmit{f}"),
-        ("\uD4F0", "\\mathmit{g}"),
-        ("\uD4F1", "\\mathmit{h}"),
-        ("\uD4F2", "\\mathmit{i}"),
-        ("\uD4F3", "\\mathmit{j}"),
-        ("\uD4F4", "\\mathmit{k}"),
-        ("\uD4F5", "\\mathmit{l}"),
-        ("\uD4F6", "\\mathmit{m}"),
-        ("\uD4F7", "\\mathmit{n}"),
-        ("\uD4F8", "\\mathmit{o}"),
-        ("\uD4F9", "\\mathmit{p}"),
-        ("\uD4FA", "\\mathmit{q}"),
-        ("\uD4FB", "\\mathmit{r}"),
-        ("\uD4FC", "\\mathmit{s}"),
-        ("\uD4FD", "\\mathmit{t}"),
-        ("\uD4FE", "\\mathmit{u}"),
-        ("\uD4FF", "\\mathmit{v}"),
-        ("\uD500", "\\mathmit{w}"),
-        ("\uD501", "\\mathmit{x}"),
-        ("\uD502", "\\mathmit{y}"),
-        ("\uD503", "\\mathmit{z}"),
-        ("\uD504", "\\mathfrak{A}"),
-        ("\uD505", "\\mathfrak{B}"),
-        ("\uD507", "\\mathfrak{D}"),
-        ("\uD508", "\\mathfrak{E}"),
-        ("\uD509", "\\mathfrak{F}"),
-        ("\uD50A", "\\mathfrak{G}"),
-        ("\uD50D", "\\mathfrak{J}"),
-        ("\uD50E", "\\mathfrak{K}"),
-        ("\uD50F", "\\mathfrak{L}"),
-        ("\uD510", "\\mathfrak{M}"),
-        ("\uD511", "\\mathfrak{N}"),
-        ("\uD512", "\\mathfrak{O}"),
-        ("\uD513", "\\mathfrak{P}"),
-        ("\uD514", "\\mathfrak{Q}"),
-        ("\uD516", "\\mathfrak{S}"),
-        ("\uD517", "\\mathfrak{T}"),
-        ("\uD518", "\\mathfrak{U}"),
-        ("\uD519", "\\mathfrak{V}"),
-        ("\uD51A", "\\mathfrak{W}"),
-        ("\uD51B", "\\mathfrak{X}"),
-        ("\uD51C", "\\mathfrak{Y}"),
-        ("\uD51E", "\\mathfrak{a}"),
-        ("\uD51F", "\\mathfrak{b}"),
-        ("\uD520", "\\mathfrak{c}"),
-        ("\uD521", "\\mathfrak{d}"),
-        ("\uD522", "\\mathfrak{e}"),
-        ("\uD523", "\\mathfrak{f}"),
-        ("\uD524", "\\mathfrak{g}"),
-        ("\uD525", "\\mathfrak{h}"),
-        ("\uD526", "\\mathfrak{i}"),
-        ("\uD527", "\\mathfrak{j}"),
-        ("\uD528", "\\mathfrak{k}"),
-        ("\uD529", "\\mathfrak{l}"),
-        ("\uD52A", "\\mathfrak{m}"),
-        ("\uD52B", "\\mathfrak{n}"),
-        ("\uD52C", "\\mathfrak{o}"),
-        ("\uD52D", "\\mathfrak{p}"),
-        ("\uD52E", "\\mathfrak{q}"),
-        ("\uD52F", "\\mathfrak{r}"),
-        ("\uD530", "\\mathfrak{s}"),
-        ("\uD531", "\\mathfrak{t}"),
-        ("\uD532", "\\mathfrak{u}"),
-        ("\uD533", "\\mathfrak{v}"),
-        ("\uD534", "\\mathfrak{w}"),
-        ("\uD535", "\\mathfrak{x}"),
-        ("\uD536", "\\mathfrak{y}"),
-        ("\uD537", "\\mathfrak{z}"),
-        ("\uD538", "\\mathbb{A}"),
-        ("\uD539", "\\mathbb{B}"),
-        ("\uD53B", "\\mathbb{D}"),
-        ("\uD53C", "\\mathbb{E}"),
-        ("\uD53D", "\\mathbb{F}"),
-        ("\uD53E", "\\mathbb{G}"),
-        ("\uD540", "\\mathbb{I}"),
-        ("\uD541", "\\mathbb{J}"),
-        ("\uD542", "\\mathbb{K}"),
-        ("\uD543", "\\mathbb{L}"),
-        ("\uD544", "\\mathbb{M}"),
-        ("\uD546", "\\mathbb{O}"),
-        ("\uD54A", "\\mathbb{S}"),
-        ("\uD54B", "\\mathbb{T}"),
-        ("\uD54C", "\\mathbb{U}"),
-        ("\uD54D", "\\mathbb{V}"),
-        ("\uD54E", "\\mathbb{W}"),
-        ("\uD54F", "\\mathbb{X}"),
-        ("\uD550", "\\mathbb{Y}"),
-        ("\uD552", "\\mathbb{a}"),
-        ("\uD553", "\\mathbb{b}"),
-        ("\uD554", "\\mathbb{c}"),
-        ("\uD555", "\\mathbb{d}"),
-        ("\uD556", "\\mathbb{e}"),
-        ("\uD557", "\\mathbb{f}"),
-        ("\uD558", "\\mathbb{g}"),
-        ("\uD559", "\\mathbb{h}"),
-        ("\uD55A", "\\mathbb{i}"),
-        ("\uD55B", "\\mathbb{j}"),
-        ("\uD55C", "\\mathbb{k}"),
-        ("\uD55D", "\\mathbb{l}"),
-        ("\uD55E", "\\mathbb{m}"),
-        ("\uD55F", "\\mathbb{n}"),
-        ("\uD560", "\\mathbb{o}"),
-        ("\uD561", "\\mathbb{p}"),
-        ("\uD562", "\\mathbb{q}"),
-        ("\uD563", "\\mathbb{r}"),
-        ("\uD564", "\\mathbb{s}"),
-        ("\uD565", "\\mathbb{t}"),
-        ("\uD566", "\\mathbb{u}"),
-        ("\uD567", "\\mathbb{v}"),
-        ("\uD568", "\\mathbb{w}"),
-        ("\uD569", "\\mathbb{x}"),
-        ("\uD56A", "\\mathbb{y}"),
-        ("\uD56B", "\\mathbb{z}"),
-        ("\uD56C", "\\mathslbb{A}"),
-        ("\uD56D", "\\mathslbb{B}"),
-        ("\uD56E", "\\mathslbb{C}"),
-        ("\uD56F", "\\mathslbb{D}"),
-        ("\uD570", "\\mathslbb{E}"),
-        ("\uD571", "\\mathslbb{F}"),
-        ("\uD572", "\\mathslbb{G}"),
-        ("\uD573", "\\mathslbb{H}"),
-        ("\uD574", "\\mathslbb{I}"),
-        ("\uD575", "\\mathslbb{J}"),
-        ("\uD576", "\\mathslbb{K}"),
-        ("\uD577", "\\mathslbb{L}"),
-        ("\uD578", "\\mathslbb{M}"),
-        ("\uD579", "\\mathslbb{N}"),
-        ("\uD57A", "\\mathslbb{O}"),
-        ("\uD57B", "\\mathslbb{P}"),
-        ("\uD57C", "\\mathslbb{Q}"),
-        ("\uD57D", "\\mathslbb{R}"),
-        ("\uD57E", "\\mathslbb{S}"),
-        ("\uD57F", "\\mathslbb{T}"),
-        ("\uD580", "\\mathslbb{U}"),
-        ("\uD581", "\\mathslbb{V}"),
-        ("\uD582", "\\mathslbb{W}"),
-        ("\uD583", "\\mathslbb{X}"),
-        ("\uD584", "\\mathslbb{Y}"),
-        ("\uD585", "\\mathslbb{Z}"),
-        ("\uD586", "\\mathslbb{a}"),
-        ("\uD587", "\\mathslbb{b}"),
-        ("\uD588", "\\mathslbb{c}"),
-        ("\uD589", "\\mathslbb{d}"),
-        ("\uD58A", "\\mathslbb{e}"),
-        ("\uD58B", "\\mathslbb{f}"),
-        ("\uD58C", "\\mathslbb{g}"),
-        ("\uD58D", "\\mathslbb{h}"),
-        ("\uD58E", "\\mathslbb{i}"),
-        ("\uD58F", "\\mathslbb{j}"),
-        ("\uD590", "\\mathslbb{k}"),
-        ("\uD591", "\\mathslbb{l}"),
-        ("\uD592", "\\mathslbb{m}"),
-        ("\uD593", "\\mathslbb{n}"),
-        ("\uD594", "\\mathslbb{o}"),
-        ("\uD595", "\\mathslbb{p}"),
-        ("\uD596", "\\mathslbb{q}"),
-        ("\uD597", "\\mathslbb{r}"),
-        ("\uD598", "\\mathslbb{s}"),
-        ("\uD599", "\\mathslbb{t}"),
-        ("\uD59A", "\\mathslbb{u}"),
-        ("\uD59B", "\\mathslbb{v}"),
-        ("\uD59C", "\\mathslbb{w}"),
-        ("\uD59D", "\\mathslbb{x}"),
-        ("\uD59E", "\\mathslbb{y}"),
-        ("\uD59F", "\\mathslbb{z}"),
-        ("\uD5A0", "\\mathsf{A}"),
-        ("\uD5A1", "\\mathsf{B}"),
-        ("\uD5A2", "\\mathsf{C}"),
-        ("\uD5A3", "\\mathsf{D}"),
-        ("\uD5A4", "\\mathsf{E}"),
-        ("\uD5A5", "\\mathsf{F}"),
-        ("\uD5A6", "\\mathsf{G}"),
-        ("\uD5A7", "\\mathsf{H}"),
-        ("\uD5A8", "\\mathsf{I}"),
-        ("\uD5A9", "\\mathsf{J}"),
-        ("\uD5AA", "\\mathsf{K}"),
-        ("\uD5AB", "\\mathsf{L}"),
-        ("\uD5AC", "\\mathsf{M}"),
-        ("\uD5AD", "\\mathsf{N}"),
-        ("\uD5AE", "\\mathsf{O}"),
-        ("\uD5AF", "\\mathsf{P}"),
-        ("\uD5B0", "\\mathsf{Q}"),
-        ("\uD5B1", "\\mathsf{R}"),
-        ("\uD5B2", "\\mathsf{S}"),
-        ("\uD5B3", "\\mathsf{T}"),
-        ("\uD5B4", "\\mathsf{U}"),
-        ("\uD5B5", "\\mathsf{V}"),
-        ("\uD5B6", "\\mathsf{W}"),
-        ("\uD5B7", "\\mathsf{X}"),
-        ("\uD5B8", "\\mathsf{Y}"),
-        ("\uD5B9", "\\mathsf{Z}"),
-        ("\uD5BA", "\\mathsf{a}"),
-        ("\uD5BB", "\\mathsf{b}"),
-        ("\uD5BC", "\\mathsf{c}"),
-        ("\uD5BD", "\\mathsf{d}"),
-        ("\uD5BE", "\\mathsf{e}"),
-        ("\uD5BF", "\\mathsf{f}"),
-        ("\uD5C0", "\\mathsf{g}"),
-        ("\uD5C1", "\\mathsf{h}"),
-        ("\uD5C2", "\\mathsf{i}"),
-        ("\uD5C3", "\\mathsf{j}"),
-        ("\uD5C4", "\\mathsf{k}"),
-        ("\uD5C5", "\\mathsf{l}"),
-        ("\uD5C6", "\\mathsf{m}"),
-        ("\uD5C7", "\\mathsf{n}"),
-        ("\uD5C8", "\\mathsf{o}"),
-        ("\uD5C9", "\\mathsf{p}"),
-        ("\uD5CA", "\\mathsf{q}"),
-        ("\uD5CB", "\\mathsf{r}"),
-        ("\uD5CC", "\\mathsf{s}"),
-        ("\uD5CD", "\\mathsf{t}"),
-        ("\uD5CE", "\\mathsf{u}"),
-        ("\uD5CF", "\\mathsf{v}"),
-        ("\uD5D0", "\\mathsf{w}"),
-        ("\uD5D1", "\\mathsf{x}"),
-        ("\uD5D2", "\\mathsf{y}"),
-        ("\uD5D3", "\\mathsf{z}"),
-        ("\uD5D4", "\\mathsfbf{A}"),
-        ("\uD5D5", "\\mathsfbf{B}"),
-        ("\uD5D6", "\\mathsfbf{C}"),
-        ("\uD5D7", "\\mathsfbf{D}"),
-        ("\uD5D8", "\\mathsfbf{E}"),
-        ("\uD5D9", "\\mathsfbf{F}"),
-        ("\uD5DA", "\\mathsfbf{G}"),
-        ("\uD5DB", "\\mathsfbf{H}"),
-        ("\uD5DC", "\\mathsfbf{I}"),
-        ("\uD5DD", "\\mathsfbf{J}"),
-        ("\uD5DE", "\\mathsfbf{K}"),
-        ("\uD5DF", "\\mathsfbf{L}"),
-        ("\uD5E0", "\\mathsfbf{M}"),
-        ("\uD5E1", "\\mathsfbf{N}"),
-        ("\uD5E2", "\\mathsfbf{O}"),
-        ("\uD5E3", "\\mathsfbf{P}"),
-        ("\uD5E4", "\\mathsfbf{Q}"),
-        ("\uD5E5", "\\mathsfbf{R}"),
-        ("\uD5E6", "\\mathsfbf{S}"),
-        ("\uD5E7", "\\mathsfbf{T}"),
-        ("\uD5E8", "\\mathsfbf{U}"),
-        ("\uD5E9", "\\mathsfbf{V}"),
-        ("\uD5EA", "\\mathsfbf{W}"),
-        ("\uD5EB", "\\mathsfbf{X}"),
-        ("\uD5EC", "\\mathsfbf{Y}"),
-        ("\uD5ED", "\\mathsfbf{Z}"),
-        ("\uD5EE", "\\mathsfbf{a}"),
-        ("\uD5EF", "\\mathsfbf{b}"),
-        ("\uD5F0", "\\mathsfbf{c}"),
-        ("\uD5F1", "\\mathsfbf{d}"),
-        ("\uD5F2", "\\mathsfbf{e}"),
-        ("\uD5F3", "\\mathsfbf{f}"),
-        ("\uD5F4", "\\mathsfbf{g}"),
-        ("\uD5F5", "\\mathsfbf{h}"),
-        ("\uD5F6", "\\mathsfbf{i}"),
-        ("\uD5F7", "\\mathsfbf{j}"),
-        ("\uD5F8", "\\mathsfbf{k}"),
-        ("\uD5F9", "\\mathsfbf{l}"),
-        ("\uD5FA", "\\mathsfbf{m}"),
-        ("\uD5FB", "\\mathsfbf{n}"),
-        ("\uD5FC", "\\mathsfbf{o}"),
-        ("\uD5FD", "\\mathsfbf{p}"),
-        ("\uD5FE", "\\mathsfbf{q}"),
-        ("\uD5FF", "\\mathsfbf{r}"),
-        ("\uD600", "\\mathsfbf{s}"),
-        ("\uD601", "\\mathsfbf{t}"),
-        ("\uD602", "\\mathsfbf{u}"),
-        ("\uD603", "\\mathsfbf{v}"),
-        ("\uD604", "\\mathsfbf{w}"),
-        ("\uD605", "\\mathsfbf{x}"),
-        ("\uD606", "\\mathsfbf{y}"),
-        ("\uD607", "\\mathsfbf{z}"),
-        ("\uD608", "\\mathsfsl{A}"),
-        ("\uD609", "\\mathsfsl{B}"),
-        ("\uD60A", "\\mathsfsl{C}"),
-        ("\uD60B", "\\mathsfsl{D}"),
-        ("\uD60C", "\\mathsfsl{E}"),
-        ("\uD60D", "\\mathsfsl{F}"),
-        ("\uD60E", "\\mathsfsl{G}"),
-        ("\uD60F", "\\mathsfsl{H}"),
-        ("\uD610", "\\mathsfsl{I}"),
-        ("\uD611", "\\mathsfsl{J}"),
-        ("\uD612", "\\mathsfsl{K}"),
-        ("\uD613", "\\mathsfsl{L}"),
-        ("\uD614", "\\mathsfsl{M}"),
-        ("\uD615", "\\mathsfsl{N}"),
-        ("\uD616", "\\mathsfsl{O}"),
-        ("\uD617", "\\mathsfsl{P}"),
-        ("\uD618", "\\mathsfsl{Q}"),
-        ("\uD619", "\\mathsfsl{R}"),
-        ("\uD61A", "\\mathsfsl{S}"),
-        ("\uD61B", "\\mathsfsl{T}"),
-        ("\uD61C", "\\mathsfsl{U}"),
-        ("\uD61D", "\\mathsfsl{V}"),
-        ("\uD61E", "\\mathsfsl{W}"),
-        ("\uD61F", "\\mathsfsl{X}"),
-        ("\uD620", "\\mathsfsl{Y}"),
-        ("\uD621", "\\mathsfsl{Z}"),
-        ("\uD622", "\\mathsfsl{a}"),
-        ("\uD623", "\\mathsfsl{b}"),
-        ("\uD624", "\\mathsfsl{c}"),
-        ("\uD625", "\\mathsfsl{d}"),
-        ("\uD626", "\\mathsfsl{e}"),
-        ("\uD627", "\\mathsfsl{f}"),
-        ("\uD628", "\\mathsfsl{g}"),
-        ("\uD629", "\\mathsfsl{h}"),
-        ("\uD62A", "\\mathsfsl{i}"),
-        ("\uD62B", "\\mathsfsl{j}"),
-        ("\uD62C", "\\mathsfsl{k}"),
-        ("\uD62D", "\\mathsfsl{l}"),
-        ("\uD62E", "\\mathsfsl{m}"),
-        ("\uD62F", "\\mathsfsl{n}"),
-        ("\uD630", "\\mathsfsl{o}"),
-        ("\uD631", "\\mathsfsl{p}"),
-        ("\uD632", "\\mathsfsl{q}"),
-        ("\uD633", "\\mathsfsl{r}"),
-        ("\uD634", "\\mathsfsl{s}"),
-        ("\uD635", "\\mathsfsl{t}"),
-        ("\uD636", "\\mathsfsl{u}"),
-        ("\uD637", "\\mathsfsl{v}"),
-        ("\uD638", "\\mathsfsl{w}"),
-        ("\uD639", "\\mathsfsl{x}"),
-        ("\uD63A", "\\mathsfsl{y}"),
-        ("\uD63B", "\\mathsfsl{z}"),
-        ("\uD63C", "\\mathsfbfsl{A}"),
-        ("\uD63D", "\\mathsfbfsl{B}"),
-        ("\uD63E", "\\mathsfbfsl{C}"),
-        ("\uD63F", "\\mathsfbfsl{D}"),
-        ("\uD640", "\\mathsfbfsl{E}"),
-        ("\uD641", "\\mathsfbfsl{F}"),
-        ("\uD642", "\\mathsfbfsl{G}"),
-        ("\uD643", "\\mathsfbfsl{H}"),
-        ("\uD644", "\\mathsfbfsl{I}"),
-        ("\uD645", "\\mathsfbfsl{J}"),
-        ("\uD646", "\\mathsfbfsl{K}"),
-        ("\uD647", "\\mathsfbfsl{L}"),
-        ("\uD648", "\\mathsfbfsl{M}"),
-        ("\uD649", "\\mathsfbfsl{N}"),
-        ("\uD64A", "\\mathsfbfsl{O}"),
-        ("\uD64B", "\\mathsfbfsl{P}"),
-        ("\uD64C", "\\mathsfbfsl{Q}"),
-        ("\uD64D", "\\mathsfbfsl{R}"),
-        ("\uD64E", "\\mathsfbfsl{S}"),
-        ("\uD64F", "\\mathsfbfsl{T}"),
-        ("\uD650", "\\mathsfbfsl{U}"),
-        ("\uD651", "\\mathsfbfsl{V}"),
-        ("\uD652", "\\mathsfbfsl{W}"),
-        ("\uD653", "\\mathsfbfsl{X}"),
-        ("\uD654", "\\mathsfbfsl{Y}"),
-        ("\uD655", "\\mathsfbfsl{Z}"),
-        ("\uD656", "\\mathsfbfsl{a}"),
-        ("\uD657", "\\mathsfbfsl{b}"),
-        ("\uD658", "\\mathsfbfsl{c}"),
-        ("\uD659", "\\mathsfbfsl{d}"),
-        ("\uD65A", "\\mathsfbfsl{e}"),
-        ("\uD65B", "\\mathsfbfsl{f}"),
-        ("\uD65C", "\\mathsfbfsl{g}"),
-        ("\uD65D", "\\mathsfbfsl{h}"),
-        ("\uD65E", "\\mathsfbfsl{i}"),
-        ("\uD65F", "\\mathsfbfsl{j}"),
-        ("\uD660", "\\mathsfbfsl{k}"),
-        ("\uD661", "\\mathsfbfsl{l}"),
-        ("\uD662", "\\mathsfbfsl{m}"),
-        ("\uD663", "\\mathsfbfsl{n}"),
-        ("\uD664", "\\mathsfbfsl{o}"),
-        ("\uD665", "\\mathsfbfsl{p}"),
-        ("\uD666", "\\mathsfbfsl{q}"),
-        ("\uD667", "\\mathsfbfsl{r}"),
-        ("\uD668", "\\mathsfbfsl{s}"),
-        ("\uD669", "\\mathsfbfsl{t}"),
-        ("\uD66A", "\\mathsfbfsl{u}"),
-        ("\uD66B", "\\mathsfbfsl{v}"),
-        ("\uD66C", "\\mathsfbfsl{w}"),
-        ("\uD66D", "\\mathsfbfsl{x}"),
-        ("\uD66E", "\\mathsfbfsl{y}"),
-        ("\uD66F", "\\mathsfbfsl{z}"),
-        ("\uD670", "\\mathtt{A}"),
-        ("\uD671", "\\mathtt{B}"),
-        ("\uD672", "\\mathtt{C}"),
-        ("\uD673", "\\mathtt{D}"),
-        ("\uD674", "\\mathtt{E}"),
-        ("\uD675", "\\mathtt{F}"),
-        ("\uD676", "\\mathtt{G}"),
-        ("\uD677", "\\mathtt{H}"),
-        ("\uD678", "\\mathtt{I}"),
-        ("\uD679", "\\mathtt{J}"),
-        ("\uD67A", "\\mathtt{K}"),
-        ("\uD67B", "\\mathtt{L}"),
-        ("\uD67C", "\\mathtt{M}"),
-        ("\uD67D", "\\mathtt{N}"),
-        ("\uD67E", "\\mathtt{O}"),
-        ("\uD67F", "\\mathtt{P}"),
-        ("\uD680", "\\mathtt{Q}"),
-        ("\uD681", "\\mathtt{R}"),
-        ("\uD682", "\\mathtt{S}"),
-        ("\uD683", "\\mathtt{T}"),
-        ("\uD684", "\\mathtt{U}"),
-        ("\uD685", "\\mathtt{V}"),
-        ("\uD686", "\\mathtt{W}"),
-        ("\uD687", "\\mathtt{X}"),
-        ("\uD688", "\\mathtt{Y}"),
-        ("\uD689", "\\mathtt{Z}"),
-        ("\uD68A", "\\mathtt{a}"),
-        ("\uD68B", "\\mathtt{b}"),
-        ("\uD68C", "\\mathtt{c}"),
-        ("\uD68D", "\\mathtt{d}"),
-        ("\uD68E", "\\mathtt{e}"),
-        ("\uD68F", "\\mathtt{f}"),
-        ("\uD690", "\\mathtt{g}"),
-        ("\uD691", "\\mathtt{h}"),
-        ("\uD692", "\\mathtt{i}"),
-        ("\uD693", "\\mathtt{j}"),
-        ("\uD694", "\\mathtt{k}"),
-        ("\uD695", "\\mathtt{l}"),
-        ("\uD696", "\\mathtt{m}"),
-        ("\uD697", "\\mathtt{n}"),
-        ("\uD698", "\\mathtt{o}"),
-        ("\uD699", "\\mathtt{p}"),
-        ("\uD69A", "\\mathtt{q}"),
-        ("\uD69B", "\\mathtt{r}"),
-        ("\uD69C", "\\mathtt{s}"),
-        ("\uD69D", "\\mathtt{t}"),
-        ("\uD69E", "\\mathtt{u}"),
-        ("\uD69F", "\\mathtt{v}"),
-        ("\uD6A0", "\\mathtt{w}"),
-        ("\uD6A1", "\\mathtt{x}"),
-        ("\uD6A2", "\\mathtt{y}"),
-        ("\uD6A3", "\\mathtt{z}"),
-        ("\uD6A8", "\\mathbf{\\Alpha}"),
-        ("\uD6A9", "\\mathbf{\\Beta}"),
-        ("\uD6AA", "\\mathbf{\\Gamma}"),
-        ("\uD6AB", "\\mathbf{\\Delta}"),
-        ("\uD6AC", "\\mathbf{\\Epsilon}"),
-        ("\uD6AD", "\\mathbf{\\Zeta}"),
-        ("\uD6AE", "\\mathbf{\\Eta}"),
-        ("\uD6AF", "\\mathbf{\\Theta}"),
-        ("\uD6B0", "\\mathbf{\\Iota}"),
-        ("\uD6B1", "\\mathbf{\\Kappa}"),
-        ("\uD6B2", "\\mathbf{\\Lambda}"),
-        ("\uD6B5", "\\mathbf{\\Xi}"),
-        ("\uD6B7", "\\mathbf{\\Pi}"),
-        ("\uD6B8", "\\mathbf{\\Rho}"),
-        ("\uD6B9", "\\mathbf{\\vartheta}"),
-        ("\uD6BA", "\\mathbf{\\Sigma}"),
-        ("\uD6BB", "\\mathbf{\\Tau}"),
-        ("\uD6BC", "\\mathbf{\\Upsilon}"),
-        ("\uD6BD", "\\mathbf{\\Phi}"),
-        ("\uD6BE", "\\mathbf{\\Chi}"),
-        ("\uD6BF", "\\mathbf{\\Psi}"),
-        ("\uD6C0", "\\mathbf{\\Omega}"),
-        ("\uD6C1", "\\mathbf{\\nabla}"),
-        ("\uD6C2", "\\mathbf{\\Alpha}"),
-        ("\uD6C3", "\\mathbf{\\Beta}"),
-        ("\uD6C4", "\\mathbf{\\Gamma}"),
-        ("\uD6C5", "\\mathbf{\\Delta}"),
-        ("\uD6C6", "\\mathbf{\\Epsilon}"),
-        ("\uD6C7", "\\mathbf{\\Zeta}"),
-        ("\uD6C8", "\\mathbf{\\Eta}"),
-        ("\uD6C9", "\\mathbf{\\theta}"),
-        ("\uD6CA", "\\mathbf{\\Iota}"),
-        ("\uD6CB", "\\mathbf{\\Kappa}"),
-        ("\uD6CC", "\\mathbf{\\Lambda}"),
-        ("\uD6CF", "\\mathbf{\\Xi}"),
-        ("\uD6D1", "\\mathbf{\\Pi}"),
-        ("\uD6D2", "\\mathbf{\\Rho}"),
-        ("\uD6D3", "\\mathbf{\\varsigma}"),
-        ("\uD6D4", "\\mathbf{\\Sigma}"),
-        ("\uD6D5", "\\mathbf{\\Tau}"),
-        ("\uD6D6", "\\mathbf{\\Upsilon}"),
-        ("\uD6D7", "\\mathbf{\\Phi}"),
-        ("\uD6D8", "\\mathbf{\\Chi}"),
-        ("\uD6D9", "\\mathbf{\\Psi}"),
-        ("\uD6DA", "\\mathbf{\\Omega}"),
-        ("\uD6DB", "\\partial "),
-        ("\uD6DC", "\\in"),
-        ("\uD6DD", "\\mathbf{\\vartheta}"),
-        ("\uD6DE", "\\mathbf{\\varkappa}"),
-        ("\uD6DF", "\\mathbf{\\phi}"),
-        ("\uD6E0", "\\mathbf{\\varrho}"),
-        ("\uD6E1", "\\mathbf{\\varpi}"),
-        ("\uD6E2", "\\mathsl{\\Alpha}"),
-        ("\uD6E3", "\\mathsl{\\Beta}"),
-        ("\uD6E4", "\\mathsl{\\Gamma}"),
-        ("\uD6E5", "\\mathsl{\\Delta}"),
-        ("\uD6E6", "\\mathsl{\\Epsilon}"),
-        ("\uD6E7", "\\mathsl{\\Zeta}"),
-        ("\uD6E8", "\\mathsl{\\Eta}"),
-        ("\uD6E9", "\\mathsl{\\Theta}"),
-        ("\uD6EA", "\\mathsl{\\Iota}"),
-        ("\uD6EB", "\\mathsl{\\Kappa}"),
-        ("\uD6EC", "\\mathsl{\\Lambda}"),
-        ("\uD6EF", "\\mathsl{\\Xi}"),
-        ("\uD6F1", "\\mathsl{\\Pi}"),
-        ("\uD6F2", "\\mathsl{\\Rho}"),
-        ("\uD6F3", "\\mathsl{\\vartheta}"),
-        ("\uD6F4", "\\mathsl{\\Sigma}"),
-        ("\uD6F5", "\\mathsl{\\Tau}"),
-        ("\uD6F6", "\\mathsl{\\Upsilon}"),
-        ("\uD6F7", "\\mathsl{\\Phi}"),
-        ("\uD6F8", "\\mathsl{\\Chi}"),
-        ("\uD6F9", "\\mathsl{\\Psi}"),
-        ("\uD6FA", "\\mathsl{\\Omega}"),
-        ("\uD6FB", "\\mathsl{\\nabla}"),
-        ("\uD6FC", "\\mathsl{\\Alpha}"),
-        ("\uD6FD", "\\mathsl{\\Beta}"),
-        ("\uD6FE", "\\mathsl{\\Gamma}"),
-        ("\uD6FF", "\\mathsl{\\Delta}"),
-        ("\uD700", "\\mathsl{\\Epsilon}"),
-        ("\uD701", "\\mathsl{\\Zeta}"),
-        ("\uD702", "\\mathsl{\\Eta}"),
-        ("\uD703", "\\mathsl{\\Theta}"),
-        ("\uD704", "\\mathsl{\\Iota}"),
-        ("\uD705", "\\mathsl{\\Kappa}"),
-        ("\uD706", "\\mathsl{\\Lambda}"),
-        ("\uD709", "\\mathsl{\\Xi}"),
-        ("\uD70B", "\\mathsl{\\Pi}"),
-        ("\uD70C", "\\mathsl{\\Rho}"),
-        ("\uD70D", "\\mathsl{\\varsigma}"),
-        ("\uD70E", "\\mathsl{\\Sigma}"),
-        ("\uD70F", "\\mathsl{\\Tau}"),
-        ("\uD710", "\\mathsl{\\Upsilon}"),
-        ("\uD711", "\\mathsl{\\Phi}"),
-        ("\uD712", "\\mathsl{\\Chi}"),
-        ("\uD713", "\\mathsl{\\Psi}"),
-        ("\uD714", "\\mathsl{\\Omega}"),
-        ("\uD715", "\\partial "),
-        ("\uD716", "\\in"),
-        ("\uD717", "\\mathsl{\\vartheta}"),
-        ("\uD718", "\\mathsl{\\varkappa}"),
-        ("\uD719", "\\mathsl{\\phi}"),
-        ("\uD71A", "\\mathsl{\\varrho}"),
-        ("\uD71B", "\\mathsl{\\varpi}"),
-        ("\uD71C", "\\mathbit{\\Alpha}"),
-        ("\uD71D", "\\mathbit{\\Beta}"),
-        ("\uD71E", "\\mathbit{\\Gamma}"),
-        ("\uD71F", "\\mathbit{\\Delta}"),
-        ("\uD720", "\\mathbit{\\Epsilon}"),
-        ("\uD721", "\\mathbit{\\Zeta}"),
-        ("\uD722", "\\mathbit{\\Eta}"),
-        ("\uD723", "\\mathbit{\\Theta}"),
-        ("\uD724", "\\mathbit{\\Iota}"),
-        ("\uD725", "\\mathbit{\\Kappa}"),
-        ("\uD726", "\\mathbit{\\Lambda}"),
-        ("\uD729", "\\mathbit{\\Xi}"),
-        ("\uD72B", "\\mathbit{\\Pi}"),
-        ("\uD72C", "\\mathbit{\\Rho}"),
-        ("\uD72D", "\\mathbit{O}"),
-        ("\uD72E", "\\mathbit{\\Sigma}"),
-        ("\uD72F", "\\mathbit{\\Tau}"),
-        ("\uD730", "\\mathbit{\\Upsilon}"),
-        ("\uD731", "\\mathbit{\\Phi}"),
-        ("\uD732", "\\mathbit{\\Chi}"),
-        ("\uD733", "\\mathbit{\\Psi}"),
-        ("\uD734", "\\mathbit{\\Omega}"),
-        ("\uD735", "\\mathbit{\\nabla}"),
-        ("\uD736", "\\mathbit{\\Alpha}"),
-        ("\uD737", "\\mathbit{\\Beta}"),
-        ("\uD738", "\\mathbit{\\Gamma}"),
-        ("\uD739", "\\mathbit{\\Delta}"),
-        ("\uD73A", "\\mathbit{\\Epsilon}"),
-        ("\uD73B", "\\mathbit{\\Zeta}"),
-        ("\uD73C", "\\mathbit{\\Eta}"),
-        ("\uD73D", "\\mathbit{\\Theta}"),
-        ("\uD73E", "\\mathbit{\\Iota}"),
-        ("\uD73F", "\\mathbit{\\Kappa}"),
-        ("\uD740", "\\mathbit{\\Lambda}"),
-        ("\uD743", "\\mathbit{\\Xi}"),
-        ("\uD745", "\\mathbit{\\Pi}"),
-        ("\uD746", "\\mathbit{\\Rho}"),
-        ("\uD747", "\\mathbit{\\varsigma}"),
-        ("\uD748", "\\mathbit{\\Sigma}"),
-        ("\uD749", "\\mathbit{\\Tau}"),
-        ("\uD74A", "\\mathbit{\\Upsilon}"),
-        ("\uD74B", "\\mathbit{\\Phi}"),
-        ("\uD74C", "\\mathbit{\\Chi}"),
-        ("\uD74D", "\\mathbit{\\Psi}"),
-        ("\uD74E", "\\mathbit{\\Omega}"),
-        ("\uD74F", "\\partial "),
-        ("\uD750", "\\in"),
-        ("\uD751", "\\mathbit{\\vartheta}"),
-        ("\uD752", "\\mathbit{\\varkappa}"),
-        ("\uD753", "\\mathbit{\\phi}"),
-        ("\uD754", "\\mathbit{\\varrho}"),
-        ("\uD755", "\\mathbit{\\varpi}"),
-        ("\uD756", "\\mathsfbf{\\Alpha}"),
-        ("\uD757", "\\mathsfbf{\\Beta}"),
-        ("\uD758", "\\mathsfbf{\\Gamma}"),
-        ("\uD759", "\\mathsfbf{\\Delta}"),
-        ("\uD75A", "\\mathsfbf{\\Epsilon}"),
-        ("\uD75B", "\\mathsfbf{\\Zeta}"),
-        ("\uD75C", "\\mathsfbf{\\Eta}"),
-        ("\uD75D", "\\mathsfbf{\\Theta}"),
-        ("\uD75E", "\\mathsfbf{\\Iota}"),
-        ("\uD75F", "\\mathsfbf{\\Kappa}"),
-        ("\uD760", "\\mathsfbf{\\Lambda}"),
-        ("\uD763", "\\mathsfbf{\\Xi}"),
-        ("\uD765", "\\mathsfbf{\\Pi}"),
-        ("\uD766", "\\mathsfbf{\\Rho}"),
-        ("\uD767", "\\mathsfbf{\\vartheta}"),
-        ("\uD768", "\\mathsfbf{\\Sigma}"),
-        ("\uD769", "\\mathsfbf{\\Tau}"),
-        ("\uD76A", "\\mathsfbf{\\Upsilon}"),
-        ("\uD76B", "\\mathsfbf{\\Phi}"),
-        ("\uD76C", "\\mathsfbf{\\Chi}"),
-        ("\uD76D", "\\mathsfbf{\\Psi}"),
-        ("\uD76E", "\\mathsfbf{\\Omega}"),
-        ("\uD76F", "\\mathsfbf{\\nabla}"),
-        ("\uD770", "\\mathsfbf{\\Alpha}"),
-        ("\uD771", "\\mathsfbf{\\Beta}"),
-        ("\uD772", "\\mathsfbf{\\Gamma}"),
-        ("\uD773", "\\mathsfbf{\\Delta}"),
-        ("\uD774", "\\mathsfbf{\\Epsilon}"),
-        ("\uD775", "\\mathsfbf{\\Zeta}"),
-        ("\uD776", "\\mathsfbf{\\Eta}"),
-        ("\uD777", "\\mathsfbf{\\Theta}"),
-        ("\uD778", "\\mathsfbf{\\Iota}"),
-        ("\uD779", "\\mathsfbf{\\Kappa}"),
-        ("\uD77A", "\\mathsfbf{\\Lambda}"),
-        ("\uD77D", "\\mathsfbf{\\Xi}"),
-        ("\uD77F", "\\mathsfbf{\\Pi}"),
-        ("\uD780", "\\mathsfbf{\\Rho}"),
-        ("\uD781", "\\mathsfbf{\\varsigma}"),
-        ("\uD782", "\\mathsfbf{\\Sigma}"),
-        ("\uD783", "\\mathsfbf{\\Tau}"),
-        ("\uD784", "\\mathsfbf{\\Upsilon}"),
-        ("\uD785", "\\mathsfbf{\\Phi}"),
-        ("\uD786", "\\mathsfbf{\\Chi}"),
-        ("\uD787", "\\mathsfbf{\\Psi}"),
-        ("\uD788", "\\mathsfbf{\\Omega}"),
-        ("\uD789", "\\partial "),
-        ("\uD78A", "\\in"),
-        ("\uD78B", "\\mathsfbf{\\vartheta}"),
-        ("\uD78C", "\\mathsfbf{\\varkappa}"),
-        ("\uD78D", "\\mathsfbf{\\phi}"),
-        ("\uD78E", "\\mathsfbf{\\varrho}"),
-        ("\uD78F", "\\mathsfbf{\\varpi}"),
-        ("\uD790", "\\mathsfbfsl{\\Alpha}"),
-        ("\uD791", "\\mathsfbfsl{\\Beta}"),
-        ("\uD792", "\\mathsfbfsl{\\Gamma}"),
-        ("\uD793", "\\mathsfbfsl{\\Delta}"),
-        ("\uD794", "\\mathsfbfsl{\\Epsilon}"),
-        ("\uD795", "\\mathsfbfsl{\\Zeta}"),
-        ("\uD796", "\\mathsfbfsl{\\Eta}"),
-        ("\uD797", "\\mathsfbfsl{\\vartheta}"),
-        ("\uD798", "\\mathsfbfsl{\\Iota}"),
-        ("\uD799", "\\mathsfbfsl{\\Kappa}"),
-        ("\uD79A", "\\mathsfbfsl{\\Lambda}"),
-        ("\uD79D", "\\mathsfbfsl{\\Xi}"),
-        ("\uD79F", "\\mathsfbfsl{\\Pi}"),
-        ("\uD7A0", "\\mathsfbfsl{\\Rho}"),
-        ("\uD7A1", "\\mathsfbfsl{\\vartheta}"),
-        ("\uD7A2", "\\mathsfbfsl{\\Sigma}"),
-        ("\uD7A3", "\\mathsfbfsl{\\Tau}"),
-        ("\uD7A4", "\\mathsfbfsl{\\Upsilon}"),
-        ("\uD7A5", "\\mathsfbfsl{\\Phi}"),
-        ("\uD7A6", "\\mathsfbfsl{\\Chi}"),
-        ("\uD7A7", "\\mathsfbfsl{\\Psi}"),
-        ("\uD7A8", "\\mathsfbfsl{\\Omega}"),
-        ("\uD7A9", "\\mathsfbfsl{\\nabla}"),
-        ("\uD7AA", "\\mathsfbfsl{\\Alpha}"),
-        ("\uD7AB", "\\mathsfbfsl{\\Beta}"),
-        ("\uD7AC", "\\mathsfbfsl{\\Gamma}"),
-        ("\uD7AD", "\\mathsfbfsl{\\Delta}"),
-        ("\uD7AE", "\\mathsfbfsl{\\Epsilon}"),
-        ("\uD7AF", "\\mathsfbfsl{\\Zeta}"),
-        ("\uD7B0", "\\mathsfbfsl{\\Eta}"),
-        ("\uD7B1", "\\mathsfbfsl{\\vartheta}"),
-        ("\uD7B2", "\\mathsfbfsl{\\Iota}"),
-        ("\uD7B3", "\\mathsfbfsl{\\Kappa}"),
-        ("\uD7B4", "\\mathsfbfsl{\\Lambda}"),
-        ("\uD7B7", "\\mathsfbfsl{\\Xi}"),
-        ("\uD7B9", "\\mathsfbfsl{\\Pi}"),
-        ("\uD7BA", "\\mathsfbfsl{\\Rho}"),
-        ("\uD7BB", "\\mathsfbfsl{\\varsigma}"),
-        ("\uD7BC", "\\mathsfbfsl{\\Sigma}"),
-        ("\uD7BD", "\\mathsfbfsl{\\Tau}"),
-        ("\uD7BE", "\\mathsfbfsl{\\Upsilon}"),
-        ("\uD7BF", "\\mathsfbfsl{\\Phi}"),
-        ("\uD7C0", "\\mathsfbfsl{\\Chi}"),
-        ("\uD7C1", "\\mathsfbfsl{\\Psi}"),
-        ("\uD7C2", "\\mathsfbfsl{\\Omega}"),
-        ("\uD7C3", "\\partial "),
-        ("\uD7C4", "\\in"),
-        ("\uD7C5", "\\mathsfbfsl{\\vartheta}"),
-        ("\uD7C6", "\\mathsfbfsl{\\varkappa}"),
-        ("\uD7C7", "\\mathsfbfsl{\\phi}"),
-        ("\uD7C8", "\\mathsfbfsl{\\varrho}"),
-        ("\uD7C9", "\\mathsfbfsl{\\varpi}"),
-        ("\uD7CE", "\\mathbf{0}"),
-        ("\uD7CF", "\\mathbf{1}"),
-        ("\uD7D0", "\\mathbf{2}"),
-        ("\uD7D1", "\\mathbf{3}"),
-        ("\uD7D2", "\\mathbf{4}"),
-        ("\uD7D3", "\\mathbf{5}"),
-        ("\uD7D4", "\\mathbf{6}"),
-        ("\uD7D5", "\\mathbf{7}"),
-        ("\uD7D6", "\\mathbf{8}"),
-        ("\uD7D7", "\\mathbf{9}"),
-        ("\uD7D8", "\\mathbb{0}"),
-        ("\uD7D9", "\\mathbb{1}"),
-        ("\uD7DA", "\\mathbb{2}"),
-        ("\uD7DB", "\\mathbb{3}"),
-        ("\uD7DC", "\\mathbb{4}"),
-        ("\uD7DD", "\\mathbb{5}"),
-        ("\uD7DE", "\\mathbb{6}"),
-        ("\uD7DF", "\\mathbb{7}"),
-        ("\uD7E0", "\\mathbb{8}"),
-        ("\uD7E1", "\\mathbb{9}"),
-        ("\uD7E2", "\\mathsf{0}"),
-        ("\uD7E3", "\\mathsf{1}"),
-        ("\uD7E4", "\\mathsf{2}"),
-        ("\uD7E5", "\\mathsf{3}"),
-        ("\uD7E6", "\\mathsf{4}"),
-        ("\uD7E7", "\\mathsf{5}"),
-        ("\uD7E8", "\\mathsf{6}"),
-        ("\uD7E9", "\\mathsf{7}"),
-        ("\uD7EA", "\\mathsf{8}"),
-        ("\uD7EB", "\\mathsf{9}"),
-        ("\uD7EC", "\\mathsfbf{0}"),
-        ("\uD7ED", "\\mathsfbf{1}"),
-        ("\uD7EE", "\\mathsfbf{2}"),
-        ("\uD7EF", "\\mathsfbf{3}"),
-        ("\uD7F0", "\\mathsfbf{4}"),
-        ("\uD7F1", "\\mathsfbf{5}"),
-        ("\uD7F2", "\\mathsfbf{6}"),
-        ("\uD7F3", "\\mathsfbf{7}"),
-        ("\uD7F4", "\\mathsfbf{8}"),
-        ("\uD7F5", "\\mathsfbf{9}"),
-        ("\uD7F6", "\\mathtt{0}"),
-        ("\uD7F7", "\\mathtt{1}"),
-        ("\uD7F8", "\\mathtt{2}"),
-        ("\uD7F9", "\\mathtt{3}"),
-        ("\uD7FA", "\\mathtt{4}"),
-        ("\uD7FB", "\\mathtt{5}"),
-        ("\uD7FC", "\\mathtt{6}"),
-        ("\uD7FD", "\\mathtt{7}"),
-        ("\uD7FE", "\\mathtt{8}"),
-        ("\uD7FF", "\\mathtt{9}"),
-    )
-
-    if sys.version_info >= (3, 0):
-        unicode_to_latex = to_latex
-        unicode_to_crappy_latex1 = to_crappy1
-        unicode_to_crappy_latex2 = to_crappy2
-        unicode_to_latex_map = dict(unicode_to_latex)
-    else:
-        unicode_to_latex = tuple((k.decode('unicode-escape'), v) for k, v in to_latex)
-        unicode_to_crappy_latex1 = tuple((k.decode('unicode-escape'), v) for k, v in to_crappy1)
-        unicode_to_crappy_latex2 = tuple((k.decode('unicode-escape'), v) for k, v in to_crappy2)
-        unicode_to_latex_map = dict(unicode_to_latex)
-
-prepare_unicode_to_latex()
diff --git a/uberwriter/plugins/bibtex/fuzzywuzzy/StringMatcher.py b/uberwriter/plugins/bibtex/fuzzywuzzy/StringMatcher.py
deleted file mode 100644
index f27f1ff..0000000
--- a/uberwriter/plugins/bibtex/fuzzywuzzy/StringMatcher.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/usr/bin/env python
-# encoding: utf-8
-"""
-StringMatcher.py
-
-ported from python-Levenshtein
-[https://github.com/miohtama/python-Levenshtein]
-"""
-
-from Levenshtein import *
-from warnings import warn
-
-
-class StringMatcher:
-    """A SequenceMatcher-like class built on the top of Levenshtein"""
-
-    def _reset_cache(self):
-        self._ratio = self._distance = None
-        self._opcodes = self._editops = self._matching_blocks = None
-
-    def __init__(self, isjunk=None, seq1='', seq2=''):
-        if isjunk:
-            warn("isjunk not NOT implemented, it will be ignored")
-        self._str1, self._str2 = seq1, seq2
-        self._reset_cache()
-
-    def set_seqs(self, seq1, seq2):
-        self._str1, self._str2 = seq1, seq2
-        self._reset_cache()
-
-    def set_seq1(self, seq1):
-        self._str1 = seq1
-        self._reset_cache()
-
-    def set_seq2(self, seq2):
-        self._str2 = seq2
-        self._reset_cache()
-
-    def get_opcodes(self):
-        if not self._opcodes:
-            if self._editops:
-                self._opcodes = opcodes(self._editops, self._str1, self._str2)
-            else:
-                self._opcodes = opcodes(self._str1, self._str2)
-        return self._opcodes
-
-    def get_editops(self):
-        if not self._editops:
-            if self._opcodes:
-                self._editops = editops(self._opcodes, self._str1, self._str2)
-            else:
-                self._editops = editops(self._str1, self._str2)
-        return self._editops
-
-    def get_matching_blocks(self):
-        if not self._matching_blocks:
-            self._matching_blocks = matching_blocks(self.get_opcodes(),
-                                                    self._str1, self._str2)
-        return self._matching_blocks
-
-    def ratio(self):
-        if not self._ratio:
-            self._ratio = ratio(self._str1, self._str2)
-        return self._ratio
-
-    def quick_ratio(self):
-        # This is usually quick enough :o)
-        if not self._ratio:
-            self._ratio = ratio(self._str1, self._str2)
-        return self._ratio
-
-    def real_quick_ratio(self):
-        len1, len2 = len(self._str1), len(self._str2)
-        return 2.0 * min(len1, len2) / (len1 + len2)
-
-    def distance(self):
-        if not self._distance:
-            self._distance = distance(self._str1, self._str2)
-        return self._distance
diff --git a/uberwriter/plugins/bibtex/fuzzywuzzy/__init__.py b/uberwriter/plugins/bibtex/fuzzywuzzy/__init__.py
deleted file mode 100644
index dceb6e4..0000000
--- a/uberwriter/plugins/bibtex/fuzzywuzzy/__init__.py
+++ /dev/null
@@ -1,2 +0,0 @@
-# -*- coding: utf-8 -*-
-__version__ = '0.8.1'
diff --git a/uberwriter/plugins/bibtex/fuzzywuzzy/fuzz.py b/uberwriter/plugins/bibtex/fuzzywuzzy/fuzz.py
deleted file mode 100644
index 46ace22..0000000
--- a/uberwriter/plugins/bibtex/fuzzywuzzy/fuzz.py
+++ /dev/null
@@ -1,263 +0,0 @@
-#!/usr/bin/env python
-# encoding: utf-8
-"""
-fuzz.py
-
-Copyright (c) 2011 Adam Cohen
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""
-from __future__ import unicode_literals
-import warnings
-
-try:
-    from .StringMatcher import StringMatcher as SequenceMatcher
-except ImportError:
-    warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
-    from difflib import SequenceMatcher
-
-from . import utils
-
-
-###########################
-# Basic Scoring Functions #
-###########################
-
-@utils.check_for_none
-@utils.check_empty_string
-def ratio(s1, s2):
-    s1, s2 = utils.make_type_consistent(s1, s2)
-
-    m = SequenceMatcher(None, s1, s2)
-    return utils.intr(100 * m.ratio())
-
-
-@utils.check_for_none
-@utils.check_empty_string
-def partial_ratio(s1, s2):
-    """"Return the ratio of the most similar substring
-    as a number between 0 and 100."""
-    s1, s2 = utils.make_type_consistent(s1, s2)
-
-    if len(s1) <= len(s2):
-        shorter = s1
-        longer = s2
-    else:
-        shorter = s2
-        longer = s1
-
-    m = SequenceMatcher(None, shorter, longer)
-    blocks = m.get_matching_blocks()
-
-    # each block represents a sequence of matching characters in a string
-    # of the form (idx_1, idx_2, len)
-    # the best partial match will block align with at least one of those blocks
-    #   e.g. shorter = "abcd", longer = XXXbcdeEEE
-    #   block = (1,3,3)
-    #   best score === ratio("abcd", "Xbcd")
-    scores = []
-    for block in blocks:
-        long_start = block[1] - block[0] if (block[1] - block[0]) > 0 else 0
-        long_end = long_start + len(shorter)
-        long_substr = longer[long_start:long_end]
-
-        m2 = SequenceMatcher(None, shorter, long_substr)
-        r = m2.ratio()
-        if r > .995:
-            return 100
-        else:
-            scores.append(r)
-
-    return utils.intr(100 * max(scores))
-
-
-##############################
-# Advanced Scoring Functions #
-##############################
-
-def _process_and_sort(s, force_ascii):
-    """Return a cleaned string with token sorted."""
-    # pull tokens
-    tokens = utils.full_process(s, force_ascii=force_ascii).split()
-
-    # sort tokens and join
-    sorted_string = u" ".join(sorted(tokens))
-    return sorted_string.strip()
-
-
-# Sorted Token
-#   find all alphanumeric tokens in the string
-#   sort those tokens and take ratio of resulting joined strings
-#   controls for unordered string elements
-@utils.check_for_none
-def _token_sort(s1, s2, partial=True, force_ascii=True):
-    sorted1 = _process_and_sort(s1, force_ascii)
-    sorted2 = _process_and_sort(s2, force_ascii)
-
-    if partial:
-        return partial_ratio(sorted1, sorted2)
-    else:
-        return ratio(sorted1, sorted2)
-
-
-def token_sort_ratio(s1, s2, force_ascii=True):
-    """Return a measure of the sequences' similarity between 0 and 100
-    but sorting the token before comparing.
-    """
-    return _token_sort(s1, s2, partial=False, force_ascii=force_ascii)
-
-
-def partial_token_sort_ratio(s1, s2, force_ascii=True):
-    """Return the ratio of the most similar substring as a number between
-    0 and 100 but sorting the token before comparing.
-    """
-    return _token_sort(s1, s2, partial=True, force_ascii=force_ascii)
-
-
-@utils.check_for_none
-def _token_set(s1, s2, partial=True, force_ascii=True):
-    """Find all alphanumeric tokens in each string...
-        - treat them as a set
-        - construct two strings of the form:
-            
-        - take ratios of those two strings
-        - controls for unordered partial matches"""
-
-    p1 = utils.full_process(s1, force_ascii=force_ascii)
-    p2 = utils.full_process(s2, force_ascii=force_ascii)
-
-    if not utils.validate_string(p1):
-        return 0
-    if not utils.validate_string(p2):
-        return 0
-
-    # pull tokens
-    tokens1 = set(utils.full_process(p1).split())
-    tokens2 = set(utils.full_process(p2).split())
-
-    intersection = tokens1.intersection(tokens2)
-    diff1to2 = tokens1.difference(tokens2)
-    diff2to1 = tokens2.difference(tokens1)
-
-    sorted_sect = " ".join(sorted(intersection))
-    sorted_1to2 = " ".join(sorted(diff1to2))
-    sorted_2to1 = " ".join(sorted(diff2to1))
-
-    combined_1to2 = sorted_sect + " " + sorted_1to2
-    combined_2to1 = sorted_sect + " " + sorted_2to1
-
-    # strip
-    sorted_sect = sorted_sect.strip()
-    combined_1to2 = combined_1to2.strip()
-    combined_2to1 = combined_2to1.strip()
-
-    if partial:
-        ratio_func = partial_ratio
-    else:
-        ratio_func = ratio
-
-    pairwise = [
-        ratio_func(sorted_sect, combined_1to2),
-        ratio_func(sorted_sect, combined_2to1),
-        ratio_func(combined_1to2, combined_2to1)
-    ]
-    return max(pairwise)
-
-
-def token_set_ratio(s1, s2, force_ascii=True):
-    return _token_set(s1, s2, partial=False, force_ascii=force_ascii)
-
-
-def partial_token_set_ratio(s1, s2, force_ascii=True):
-    return _token_set(s1, s2, partial=True, force_ascii=force_ascii)
-
-
-###################
-# Combination API #
-###################
-
-# q is for quick
-def QRatio(s1, s2, force_ascii=True):
-
-    p1 = utils.full_process(s1, force_ascii=force_ascii)
-    p2 = utils.full_process(s2, force_ascii=force_ascii)
-
-    if not utils.validate_string(p1):
-        return 0
-    if not utils.validate_string(p2):
-        return 0
-
-    return ratio(p1, p2)
-
-
-def UQRatio(s1, s2):
-    return QRatio(s1, s2, force_ascii=False)
-
-
-# w is for weighted
-def WRatio(s1, s2, force_ascii=True):
-    """Return a measure of the sequences' similarity between 0 and 100,
-    using different algorithms.
-    """
-
-    p1 = utils.full_process(s1, force_ascii=force_ascii)
-    p2 = utils.full_process(s2, force_ascii=force_ascii)
-
-    if not utils.validate_string(p1):
-        return 0
-    if not utils.validate_string(p2):
-        return 0
-
-    # should we look at partials?
-    try_partial = True
-    unbase_scale = .95
-    partial_scale = .90
-
-    base = ratio(p1, p2)
-    len_ratio = float(max(len(p1), len(p2))) / min(len(p1), len(p2))
-
-    # if strings are similar length, don't use partials
-    if len_ratio < 1.5:
-        try_partial = False
-
-    # if one string is much much shorter than the other
-    if len_ratio > 8:
-        partial_scale = .6
-
-    if try_partial:
-        partial = partial_ratio(p1, p2) * partial_scale
-        ptsor = partial_token_sort_ratio(p1, p2, force_ascii=force_ascii) \
-            * unbase_scale * partial_scale
-        ptser = partial_token_set_ratio(p1, p2, force_ascii=force_ascii) \
-            * unbase_scale * partial_scale
-
-        return utils.intr(max(base, partial, ptsor, ptser))
-    else:
-        tsor = token_sort_ratio(p1, p2, force_ascii=force_ascii) * unbase_scale
-        tser = token_set_ratio(p1, p2, force_ascii=force_ascii) * unbase_scale
-
-        return utils.intr(max(base, tsor, tser))
-
-
-def UWRatio(s1, s2):
-    """Return a measure of the sequences' similarity between 0 and 100,
-    using different algorithms. Same as WRatio but preserving unicode.
-    """
-    return WRatio(s1, s2, force_ascii=False)
diff --git a/uberwriter/plugins/bibtex/fuzzywuzzy/process.py b/uberwriter/plugins/bibtex/fuzzywuzzy/process.py
deleted file mode 100644
index 88eaa83..0000000
--- a/uberwriter/plugins/bibtex/fuzzywuzzy/process.py
+++ /dev/null
@@ -1,227 +0,0 @@
-#!/usr/bin/env python
-# encoding: utf-8
-"""
-process.py
-
-Copyright (c) 2011 Adam Cohen
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""
-import itertools
-
-from . import fuzz
-from . import utils
-
-
-def extract(query, choices, processor=None, scorer=None, limit=5):
-    """Select the best match in a list or dictionary of choices.
-
-    Find best matches in a list or dictionary of choices, return a
-    list of tuples containing the match and it's score. If a dictionary
-    is used, also returns the key for each match.
-
-    Arguments:
-        query: An object representing the thing we want to find.
-        choices: An iterable or dictionary-like object containing choices
-            to be matched against the query. Dictionary arguments of
-            {key: value} pairs will attempt to match the query against
-            each value.
-        processor: Optional function of the form f(a) -> b, where a is an
-            individual choice and b is the choice to be used in matching.
-
-            This can be used to match against, say, the first element of
-            a list:
-
-            lambda x: x[0]
-
-            Defaults to fuzzywuzzy.utils.full_process().
-        scorer: Optional function for scoring matches between the query and
-            an individual processed choice. This should be a function
-            of the form f(query, choice) -> int.
-
-            By default, fuzz.WRatio() is used and expects both query and
-            choice to be strings.
-        limit: Optional maximum for the number of elements returned. Defaults
-            to 5.
-
-    Returns:
-        List of tuples containing the match and its score.
-
-        If a list is used for choices, then the result will be 2-tuples.
-        If a dictionary is used, then the result will be 3-tuples containing
-        he key for each match.
-
-        For example, searching for 'bird' in the dictionary
-
-        {'bard': 'train', 'dog': 'man'}
-
-        may return
-
-        [('train', 22, 'bard'), ('man', 0, 'dog')]
-    """
-
-    if choices is None:
-        return []
-
-    # Catch generators without lengths
-    try:
-        if len(choices) == 0:
-            return []
-    except TypeError:
-        pass
-
-    # default, turn whatever the choice is into a workable string
-    if not processor:
-        processor = utils.full_process
-
-    # default: wratio
-    if not scorer:
-        scorer = fuzz.WRatio
-
-    sl = []
-
-    try:
-        # See if choices is a dictionary-like object.
-        for key, choice in choices.items():
-            processed = processor(choice)
-            score = scorer(query, processed)
-            sl.append((choice, score, key))
-    except AttributeError:
-        # It's a list; just iterate over it.
-        for choice in choices:
-            processed = processor(choice)
-            score = scorer(query, processed)
-            sl.append((choice, score))
-
-    sl.sort(key=lambda i: i[1], reverse=True)
-    return sl[:limit]
-
-
-def extractBests(query, choices, processor=None, scorer=None, score_cutoff=0, limit=5):
-    """Get a list of the best matches to a collection of choices.
-
-    Convenience function for getting the choices with best scores.
-
-    Args:
-        query: A string to match against
-        choices: A list or dictionary of choices, suitable for use with
-            extract().
-        processor: Optional function for transforming choices before matching.
-            See extract().
-        scorer: Scoring function for extract().
-        score_cutoff: Optional argument for score threshold. No matches with
-            a score less than this number will be returned. Defaults to 0.
-        limit: Optional maximum for the number of elements returned. Defaults
-            to 5.
-
-    Returns: A a list of (match, score) tuples.
-    """
-    best_list = extract(query, choices, processor, scorer, limit)
-    return list(itertools.takewhile(lambda x: x[1] >= score_cutoff, best_list))
-
-
-def extractOne(query, choices, processor=None, scorer=None, score_cutoff=0):
-    """Find the single best match above a score in a list of choices.
-
-    This is a convenience method which returns the single best choice.
-    See extract() for the full arguments list.
-
-    Args:
-        query: A string to match against
-        choices: A list or dictionary of choices, suitable for use with
-            extract().
-        processor: Optional function for transforming choices before matching.
-            See extract().
-        scorer: Scoring function for extract().
-        score_cutoff: Optional argument for score threshold. If the best
-            match is found, but it is not greater than this number, then
-            return None anyway ("not a good enough match").  Defaults to 0.
-
-    Returns:
-        A tuple containing a single match and its score, if a match
-        was found that was above score_cutoff. Otherwise, returns None.
-    """
-    best_list = extract(query, choices, processor, scorer, limit=1)
-    if len(best_list) > 0 and best_list[0][1] >= score_cutoff:
-        return best_list[0]
-    return None
-
-
-def dedupe(contains_dupes, threshold=70, scorer=fuzz.token_set_ratio):
-    """This convenience function takes a list of strings containing duplicates and uses fuzzy matching to identify
-    and remove duplicates. Specifically, it uses the process.extract to identify duplicates that
-    score greater than a user defined threshold. Then, it looks for the longest item in the duplicate list
-    since we assume this item contains the most entity information and returns that. It breaks string
-    length ties on an alphabetical sort.
-
-    Note: as the threshold DECREASES the number of duplicates that are found INCREASES. This means that the
-        returned deduplicated list will likely be shorter. Raise the threshold for fuzzy_dedupe to be less
-        sensitive.
-
-    Args:
-        contains_dupes: A list of strings that we would like to dedupe.
-        threshold: the numerical value (0,100) point at which we expect to find duplicates.
-            Defaults to 70 out of 100
-        scorer: Optional function for scoring matches between the query and
-            an individual processed choice. This should be a function
-            of the form f(query, choice) -> int.
-            By default, fuzz.token_set_ratio() is used and expects both query and
-            choice to be strings.
-
-    Returns:
-        A deduplicated list. For example:
-
-            In: contains_dupes = ['Frodo Baggin', 'Frodo Baggins', 'F. Baggins', 'Samwise G.', 'Gandalf', 'Bilbo Baggins']
-            In: fuzzy_dedupe(contains_dupes)
-            Out: ['Frodo Baggins', 'Samwise G.', 'Bilbo Baggins', 'Gandalf']
-        """
-
-    extractor = []
-
-    # iterate over items in *contains_dupes*
-    for item in contains_dupes:
-        # return all duplicate matches found
-        matches = extract(item, contains_dupes, limit=None, scorer=scorer)
-        # filter matches based on the threshold
-        filtered = [x for x in matches if x[1] > threshold]
-        # if there is only 1 item in *filtered*, no duplicates were found so append to *extracted*
-        if len(filtered) == 1:
-            extractor.append(filtered[0][0])
-
-        else:
-            # alpha sort
-            filtered = sorted(filtered, key=lambda x: x[0])
-            # length sort
-            filter_sort = sorted(filtered, key=lambda x: len(x[0]), reverse=True)
-            # take first item as our 'canonical example'
-            extractor.append(filter_sort[0][0])
-
-    # uniquify *extractor* list
-    keys = {}
-    for e in extractor:
-        keys[e] = 1
-    extractor = keys.keys()
-
-    # check that extractor differs from contain_dupes (e.g. duplicates were found)
-    # if not, then return the original list
-    if len(extractor) == len(contains_dupes):
-        return contains_dupes
-    else:
-        return extractor
diff --git a/uberwriter/plugins/bibtex/fuzzywuzzy/string_processing.py b/uberwriter/plugins/bibtex/fuzzywuzzy/string_processing.py
deleted file mode 100644
index 0fee736..0000000
--- a/uberwriter/plugins/bibtex/fuzzywuzzy/string_processing.py
+++ /dev/null
@@ -1,34 +0,0 @@
-from __future__ import unicode_literals
-import re
-import string
-import sys
-
-
-PY3 = sys.version_info[0] == 3
-
-
-class StringProcessor(object):
-    """
-    This class defines method to process strings in the most
-    efficient way. Ideally all the methods below use unicode strings
-    for both input and output.
-    """
-
-    regex = re.compile(r"(?ui)\W")
-
-    @classmethod
-    def replace_non_letters_non_numbers_with_whitespace(cls, a_string):
-        """
-        This function replaces any sequence of non letters and non
-        numbers with a single white space.
-        """
-        return cls.regex.sub(u" ", a_string)
-
-    if PY3:
-        strip = staticmethod(str.strip)
-        to_lower_case = staticmethod(str.lower)
-        to_upper_case = staticmethod(str.upper)
-    else:
-        strip = staticmethod(string.strip)
-        to_lower_case = staticmethod(string.lower)
-        to_upper_case = staticmethod(string.upper)
diff --git a/uberwriter/plugins/bibtex/fuzzywuzzy/utils.py b/uberwriter/plugins/bibtex/fuzzywuzzy/utils.py
deleted file mode 100644
index bb0426d..0000000
--- a/uberwriter/plugins/bibtex/fuzzywuzzy/utils.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from __future__ import unicode_literals
-import sys
-import functools
-
-from fuzzywuzzy.string_processing import StringProcessor
-
-
-PY3 = sys.version_info[0] == 3
-
-
-def validate_string(s):
-    try:
-        return len(s) > 0
-    except TypeError:
-        return False
-
-
-def check_for_none(func):
-    @functools.wraps(func)
-    def decorator(*args, **kwargs):
-        if args[0] is None:
-            raise TypeError("s1 is None")
-        if args[1] is None:
-            raise TypeError("s2 is None")
-        return func(*args, **kwargs)
-    return decorator
-
-
-def check_empty_string(func):
-    @functools.wraps(func)
-    def decorator(*args, **kwargs):
-        if len(args[0]) == 0 or len(args[1]) == 0:
-            return 0
-        return func(*args, **kwargs)
-    return decorator
-
-bad_chars = str("").join([chr(i) for i in range(128, 256)])  # ascii dammit!
-if PY3:
-    translation_table = dict((ord(c), None) for c in bad_chars)
-    unicode = str
-
-
-def asciionly(s):
-    if PY3:
-        return s.translate(translation_table)
-    else:
-        return s.translate(None, bad_chars)
-
-
-def asciidammit(s):
-    if type(s) is str:
-        return asciionly(s)
-    elif type(s) is unicode:
-        return asciionly(s.encode('ascii', 'ignore'))
-    else:
-        return asciidammit(unicode(s))
-
-
-def make_type_consistent(s1, s2):
-    """If both objects aren't either both string or unicode instances force them to unicode"""
-    if isinstance(s1, str) and isinstance(s2, str):
-        return s1, s2
-
-    elif isinstance(s1, unicode) and isinstance(s2, unicode):
-        return s1, s2
-
-    else:
-        return unicode(s1), unicode(s2)
-
-
-def full_process(s, force_ascii=False):
-    """Process string by
-        -- removing all but letters and numbers
-        -- trim whitespace
-        -- force to lower case
-        if force_ascii == True, force convert to ascii"""
-
-    if s is None:
-        return ""
-
-    if force_ascii:
-        s = asciidammit(s)
-    # Keep only Letters and Numbers (see Unicode docs).
-    string_out = StringProcessor.replace_non_letters_non_numbers_with_whitespace(s)
-    # Force into lowercase.
-    string_out = StringProcessor.to_lower_case(string_out)
-    # Remove leading and trailing whitespaces.
-    string_out = StringProcessor.strip(string_out)
-    return string_out
-
-
-def intr(n):
-    '''Returns a correctly rounded integer'''
-    return int(round(n))
diff --git a/uberwriter/plugins/bibtex/gi_composites.py b/uberwriter/plugins/bibtex/gi_composites.py
deleted file mode 100644
index e29f2e1..0000000
--- a/uberwriter/plugins/bibtex/gi_composites.py
+++ /dev/null
@@ -1,276 +0,0 @@
-#
-# Copyright (C) 2015 Dustin Spicuzza 
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
-# USA
-
-from os.path import abspath, join
-
-import inspect
-import warnings
-
-from gi.repository import Gio
-from gi.repository import GLib
-from gi.repository import GObject
-from gi.repository import Gtk
-
-__all__ = ['GtkTemplate']
-
-class GtkTemplateWarning(UserWarning):
-    pass
-
-def _connect_func(builder, obj, signal_name, handler_name,
-                  connect_object, flags, cls):
-    '''Handles GtkBuilder signal connect events'''
-    
-    if connect_object is None:
-        extra = ()
-    else:
-        extra = (connect_object,)
-    
-    # The handler name refers to an attribute on the template instance,
-    # so ask GtkBuilder for the template instance
-    template_inst = builder.get_object(cls.__gtype_name__)
-    
-    if template_inst is None: # This should never happen
-        errmsg = "Internal error: cannot find template instance! obj: %s; " \
-                 "signal: %s; handler: %s; connect_obj: %s; class: %s" % \
-                 (obj, signal_name, handler_name, connect_object, cls)
-        warnings.warn(errmsg, GtkTemplateWarning)
-        return
-    
-    handler = getattr(template_inst, handler_name)
-
-    if flags == GObject.ConnectFlags.AFTER:
-        obj.connect_after(signal_name, handler, *extra)
-    else:
-        obj.connect(signal_name, handler, *extra)
-    
-    template_inst.__connected_template_signals__.add(handler_name)
-
-
-def _register_template(cls, template_bytes):
-    '''Registers the template for the widget and hooks init_template'''
-
-    # This implementation won't work if there are nested templates, but
-    # we can't do that anyways due to PyGObject limitations so it's ok
-    
-    if not hasattr(cls, 'set_template'):
-        raise TypeError("Requires PyGObject 3.13.2 or greater")
-
-    cls.set_template(template_bytes)
-    
-    bound_methods = set()
-    bound_widgets = set()
-    
-    # Walk the class, find marked callbacks and child attributes
-    for name in dir(cls):
-        
-        o = getattr(cls, name, None)
-        
-        if inspect.ismethod(o):
-            if hasattr(o, '_gtk_callback'):
-                bound_methods.add(name)
-                # Don't need to call this, as connect_func always gets called
-                #cls.bind_template_callback_full(name, o)
-        elif isinstance(o, _Child):
-            cls.bind_template_child_full(name, True, 0)
-            bound_widgets.add(name)
-    
-    # Have to setup a special connect function to connect at template init
-    # because the methods are not bound yet
-    cls.set_connect_func(_connect_func, cls)
-    
-    cls.__gtemplate_methods__ = bound_methods
-    cls.__gtemplate_widgets__ = bound_widgets
-    
-    base_init_template = cls.init_template
-    cls.init_template = lambda s: _init_template(s, cls, base_init_template)
-
-
-def _init_template(self, cls, base_init_template):
-    '''This would be better as an override for Gtk.Widget'''
-    
-    # TODO: could disallow using a metaclass.. but this is good enough
-    # .. if you disagree, feel free to fix it and issue a PR :)
-    if self.__class__ is not cls:
-        raise TypeError("Inheritance from classes with @GtkTemplate decorators "
-                        "is not allowed at this time")
-    
-    connected_signals = set()
-    self.__connected_template_signals__ = connected_signals
-    
-    base_init_template(self)
-    print('initing template')
-    print(self.__gtemplate_widgets__)
-
-    for name in self.__gtemplate_widgets__:
-        widget = self.get_template_child(cls, name)
-        self.__dict__[name] = widget
-        print(name)
-        
-        if widget is None:
-            # Bug: if you bind a template child, and one of them was
-            #      not present, then the whole template is broken (and
-            #      it's not currently possible for us to know which 
-            #      one is broken either -- but the stderr should show
-            #      something useful with a Gtk-CRITICAL message)
-            raise AttributeError("A missing child widget was set using "
-                                 "GtkTemplate.Child and the entire "
-                                 "template is now broken (widgets: %s)" %
-                                 ', '.join(self.__gtemplate_widgets__))
-    
-    for name in self.__gtemplate_methods__.difference(connected_signals):
-        errmsg = ("Signal '%s' was declared with @GtkTemplate.Callback " +
-                  "but was not present in template") % name
-        warnings.warn(errmsg, GtkTemplateWarning)
-
-
-# TODO: Make it easier for IDE to introspect this
-class _Child(object):
-    '''
-        Assign this to an attribute in your class definition and it will
-        be replaced with a widget defined in the UI file when init_template
-        is called
-    '''
-    
-    __slots__ = []
-    
-    @staticmethod
-    def widgets(count):
-        '''
-            Allows declaring multiple widgets with less typing::
-            
-                button    \
-                label1    \
-                label2    = GtkTemplate.Child.widgets(3)
-        '''
-        return [_Child() for _ in range(count)]
-
-
-class _GtkTemplate(object):
-    '''
-        Use this class decorator to signify that a class is a composite
-        widget which will receive widgets and connect to signals as
-        defined in a UI template. You must call init_template to
-        cause the widgets/signals to be initialized from the template::
-        
-            @GtkTemplate(ui='foo.ui')
-            class Foo(Gtk.Box):
-                
-                def __init__(self):
-                    super(Foo, self).__init__()
-                    self.init_template()
-
-        The 'ui' parameter can either be a file path or a GResource resource
-        path::
-
-            @GtkTemplate(ui='/org/example/foo.ui')
-            class Foo(Gtk.Box):
-                pass
-                
-        To connect a signal to a method on your instance, do::
-            
-            @GtkTemplate.Callback
-            def on_thing_happened(self, widget):
-                pass
-        
-        To create a child attribute that is retrieved from your template,
-        add this to your class definition::
-        
-            @GtkTemplate(ui='foo.ui')
-            class Foo(Gtk.Box):
-            
-                widget = GtkTemplate.Child()
-        
-    
-        Note: This is implemented as a class decorator, but if it were
-        included with PyGI I suspect it might be better to do this
-        in the GObject metaclass (or similar) so that init_template
-        can be called automatically instead of forcing the user to do it.
-        
-        .. note:: Due to limitations in PyGObject, you may not inherit from
-                  python objects that use the GtkTemplate decorator.
-    '''
-    
-    __ui_path__ = None
-    
-    @staticmethod
-    def Callback(f):
-        '''
-            Decorator that designates a method to be attached to a signal from
-            the template
-        '''
-        f._gtk_callback = True
-        return f
-
-    
-    Child = _Child
-    
-    @staticmethod
-    def set_ui_path(*path):
-        '''
-            If using file paths instead of resources, call this *before*
-            loading anything that uses GtkTemplate, or it will fail to load
-            your template file
-            
-            :param path: one or more path elements, will be joined together
-                         to create the final path
-            
-            TODO: Alternatively, could wait until first class instantiation
-                  before registering templates? Would need a metaclass...
-        '''
-        _GtkTemplate.__ui_path__ = abspath(join(*path))
-    
-    
-    def __init__(self, ui):
-        self.ui = ui
-    
-    def __call__(self, cls):
-        
-        if not issubclass(cls, Gtk.Widget):
-            raise TypeError("Can only use @GtkTemplate on Widgets")
-
-        # Nested templates don't work
-        if hasattr(cls, '__gtemplate_methods__'):
-            raise TypeError("Cannot nest template classes")
-        
-        # Load the template either from a resource path or a file
-        # - Prefer the resource path first
-
-        try:
-            template_bytes = Gio.resources_lookup_data(self.ui, Gio.ResourceLookupFlags.NONE)
-        except GLib.GError:
-            ui = self.ui
-            if isinstance(ui, (list, tuple)):
-                ui = join(ui)
-
-            if _GtkTemplate.__ui_path__ is not None:
-                ui = join(_GtkTemplate.__ui_path__, ui)
-
-            with open(ui, 'rb') as fp:
-                template_bytes = GLib.Bytes.new(fp.read())
-
-        _register_template(cls, template_bytes)
-        return cls
-
-
-   
-# Future shim support if this makes it into PyGI?
-#if hasattr(Gtk, 'GtkTemplate'):
-#    GtkTemplate = lambda c: c
-#else:
-GtkTemplate = _GtkTemplate
-    
diff --git a/uberwriter/plugins/ubercsv/csvtomd b/uberwriter/plugins/ubercsv/csvtomd
deleted file mode 160000
index 264ee48..0000000
--- a/uberwriter/plugins/ubercsv/csvtomd
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 264ee48c1fe05ef2198697e88f34bae581654caa
diff --git a/uberwriter/plugins/uberquation/equation_widget.glade b/uberwriter/plugins/uberquation/equation_widget.glade
deleted file mode 100644
index 8458da7..0000000
--- a/uberwriter/plugins/uberquation/equation_widget.glade
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-  
-  
-    True
-    False
-  
-  
-    
-  
-  
-    False
-    
-    
-      
-        True
-        False
-        5
-        5
-        5
-        5
-        
-          
-            True
-            False
-            True
-            True
-            gtk-justify-center
-          
-          
-            0
-            1
-            3
-          
-        
-        
-          
-            True
-            True
-            textbuffer1
-            
-            
-            
-          
-          
-            0
-            2
-            3
-          
-        
-        
-          
-            True
-            False
-            vertical
-            
-              
-                True
-                True
-                5
-                edit-find-symbolic
-                False
-                False
-                
-              
-              
-                False
-                True
-                0
-              
-            
-            
-              
-                True
-                True
-                in
-                
-                  
-                    True
-                    False
-                    
-                      
-                        listbox
-                        True
-                        False
-                        True
-                        False
-                      
-                    
-                  
-                
-              
-              
-                False
-                True
-                1
-              
-            
-          
-          
-            0
-            0
-            3
-          
-        
-      
-    
-  
-
diff --git a/uberwriter/plugins/uberquation/equation_widget.glade~ b/uberwriter/plugins/uberquation/equation_widget.glade~
deleted file mode 100644
index 63bd82b..0000000
--- a/uberwriter/plugins/uberquation/equation_widget.glade~
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-  
-  
-    True
-    False
-  
-  
-    
-  
-  
-    False
-    
-    
-      
-        True
-        False
-        5
-        5
-        5
-        5
-        
-          
-            True
-            False
-            True
-            True
-            gtk-justify-center
-          
-          
-            0
-            1
-            3
-          
-        
-        
-          
-            True
-            True
-            textbuffer1
-            
-            
-          
-          
-            0
-            2
-            3
-          
-        
-        
-          
-            True
-            False
-            vertical
-            
-              
-                True
-                True
-                5
-                edit-find-symbolic
-                False
-                False
-                
-              
-              
-                False
-                True
-                0
-              
-            
-            
-              
-                True
-                True
-                in
-                
-                  
-                    True
-                    False
-                    
-                      
-                        listbox
-                        True
-                        False
-                        True
-                        False
-                      
-                    
-                  
-                
-              
-              
-                False
-                True
-                1
-              
-            
-          
-          
-            0
-            0
-            3
-          
-        
-      
-    
-  
-
diff --git a/uberwriter/plugins/uberquation/icons/Rightarrow b/uberwriter/plugins/uberquation/icons/Rightarrow
deleted file mode 100644
index 7247e64..0000000
--- a/uberwriter/plugins/uberquation/icons/Rightarrow
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/uberwriter/plugins/uberquation/icons/^{0} b/uberwriter/plugins/uberquation/icons/^{0}
deleted file mode 100644
index ddee9c3..0000000
--- a/uberwriter/plugins/uberquation/icons/^{0}
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/uberwriter/plugins/uberquation/icons/_{0} b/uberwriter/plugins/uberquation/icons/_{0}
deleted file mode 100644
index 3c951f0..0000000
--- a/uberwriter/plugins/uberquation/icons/_{0}
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/uberwriter/plugins/uberquation/icons/alpha b/uberwriter/plugins/uberquation/icons/alpha
deleted file mode 100644
index 7141860..0000000
--- a/uberwriter/plugins/uberquation/icons/alpha
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/uberwriter/plugins/uberquation/icons/beta b/uberwriter/plugins/uberquation/icons/beta
deleted file mode 100644
index f6878fc..0000000
--- a/uberwriter/plugins/uberquation/icons/beta
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/uberwriter/plugins/uberquation/icons/int_{0}^{1}{2} b/uberwriter/plugins/uberquation/icons/int_{0}^{1}{2}
deleted file mode 100644
index 586b7f0..0000000
--- a/uberwriter/plugins/uberquation/icons/int_{0}^{1}{2}
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/uberwriter/plugins/uberquation/icons/rarrow b/uberwriter/plugins/uberquation/icons/rarrow
deleted file mode 100644
index e434596..0000000
--- a/uberwriter/plugins/uberquation/icons/rarrow
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/uberwriter/plugins/uberquation/uberquation.py b/uberwriter/plugins/uberquation/uberquation.py
deleted file mode 100644
index aa8f137..0000000
--- a/uberwriter/plugins/uberquation/uberquation.py
+++ /dev/null
@@ -1,218 +0,0 @@
-from gi.repository import Gtk, Gdk
-import subprocess
-
-import threading
-import time
-import uuid
-
-import os
-
-from fuzzywuzzy import fuzz, process
-FNULL = open(os.devnull, 'w')
-
-objs = {
-    "Decorations": [
-        {
-            "name": "Superscript",
-            "tex": "$^{0}"
-        },
-        {
-            "name": "Subscript",
-            "tex": "$_{0}"
-        }
-    ],
-    "Greek": [
-        {
-            "name": "Alpha",
-            "tex": "\\alpha"
-        },
-        {
-            "name": "Beta",
-            "tex": "\\beta"
-        }
-     ],
-     "Math": [
-        {
-            "name": "Integral",
-            "tex": "\\int_{0}^{1}{2}"
-        }
-     ],
-     "Arrows": [
-        {
-            "name": "Rightarrow",
-            "tex": "\\Rightarrow"
-        }
-     ]
-}
-
-def get_svg(text):
-    fn = uuid.uuid4()
-    f = open("/tmp/{0}.tex".format(fn), "w+")
-    f.write("""%&latex
-    \\documentclass{standalone}
-    \\pagestyle{empty}
-    \\begin{document}
-    $""")
-    f.write(text)
-    f.write("""$
-    \\end{document}
-    """)
-    f.close()
-
-    subprocess.call(['pdftex', '-output-directory=/tmp',
-                      '-interaction=nonstopmode', '/tmp/{0}.tex'.format(fn)],stdout=FNULL)
-    subprocess.call(['dvisvgm', '--no-fonts', '--scale=2', '/tmp/{0}.dvi'.format(fn),
-                     '-o', '/tmp/{0}.svg'.format(fn)],stdout=FNULL)
-
-
-    return "/tmp/{0}.svg".format(fn)
-
-class Handler:
-
-    def __init__(self, b):
-        self.b = b
-        self.current_search = ""
-
-    def onDeleteWindow(self, *args):
-        Gtk.main_quit(*args)
-
-    def recompile_image(self, buffer):
-        def recomp():
-            text = buffer.get_text(buffer.get_start_iter(),
-                               buffer.get_end_iter(), False)
-            svgfn = get_svg(text)
-            im = self.b.get_object("image1")
-            im.set_from_file(svgfn)
-        self.thread = threading.Thread(target=recomp)
-        self.thread.daemon = False
-        self.thread.start()
-
-    def alpha_clicked(self, button):
-        bf = self.b.get_object("textbuffer1")
-        bf.insert_at_cursor("\\alpha")
-
-    def searchentry_changed(self, widget, data=None):
-        self.current_search = widget.get_text().lower()
-        self.b.get_object("listbox").invalidate_filter()
-
-    def sort_func(self, row_a, row_b, data=None):
-        if self.b.get_object("searchentry1").get_text():
-            if fuzz.partial_ratio(self.current_search, row_a.entry_name.lower()) > \
-                fuzz.partial_ratio(self.current_search, row_b.entry_name.lower()):
-                return False
-            else:
-                return True
-        return False
-
-    def filter_func(self, row, data=None):
-
-        if fuzz.partial_ratio(self.current_search, row.entry_name.lower()) < 80:
-            return False 
-        # if not row.entry_name.startswith(self.b.get_object("searchentry1").get_text()):
-        #     return False
-        return True
-
-
-
-    def textview_key_pressed(self, widget, key, data=None):
-        if key.keyval == Gdk.KEY_Tab:
-            print("\n\nTAB PRESSED\n\n")
-
-            # Tab Key:
-            # Move forward to next open curly bracket and 
-            # highlight all text up to the next closing curly bracket
-
-            buf = widget.get_buffer()
-            cursor_iter = buf.get_iter_at_mark(buf.get_insert())
-            cursor_iter.forward_find_char(lambda x, data: x == "{", None, None)
-            bound = cursor_iter.copy()
-            bound.forward_chars(3)
-            buf.move_mark_by_name("insert", cursor_iter)
-            buf.move_mark_by_name("selection_bound", bound)
-
-            return True
-
-
-    def textview_after_key_pressed(self, widget, key, data=None):
-            print("\n\ntestign for context")
-            buf = widget.get_buffer()
-            cursor_iter = buf.get_iter_at_mark(buf.get_insert())
-            start_iter = cursor_iter.copy()
-            start_iter.backward_word_start()
-            start_iter.backward_cursor_position()
-            current_context = buf.get_text(start_iter, cursor_iter, False)
-            print("Current Context: ", current_context)
-            if current_context.startswith("\\"):
-                print("in context!!")
-                # we are in some latex specific context so we should try to complete
-                # whatever is going on :)
-                self.current_search = current_context.lower()[1:]
-                self.b.get_object("listbox").invalidate_filter()
-                
-
-
-
-
-def create_icons(builder):
-    import shutil
-    import re
-    tb = builder.get_object("textbuffer1")
-    menu = Gtk.Menu.new()
-    try:
-        os.makedirs("./icons")
-    except:
-        pass
-
-    def insert_tex_snippet(widget, row, data=None):
-        tb.insert_at_cursor(row.tex_data)
-
-    lb = builder.get_object("listbox")
-    from gi.repository import GObject
-    for obj in objs:
-        for val in objs[obj]:
-            tex_code = val["tex"]
-            tex_code = tex_code.format(*"abcdefghijklmn")
-            tex_code = re.sub("\$", "x", tex_code)
-            icon_fn = "./icons/" + re.sub(r"[\\\$]", "", val["tex"])
-            im_exists = os.path.exists(icon_fn)
-            if not im_exists:
-                svg_filename = get_svg(tex_code)
-                shutil.copy(svg_filename, icon_fn)
-
-            bx = Gtk.ListBoxRow.new()
-            bx.tex_data = val["tex"]
-            bx.entry_name = val["name"]
-
-            hbox =  Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=10)
-            hbox.pack_start(Gtk.Image.new_from_file(icon_fn), True, True, 0)
-            hbox.pack_start(Gtk.Label(val["tex"]), True, True, 0)
-            hbox.show_all()
-
-            bx.add(hbox)
-            lb.add(bx)
-
-    lb.connect("row-activated", insert_tex_snippet)
-    return menu
-
-    pass
-
-
-def run():
-    builder = Gtk.Builder()
-    builder.add_from_file("equation_widget.glade")
-    menu = create_icons(builder)
-    #menu.show_all()
-
-    l = builder.get_object("listbox")
-
-    window = builder.get_object("window1")
-    window.show_all()
-    handlers = Handler(builder)
-    builder.connect_signals(handlers)
-    l.set_filter_func(handlers.filter_func)
-    l.set_sort_func(handlers.sort_func)
-    Gtk.main()
-
-
-if __name__ == "__main__":
-    run()
diff --git a/uberwriter_lib/AdvancedExportDialog.py b/uberwriter_lib/AdvancedExportDialog.py
deleted file mode 100644
index 57f2ed9..0000000
--- a/uberwriter_lib/AdvancedExportDialog.py
+++ /dev/null
@@ -1,48 +0,0 @@
-# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
-### BEGIN LICENSE
-# Copyright (C) 2012, Wolf Vollprecht 
-# This program is free software: you can redistribute it and/or modify it 
-# under the terms of the GNU General Public License version 3, as published 
-# by the Free Software Foundation.
-# 
-# This program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, 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 .
-### END LICENSE
-
-from gi.repository import Gtk # pylint: disable=E0611
-
-from . helpers import get_builder
-
-class AdvancedExportDialog(Gtk.Dialog):
-    __gtype_name__ = "AdvancedExportDialog"
-
-    def __new__(cls):
-        """Special static method that's automatically called by Python when 
-        constructing a new instance of this class.
-        
-        Returns a fully instantiated AdvancedExportDialog object.
-        """
-        builder = get_builder('UberwriterAdvancedExportDialog')
-        new_object = builder.get_object("uberwriter_advanced_export_dialog")
-        new_object.finish_initializing(builder)
-        return new_object
-
-    def finish_initializing(self, builder):
-        """Called while initializing this instance in __new__
-
-        finish_initalizing should be called after parsing the ui definition
-        and creating a AdvancedExportDialog object with it in order
-        to finish initializing the start of the new AboutUberwriterDialog
-        instance.
-        
-        Put your initialization code in here and leave __init__ undefined.
-        """
-        # Get a reference to the builder and set up the signals.
-        self.builder = builder
-        self.ui = builder.get_ui(self)
-
diff --git a/uberwriter_lib/AppWindow.py b/uberwriter_lib/AppWindow.py
deleted file mode 100644
index 494eb0b..0000000
--- a/uberwriter_lib/AppWindow.py
+++ /dev/null
@@ -1,204 +0,0 @@
-# This program is free software: you can redistribute it and/or modify it 
-# under the terms of the GNU General Public License version 3, as published 
-# by the Free Software Foundation.
-# 
-# This program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, 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 <http://www.gnu.org/licenses/>.
-
-import sys
-import argparse
-
-import gettext
-import os
-
-import gi
-gi.require_version('Gtk', '3.0')
-from gi.repository import GLib, Gio, Gtk, GdkPixbuf
-
-from . helpers import get_builder, show_uri, get_help_uri, get_media_path
-from uberwriter import UberwriterWindow
-from uberwriter.Settings import Settings
-from uberwriter_lib import set_up_logging
-
-from gettext import gettext as _
-
-class Window(Gtk.ApplicationWindow):
-
-    def __init__(self, *args, **kwargs):
-        super().__init__(*args, **kwargs)
-
-        # This will be in the windows group and have the "win" prefix
-        max_action = Gio.SimpleAction.new_stateful("maximize", None,
-                                           GLib.Variant.new_boolean(False))
-        max_action.connect("change-state", self.on_maximize_toggle)
-        self.add_action(max_action)
-
-        # Keep it in sync with the actual state
-        self.connect("notify::is-maximized",
-                            lambda obj, pspec: max_action.set_state(
-                                               GLib.Variant.new_boolean(obj.props.is_maximized)))
-        
-        self.set_default_size(850,500)
-        
-        icon_file = get_media_path("uberwriter.svg")
-        self.set_icon_from_file(icon_file)
-        
-        builder = get_builder('UberwriterWindow')
-        new_object = builder.get_object("grid1")
-        
-        self.contents = new_object
-        self.add(self.contents)
-    
-        self.finish_initializing(builder)
-        
-        return super().__init__(*args, **kwargs)
- 
-
-    def on_maximize_toggle(self, action, value):
-        action.set_state(value)
-        if value.get_boolean():
-            self.maximize()
-        else:
-            self.unmaximize()
-    
-    def finish_initializing(self, builder):
-        """Called while initializing this instance in __new__
-
-        finish_initializing should be called after parsing the UI definition
-        and creating a UberwriterWindow object with it in order to finish
-        initializing the start of the new UberwriterWindow instance.
-        """
-        # Get a reference to the builder and set up the signals.
-        self.builder = builder
-        self.ui = builder.get_ui(self, True)
-        self.PreferencesDialog = None # class
-        self.preferences_dialog = None # instance
-        self.AboutDialog = None # class
-
-        
-        # self.settings = Gio.Settings("net.launchpad.uberwriter")
-        # self.settings.connect('changed', self.on_preferences_changed)
-
-        # Optional application indicator support
-        # Run 'quickly add indicator' to get started.
-        # More information:
-        #  http://owaislone.org/quickly-add-indicator/
-        #  https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators
-        try:
-            from uberwriter import indicator
-            # self is passed so methods of this class can be called from indicator.py
-            # Comment this next line out to disable appindicator
-            self.indicator = indicator.new_application_indicator(self)
-        except ImportError:
-            pass
-            
-
-class Application(Gtk.Application):
-
-    def __init__(self, *args, **kwargs):
-        super().__init__(*args, application_id="de.wolfvollprecht.UberWriter",
-                         flags=Gio.ApplicationFlags.HANDLES_COMMAND_LINE,
-                         **kwargs)
-        self.window = None
-        self.settings = Settings.new()
-        
-    def do_startup(self):
-        Gtk.Application.do_startup(self)
-
-        action = Gio.SimpleAction.new("help", None)
-        action.connect("activate", self.on_help)
-        self.add_action(action)
-        
-        action = Gio.SimpleAction.new("shortcuts", None)
-        action.connect("activate", self.on_shortcuts)
-        self.add_action(action)
-        
-        action = Gio.SimpleAction.new("about", None)
-        action.connect("activate", self.on_about)
-        self.add_action(action)
-
-        action = Gio.SimpleAction.new("translate", None)
-        action.connect("activate", self.on_translate)
-        self.add_action(action)
-
-        action = Gio.SimpleAction.new("quit", None)
-        action.connect("activate", self.on_quit)
-        self.add_action(action)
-
-        builder = get_builder('App_menu')
-        self.set_app_menu(builder.get_object("app-menu"))
-
-
-    def do_activate(self):
-        # We only allow a single window and raise any existing ones
-        if not self.window:
-            # Windows are associated with the application
-            # when the last one is closed the application shuts down
-            # self.window = Window(application=self, title="UberWriter")
-            self.window = UberwriterWindow.UberwriterWindow(application=self, title="UberWriter")
-            if len(self.args) > 0:
-              self.window.load_file(self.args[0])
-            if self.options.experimental_features:
-                self.window.use_experimental_features(True)
-        
-
-        self.window.present()
-
-    def do_command_line(self, command_line):
-      
-        """Support for command line options"""
-        parser = argparse.ArgumentParser()
-        parser.add_argument(
-            "-v", "--verbose", action="count", dest="verbose",
-            help=_("Show debug messages (-vv debugs uberwriter_lib also)"))
-        parser.add_argument(
-            "-e", "--experimental-features", help=_("Use experimental features"),
-            action='store_true'
-            )
-        (self.options, self.args) = parser.parse_known_args()
-
-        set_up_logging(self.options)
-        
-        self.activate()
-        return 0
-
-    
-    def on_about(self, action, param):
-        about_dialog = Gtk.AboutDialog(transient_for=self.window, modal=True)
-        about_dialog.set_program_name("Uberwriter")
-        about_dialog.set_version("2.0")
-        about_dialog.set_copyright("Copyright (C) 2018, Wolf Vollprecht")
-        about_dialog.set_license_type(Gtk.License.GPL_3_0)
-        about_dialog.set_website("Uberwriter website http://uberwriter.wolfvollprecht.de")
-        about_dialog.set_authors(["Wolf Vollprecht ", 
-                                "Manuel Genovés "])
-        
-        logo_file = get_media_path("uberwriter.svg")
-        logo = GdkPixbuf.Pixbuf.new_from_file(logo_file)
-        
-        about_dialog.set_logo(logo)
-        
-        about_dialog.present()
-        
-    def on_help(self, action, param):
-        self.window.open_pandoc_markdown(self)
-
-    def on_translate(self, action, param):
-        self.window.open_translation()
-        
-    def on_shortcuts(self, action, param):
-        builder = get_builder('Shortcuts')
-        builder.get_object("shortcuts").set_transient_for(self.window)
-        builder.get_object("shortcuts").show()
-        
-    def on_quit(self, action, param):
-        self.quit()
-
-# ~ if __name__ == "__main__":
-    # ~ app = Application()
-    # ~ app.run(sys.argv)
diff --git a/uberwriter_lib/Builder.py b/uberwriter_lib/Builder.py
deleted file mode 100644
index 96c7bab..0000000
--- a/uberwriter_lib/Builder.py
+++ /dev/null
@@ -1,327 +0,0 @@
-# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
-### BEGIN LICENSE
-# Copyright (C) 2012, Wolf Vollprecht 
-# This program is free software: you can redistribute it and/or modify it 
-# under the terms of the GNU General Public License version 3, as published 
-# by the Free Software Foundation.
-# 
-# This program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, 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 .
-### END LICENSE
-
-### DO NOT EDIT THIS FILE ###
-
-'''Enhances builder connections, provides object to access glade objects'''
-
-import gi
-gi.require_version('Gtk', '3.0')
-from gi.repository import GObject, Gtk # pylint: disable=E0611
-
-import inspect
-import functools
-import logging
-logger = logging.getLogger('uberwriter_lib')
-
-from xml.etree.cElementTree import ElementTree
-
-# this module is big so uses some conventional prefixes and postfixes
-# *s list, except self.widgets is a dictionary
-# *_dict dictionary
-# *name string
-# ele_* element in a ElementTree
-
-
-# pylint: disable=R0904
-# the many public methods is a feature of Gtk.Builder
-class Builder(Gtk.Builder):
-    ''' extra features
-    connects glade defined handler to default_handler if necessary
-    auto connects widget to handler with matching name or alias
-    auto connects several widgets to a handler via multiple aliases
-    allow handlers to lookup widget name
-    logs every connection made, and any on_* not made
-    '''
-
-    def __init__(self):
-        Gtk.Builder.__init__(self)
-        self.widgets = {}
-        self.glade_handler_dict = {}
-        self.connections = []
-        self._reverse_widget_dict = {}
-
-# pylint: disable=R0201
-# this is a method so that a subclass of Builder can redefine it
-    def default_handler(self,
-        handler_name, filename, *args, **kwargs):
-        '''helps the apprentice guru
-
-    glade defined handlers that do not exist come here instead.
-    An apprentice guru might wonder which signal does what he wants,
-    now he can define any likely candidates in glade and notice which
-    ones get triggered when he plays with the project.
-    this method does not appear in Gtk.Builder'''
-        logger.debug('''tried to call non-existent function:%s()
-        expected in %s
-        args:%s
-        kwargs:%s''', handler_name, filename, args, kwargs)
-# pylint: enable=R0201
-
-    def get_name(self, widget):
-        ''' allows a handler to get the name (id) of a widget
-
-        this method does not appear in Gtk.Builder'''
-        return self._reverse_widget_dict.get(widget)
-
-    def add_from_file(self, filename):
-        '''parses xml file and stores wanted details'''
-        Gtk.Builder.add_from_file(self, filename)
-
-        # extract data for the extra interfaces
-        tree = ElementTree()
-        tree.parse(filename)
-
-        ele_widgets = tree.getiterator("object")
-        for ele_widget in ele_widgets:
-            name = ele_widget.attrib['id']
-            widget = self.get_object(name)
-
-            # populate indexes - a dictionary of widgets
-            self.widgets[name] = widget
-
-            # populate a reversed dictionary
-            self._reverse_widget_dict[widget] = name
-
-            # populate connections list
-            ele_signals = ele_widget.findall("signal")
-
-            connections = [
-                (name,
-                ele_signal.attrib['name'],
-                ele_signal.attrib['handler']) for ele_signal in ele_signals]
-
-            if connections:
-                self.connections.extend(connections)
-
-        ele_signals = tree.getiterator("signal")
-        for ele_signal in ele_signals:
-            self.glade_handler_dict.update(
-            {ele_signal.attrib["handler"]: None})
-
-    def connect_signals(self, callback_obj):
-        '''connect the handlers defined in glade
-
-        reports successful and failed connections
-        and logs call to missing handlers'''
-        filename = inspect.getfile(callback_obj.__class__)
-        callback_handler_dict = dict_from_callback_obj(callback_obj)
-        connection_dict = {}
-        connection_dict.update(self.glade_handler_dict)
-        connection_dict.update(callback_handler_dict)
-        for item in connection_dict.items():
-            if item[1] is None:
-                # the handler is missing so reroute to default_handler
-                handler = functools.partial(
-                    self.default_handler, item[0], filename)
-
-                connection_dict[item[0]] = handler
-
-                # replace the run time warning
-                logger.warn("expected handler '%s' in %s",
-                 item[0], filename)
-
-        # connect glade define handlers
-        Gtk.Builder.connect_signals(self, connection_dict)
-
-        # let's tell the user how we applied the glade design
-        for connection in self.connections:
-            widget_name, signal_name, handler_name = connection
-            logger.debug("connect builder by design '%s', '%s', '%s'",
-             widget_name, signal_name, handler_name)
-
-    def get_ui(self, callback_obj=None, by_name=True):
-        '''Creates the ui object with widgets as attributes
-
-        connects signals by 2 methods
-        this method does not appear in Gtk.Builder'''
-
-        result = UiFactory(self.widgets)
-
-        # Hook up any signals the user defined in glade
-        if callback_obj is not None:
-            # connect glade define handlers
-            self.connect_signals(callback_obj)
-
-            if by_name:
-                auto_connect_by_name(callback_obj, self)
-
-        return result
-
-
-# pylint: disable=R0903
-# this class deliberately does not provide any public interfaces
-# apart from the glade widgets
-class UiFactory():
-    ''' provides an object with attributes as glade widgets'''
-    def __init__(self, widget_dict):
-        self._widget_dict = widget_dict
-        for (widget_name, widget) in widget_dict.items():
-            setattr(self, widget_name, widget)
-
-        # Mangle any non-usable names (like with spaces or dashes)
-        # into pythonic ones
-        cannot_message = """cannot bind ui.%s, name already exists
-        consider using a pythonic name instead of design name '%s'"""
-        consider_message = """consider using a pythonic name instead of design name '%s'"""
-        
-        for (widget_name, widget) in widget_dict.items():
-            pyname = make_pyname(widget_name)
-            if pyname != widget_name:
-                if hasattr(self, pyname):
-                    logger.debug(cannot_message, pyname, widget_name)
-                else:
-                    logger.debug(consider_message, widget_name)
-                    setattr(self, pyname, widget)
-
-        def iterator():
-            '''Support 'for o in self' '''
-            return iter(widget_dict.values())
-        setattr(self, '__iter__', iterator)
-
-    def __getitem__(self, name):
-        'access as dictionary where name might be non-pythonic'
-        return self._widget_dict[name]
-# pylint: enable=R0903
-
-
-def make_pyname(name):
-    ''' mangles non-pythonic names into pythonic ones'''
-    pyname = ''
-    for character in name:
-        if (character.isalpha() or character == '_' or
-            (pyname and character.isdigit())):
-            pyname += character
-        else:
-            pyname += '_'
-    return pyname
-
-
-# Until bug https://bugzilla.gnome.org/show_bug.cgi?id=652127 is fixed, we 
-# need to reimplement inspect.getmembers.  GObject introspection doesn't
-# play nice with it.
-def getmembers(obj, check):
-    members = []
-    for k in dir(obj):
-        try:
-            attr = getattr(obj, k)
-        except:
-            continue
-        if check(attr):
-            members.append((k, attr))
-    members.sort()
-    return members
-
-
-def dict_from_callback_obj(callback_obj):
-    '''a dictionary interface to callback_obj'''
-    methods = getmembers(callback_obj, inspect.ismethod)
-
-    aliased_methods = [x[1] for x in methods if hasattr(x[1], 'aliases')]
-
-    # a method may have several aliases
-    #~ @alias('on_btn_foo_clicked')
-    #~ @alias('on_tool_foo_activate')
-    #~ on_menu_foo_activate():
-        #~ pass
-    alias_groups = [(x.aliases, x) for x in aliased_methods]
-
-    aliases = []
-    for item in alias_groups:
-        for alias in item[0]:
-            aliases.append((alias, item[1]))
-
-    dict_methods = dict(methods)
-    dict_aliases = dict(aliases)
-
-    results = {}
-    results.update(dict_methods)
-    results.update(dict_aliases)
-
-    return results
-
-
-def auto_connect_by_name(callback_obj, builder):
-    '''finds handlers like on__ and connects them
-
-    i.e. find widget,signal pair in builder and call
-    widget.connect(signal, on__)'''
-
-    callback_handler_dict = dict_from_callback_obj(callback_obj)
-
-    for item in builder.widgets.items():
-        (widget_name, widget) = item
-        signal_ids = []
-        try:
-            widget_type = type(widget)
-            while widget_type:
-                signal_ids.extend(GObject.signal_list_ids(widget_type))
-                widget_type = GObject.type_parent(widget_type)
-        except RuntimeError:  # pylint wants a specific error
-            pass
-        signal_names = [GObject.signal_name(sid) for sid in signal_ids]
-
-        # Now, automatically find any the user didn't specify in glade
-        for sig in signal_names:
-            # using convention suggested by glade
-            sig = sig.replace("-", "_")
-            handler_names = ["on_%s_%s" % (widget_name, sig)]
-
-            # Using the convention that the top level window is not
-            # specified in the handler name. That is use
-            # on_destroy() instead of on_windowname_destroy()
-            if widget is callback_obj:
-                handler_names.append("on_%s" % sig)
-
-            do_connect(item, sig, handler_names,
-             callback_handler_dict, builder.connections)
-
-    log_unconnected_functions(callback_handler_dict, builder.connections)
-
-
-def do_connect(item, signal_name, handler_names,
-        callback_handler_dict, connections):
-    '''connect this signal to an unused handler'''
-    widget_name, widget = item
-
-    for handler_name in handler_names:
-        target = handler_name in callback_handler_dict.keys()
-        connection = (widget_name, signal_name, handler_name)
-        duplicate = connection in connections
-        if target and not duplicate:
-            widget.connect(signal_name, callback_handler_dict[handler_name])
-            connections.append(connection)
-
-            logger.debug("connect builder by name '%s','%s', '%s'",
-             widget_name, signal_name, handler_name)
-
-
-def log_unconnected_functions(callback_handler_dict, connections):
-    '''log functions like on_* that we could not connect'''
-
-    connected_functions = [x[2] for x in connections]
-
-    handler_names = callback_handler_dict.keys()
-    unconnected = [x for x in handler_names if x.startswith('on_')]
-
-    for handler_name in connected_functions:
-        try:
-            unconnected.remove(handler_name)
-        except ValueError:
-            pass
-
-    for handler_name in unconnected:
-        logger.debug("Not connected to builder '%s'", handler_name)
diff --git a/uberwriter_lib/LatexToPNG.py b/uberwriter_lib/LatexToPNG.py
deleted file mode 100644
index 858962e..0000000
--- a/uberwriter_lib/LatexToPNG.py
+++ /dev/null
@@ -1,108 +0,0 @@
-# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
-"""
-Based on latex2png.py from Stuart Rackham
-
-AUTHOR
-	Written by Stuart Rackham, 
-	The code was inspired by Kjell Magne Fauske's code:
-	http://fauskes.net/nb/htmleqII/
-
-	See also:
-	http://www.amk.ca/python/code/mt-math
-	http://code.google.com/p/latexmath2png/
-
-COPYING
-	Copyright (C) 2010 Stuart Rackham. Free use of this software is
-	granted under the terms of the MIT License.
-"""
-
-import os, sys, tempfile, subprocess
-
-class LatexToPNG():
-
-	TEX_HEADER = r'''\documentclass{article}
-	\usepackage{amsmath}
-	\usepackage{amsthm}
-	\usepackage{amssymb}
-	\usepackage{bm}
-	\newcommand{\mx}[1]{\mathbf{\bm{#1}}} % Matrix command
-	\newcommand{\vc}[1]{\mathbf{\bm{#1}}} % Vector command
-	\newcommand{\T}{\text{T}}			 % Transpose
-	\pagestyle{empty}
-	\begin{document}'''
-	
-	TEX_FOOTER = r'''\end{document}'''
-
-	def __init__(self):
-		self.temp_result = tempfile.NamedTemporaryFile(suffix='.png')
-
-	def latex2png(self, tex, outfile, dpi, modified):
-		'''Convert LaTeX input file infile to PNG file named outfile.'''
-		outfile = os.path.abspath(outfile)
-		outdir = os.path.dirname(outfile)
-		texfile = tempfile.mktemp(suffix='.tex', dir=os.path.dirname(outfile))
-		basefile = os.path.splitext(texfile)[0]
-		dvifile = basefile + '.dvi'
-		temps = [basefile + ext for ext in ('.tex','.dvi', '.aux', '.log')]
-		skip = False
-		
-		tex = '%s\n%s\n%s\n' % (self.TEX_HEADER, tex.strip(), self.TEX_FOOTER)
-
-		open(texfile, 'w').write(tex)
-		saved_pwd = os.getcwd()
-
-		os.chdir(outdir)
-		
-		args = ['latex', '-halt-on-error', texfile]
-		p = subprocess.Popen(args, 
-			stderr=subprocess.STDOUT, 
-			stdout=subprocess.PIPE)
-
-		output = p.stdout
-		output_lines = output.readlines()
-		if os.path.isfile(dvifile): # DVI File exists
-			# Convert DVI file to PNG.
-			args = ['dvipng', 
-					'-D', str(dpi), 
-					'-T', 'tight', 
-					'-x', '1000', 
-					'-z', '9', 
-					'-bg', 'Transparent', 
-					'-o', outfile, 
-					dvifile]
-
-			p = subprocess.Popen(args)
-			p.communicate()
-			
-		else:
-			self.clean_up(temps)
-			'''
-			Errors in Latex output start with "! "
-			Stripping exclamation marks and superflous newlines
-			and telling the user what he's done wrong.
-			'''
-			i = []
-			error = ""
-			for line in output_lines:
-				line = line.decode('utf-8')
-				if line.startswith("!"):
-					error += line[2:] # removing "! "
-			if error.endswith("\n"):
-				error = error[:-1]
-			raise Exception(error)
-
-	def generatepng(self, formula):
-		try:	
-			self.temp_result = tempfile.NamedTemporaryFile(suffix='.png')
-			formula = "$" + formula + "$"
-			self.latex2png(formula, self.temp_result.name, 300, False)
-			return (True, self.temp_result.name)
-
-		except Exception as e:
-			self.temp_result.close()
-			return (False, e.args[0])
-
-	def clean_up(self, files):
-		for f in files:
-			if os.path.isfile(f):
-				os.remove(f)		
\ No newline at end of file
diff --git a/uberwriter_lib/PreferencesDialog.py b/uberwriter_lib/PreferencesDialog.py
deleted file mode 100644
index 14d1c72..0000000
--- a/uberwriter_lib/PreferencesDialog.py
+++ /dev/null
@@ -1,64 +0,0 @@
-# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
-### BEGIN LICENSE
-# Copyright (C) 2012, Wolf Vollprecht 
-# This program is free software: you can redistribute it and/or modify it 
-# under the terms of the GNU General Public License version 3, as published 
-# by the Free Software Foundation.
-# 
-# This program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, 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 .
-### END LICENSE
-
-### DO NOT EDIT THIS FILE ###
-
-"""this dialog adjusts values in gsettings
-"""
-
-from gi.repository import Gtk # pylint: disable=E0611
-import logging
-logger = logging.getLogger('uberwriter_lib')
-
-from . helpers import get_builder, show_uri, get_help_uri
-
-class PreferencesDialog(Gtk.Dialog):
-    __gtype_name__ = "PreferencesDialog"
-
-    def __new__(cls):
-        """Special static method that's automatically called by Python when 
-        constructing a new instance of this class.
-        
-        Returns a fully instantiated PreferencesDialog object.
-        """
-        builder = get_builder('PreferencesUberwriterDialog')
-        new_object = builder.get_object("preferences_uberwriter_dialog")
-        new_object.finish_initializing(builder)
-        return new_object
-
-    def finish_initializing(self, builder):
-        """Called while initializing this instance in __new__
-
-        finish_initalizing should be called after parsing the ui definition
-        and creating a PreferencesDialog object with it in order to
-        finish initializing the start of the new PerferencesUberwriterDialog
-        instance.
-        
-        Put your initialization code in here and leave __init__ undefined.
-        """
-
-        # Get a reference to the builder and set up the signals.
-        self.builder = builder
-        self.ui = builder.get_ui(self, True)
-
-        # code for other initialization actions should be added here
-
-    def on_btn_close_clicked(self, widget, data=None):
-        self.destroy()
-
-    def on_btn_help_clicked(self, widget, data=None):
-        show_uri(self, "ghelp:%s" % get_help_uri('preferences'))
-
diff --git a/uberwriter_lib/__init__.py b/uberwriter_lib/__init__.py
deleted file mode 100644
index 05613f6..0000000
--- a/uberwriter_lib/__init__.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
-### BEGIN LICENSE
-# Copyright (C) 2012, Wolf Vollprecht 
-# This program is free software: you can redistribute it and/or modify it 
-# under the terms of the GNU General Public License version 3, as published 
-# by the Free Software Foundation.
-# 
-# This program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, 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 .
-### END LICENSE
-
-### DO NOT EDIT THIS FILE ###
-
-'''facade - makes uberwriter_lib package easy to refactor
-
-while keeping its api constant'''
-from . helpers import set_up_logging
-from . AppWindow import Window
-from . uberwriterconfig import get_version
-
diff --git a/uberwriter_lib/gtkspellcheck/__init__.py b/uberwriter_lib/gtkspellcheck/__init__.py
deleted file mode 100644
index 3f30951..0000000
--- a/uberwriter_lib/gtkspellcheck/__init__.py
+++ /dev/null
@@ -1,53 +0,0 @@
-# -*- coding:utf-8 -*-
-#
-# Copyright (C) 2012, Maximilian Köhl 
-# Copyright (C) 2012, Carlos Jenkins 
-#
-# 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 .
-
-from __future__ import unicode_literals
-
-__version__ = '4.0.5'
-__project__ = 'Python GTK Spellcheck'
-__short_name__ = 'pygtkspellcheck'
-__authors__ = 'Maximilian Köhl & Carlos Jenkins'
-__emails__ = 'linuxmaxi@googlemail.com & carlos@jenkins.co.cr'
-__website__ = 'http://koehlma.github.com/projects/pygtkspellcheck.html'
-__download_url__ = 'https://github.com/koehlma/pygtkspellcheck/tarball/master'
-__source__ = 'https://github.com/koehlma/pygtkspellcheck/'
-__vcs__ = 'git://github.com/koehlma/pygtkspellcheck.git'
-__copyright__ = '2012, Maximilian Köhl & Carlos Jenkins'
-__desc_short__ = ('a simple but quite powerful Python spell checking library '
-                  'for GtkTextViews based on Enchant')
-__desc_long__ = ('A simple but quite powerful spellchecking library written in '
-                 'pure Python for Gtk based on Enchant. It supports PyGObject '
-                 'as well as PyGtk for Python 2 and 3 with automatic switching '
-                 'and binding detection. For automatic translation of the user '
-                 'interface it can use Gedit’s translation files.')
-
-__metadata__ = {'__version__' : __version__,
-                '__project__' : __project__,
-                '__short_name__' : __short_name__,
-                '__authors__' : __authors__,
-                '__emails__' : __emails__,
-                '__website__' : __website__,
-                '__download_url__' : __download_url__,
-                '__source__' : __source__,
-                '__vcs__' : __vcs__,
-                '__copyright__' : __copyright__,
-                '__desc_short__' : __desc_short__,
-                '__desc_long__' : __desc_long__}
-
-from .spellcheck import (SpellChecker, NoDictionariesFound,
-                                      NoGtkBindingFound)
diff --git a/uberwriter_lib/gtkspellcheck/oxt_extract.py b/uberwriter_lib/gtkspellcheck/oxt_extract.py
deleted file mode 100644
index ce1c45a..0000000
--- a/uberwriter_lib/gtkspellcheck/oxt_extract.py
+++ /dev/null
@@ -1,294 +0,0 @@
-# -*- coding:utf-8 -*-
-#
-# Copyright (C) 2012, Carlos Jenkins 
-# Copyright (C) 2012-2016, Maximilian Köhl 
-#
-# 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 .
-
-"""
-This module extracts the .dic and .aff (Hunspell) dictionaries from any given 
-.oxt extension.
-
-Extensions could be found at:
-
-    http://extensions.services.openoffice.org/dictionary
-"""
-
-import functools
-import gettext
-import logging
-import os
-import shutil
-import sys
-import warnings
-import xml.dom.minidom
-import xml.parsers.expat
-import zipfile
-
-# enable deprecation warnings
-warnings.simplefilter('always', DeprecationWarning)
-
-# public objects
-__all__ = ['extract_oxt', 'batch_extract', 'BadXml', 'BadExtensionFile',
-           'ExtractPathIsNoDirectory', 'BATCH_SUCCESS', 'BATCH_ERROR',
-           'BATCH_WARNING']
-
-# logger
-logger = logging.getLogger(__name__)
-
-# translation
-locale_name = 'py{}gtkspellcheck'.format(sys.version_info.major)
-_ = gettext.translation(locale_name, fallback=True).gettext
-
-class BadXml(Exception):
-    """
-    The XML dictionary registry is not valid XML.
-    """
-    
-class BadExtensionFile(Exception):
-    """
-    The extension has a wrong file format, should be a ZIP file.
-    """
-
-class ExtractPathIsNoDirectory(Exception):
-    """
-    The given `extract_path` is no directory.
-    """
-
-
-def find_dictionaries(registry):
-    def oor_name(name, element):
-        return element.attributes['oor:name'].value.lower() == name
-    
-    def get_property(name, properties):
-        property = list(filter(functools.partial(oor_name, name),
-                               properties))
-        if property:
-            return property[0].getElementsByTagName('value')[0]
-    
-    result = []
-    
-    # find all "node" elements which have "dictionaries" as "oor:name" attribute
-    for dictionaries in filter(functools.partial(oor_name, 'dictionaries'),
-                               registry.getElementsByTagName('node')):
-        # for all "node" elements in this dictionary nodes
-        for dictionary in dictionaries.getElementsByTagName('node'):
-            # get all "prop" elements
-            properties = dictionary.getElementsByTagName('prop')
-            # get the format property as text
-            format = get_property('format', properties).firstChild.data.strip()
-            if format and format == 'DICT_SPELL':
-                # find the locations property
-                locations = get_property('locations', properties)
-                # if the location property is text:
-                # %origin%/dictionary.aff %origin%/dictionary.dic
-                if locations.firstChild.nodeType == xml.dom.Node.TEXT_NODE:
-                    locations = locations.firstChild.data
-                    locations = locations.replace('%origin%/', '').strip()
-                    result.append(locations.split())
-                # otherwise:
-                # %origin%/dictionary.aff %origin%/dictionary.dic
-                else:
-                    locations = [item.firshChild.data.replace('%origin%/', '') \
-                                 .strip() for item in
-                                 locations.getElementsByTagName('it')]
-                    result.append(locations)
-    
-    return result
-
-def extract(filename, target, override=False):
-    """
-    Extract Hunspell dictionaries out of LibreOffice ``.oxt`` extensions.
-
-    :param filename: path to the ``.oxt`` extension
-    :param target: path to extract Hunspell dictionaries to
-    :param override: override existing files in the target directory
-    :rtype: list of the extracted dictionaries
-
-    This function extracts the Hunspell dictionaries (``.dic`` and ``.aff``
-    files) from the given ``.oxt`` extension found to ``target``.
-
-    Extensions could be found at:
-
-        http://extensions.services.openoffice.org/dictionary
-    """
-    # TODO 5.0: remove this function
-    warnings.warn(('call to deprecated function "{}", '
-                   'moved to separate package "oxt_extract", '
-                   'will be removed in pygtkspellcheck 5.0').format(extract.__name__),
-                  category=DeprecationWarning)
-    try:
-        with zipfile.ZipFile(filename, 'r') as extension:
-            files = extension.namelist()
-            
-            registry = 'dictionaries.xcu'
-            if not registry in files:
-                for filename in files:
-                    if filename.lower().endswith(registry):
-                        registry = filename
-                    
-            if registry in files:
-                registry = xml.dom.minidom.parse(extension.open(registry))
-                dictionaries = find_dictionaries(registry)
-                extracted = []
-                for dictionary in dictionaries:
-                    for filename in dictionary:
-                        dict_file = os.path.join(target,
-                                                 os.path.basename(filename))
-                        if (not os.path.exists(dict_file) 
-                                or (override and os.path.isfile(dict_file))):
-                            if filename in files:
-                                with open(dict_file, 'wb') as _target:
-                                    with extension.open(filename, 'r') as _source:
-                                        extracted.append(os.path.basename(filename))
-                                        _target.write(_source.read())
-                            else:
-                                logger.warning('dictionary exists in registry '
-                                               'but not in the extension zip')
-                        else:
-                            logging.warning(('dictionary file "{}" already exists '
-                                             'and not overriding it'
-                                             ).format(dict_file))
-                return extracted
-    except zipfile.BadZipfile:
-        raise BadExtensionFile('extension is not a valid ZIP file')
-    except xml.parsers.expat.ExpatError:
-        raise BadXml('dictionary registry is not valid XML')
-
-BATCH_SUCCESS = 'success'
-BATCH_ERROR = 'error'
-BATCH_WARNING = 'warning'
-
-def batch_extract(oxt_path, extract_path, override=False, move_path=None):
-    """
-    Uncompress, read and install LibreOffice ``.oxt`` dictionaries extensions.
-    
-    :param oxt_path: path to a directory containing the ``.oxt`` extensions
-    :param extract_path: path to extract Hunspell dictionaries files to
-    :param override: override already existing files
-    :param move_path: optional path to move the ``.oxt`` files after processing
-    :rtype: generator over all extensions, yielding result, extension name,
-        error, extracted dictionaries and translated error message - result
-        would be :const:`BATCH_SUCCESS` for success, :const:`BATCH_ERROR` if
-        some error happened or :const:`BATCH_WARNING` which contain some warning
-        messages instead of errors
-    
-    This function extracts the Hunspell dictionaries (``.dic`` and ``.aff``
-    files) from all the ``.oxt`` extensions found on ``oxt_path`` directory to
-    the ``extract_path`` directory.
-    
-    Extensions could be found at:
-    
-        http://extensions.services.openoffice.org/dictionary
-    
-    In detail, this functions does the following:
-    
-    1. find all the ``.oxt`` extension files within ``oxt_path``
-    2. open (unzip) each extension
-    3. find the dictionary definition file within (*dictionaries.xcu*)
-    4. parse the dictionary definition file and locate the dictionaries files
-    5. uncompress those files to ``extract_path``
-    
-    
-    By default file overriding is disabled, set ``override`` parameter to True
-    if you want to enable it. As additional option, each processed extension can
-    be moved to ``move_path``.
-    
-    Example::
-    
-        for result, name, error, dictionaries, message in oxt_extract.batch_extract(...):
-            if result == oxt_extract.BATCH_SUCCESS:
-                print('successfully extracted extension "{}"'.format(name))
-            elif result == oxt_extract.BATCH_ERROR:
-                print('could not extract extension "{}"'.format(name))
-                print(message)
-                print('error {}'.format(error))
-            elif result == oxt_extract.BATCH_WARNING:
-                print('warning during processing extension "{}"'.format(name))
-                print(message)
-                print(error)
-        
-    """
-
-    # TODO 5.0: remove this function
-    warnings.warn(('call to deprecated function "{}", '
-                   'moved to separate package "oxt_extract", '
-                   'will be removed in pygtkspellcheck 5.0').format(extract.__name__),
-                  category=DeprecationWarning)
-
-    # get the real, absolute and normalized path
-    oxt_path = os.path.normpath(os.path.abspath(os.path.realpath(oxt_path)))
-    
-    # check that the input directory exists
-    if not os.path.isdir(oxt_path):
-        return
-        
-    # create extract directory if not exists
-    if not os.path.exists(extract_path):
-        os.makedirs(extract_path)
-
-    # check that the extract path is a directory
-    if not os.path.isdir(extract_path):
-        raise ExtractPathIsNoDirectory('extract path is not a valid directory')
-    
-    # get all .oxt extension at given path
-    oxt_files = [extension for extension in os.listdir(oxt_path)
-                 if extension.lower().endswith('.oxt')]
-    
-    for extension_name in oxt_files:
-        extension_path = os.path.join(oxt_path, extension_name)
-        
-        try:
-            dictionaries = extract(extension_path, extract_path, override)
-            yield BATCH_SUCCESS, extension_name, None, dictionaries, ''
-        except BadExtensionFile as error:
-            logger.error(('extension "{}" is not a valid ZIP file'
-                          ).format(extension_name))
-            yield (BATCH_ERROR, extension_name, error, [],
-                   _('extension "{}" is not a valid ZIP file'
-                     ).format(extension_name))
-        except BadXml as error:
-            logger.error(('extension "{}" has no valid XML dictionary registry'
-                          ).format(extension_name))
-            yield (BATCH_ERROR, extension_name, error, [],
-                   _('extension "{}" has no valid XML dictionary registry'
-                     ).format(extension_name)) 
-        
-        # move the extension after processing if user requires it
-        if move_path is not None:
-            # create move path if it doesn't exists
-            if not os.path.exists(move_path):
-                os.makedirs(move_path)
-            # move to the given path only if it is a directory and target
-            # doesn't exists
-            if os.path.isdir(move_path):
-                if (not os.path.exists(os.path.join(move_path, extension_name))
-                        or override):
-                    shutil.move(extension_path, move_path)
-                else:
-                    logger.warning(('unable to move extension, file with same '
-                                    'name exists within move_path'))
-                    yield (BATCH_WARNING, extension_name,
-                           ('unable to move extension, file with same name '
-                            'exists within move_path'), [],
-                           _('unable to move extension, file with same name '
-                             'exists within move_path'))
-            else:
-                logger.warning(('unable to move extension, move_path is not a '
-                                'directory'))
-                yield (BATCH_WARNING, extension_name,
-                       ('unable to move extension, move_path is not a '
-                        'directory'), [],
-                       _('unable to move extension, move_path is not a '
-                         'directory'))                
\ No newline at end of file
diff --git a/uberwriter_lib/gtkspellcheck/spellcheck.py b/uberwriter_lib/gtkspellcheck/spellcheck.py
deleted file mode 100644
index 5aae086..0000000
--- a/uberwriter_lib/gtkspellcheck/spellcheck.py
+++ /dev/null
@@ -1,658 +0,0 @@
-# -*- coding:utf-8 -*-
-#
-# Copyright (C) 2012, Maximilian Köhl 
-# Copyright (C) 2012, Carlos Jenkins 
-#
-# 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 .
-
-"""
-A simple but quite powerful spellchecking library written in pure Python for Gtk
-based on Enchant. It supports PyGObject as well as PyGtk for Python 2 and 3 with
-automatic switching and binding detection. For automatic translation of the user
-interface it can use Gedit’s translation files.
-"""
-
-import enchant
-import gettext
-import logging
-import re
-import sys
-
-from uberwriter_lib.pylocales import code_to_name as _code_to_name
-from uberwriter_lib.pylocales import LanguageNotFound, CountryNotFound
-
-# public objects
-__all__ = ['SpellChecker', 'NoDictionariesFound', 'NoGtkBindingFound']
-
-# logger
-logger = logging.getLogger(__name__)
-
-class NoDictionariesFound(Exception):
-    """
-    There aren't any dictionaries installed on the current system so
-    spellchecking could not work in any way.
-    """
-
-class NoGtkBindingFound(Exception):
-    """
-    Could not find any loaded Gtk binding.
-    """
-
-if sys.version_info.major == 3:
-    _py3k = True
-else:
-    _py3k = False
-    
-if _py3k:
-    # there is only the gi binding for Python 3
-    from gi.repository import Gtk as gtk
-    _pygobject = True
-else:
-    # find any loaded gtk binding
-    if 'gi.repository.Gtk' in sys.modules:
-        gtk = sys.modules['gi.repository.Gtk']
-        _pygobject = True
-    elif 'gtk' in sys.modules:
-        gtk = sys.modules['gtk']
-        _pygobject = False
-    else:
-        raise NoGtkBindingFound('could not find any loaded Gtk binding')
-
-# select base list class
-try:
-    from collections import UserList
-    _list = UserList
-except ImportError:
-    _list = list
-
-
-
-# select base string
-if _py3k:
-    basestring = str
-
-# map between Gedit's translation and PyGtkSpellcheck's
-_GEDIT_MAP = {'Languages' : 'Languages',
-              'Ignore All' : 'Ignore _All',
-              'Suggestions' : 'Suggestions',
-              '(no suggestions)' : '(no suggested words)',
-              'Add "{}" to Dictionary' : 'Add w_ord',
-              'Unknown' : 'Unknown'}
-
-# translation
-if gettext.find('gedit'):
-    _gedit = gettext.translation('gedit', fallback=True).gettext
-    _ = lambda message: _gedit(_GEDIT_MAP[message]).replace('_', '')
-else:
-    locale_name = 'py{}gtkspellcheck'.format(sys.version_info.major)
-    _ = gettext.translation(locale_name, fallback=True).gettext
-
-def code_to_name(code, separator='_'):
-    try:
-        return _code_to_name(code, separator)
-    except (LanguageNotFound, CountryNotFound):
-        return '{} ({})'.format(_('Unknown'), code)
-
-class SpellChecker(object):
-    """
-    Main spellchecking class, everything important happens here.
-
-    :param view: GtkTextView the SpellChecker should be attached to.
-    :param language: The language which should be used for spellchecking.
-        Use a combination of two letter lower-case ISO 639 language code with a
-        two letter upper-case ISO 3166 country code, for example en_US or de_DE.
-    :param prefix: A prefix for some internal GtkTextMarks.
-    :param collapse: Enclose suggestions in its own menu.
-    :param params: Dictionary with Enchant broker parameters that should be set
-      e.g. `enchant.myspell.dictionary.path`.
-
-    .. attribute:: languages
-
-        A list of supported languages.
-
-        .. function:: exists(language)
-
-            Checks if a language exists.
-
-            :param language: language to check
-    """
-    FILTER_WORD = 'word'
-    FILTER_LINE = 'line'
-    FILTER_TEXT = 'text'
-
-    DEFAULT_FILTERS = {FILTER_WORD : [r'[0-9.,]+'],
-                       FILTER_LINE : [(r'(https?|ftp|file):((//)|(\\\\))+[\w\d:'
-                                       r'#@%/;$()~_?+-=\\.&]+'),
-                                      r'[\w\d]+@[\w\d.]+'],
-                       FILTER_TEXT : []}
-
-    class _LanguageList(_list):
-        def __init__(self, *args, **kwargs):
-            if sys.version_info.major == 3:
-                super().__init__(*args, **kwargs)
-            else:
-                _list.__init__(self, *args, **kwargs)
-            self.mapping = dict(self)
-
-        @classmethod
-        def from_broker(cls, broker):
-            return cls(sorted([(language, code_to_name(language))
-                               for language in broker.list_languages()],
-                              key=lambda language: language[1]))
-
-        def exists(self, language):
-            return language in self.mapping
-
-    class _Mark():
-        def __init__(self, buffer, name, start):
-            self._buffer = buffer
-            self._name = name
-            self._mark = self._buffer.create_mark(self._name, start, True)
-
-        @property
-        def iter(self):
-            return self._buffer.get_iter_at_mark(self._mark)
-
-        @property
-        def inside_word(self):
-            return self.iter.inside_word()
-
-        @property
-        def word(self):
-            start = self.iter
-            if not start.starts_word():
-                start.backward_word_start()
-            end = self.iter
-            if end.inside_word():
-                end.forward_word_end()
-            return start, end
-
-        def move(self, location):
-            self._buffer.move_mark(self._mark, location)
-
-    def __init__(self, view, language='en', prefix='gtkspellchecker',
-                 collapse=True, params={}):
-        self._view = view
-        self.collapse = collapse
-        self._view.connect('populate-popup',
-                           lambda entry, menu:self._extend_menu(menu))
-        self._view.connect('popup-menu', self._click_move_popup)
-        self._view.connect('button-press-event', self._click_move_button)
-        self._prefix = prefix
-        self._broker = enchant.Broker()
-        for param, value in params.items(): self._broker.set_param(param, value)
-        self.languages = SpellChecker._LanguageList.from_broker(self._broker)
-        if self.languages.exists(language):
-            self._language = language
-        elif self.languages.exists('en'):
-            logger.warning(('no installed dictionary for language "{}", '
-                            'fallback to english'.format(language)))
-            self._language = 'en'
-        else:
-            if self.languages:
-                self._language = self.languages[0][0]
-                logger.warning(('no installed dictionary for language "{}" '
-                                'and english, fallback to first language in'
-                                'language list ("{}")').format(language,
-                                                                self._language))
-            else:
-                logger.critical('no dictionaries found')
-                raise NoDictionariesFound()
-        self._dictionary = self._broker.request_dict(self._language)
-        self._deferred_check = False
-        self._filters = dict(SpellChecker.DEFAULT_FILTERS)
-        self._regexes = {SpellChecker.FILTER_WORD : re.compile('|'.join(
-                             self._filters[SpellChecker.FILTER_WORD])),
-                         SpellChecker.FILTER_LINE : re.compile('|'.join(
-                             self._filters[SpellChecker.FILTER_LINE])),
-                         SpellChecker.FILTER_TEXT : re.compile('|'.join(
-                             self._filters[SpellChecker.FILTER_TEXT]),
-                                                               re.MULTILINE)}
-        self._enabled = True
-        self.buffer_initialize()
-
-    @property
-    def language(self):
-        """
-        The language used for spellchecking.
-        """
-        return self._language
-
-    @language.setter
-    def language(self, language):
-        if language != self._language and self.languages.exists(language):
-            self._language = language
-            self._dictionary = self._broker.request_dict(language)
-            self.recheck()
-
-    @property
-    def enabled(self):
-        """
-        Enable or disable spellchecking.
-        """
-        return self._enabled
-
-    @enabled.setter
-    def enabled(self, enabled):
-        if enabled and not self._enabled:
-            self.enable()
-        elif not enabled and self._enabled:
-            self.disable()
-
-    def buffer_initialize(self):
-        """
-        Initialize the GtkTextBuffer associated with the GtkTextView. If you
-        have associated a new GtkTextBuffer with the GtkTextView call this
-        method.
-        """
-        if _pygobject:
-            self._misspelled = gtk.TextTag.new('{}-misspelled'\
-                                               .format(self._prefix))
-        else:
-            self._misspelled = gtk.TextTag('{}-misspelled'.format(self._prefix))
-        self._misspelled.set_property('underline', 4)
-        self._buffer = self._view.get_buffer()
-        self._buffer.connect('insert-text', self._before_text_insert)
-        self._buffer.connect_after('insert-text', self._after_text_insert)
-        self._buffer.connect_after('delete-range', self._range_delete)
-        self._buffer.connect_after('mark-set', self._mark_set)
-        start = self._buffer.get_bounds()[0]
-        self._marks = {'insert-start' : SpellChecker._Mark(self._buffer,
-                           '{}-insert-start'.format(self._prefix), start),
-                       'insert-end' : SpellChecker._Mark(self._buffer,
-                           '{}-insert-end'.format(self._prefix), start),
-                       'click' : SpellChecker._Mark(self._buffer,
-                           '{}-click'.format(self._prefix), start)}
-        self._table = self._buffer.get_tag_table()
-        self._table.add(self._misspelled)
-        self.ignored_tags = []
-        def tag_added(tag, *args):
-            if hasattr(tag, 'spell_check') and not getattr(tag, 'spell_check'):
-                self.ignored_tags.append(tag)
-        def tag_removed(tag, *args):
-            if tag in self.ignored_tags:
-                self.ignored_tags.remove(tag)
-        self._table.connect('tag-added', tag_added)
-        self._table.connect('tag-removed', tag_removed)
-        self._table.foreach(tag_added, None)
-        self.no_spell_check = self._table.lookup('no-spell-check')
-        if not self.no_spell_check:
-            if _pygobject:
-                self.no_spell_check = gtk.TextTag.new('no-spell-check')
-            else:
-                self.no_spell_check = gtk.TextTag('no-spell-check')
-            self._table.add(self.no_spell_check)
-        self.recheck()
-
-    def recheck(self):
-        """
-        Rechecks the spelling of the whole text.
-        """
-        start, end = self._buffer.get_bounds()
-        self.check_range(start, end, True)
-
-    def disable(self):
-        """
-        Disable spellchecking.
-        """
-        self._enabled = False
-        start, end = self._buffer.get_bounds()
-        self._buffer.remove_tag(self._misspelled, start, end)
-
-    def enable(self):
-        """
-        Enable spellchecking.
-        """
-        self._enabled = True
-        self.recheck()
-
-    def append_filter(self, regex, filter_type):
-        """
-        Append a new filter to the filter list. Filters are useful to ignore
-        some misspelled words based on regular expressions.
-
-        :param regex: The regex used for filtering.
-        :param filter_type: The type of the filter.
-
-        Filter Types:
-
-        :const:`SpellChecker.FILTER_WORD`: The regex must match the whole word
-            you want to filter. The word separation is done by Pango's word
-            separation algorithm so, for example, urls won't work here because
-            they are split in many words.
-
-        :const:`SpellChecker.FILTER_LINE`: If the expression you want to match
-            is a single line expression use this type. It should not be an open
-            end expression because then the rest of the line with the text you
-            want to filter will become correct.
-
-        :const:`SpellChecker.FILTER_TEXT`: Use this if you want to filter
-           multiline expressions. The regex will be compiled with the
-           `re.MULTILINE` flag. Same with open end expressions apply here.
-        """
-        self._filters[filter_type].append(regex)
-        if filter_type == SpellChecker.FILTER_TEXT:
-            self._regexes[filter_type] = re.compile('|'.join(
-                self._filters[filter_type]), re.MULTILINE)
-        else:
-            self._regexes[filter_type] = re.compile('|'.join(
-                self._filters[filter_type]))
-
-    def remove_filter(self, regex, filter_type):
-        """
-        Remove a filter from the filter list.
-
-        :param regex: The regex which used for filtering.
-        :param filter_type: The type of the filter.
-        """
-        self._filters[filter_type].remove(regex)
-        if filter_type == SpellChecker.FILTER_TEXT:
-            self._regexes[filter_type] = re.compile('|'.join(
-                self._filters[filter_type]), re.MULTILINE)
-        else:
-            self._regexes[filter_type] = re.compile('|'.join(
-                self._filters[filter_type]))
-
-    def append_ignore_tag(self, tag):
-        """
-        Appends a tag to the list of ignored tags. A string will be automatic
-        resolved into a tag object.
-
-        :param tag: Tag object or tag name.
-        """
-        if isinstance(tag, basestring):
-            tag = self._table.lookup(tag)
-        self.ignored_tags.append(tag)
-
-    def remove_ignore_tag(self, tag):
-        """
-        Removes a tag from the list of ignored tags. A string will be automatic
-        resolved into a tag object.
-
-        :param tag: Tag object or tag name.
-        """
-        if isinstance(tag, basestring):
-            tag = self._table.lookup(tag)
-        self.ignored_tags.remove(tag)
-
-    def add_to_dictionary(self, word):
-        """
-        Adds a word to user's dictionary.
-
-        :param word: The word to add.
-        """
-        self._dictionary.add_to_pwl(word)
-        self.recheck()
-
-    def ignore_all(self, word):
-        """
-        Ignores a word for the current session.
-
-        :param word: The word to ignore.
-        """
-        self._dictionary.add_to_session(word)
-        self.recheck()
-
-    def check_range(self, start, end, force_all=False):
-        """
-        Checks a specified range between two GtkTextIters.
-
-        :param start: Start iter - checking starts here.
-        :param end: End iter - checking ends here.
-        """
-        if not self._enabled:
-            return
-        if end.inside_word(): end.forward_word_end()
-        if not start.starts_word() and (start.inside_word() or
-                                        start.ends_word()):
-            start.backward_word_start()
-        self._buffer.remove_tag(self._misspelled, start, end)
-        cursor = self._buffer.get_iter_at_mark(self._buffer.get_insert())
-        precursor = cursor.copy()
-        precursor.backward_char()
-        highlight = (cursor.has_tag(self._misspelled) or
-                     precursor.has_tag(self._misspelled))
-        if not start.get_offset():
-            start.forward_word_end()
-            start.backward_word_start()
-        word_start = start.copy()
-        while word_start.compare(end) < 0:
-            word_end = word_start.copy()
-            word_end.forward_word_end()
-            in_word = ((word_start.compare(cursor) < 0) and
-                       (cursor.compare(word_end) <= 0))
-            if in_word and not force_all:
-                if highlight:
-                    self._check_word(word_start, word_end)
-                else:
-                    self._deferred_check = True
-            else:
-                self._check_word(word_start, word_end)
-                self._deferred_check = False
-            word_end.forward_word_end()
-            word_end.backward_word_start()
-            if word_start.equal(word_end):
-                break
-            word_start = word_end.copy()
-
-    def _languages_menu(self):
-        def _set_language(item, code):
-            self.language = code
-        if _pygobject:
-            menu = gtk.Menu.new()
-            group = []
-        else:
-            menu = gtk.Menu()
-            group = gtk.RadioMenuItem()
-        connect = []
-        for code, name in self.languages:
-            if _pygobject:
-                item = gtk.RadioMenuItem.new_with_label(group, name)
-                group.append(item)
-            else:
-                item = gtk.RadioMenuItem(group, name)
-            if code == self.language:
-                item.set_active(True)
-            connect.append((item, code))
-            menu.append(item)
-        for item, code in connect:
-            item.connect('activate', _set_language, code)
-        return menu
-
-    def _suggestion_menu(self, word):
-        menu = []
-        suggestions = self._dictionary.suggest(word)
-        if not suggestions:
-            if _pygobject:
-                item = gtk.MenuItem.new()
-                label = gtk.Label.new('')
-            else:
-                item = gtk.MenuItem()
-                label = gtk.Label()
-            try:
-                label.set_halign(gtk.Align.LEFT)
-            except AttributeError:
-                label.set_alignment(0.0, 0.5)
-            label.set_markup('{text}'.format(text=_('(no suggestions)')))
-            item.add(label)
-            menu.append(item)
-        else:
-            for suggestion in suggestions:
-                if _pygobject:
-                    item = gtk.MenuItem.new()
-                    label = gtk.Label.new('')
-                else:
-                    item = gtk.MenuItem()
-                    label = gtk.Label()
-                label.set_markup('{text}'.format(text=suggestion))
-                try:
-                    label.set_halign(gtk.Align.LEFT)
-                except AttributeError:
-                    label.set_alignment(0.0, 0.5)
-                item.add(label)
-                item.connect('activate', self._replace_word, word, suggestion)
-                menu.append(item)
-        if _pygobject:
-            menu.append(gtk.SeparatorMenuItem.new())
-            item = gtk.MenuItem.new_with_label(
-                _('Add "{}" to Dictionary').format(word))
-        else:
-            menu.append(gtk.SeparatorMenuItem())
-            item = gtk.MenuItem(_('Add "{}" to Dictionary').format(word))
-        item.connect('activate', lambda *args: self.add_to_dictionary(word))
-        menu.append(item)
-        if _pygobject:
-            item = gtk.MenuItem.new_with_label(_('Ignore All'))
-        else:
-            item = gtk.MenuItem(_('Ignore All'))
-        item.connect('activate', lambda *args: self.ignore_all(word))
-        menu.append(item)
-        return menu
-
-    def _extend_menu(self, menu):
-        if not self._enabled:
-            return
-        if _pygobject:
-            separator = gtk.SeparatorMenuItem.new()
-        else:
-            separator = gtk.SeparatorMenuItem()
-        separator.show()
-        menu.prepend(separator)
-        if _pygobject:
-            languages = gtk.MenuItem.new_with_label(_('Languages'))
-        else:
-            languages = gtk.MenuItem(_('Languages'))
-        languages.set_submenu(self._languages_menu())
-        languages.show_all()
-        menu.prepend(languages)
-        if self._marks['click'].inside_word:
-            start, end = self._marks['click'].word
-            if start.has_tag(self._misspelled):
-                if _py3k:
-                    word = self._buffer.get_text(start, end, False)
-                else:
-                    word = self._buffer.get_text(start, end,
-                                                 False).decode('utf-8')
-                items = self._suggestion_menu(word)
-                if self.collapse:
-                    if _pygobject:
-                        suggestions = gtk.MenuItem.new_with_label(
-                            _('Suggestions'))
-                        submenu = gtk.Menu.new()
-                    else:
-                        suggestions = gtk.MenuItem(_('Suggestions'))
-                        submenu = gtk.Menu()
-                    for item in items:
-                        submenu.append(item)
-                    suggestions.set_submenu(submenu)
-                    suggestions.show_all()
-                    menu.prepend(suggestions)
-                else:
-                    items.reverse()
-                    for item in items:
-                        menu.prepend(item)
-                        menu.show_all()
-
-    def _click_move_popup(self, *args):
-        self._marks['click'].move(self._buffer.get_iter_at_mark(
-            self._buffer.get_insert()))
-        return False
-
-    def _click_move_button(self, widget, event):
-        if event.button == 3:
-            if self._deferred_check:  self._check_deferred_range(True)
-            x, y = self._view.window_to_buffer_coords(2, int(event.x),
-                                                      int(event.y))
-            iter = self._view.get_iter_at_location(x, y)
-            if isinstance(iter, tuple):
-                iter = iter[1]
-            self._marks['click'].move(iter)
-        return False
-
-    def _before_text_insert(self, textbuffer, location, text, length):
-        self._marks['insert-start'].move(location)
-
-    def _after_text_insert(self, textbuffer, location, text, length):
-        start = self._marks['insert-start'].iter
-        self.check_range(start, location)
-        self._marks['insert-end'].move(location)
-
-    def _range_delete(self, textbuffer, start, end):
-        self.check_range(start, end)
-
-    def _mark_set(self, textbuffer, location, mark):
-        if mark == self._buffer.get_insert() and self._deferred_check:
-            self._check_deferred_range(False)
-
-    def _replace_word(self, item, old_word, new_word):
-        start, end = self._marks['click'].word
-        offset = start.get_offset()
-        self._buffer.begin_user_action()
-        self._buffer.delete(start, end)
-        self._buffer.insert(self._buffer.get_iter_at_offset(offset), new_word)
-        self._buffer.end_user_action()
-        self._dictionary.store_replacement(old_word, new_word)
-
-    def _check_deferred_range(self, force_all):
-        start = self._marks['insert-start'].iter
-        end = self._marks['insert-end'].iter
-        self.check_range(start, end, force_all)
-
-    def _check_word(self, start, end):
-        if start.has_tag(self.no_spell_check):
-            return
-        for tag in self.ignored_tags:
-            if start.has_tag(tag):
-                return
-        if _py3k:
-            word = self._buffer.get_text(start, end, False).strip()
-        else:
-            word = self._buffer.get_text(start, end, False).decode('utf-8').strip()
-        if not word:
-            return
-        if len(self._filters[SpellChecker.FILTER_WORD]):
-            if self._regexes[SpellChecker.FILTER_WORD].match(word):
-                return
-        if len(self._filters[SpellChecker.FILTER_LINE]):
-            line_start = self._buffer.get_iter_at_line(start.get_line())
-            line_end = end.copy()
-            line_end.forward_to_line_end()
-            if _py3k:
-                line = self._buffer.get_text(line_start, line_end, False)
-            else:
-                line = self._buffer.get_text(line_start, line_end,
-                                             False).decode('utf-8')
-            for match in self._regexes[SpellChecker.FILTER_LINE].finditer(line):
-                if match.start() <= start.get_line_offset() <= match.end():
-                    start = self._buffer.get_iter_at_line_offset(
-                        start.get_line(), match.start())
-                    end = self._buffer.get_iter_at_line_offset(start.get_line(),
-                                                               match.end())
-                    self._buffer.remove_tag(self._misspelled, start, end)
-                    return
-        if len(self._filters[SpellChecker.FILTER_TEXT]):
-            text_start, text_end = self._buffer.get_bounds()
-            if _py3k:
-                text = self._buffer.get_text(text_start, text_end, False)
-            else:
-                text = self._buffer.get_text(text_start, text_end,
-                                             False).decode('utf-8')
-            for match in self._regexes[SpellChecker.FILTER_TEXT].finditer(text):
-                if match.start() <= start.get_offset() <= match.end():
-                    start = self._buffer.get_iter_at_offset(match.start())
-                    end = self._buffer.get_iter_at_offset(match.end())
-                    self._buffer.remove_tag(self._misspelled, start, end)
-                    return
-        if not self._dictionary.check(word):
-            self._buffer.apply_tag(self._misspelled, start, end)
diff --git a/uberwriter_lib/helpers.py b/uberwriter_lib/helpers.py
deleted file mode 100644
index 7d8abfd..0000000
--- a/uberwriter_lib/helpers.py
+++ /dev/null
@@ -1,131 +0,0 @@
-# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
-### BEGIN LICENSE
-# Copyright (C) 2012, Wolf Vollprecht 
-# This program is free software: you can redistribute it and/or modify it 
-# under the terms of the GNU General Public License version 3, as published 
-# by the Free Software Foundation.
-# 
-# This program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, 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 .
-### END LICENSE
-
-### DO NOT EDIT THIS FILE ###
-
-"""Helpers for an Ubuntu application."""
-import logging
-import os
-import sys
-import shutil
-
-from . uberwriterconfig import get_data_file
-from . Builder import Builder
-
-import locale
-import gettext
-
-from gettext import gettext as _
-
-def get_builder(builder_file_name):
-    """Return a fully-instantiated Gtk.Builder instance from specified ui 
-    file
-    
-    :param builder_file_name: The name of the builder file, without extension.
-        Assumed to be in the 'ui' directory under the data path.
-    """
-    # Look for the ui file that describes the user interface.
-    ui_filename = get_data_file('ui', '%s.ui' % (builder_file_name,))
-    if not os.path.exists(ui_filename):
-        ui_filename = None
-
-    builder = Builder()
-    builder.set_translation_domain()
-    builder.add_from_file(ui_filename)
-    return builder
-
-
-# Owais Lone : To get quick access to icons and stuff.
-def get_media_file(media_file_name):
-    media_filename = get_data_file('media', '%s' % (media_file_name,))
-    if not os.path.exists(media_filename):
-        media_filename = None
-
-    return "file:///"+media_filename
-
-def get_media_path(media_file_name):
-    media_filename = get_data_file('media', '%s' % (media_file_name,))
-    if not os.path.exists(media_filename):
-        media_filename = None
-    return media_filename
-
-def get_script_path(script_file_name):
-    script_filename = get_data_file('lua', '%s' % (script_file_name,))
-    if not os.path.exists(script_filename):
-        script_filename = None
-    return script_filename
-
-class NullHandler(logging.Handler):
-    def emit(self, record):
-        pass
-
-def set_up_logging(opts):
-    # add a handler to prevent basicConfig
-    root = logging.getLogger()
-    null_handler = NullHandler()
-    root.addHandler(null_handler)
-
-    formatter = logging.Formatter("%(levelname)s:%(name)s: %(funcName)s() '%(message)s'")
-
-    logger = logging.getLogger('uberwriter')
-    logger_sh = logging.StreamHandler()
-    logger_sh.setFormatter(formatter)
-    logger.addHandler(logger_sh)
-
-    lib_logger = logging.getLogger('uberwriter_lib')
-    lib_logger_sh = logging.StreamHandler()
-    lib_logger_sh.setFormatter(formatter)
-    lib_logger.addHandler(lib_logger_sh)
-
-    # Set the logging level to show debug messages.
-    if opts.verbose:
-        logger.setLevel(logging.DEBUG)
-        logger.debug('logging enabled')
-    if opts.verbose and opts.verbose > 1:
-        lib_logger.setLevel(logging.DEBUG)
-
-def get_help_uri(page=None):
-    # help_uri from source tree - default language
-    here = os.path.dirname(__file__)
-    help_uri = os.path.abspath(os.path.join(here, '..', 'help', 'C'))
-
-    if not os.path.exists(help_uri):
-        # installed so use gnome help tree - user's language
-        help_uri = 'uberwriter'
-
-    # unspecified page is the index.page
-    if page is not None:
-        help_uri = '%s#%s' % (help_uri, page)
-
-    return help_uri
-
-def show_uri(parent, link):
-    from gi.repository import Gtk # pylint: disable=E0611
-    screen = parent.get_screen()
-    Gtk.show_uri(screen, link, Gtk.get_current_event_time())
-
-def alias(alternative_function_name):
-    '''see http://www.drdobbs.com/web-development/184406073#l9'''
-    def decorator(function):
-        '''attach alternative_function_name(s) to function'''
-        if not hasattr(function, 'aliases'):
-            function.aliases = []
-        function.aliases.append(alternative_function_name)
-        return function
-    return decorator
-
-def exist_executable(command):
-    return shutil.which(command) is not None
\ No newline at end of file
diff --git a/uberwriter_lib/pressagio/VERSION b/uberwriter_lib/pressagio/VERSION
deleted file mode 100644
index 7693c96..0000000
--- a/uberwriter_lib/pressagio/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-0.1.3
\ No newline at end of file
diff --git a/uberwriter_lib/pressagio/__init__.py b/uberwriter_lib/pressagio/__init__.py
deleted file mode 100644
index 463ccf8..0000000
--- a/uberwriter_lib/pressagio/__init__.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-from . import predictor
-from . import context_tracker
-
-class Pressagio:
-
-    def __init__(self, callback, config, dbconnection = None):
-        self.config = config
-        self.callback = callback
-
-        self.predictor_registry = pressagio.predictor.PredictorRegistry(
-            self.config, dbconnection)
-        self.context_tracker = pressagio.context_tracker.ContextTracker(
-            self.config, self.predictor_registry, callback)
-
-        self.predictor_activator = pressagio.predictor.PredictorActivator(
-            self.config, self.predictor_registry, self.context_tracker)
-        self.predictor_activator.combination_policy = "meritocracy"
-
-    def predict(self):
-        multiplier = 1
-        predictions = self.predictor_activator.predict(multiplier)
-        return [p.word for p in predictions]
-
-    def close_database(self):
-        self.predictor_registry.close_database()
\ No newline at end of file
diff --git a/uberwriter_lib/pressagio/callback.py b/uberwriter_lib/pressagio/callback.py
deleted file mode 100644
index 5216316..0000000
--- a/uberwriter_lib/pressagio/callback.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-"""
-Base class for callbacks.
-
-"""
-
-from __future__ import absolute_import, unicode_literals
-
-class Callback(object):
-    """
-    Base class for callbacks.
-
-    """
-
-    def __init__(self):
-        self.stream = ""
-        self.empty = ""
-
-    def past_stream(self):
-        return self.stream
-
-    def future_stream(self):
-        return self.empty
-
-    def update(self, character):
-        if character == "\b" and len(stream) > 0:
-            self.stream[:-1]
-        else:
-            self.stream += character
diff --git a/uberwriter_lib/pressagio/character.py b/uberwriter_lib/pressagio/character.py
deleted file mode 100644
index 93beb96..0000000
--- a/uberwriter_lib/pressagio/character.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-from __future__ import absolute_import, unicode_literals
-
-import unicodedata
-
-blankspaces = " \f\n\r\t\v…"
-separators = "`~!@#$%^&*()_-+=\\|]}[{'\";:/?.>,<†„“।॥ו–´’‘‚י0123456789ः"
-
-def first_word_character(string):
-    for i, ch in enumerate(string):
-        if is_word_character(ch):
-            return i
-
-    return -1
-
-def last_word_character(string):
-    result = first_word_character(string[::-1])
-    if result == -1:
-        return -1
-    return len(string) - result - 1
-
-def is_word_character(char):
-    # check for letter category
-    if unicodedata.category(char)[0] == "L":
-        return True
-    return False
diff --git a/uberwriter_lib/pressagio/combiner.py b/uberwriter_lib/pressagio/combiner.py
deleted file mode 100644
index fe8940b..0000000
--- a/uberwriter_lib/pressagio/combiner.py
+++ /dev/null
@@ -1,64 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-"""
-Combiner classes to merge results from several predictors.
-
-"""
-
-from __future__ import absolute_import, unicode_literals
-
-import abc
-
-from . import predictor
-
-class Combiner(object):
-    """
-    Base class for all combiners
-    """
-    
-    __metaclass__ = abc.ABCMeta
-
-    def __init__(self):
-        pass
-
-    def filter(self, prediction):
-        seen_tokens = set()
-        result = predictor.Prediction()
-        for i, suggestion in enumerate(prediction):
-            token = suggestion.word
-            if token not in seen_tokens:
-                for j in range(i+1, len(prediction)):
-                    if token == prediction[j].word:
-                        # TODO: interpolate here?
-                        suggestion.probability += prediction[j].probability
-                        if suggestion.probability > \
-                                predictor.MAX_PROBABILITY:
-                            suggestion.probability = \
-                                MAX_PROBABILITY
-                seen_tokens.add(token)
-                result.add_suggestion(suggestion)
-        return result
-
-    @abc.abstractmethod
-    def combine(self):
-        raise NotImplementedError("Method must be implemented")
-
-
-class MeritocracyCombiner(Combiner):
-
-    def __init__(self):
-        pass
-
-    def combine(self, predictions):
-        result = predictor.Prediction()
-        for prediction in predictions:
-            for suggestion in prediction:
-                result.add_suggestion(suggestion)
-        return(self.filter(result))
diff --git a/uberwriter_lib/pressagio/context_tracker.py b/uberwriter_lib/pressagio/context_tracker.py
deleted file mode 100644
index 4fb07b3..0000000
--- a/uberwriter_lib/pressagio/context_tracker.py
+++ /dev/null
@@ -1,177 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-"""
-Class for context tracker.
-
-"""
-
-from __future__ import absolute_import, unicode_literals
-
-import copy
-import io
-
-from . import character
-from . import observer
-from . import tokenizer
-
-DEFAULT_SLIDING_WINDOW_SIZE = 80
-
-class InvalidCallbackException(Exception): pass
-
-class ContextChangeDetector(object):
-
-    def __init__(self, lowercase):
-        self.lowercase = lowercase
-        self.sliding_windows_size = DEFAULT_SLIDING_WINDOW_SIZE
-        self.sliding_window = ""
-
-    def update_sliding_window(self, string):
-        if len(string) <= self.sliding_windows_size:
-            self.sliding_window = string
-        else:
-            self.sliding_window = string[:-self.sliding_windows_size]
-
-    def context_change(self, past_stream):
-        # rename for clarity
-        prev_context = self.sliding_window
-        curr_context = past_stream
-
-        if len(prev_context) == 0:
-            if len(curr_context) == 0:
-                return False
-            else:
-                return True
-
-        ctx_idx = curr_context.rfind(prev_context)
-        if ctx_idx == -1:
-            return True
-
-        remainder = curr_context[ctx_idx + len(prev_context):]
-        idx = character.last_word_character(remainder)
-        if idx == -1:
-            if len(remainder) == 0:
-                return False
-            last_char = curr_context[ctx_idx + len(prev_context) - 1]
-            if character.is_word_character(last_char):
-                return False
-            else:
-                return True
-
-        if idx == len(remainder) - 1:
-            return False
-
-        return True
-
-    def change(self, past_stream):
-        # rename for clarity
-        prev_context = self.sliding_window
-        curr_context = past_stream
-
-        if len(prev_context) == 0:
-            return past_stream
-
-        ctx_idx = curr_context.rfind(prev_context)
-        if ctx_idx == -1:
-            return past_stream
-
-        result = curr_context[ctx_idx + len(prev_context):]
-        if (self.context_change(past_stream)):
-            sliding_window_stream = self.sliding_window
-            r_tok = tokenizer.ReverseTokenizer(sliding_window_stream)
-            r_tok.lowercase = self.lowercase
-            first_token = r_tok.next_token()
-            if not len(first_token) == 0:
-                result = first_token + result
-
-        return result
-
-class ContextTracker(object): #observer.Observer
-    """
-    Tracks the current context.
-
-    """
-
-    def __init__(self, config, predictor_registry, callback):
-        #self.dispatcher = observer.Dispatcher(self)
-        self.config = config
-        self.lowercase = self.config.getboolean("ContextTracker", "lowercase_mode")
-        
-        self.registry = predictor_registry
-        if callback:
-            self.callback = callback
-        else:
-            raise InvalidCallbackException
-
-        self.context_change_detector = ContextChangeDetector(self.lowercase)
-        self.registry.context_tracker = self
-
-        self.sliding_windows_size = DEFAULT_SLIDING_WINDOW_SIZE
-
-    def context_change(self):
-        return self.context_change_detector.context_change(self.past_stream())
-
-    def update_context(self):
-        change = self.context_change_detector.change(self.past_stream())
-        tok = tokenizer.ForwardTokenizer(change)
-        tok.lowercase = self.lowercase
-
-        change_tokens = []
-        while(tok.has_more_tokens()):
-            token = tok.next_token()
-            change_tokens.append(token)
-
-        if len(change_tokens) != 0:
-            # remove prefix (partially entered token or empty token)
-            change_tokens.pop()
-
-        for predictor in self.predictor_registry:
-            predictor.learn(change_tokens)
-
-        self.context_change_detector.update_sliding_window(self.past_stream())
-
-    def prefix(self):
-        self.token(0)
-
-    def token(self, index):
-        past_string_stream = self.past_stream()
-        string_io = io.StringIO(past_string_stream)
-        tok = tokenizer.ReverseTokenizer(string_io)
-        tok.lowercase = self.lowercase
-        i = 0
-        while tok.has_more_tokens() and i <= index:
-            token = tok.next_token()
-            i += 1
-        if i <= index:
-            token = ""
-
-        return token
-
-    def extra_token_to_learn(self, index, change):
-        return self.token(index + len(change))
-
-    def future_stream(self):
-        return self.callback.future_stream()
-
-    def past_stream(self):
-        return self.callback.past_stream()
-
-    def is_completion_valid(self, completion):
-        prefix = self.prefix().lower()
-        if prefix in completion:
-            return True
-        return False
-
-    def __repr__(self):
-        return self.callback.past_stream + "<|>" + self.callback.future_stream \
-            + "\n"
-
-#    def update(self, observable):
-#        self.dispatcher.dispatch(observable)
-
diff --git a/uberwriter_lib/pressagio/dbconnector.py b/uberwriter_lib/pressagio/dbconnector.py
deleted file mode 100644
index 8fb5465..0000000
--- a/uberwriter_lib/pressagio/dbconnector.py
+++ /dev/null
@@ -1,745 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2001-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-"""
-Classes to connect to databases.
-
-"""
-
-from __future__ import absolute_import, unicode_literals
-
-import abc
-import sqlite3
-import time
-import re
-import regex
-
-try:
-    import psycopg2
-    psycopg2.extensions.register_type(psycopg2.extensions.UNICODE)
-    psycopg2.extensions.register_type(psycopg2.extensions.UNICODEARRAY)
-except ImportError:
-    pass
-
-re_escape_singlequote = re.compile("'")
-
-
-def _sqlite3_regex(expr, item):
-    return (not (not regex.search(expr, item)))
-
-
-class DatabaseConnector(object):
-    """
-    Base class for all database connectors.
-
-    """
-
-    __metaclass__ = abc.ABCMeta
-
-    def __init__(self, dbname, cardinality = 1):
-        """
-        Constructor of the base class DababaseConnector.
-
-        Parameters
-        ----------
-        dbname : str
-            path to the database file or database name
-        cardinality : int
-            default cardinality for n-grams
-
-        """
-        print("asjdas jdlkasj ljsa kdj lsakdj lk")
-        self.cardinality = cardinality
-        self.dbname = dbname
-        self.lowercase = False
-        self.normalize = False
-
-    def create_ngram_table(self, cardinality):
-        """
-        Creates a table for n-gram of a give cardinality. The table name is
-        constructed from this parameter, for example for cardinality `2` there
-        will be a table `_2_gram` created.
-
-        Parameters
-        ----------
-        cardinality : int
-            The cardinality to create a table for.
-
-        """
-        query = "CREATE TABLE IF NOT EXISTS _{0}_gram (".format(cardinality)
-        unique = ""
-        for i in reversed(range(cardinality)):
-            if i != 0:
-                unique += "word_{0}, ".format(i)
-                query += "word_{0} TEXT, ".format(i)
-            else:
-                unique += "word"
-                query += "word TEXT, count INTEGER, UNIQUE({0}) );".format(
-                    unique)
-
-        self.execute_sql(query)
-
-    def delete_ngram_table(self, cardinality):
-        """
-        Deletes the table for n-gram of a give cardinality. The table name is
-        constructed from this parameter, for example for cardinality `2` there
-        will be a table `_2_gram` deleted.
-
-        Parameters
-        ----------
-        cardinality : int
-            The cardinality of the table to delete.
-
-        """
-
-        query = "DROP TABLE IF EXISTS _{0}_gram;".format(cardinality)
-        self.execute_sql(query)
-
-    def create_index(self, cardinality):
-        """
-        Create an index for the table with the given cardinality.
-
-        Parameters
-        ----------
-        cardinality : int
-            The cardinality to create a index for.
-
-        """
-        for i in reversed(range(cardinality)):
-            if i != 0:
-                query = "CREATE INDEX idx_{0}_gram_{1} ON _{0}_gram(word_{1});".format(cardinality, i)
-                self.execute_sql(query)
-
-    def delete_index(self, cardinality):
-        """
-        Delete index for the table with the given cardinality.
-
-        Parameters
-        ----------
-        cardinality : int
-            The cardinality of the index to delete.
-
-        """
-        for i in reversed(range(cardinality)):
-            if i != 0:
-                query = "DROP INDEX IF EXISTS idx_{0}_gram_{1};".format(
-                    cardinality, i)
-                self.execute_sql(query)
-
-    def create_unigram_table(self):
-        """
-        Creates a table for n-grams of cardinality 1.
-
-        """
-        self.create_ngram_table(1)
-
-    def create_bigram_table(self):
-        """
-        Creates a table for n-grams of cardinality 2.
-
-        """
-        self.create_ngram_table(2)
-
-    def create_trigram_table(self):
-        """
-        Creates a table for n-grams of cardinality 3.
-
-        """
-        self.create_ngram_table(3)
-
-
-    def ngrams(self, with_counts=False):
-        """
-        Returns all ngrams that are in the table.
-
-        Parameters
-        ----------
-        None
-
-        Returns
-        -------
-        ngrams : generator
-            A generator for ngram tuples.
-
-        """
-        query = "SELECT "
-        for i in reversed(range(self.cardinality)):
-            if i != 0:
-                query += "word_{0}, ".format(i)
-            elif i == 0:
-                query += "word"
-
-        if with_counts:
-            query += ", count"
-
-        query += " FROM _{0}_gram;".format(self.cardinality)
-        print(query)
-        result = self.execute_sql(query)
-        for row in result:
-            yield tuple(row)
-
-    def unigram_counts_sum(self):
-        query = "SELECT SUM(count) from _1_gram;"
-        result = self.execute_sql(query)
-        print(result, query)
-        return self._extract_first_integer(result)
-
-    def ngram_count(self, ngram):
-        """
-        Gets the count for a given ngram from the database.
-
-        Parameters
-        ----------
-        ngram : iterable of str
-            A list, set or tuple of strings.
-
-        Returns
-        -------
-        count : int
-            The count of the ngram.
-
-        """
-        query = "SELECT count FROM _{0}_gram".format(len(ngram))
-        query += self._build_where_clause(ngram)
-        query += ";"
-
-        result = self.execute_sql(query)
-
-        return self._extract_first_integer(result)
-
-    def ngram_like_table(self, ngram, limit = -1):
-        print("NGRAM LIKE TABLE!\n\n\n")
-        query = "SELECT {0} FROM _{1}_gram {2} ORDER BY count DESC".format(
-            self._build_select_like_clause(len(ngram)), len(ngram),
-            self._build_where_like_clause(ngram))
-        print(query)
-        if limit < 0:
-            query += ";"
-        else:
-            query += " LIMIT {0};".format(limit)
-
-        return self.execute_sql(query)
-
-    def ngram_like_table_filtered(self, ngram, filter, limit = -1):
-        pass
-
-    def increment_ngram_count(self, ngram):
-        pass
-
-    def insert_ngram(self, ngram, count):
-        """
-        Inserts a given n-gram with count into the database.
-
-        Parameters
-        ----------
-        ngram : iterable of str
-            A list, set or tuple of strings.
-        count : int
-            The count for the given n-gram.
-
-        """
-        query = "INSERT INTO _{0}_gram {1};".format(len(ngram),
-            self._build_values_clause(ngram, count))
-        self.execute_sql(query)
-
-    def update_ngram(self, ngram, count):
-        """
-        Updates a given ngram in the database. The ngram has to be in the
-        database, otherwise this method will stop with an error.
-
-        Parameters
-        ----------
-        ngram : iterable of str
-            A list, set or tuple of strings.
-        count : int
-            The count for the given n-gram.
-
-        """
-        query = "UPDATE _{0}_gram SET count = {1}".format(len(ngram), count)
-        query += self._build_where_clause(ngram)
-        query += ";"
-        self.execute_sql(query)
-
-    def remove_ngram(self, ngram):
-        """
-        Removes a given ngram from the databae. The ngram has to be in the
-        database, otherwise this method will stop with an error.
-
-        Parameters
-        ----------
-        ngram : iterable of str
-            A list, set or tuple of strings.
-
-        """
-        query = "DELETE FROM _{0}_gram".format(len(ngram))
-        query += self._build_where_clause(ngram)
-        query += ";"
-        self.execute_sql(query)
-
-    def open_database(self):
-        raise NotImplementedError("Method must be implemented")
-
-    def close_database(self):
-        raise NotImplementedError("Method must be implemented")
-
-    def execute_sql(self):
-        raise NotImplementedError("Method must be implemented")
-
-    ############################################### Private methods
-
-    def _build_values_clause(self, ngram, count):
-        ngram_escaped = []
-        for n in ngram:
-            ngram_escaped.append(re_escape_singlequote.sub("''", n))
-
-        values_clause = "VALUES('"
-        values_clause += "', '".join(ngram_escaped)
-        values_clause += "', {0})".format(count)
-        return values_clause
-
-
-
-    def _build_where_clause(self, ngram):
-        where_clause = " WHERE"
-        for i in range(len(ngram)):
-            n = re_escape_singlequote.sub("''", ngram[i])
-            if i < (len(ngram) - 1):
-                where_clause += " word_{0} = '{1}' AND".format(
-                    len(ngram) - i - 1, n)
-            else:
-                pattern = '(?:^%s){e<=%d}' % (n, 2)
-                where_clause += " word = '{0}'".format(n)
-                print(where_clause)
-        return where_clause
-
-    def _build_select_like_clause(self, cardinality):
-        result = ""
-        for i in reversed(range(cardinality)):
-            if i != 0:
-                result += "word_{0}, ". format(i)
-            else:
-                result += "word, count"
-        return result
-
-    def _build_where_like_clause(self, ngram):
-        where_clause = " WHERE"
-        for i in range(len(ngram)):
-            if i < (len(ngram) - 1):
-                where_clause += " word_{0} = '{1}' AND".format(
-                    len(ngram) - i - 1, ngram[i])
-            else:
-                pattern = '(?:%s){e<=%d}' % (ngram[-1], 0)
-                where_clause += " (word regexp '%s')" % pattern
-        return where_clause
-
-    def _extract_first_integer(self, table):
-        count = 0
-        if len(table) > 0:
-            if len(table[0]) > 0:
-                count = int(table[0][0])
-
-        if not count > 0:
-            count = 0
-        return count
-
-
-class SqliteDatabaseConnector(DatabaseConnector):
-    """
-    Database connector for sqlite databases.
-
-    """
-
-    def __init__(self, dbname, cardinality = 1):
-        """
-        Constructor for the sqlite database connector.
-
-        Parameters
-        ----------
-        dbname : str
-            path to the database file
-        cardinality : int
-            default cardinality for n-grams
-
-        """
-        DatabaseConnector.__init__(self, dbname, cardinality)
-        self.con = None
-        self.open_database()
-
-    def commit(self):
-        """
-        Sends a commit to the database.
-
-        """
-        self.con.commit()
-        
-    def open_database(self):
-        """
-        Opens the sqlite database.
-
-        """
-        self.con = sqlite3.connect(self.dbname)
-        self.con.create_function("regexp", 2, _sqlite3_regex)
-
-
-    def close_database(self):
-        """
-        Closes the sqlite database.
-
-        """
-        if self.con:
-            self.con.close()
-
-    def execute_sql(self, query):
-        """
-        Executes a given query string on an open sqlite database.
-
-        """
-        c = self.con.cursor()
-        c.execute(query)
-        result = c.fetchall()
-        return result
-
-
-class PostgresDatabaseConnector(DatabaseConnector):
-    """
-    Database connector for postgres databases.
-
-    """
-
-    def __init__(self, dbname, cardinality = 1, host = "localhost", port = 5432,
-            user = "postgres", password = None, connection = None):
-        """
-        Constructor for the postgres database connector.
-
-        Parameters
-        ----------
-        dbname : str
-            the database name
-        cardinality : int
-            default cardinality for n-grams
-        host : str
-            hostname of the postgres database
-        port : int
-            port number of the postgres database
-        user : str
-            user name for the postgres database
-        password: str
-            user password for the postgres database
-        connection : connection
-            an open database connection
-
-        """
-        DatabaseConnector.__init__(self, dbname, cardinality)
-        self.con = connection
-        self.host = host
-        self.port = port
-        self.user = user
-        self.password = password
-
-    def create_database(self):
-        """
-        Creates an empty database if not exists.
-        
-        """
-        if not self._database_exists():
-            con = psycopg2.connect(host=self.host, database="postgres",
-                user=self.user, password=self.password, port=self.port)
-            con.set_isolation_level(
-                psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT)
-            query = "CREATE DATABASE {0};".format(self.dbname)
-            c = con.cursor()
-            c.execute(query)            
-            con.close()
-
-
-            if self.normalize:
-                self.open_database()
-                query = "CREATE EXTENSION IF NOT EXISTS \"plperlu\";"
-                self.execute_sql(query)
-    #            query = """CREATE OR REPLACE FUNCTION normalize(str text)
-    #RETURNS text
-    #AS $$
-    #import unicodedata
-    #return ''.join(c for c in unicodedata.normalize('NFKD', str)
-    #if unicodedata.category(c) != 'Mn')
-    #$$ LANGUAGE plpython3u IMMUTABLE;"""
-    #             query = """CREATE OR REPLACE FUNCTION normalize(mystr text)
-    #   RETURNS text
-    # AS $$
-    #     from unidecode import unidecode
-    #     return unidecode(mystr.decode("utf-8"))
-    # $$ LANGUAGE plpythonu IMMUTABLE;"""
-                query = """CREATE OR REPLACE FUNCTION normalize(text)
-      RETURNS text
-    AS $$
-        use Text::Unidecode;
-        return unidecode(shift);
-    $$ LANGUAGE plperlu IMMUTABLE;"""
-                self.execute_sql(query)
-                self.commit()
-                self.close_database()
-
-
-    def reset_database(self):
-        """
-        Re-create an empty database.
-
-        """
-        if self._database_exists():
-            con = psycopg2.connect(host=self.host, database="postgres",
-                user=self.user, password=self.password, port=self.port)
-            con.set_isolation_level(
-                psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT)
-            query = "DROP DATABASE {0};".format(self.dbname)
-            c = con.cursor()
-            c.execute(query)
-            con.close()
-        self.create_database()
-
-    def create_index(self, cardinality):
-        """
-        Create an index for the table with the given cardinality.
-
-        Parameters
-        ----------
-        cardinality : int
-            The cardinality to create a index for.
-
-        """
-        DatabaseConnector.create_index(self, cardinality)
-        query = "CREATE INDEX idx_{0}_gram_varchar ON _{0}_gram(word varchar_pattern_ops);".format(cardinality)
-        self.execute_sql(query)
-
-        if self.lowercase:
-
-            for i in reversed(range(cardinality)):
-                if i != 0:
-                    query = "CREATE INDEX idx_{0}_gram_{1}_lower ON _{0}_gram(LOWER(word_{1}));".format(cardinality, i)
-                    self.execute_sql(query)
-
-            if self.normalize:
-
-                query = "CREATE INDEX idx_{0}_gram_lower_normalized_varchar ON _{0}_gram(NORMALIZE(LOWER(word)) varchar_pattern_ops);".format(cardinality)
-                self.execute_sql(query)
-
-            else:
-
-                query = "CREATE INDEX idx_{0}_gram_lower_varchar ON _{0}_gram(LOWER(word) varchar_pattern_ops);".format(cardinality)
-                self.execute_sql(query)
-
-        elif self.normalize:
-
-            query = "CREATE INDEX idx_{0}_gram_normalized_varchar ON _{0}_gram(NORMALIZE(word) varchar_pattern_ops);".format(cardinality)
-            self.execute_sql(query)
-
-    def delete_index(self, cardinality):
-        """
-        Delete index for the table with the given cardinality.
-
-        Parameters
-        ----------
-        cardinality : int
-            The cardinality of the index to delete.
-
-        """
-        DatabaseConnector.delete_index(self, cardinality)
-
-        query = "DROP INDEX IF EXISTS idx_{0}_gram_varchar;".format(cardinality)
-        self.execute_sql(query)
-        query = "DROP INDEX IF EXISTS idx_{0}_gram_normalized_varchar;".format(
-            cardinality)
-        self.execute_sql(query)
-        query = "DROP INDEX IF EXISTS idx_{0}_gram_lower_varchar;".format(
-            cardinality)
-        self.execute_sql(query)
-        query = "DROP INDEX IF EXISTS idx_{0}_gram_lower_normalized_varchar;".\
-            format(cardinality)
-        self.execute_sql(query)
-        for i in reversed(range(cardinality)):
-            if i != 0:
-                query = "DROP INDEX IF EXISTS idx_{0}_gram_{1}_lower;".format(
-                    cardinality, i)
-                self.execute_sql(query)
-
-    def commit(self):
-        """
-        Sends a commit to the database.
-
-        """
-        self.con.commit()
-        
-    def open_database(self):
-        """
-        Opens the sqlite database.
-
-        """
-        if not self.con:
-            try:
-                self.con = psycopg2.connect(host=self.host,
-                    database=self.dbname, user=self.user,
-                    password=self.password, port=self.port)
-            except psycopg2.Error as e:
-                print("Error while opening database:")
-                print(e.pgerror)
-
-    def close_database(self):
-        """
-        Closes the sqlite database.
-
-        """
-        if self.con:
-            self.con.close()
-            self.con = None
-
-    def execute_sql(self, query):
-        """
-        Executes a given query string on an open postgres database.
-
-        """
-        c = self.con.cursor()
-        c.execute(query)
-        result = []
-        if c.rowcount > 0:
-            try:
-                result = c.fetchall()
-            except psycopg2.ProgrammingError:
-                pass
-        return result
-
-
-    ############################################### Private methods
-
-    def _database_exists(self):
-        """
-        Check if the database exists.
-
-        """
-        con = psycopg2.connect(host=self.host, database="postgres",
-            user=self.user, password=self.password, port=self.port)
-        query_check = "select datname from pg_catalog.pg_database"
-        query_check += " where datname = '{0}';".format(self.dbname)
-        c = con.cursor()
-        c.execute(query_check)
-        result = c.fetchall()
-        if len(result) > 0:
-            return True
-        return False
-
-    def _build_where_like_clause(self, ngram):
-        where_clause = " WHERE"
-        for i in range(len(ngram)):
-            if i < (len(ngram) - 1):
-                if self.lowercase:
-                    where_clause += " LOWER(word_{0}) = LOWER('{1}') AND".format(
-                            len(ngram) - i - 1, ngram[i])
-                else:
-                    where_clause += " word_{0} = '{1}' AND".format(
-                        len(ngram) - i - 1, ngram[i])
-            else:
-                if ngram[-1] != "":
-                    if self.lowercase:
-                        if self. normalize:
-                            where_clause += " NORMALIZE(LOWER(word)) LIKE NORMALIZE(LOWER('{0}%'))".format(ngram[-1])
-                        else:
-                            where_clause += " LOWER(word) LIKE LOWER('{0}%')".format(ngram[-1])
-                    elif self.normalize:
-                        where_clause += " NORMALIZE(word) LIKE NORMALIZE('{0}%')".format(ngram[-1])
-                    else:
-                        where_clause += " word LIKE '{0}%'".format(ngram[-1])
-                else:
-                    # remove the " AND"
-                    where_clause = where_clause[:-4]
-        
-        return where_clause
-
-
-#################################################### Functions
-
-def insert_ngram_map_sqlite(ngram_map, ngram_size, outfile, append=False,
-    create_index=False):
-    sql = SqliteDatabaseConnector(outfile, ngram_size)
-    sql.create_ngram_table(ngram_size)
-
-    for ngram, count in ngram_map.items():
-        if append:
-            old_count = sql.ngram_count(ngram)
-            if old_count > 0:
-                sql.update_ngram(ngram, old_count + count)
-            else:
-                sql.insert_ngram(ngram, count)
-        else:
-            sql.insert_ngram(ngram, count)
-
-    sql.commit()
-
-    if create_index and not append:
-        sql.create_index(ngram_size)
-
-    sql.close_database()
-
-
-def insert_ngram_map_postgres(ngram_map, ngram_size, dbname, append=False,
-    create_index=False, host = "localhost", port = 5432, user = "postgres",
-    password = None, lowercase = False, normalize = False):
-    sql = PostgresDatabaseConnector(dbname, ngram_size, host, port, user,
-        password)
-    sql.lowercase = lowercase
-    sql.normalize = normalize
-    sql.create_database()
-    sql.open_database()
-    if not append:
-        sql.delete_index(ngram_size)
-        sql.delete_ngram_table(ngram_size)
-    sql.create_ngram_table(ngram_size)
-
-    for ngram, count in ngram_map.items():
-        if append:
-            old_count = sql.ngram_count(ngram)
-            if old_count > 0:
-                sql.update_ngram(ngram, old_count + count)
-            else:
-                sql.insert_ngram(ngram, count)
-        else:
-            sql.insert_ngram(ngram, count)
-
-    sql.commit()
-
-    if create_index and not append:
-        sql.create_index(ngram_size)
-
-    sql.commit()
-
-    sql.close_database()
-
-def _filter_ngrams(sql, dictionary):
-    for ngram in sql.ngrams():
-        delete_ngram = False
-        for word in ngram:
-            if not word in dictionary:
-                delete_ngram = True
-        if delete_ngram:
-            sql.remove_ngram(ngram)
-
-
-def filter_ngrams_sqlite(dictionary, ngram_size, outfile):
-    sql = SqliteDatabaseConnector(outfile, ngram_size)
-    _filter_ngrams(sql, dictionary)
-    sql.commit()
-    sql.close_database()
-
-def filter_ngrams_postgres(dictionary, ngram_size, dbname, host = "localhost",
-        port = 5432, user = "postgres", password = None):
-    sql = PostgresDatabaseConnector(dbname, ngram_size, host, port, user,
-        password)
-    sql.open_database()
-
-    _filter_ngrams(sql, dictionary)
-
-    sql.commit()
-    sql.close_database()
\ No newline at end of file
diff --git a/uberwriter_lib/pressagio/observer.py b/uberwriter_lib/pressagio/observer.py
deleted file mode 100644
index b40ed74..0000000
--- a/uberwriter_lib/pressagio/observer.py
+++ /dev/null
@@ -1,71 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-from __future__ import absolute_import, unicode_literals
-
-import abc
-
-class Observer(object):
-    """
-    Base class for classes that want to observer other classes, e.g. the
-    PredictorActivator.
-
-    """
-
-    __metaclass__ = abc.ABCMeta
-
-    @abc.abstractmethod
-    def update(self, observable):
-        raise NotImplementedError("Method must be implemented")
-
-
-class Oberservable(object):
-    """
-    Base class for everything that needs observation, e.g. the predictors.
-
-    """
-
-    def __init__(self):
-        self._observers = []
-
-    def attach(self, observer):
-        if not observer in self._observers:
-            self._observers.append(observer)
-
-    def detach(self, observer):
-        try:
-            self._observers.remove(observer)
-        except ValueError:
-            pass
-
-    def notify(self, modifier=None):
-        for observer in self._observers:
-            if modifier != observer:
-                observer.update(self)
-
-class Dispatcher(object):
-    """
-    Dispatches observable notifications.
-
-    """
-
-    def __init__(self, obj):
-        self.observables = []
-        self.dispatch_dict = {}
-        self.obj = obj
-
-    def map(self, observable, func):
-        observable.attach(obj)
-        self.observables.append(observable)
-        self.dispatch_dict[observable] = func
-        self.dispatch(observable)
-
-    def dispatch(self, observable):
-        handler_func = self.dispatch_dict[observable]
-        handler_func(observable)
diff --git a/uberwriter_lib/pressagio/predictor.py b/uberwriter_lib/pressagio/predictor.py
deleted file mode 100644
index d21d1fa..0000000
--- a/uberwriter_lib/pressagio/predictor.py
+++ /dev/null
@@ -1,425 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-"""
-Classes for predictors and to handle suggestions and predictions.
-
-"""
-
-from __future__ import absolute_import, unicode_literals
-
-import os
-try:
-    import configparser
-except ImportError:
-    import ConfigParser as configparser
-
-
-from . import dbconnector
-
-#import pressagio.observer
-
-MIN_PROBABILITY = 0.0
-MAX_PROBABILITY = 1.0
-
-class SuggestionException(Exception): pass
-class UnknownCombinerException(Exception): pass
-class PredictorRegistryException(Exception): pass
-
-class Suggestion(object):
-    """
-    Class for a simple suggestion, consists of a string and a probility for that
-    string.
-
-    """
-
-    def __init__(self, word, probability):
-        print("I am a suggetsion")
-        self.word = word
-        self._probability = probability
-
-    def __eq__(self, other):
-        if self.word == other.word and self.probability == other.probability:
-            return True
-        return False
-
-    def __lt__(self, other):
-        if self.probability < other.probability:
-            return True
-        if self.probability == other.probability:
-            return self.word < other.word
-        return False
-
-    def __repr__(self):
-        return "Word: {0} - Probability: {1}".format(
-            self.word, self.probability)
-
-    def probability():
-        doc = "The probability property."
-        def fget(self):
-            return self._probability
-        def fset(self, value):
-            if value < MIN_PROBABILITY or value > MAX_PROBABILITY:
-                raise SuggestionException("Probability is too high or too low.")
-            self._probability = value
-        def fdel(self):
-            del self._probability
-        return locals()
-    probability = property(**probability())
-
-
-class Prediction(list):
-    """
-    Class for predictions from predictors.
-
-    """
-
-    def __init__(self):
-        pass
-
-    def __eq__(self, other):
-        if self is other:
-            return True
-        if len(self) != len(other):
-            return False
-        for i, s in enumerate(other):
-            if not s == self[i]:
-                return False
-        return True
-
-    def suggestion_for_token(self, token):
-        for s in self:
-            if s.word == token:
-                return s
-
-    def add_suggestion(self, suggestion):
-        if len(self) == 0:
-            self.append(suggestion)
-        else:
-            i = 0
-            while i < len(self) and suggestion < self[i]:
-                i += 1
-
-            self.insert(i, suggestion)
-
-
-class PredictorActivator(object):
-    """
-    PredictorActivator starts the execution of the active predictors,
-    monitors their execution and collects the predictions returned, or
-    terminates a predictor's execution if it execedes its maximum
-    prediction time.
-
-    The predictions returned by the individual predictors are combined
-    into a single prediction by the active Combiner.
-
-    """
-
-    def __init__(self, config, registry, context_tracker):
-        self.config = config
-        self.registry = registry
-        self.context_tracker = context_tracker
-        #self.dispatcher = pressagio.observer.Dispatcher(self)
-        self.predictions = []
-
-        self.combiner = None
-        self.max_partial_prediction_size = int(config.get(
-            "Selector", "suggestions"))
-        self.predict_time = None
-        self._combination_policy = None
-
-    def combination_policy():
-        doc = "The combination_policy property."
-        def fget(self):
-            return self._combination_policy
-        def fset(self, value):
-            self._combination_policy = value
-            if value.lower() == "meritocracy":
-                self.combiner = pressagio.combiner.MeritocracyCombiner()
-            else:
-                raise UnknownCombinerException()
-        def fdel(self):
-            del self._combination_policy
-        return locals()
-    combination_policy = property(**combination_policy())
-
-    def predict(self, multiplier = 1, prediction_filter = None):
-        self.predictions[:] = []
-        for predictor in self.registry:
-            self.predictions.append(predictor.predict(
-                self.max_partial_prediction_size * multiplier,
-                prediction_filter))
-        result = self.combiner.combine(self.predictions)
-        return result
-
-
-class PredictorRegistry(list): #pressagio.observer.Observer,
-    """
-    Manages instantiation and iteration through predictors and aids in
-    generating predictions and learning.
- 
-    PredictorRegitry class holds the active predictors and provides the
-    interface required to obtain an iterator to the predictors.
- 
-    The standard use case is: Predictor obtains an iterator from
-    PredictorRegistry and invokes the predict() or learn() method on each
-    Predictor pointed to by the iterator.
- 
-    Predictor registry should eventually just be a simple wrapper around
-    plump.
-
-    """
-
-    def __init__(self, config, dbconnection = None):
-        self.config = config
-        self.dbconnection = dbconnection
-        self._context_tracker = None
-        self.set_predictors()
-
-    def context_tracker():
-        doc = "The context_tracker property."
-        def fget(self):
-            return self._context_tracker
-        def fset(self, value):
-            if self._context_tracker is not value:                
-                self._context_tracker = value
-                self[:] = []
-                self.set_predictors()
-        def fdel(self):
-            del self._context_tracker
-        return locals()
-    context_tracker = property(**context_tracker())
-
-    def set_predictors(self):
-        if (self.context_tracker):
-            self[:] = []
-            for predictor in self.config.get("PredictorRegistry", "predictors")\
-                    .split():
-                self.add_predictor(predictor)
-
-    def add_predictor(self, predictor_name):
-        predictor = None
-        if self.config.get(predictor_name, "predictor_class") == \
-                "SmoothedNgramPredictor":
-            predictor = SmoothedNgramPredictor(self.config,
-                self.context_tracker, predictor_name,
-                dbconnection = self.dbconnection)
-
-        if predictor:
-            self.append(predictor)
-
-    def close_database(self):
-        for predictor in self:
-            predictor.close_database()
-
-
-class Predictor(object):
-    """
-    Base class for predictors.
-
-    """
-
-    def __init__(self, config, context_tracker, predictor_name,
-            short_desc = None, long_desc = None):
-        self.short_description = short_desc
-        self.long_description = long_desc
-        self.context_tracker = context_tracker
-        self.name = predictor_name
-        self.config = config
-
-    def token_satifies_filter(token, prefix, token_filter):
-        if token_filter:
-            for char in token_filter:
-                candidate = prefix + char
-                if token.startswith(candidate):
-                    return True
-        return False
-
-class SmoothedNgramPredictor(Predictor): #, pressagio.observer.Observer
-    """
-    Calculates prediction from n-gram model in sqlite database. You have to
-    create a database with the script `text2ngram` first.
-
-    """
-
-    def __init__(self, config, context_tracker, predictor_name,
-            short_desc = None, long_desc = None, dbconnection = None):
-        Predictor.__init__(self, config, context_tracker, predictor_name,
-            short_desc, long_desc)
-        self.db = None
-        self.dbconnection = dbconnection
-        self.cardinality = None
-        self.learn_mode_set = False
-
-        self.dbclass = None
-        self.dbuser = None
-        self.dbpass = None
-        self.dbhost = None
-        self.dbport = None
-
-        self._database = None
-        self._deltas = None
-        self._learn_mode = None
-        self.config = config
-        self.name = predictor_name
-        self.context_tracker = context_tracker
-        self._read_config()
-
-    ################################################## Properties
-
-    def deltas():
-        doc = "The deltas property."
-        def fget(self):
-            return self._deltas
-        def fset(self, value):
-            self._deltas = []
-            # make sure that values are floats
-            for i, d in enumerate(value):
-                self._deltas.append(float(d))
-            self.cardinality = len(value)
-            self.init_database_connector_if_ready()
-        def fdel(self):
-            del self._deltas
-        return locals()
-    deltas = property(**deltas())
-
-    def learn_mode():
-        doc = "The learn_mode property."
-        def fget(self):
-            return self._learn_mode
-        def fset(self, value):
-            self._learn_mode = value
-            self.learn_mode_set = True
-            self.init_database_connector_if_ready()
-        def fdel(self):
-            del self._learn_mode
-        return locals()
-    learn_mode = property(**learn_mode())
-
-    def database():
-        doc = "The database property."
-        def fget(self):
-            return self._database
-
-        def fset(self, value):
-            self._database = value
-
-            self.dbclass = self.config.get("Database", "class")
-            if self.dbclass == "PostgresDatabaseConnector":
-                self.dbuser = self.config.get("Database", "user")
-                self.dbpass = self.config.get("Database", "password")
-                self.dbhost = self.config.get("Database", "host")
-                self.dbport = self.config.get("Database", "port")
-                self.dblowercase = self.config.getboolean("Database",
-                    "lowercase_mode")
-                self.dbnormalize = self.config.getboolean("Database",
-                    "normalize_mode")
-
-            self.init_database_connector_if_ready()
-
-        def fdel(self):
-            del self._database
-        return locals()
-    database = property(**database())
-
-    #################################################### Methods
-
-    def init_database_connector_if_ready(self):
-        if self.database and len(self.database) > 0 and \
-                self.cardinality and self.cardinality > 0 and \
-                self.learn_mode_set:
-            if self.dbclass == "SqliteDatabaseConnector":
-                self.db = dbconnector.SqliteDatabaseConnector(
-                    self.database, self.cardinality) #, self.learn_mode
-            elif self.dbclass == "PostgresDatabaseConnector":
-                self.db = dbconnector.PostgresDatabaseConnector(
-                    self.database, self.cardinality, self.dbhost, self.dbport,
-                    self.dbuser, self.dbpass, self.dbconnection)
-                self.db.lowercase = self.dblowercase
-                self.db.normalize = self.dbnormalize
-                self.db.open_database()
-
-    def ngram_to_string(self, ngram):
-        "|".join(ngram)
-
-    def predict(self, max_partial_prediction_size, filter):
-        print("SmoothedNgramPredictor Predicting")
-        print(filter)
-        tokens = [""] * self.cardinality
-        prediction = Prediction()
-
-        for i in range(self.cardinality):
-            tokens[self.cardinality - 1 - i] = self.context_tracker.token(i)
-        prefix_completion_candidates = []
-        for k in reversed(range(self.cardinality)):
-            if len(prefix_completion_candidates) >= max_partial_prediction_size:
-                break
-            prefix_ngram = tokens[(len(tokens) - k - 1):]
-            partial = None
-            if not filter:
-                partial = self.db.ngram_like_table(prefix_ngram,
-                    max_partial_prediction_size - \
-                    len(prefix_completion_candidates))
-            else:
-                partial = db.ngram_like_table_filtered(prefix_ngram, filter,
-                    max_partial_prediction_size - \
-                    len(prefix_completion_candidates))
-
-            print((partial))
-            for p in partial:
-                if len(prefix_completion_candidates) > \
-                        max_partial_prediction_size:
-                    break
-                candidate = p[-2] # ???
-                if candidate not in prefix_completion_candidates:
-                    prefix_completion_candidates.append(candidate)
-
-        # smoothing
-        unigram_counts_sum = self.db.unigram_counts_sum()
-        for j, candidate in enumerate(prefix_completion_candidates):
-            #if j >= max_partial_prediction_size:
-            #    break
-            tokens[self.cardinality - 1] = candidate
-
-            probability = 0
-            for k in range(self.cardinality):
-                numerator = self._count(tokens, 0, k + 1)
-                denominator = unigram_counts_sum
-                if numerator > 0:
-                    denominator = self._count(tokens, -1, k)
-                frequency = 0
-                if denominator > 0:
-                    frequency = float(numerator) / denominator
-                probability += self.deltas[k] * frequency
-
-            if probability > 0:
-                prediction.add_suggestion(Suggestion(tokens[self.cardinality - 1],
-                    probability))
-        return(prediction)
-
-    def close_database(self):
-        self.db.close_database()
-
-################################################ Private methods
-
-    def _read_config(self):
-        self.database = self.config.get("Database", "database")
-        self.deltas = self.config.get(self.name, "deltas").split()
-        self.learn_mode = self.config.get(self.name, "learn")
-
-    def _count(self, tokens, offset, ngram_size):
-        result = 0
-        if (ngram_size > 0):
-            ngram = \
-                tokens[len(tokens) - ngram_size + offset:\
-                len(tokens) + offset]
-            result = self.db.ngram_count(ngram)
-        else:
-            result = self.db.unigram_counts_sum()
-        return result
diff --git a/uberwriter_lib/pressagio/tests/__init__.py b/uberwriter_lib/pressagio/tests/__init__.py
deleted file mode 100644
index 6fac984..0000000
--- a/uberwriter_lib/pressagio/tests/__init__.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
diff --git a/uberwriter_lib/pressagio/tests/test_character.py b/uberwriter_lib/pressagio/tests/test_character.py
deleted file mode 100644
index 25b1414..0000000
--- a/uberwriter_lib/pressagio/tests/test_character.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-from __future__ import absolute_import, unicode_literals
-
-import pressagio.character
-
-def test_first_word_character():
-    assert pressagio.character.first_word_character("8238$§(a)jaj2u2388!") == 7
-    assert pressagio.character.first_word_character("123üäö34ashdh") == 3
-    assert pressagio.character.first_word_character("123&(/==") == -1
-
-def test_last_word_character():
-    assert pressagio.character.last_word_character("8238$§(a)jaj2u2388!") == 13
-    assert pressagio.character.last_word_character("123üäö34ashdh") == 12
-    assert pressagio.character.last_word_character("123&(/==") == -1
-
-def test_is_word_character():
-    assert pressagio.character.is_word_character("ä") == True
-    assert pressagio.character.is_word_character("1") == False
-    assert pressagio.character.is_word_character(".") == False
diff --git a/uberwriter_lib/pressagio/tests/test_combiner.py b/uberwriter_lib/pressagio/tests/test_combiner.py
deleted file mode 100644
index 0ce554a..0000000
--- a/uberwriter_lib/pressagio/tests/test_combiner.py
+++ /dev/null
@@ -1,74 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-from __future__ import absolute_import, unicode_literals
-
-import pressagio.predictor
-import pressagio.combiner
-
-class TestMeritocracyCombiner:
-
-    def setup(self):
-        self.combiner = pressagio.combiner.MeritocracyCombiner()
-
-    def _create_prediction(self):
-        prediction = pressagio.predictor.Prediction()
-        prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test", 0.3))
-        prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test2", 0.3))
-        prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test", 0.1))
-        prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test3", 0.2))
-        return prediction
-
-    def _create_prediction2(self):
-        prediction = pressagio.predictor.Prediction()
-        prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test2", 0.3))
-        prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test", 0.1))
-        prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test3", 0.2))
-        return prediction
-
-    def test_filter(self):
-        result = self.combiner.filter(
-            self._create_prediction())
-
-        correct = pressagio.predictor.Prediction()
-        correct.add_suggestion(pressagio.predictor.Suggestion(
-            "Test3", 0.2))
-        correct.add_suggestion(pressagio.predictor.Suggestion(
-            "Test2", 0.3))
-        correct.add_suggestion(pressagio.predictor.Suggestion(
-            "Test", 0.4))
-
-        assert result == correct
-
-    def test_combine(self):
-        predictions = [ self._create_prediction2() ]
-        prediction2 = self._create_prediction2()
-        prediction2.add_suggestion(pressagio.predictor.Suggestion(
-            "Test4", 0.1))
-        predictions.append(prediction2)
-        result = self.combiner.combine(predictions)
-
-        correct = pressagio.predictor.Prediction()
-        correct.add_suggestion(pressagio.predictor.Suggestion(
-            "Test3", 0.4))
-        correct.add_suggestion(pressagio.predictor.Suggestion(
-            "Test2", 0.6))
-        correct.add_suggestion(pressagio.predictor.Suggestion(
-            "Test4", 0.1))
-        correct.add_suggestion(pressagio.predictor.Suggestion(
-            "Test", 0.2))
-
-        assert result == correct
diff --git a/uberwriter_lib/pressagio/tests/test_data/der_linksdenker.txt b/uberwriter_lib/pressagio/tests/test_data/der_linksdenker.txt
deleted file mode 100644
index 17b50f6..0000000
--- a/uberwriter_lib/pressagio/tests/test_data/der_linksdenker.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Der Linksdenker von Peter Panter
-
-"Er ist ein Gespenst und doch ein Münchner."
-Alfred Polgar     
-
-Das war ein heiterer Abschied von Berlin: sechs Wochen Panke und ein Abend Karl Valentin – die Rechnung ging ohne Rest auf.
-
-Ich kam zu spät ins Theater, der Saal war bereits warm und voll Lachen. Es mochte grade begonnen haben, aber die Leute waren animiert und vergnügt wie sonst erst nach dem zweiten Akt. Am Podium der Bühne auf der Bühne, mitten in der Vorstadtkapelle, saß ein Mann mit einer aufgeklebten Perücke, er sah aus, wie man sich sonst wohl einen Provinzkomiker vorstellt: ich blickte angestrengt auf die Szene und wußte beim besten Willen nicht, was es da wohl zu lachen gäbe … Aber die Leute lachten wieder, und der Mann hatte doch gar nichts gesagt ... Und plötzlich schweifte mein Auge ab, vorn in der ersten Reihe saß noch Einer, den hatte ich bisher nicht bemerkt, und das war: ER.
-
-Ein zaundürrer, langer Geselle, mit langen, spitzen Don-Quichotte-Beinen, mit winkligen, spitzigen Knien, einem Löchlein in der Hose, mit blankem, abgeschabtem Anzug. Sein Löchlein in der Hose – er reibt eifrig daran herum. "Das wird Ihnen nichts nützen!" sagt der gestrenge Orchesterchef. Er, leise vor sich hin: "Mit Benzin wärs scho fort!" Leise sagt er das, leise, wie seine schauspielerischen Mittel. Er ist sanft und zerbrechlich, schillert in allen Farben wie eine Seifenblase; wenn er plötzlich zerplatzte, hätte sich Niemand zu wundern.
-
-"Fertig!" klopft der Kapellmeister. Eins, zwei, drei – da, einen Sechzehnteltakt zuvor, setzte der dürre Bläser ab und bedeutete dem Kapellmeister mit ernstem Zeigefinger: "’s Krawattl rutscht Ihna heraus!" Aergerlich stopft sich der das Ding hinein. "Fertig!" Eins, zwei, drei … So viel, wie ein Auge Zeit braucht, die Wimper zu heben und zu senken, trennte die Kapelle noch von dem schmetternden Tusch – da setzte der Lange ab und sah um sich. Der Kapellmeister klopfte ab. Was es nun wieder gäbe –? "Ich muß mal husten!" sagte der Lange. Pause. Das Orchester wartet. Aber nun kann er nicht. Eins, zwei, drei – tätärätä! Es geht los.
-
-Und es beginnt die seltsamste Komik, die wir seit langem auf der Bühne gesehen haben: ein Höllentanz der Vernunft um beide Pole des Irrsinns. Das ist eine kleine Seele, dieser Bläser, mit Verbandsorgan, Tarif, Stammtisch und Kollegenklatsch. Er ist ängstlich auf seinen vereinbarten Verdienst und ein bißchen darüber hinaus auf seinen Vorteil bedacht. "Spielen Sie genau, was da steht," sagt der Kapellmeister, "nicht zu viel und nicht zu wenig!" "Zu viel schon gar nicht!" sagt das Verbandsmitglied.
-
-Oben auf der Bühne will der Vorhang nicht auseinander. "Geh mal sofort einer zum Tapezierer", sagt der Kapellmeister, "aber sofort, und sag ihm, er soll gelegentlich, wenn er Zeit hat, vorbeikommen." Geschieht. Der Tapezierer scheint sofort Zeit zu haben, denn er kommt mitten in die Sängerin hineingeplatzt. Steigt mit der Leiter auf die Bühne – "Zu jener Zeit, wie liebt ich dich, mein Leben", heult die Sängerin – und packt seine Instrumente aus, klopft, hämmert, macht … Seht doch Valentin! Er ist nicht zu halten. Was gibt es da? Was mag da sein? Er hat die Neugier der kleinen Leute. Immer geigend, denn das ist seine bezahlte Pflicht, richtet er sich hoch, steigt auf den Stuhl, reckt zwei Hälse, den seinen und den der Geige, klettert wieder herunter, schreitet durch das Orchester, nach oben auf die Bühne, steigt dort dem Tapezierer auf seiner Leiter nach, geigt und sieht, arbeitet und guckt, was es da Interessantes gibt … Ich muß lange zurückdenken, um mich zu erinnern, wann in einem Theater so gelacht worden ist.
-
-Er denkt links. Vor Jahren hat er einmal in München in einem Bierkeller gepredigt: "Vorgestern bin ich mit meiner Großmutter in der Oper ‚Lohengrin‘ gewesen. Gestern nacht hat sie die ganze Oper nochmal geträumt; das wann i gwußt hätt, hätten wir gar nicht erst hingehen brauchen!"
-
-Aber dieser Schreiber, der sich abends sein Brot durch einen kleinen Nebenverdienst aufbessert, wird plötzlich transparent, durchsichtig, über- und unterirdisch und beginnt zu leuchten. Berühren diese langen Beine noch die Erde?
-
-Es erhebt sich das schwere Problem, eine Pauke von einem Ende der Bühne nach dem andern zu schaffen. Der Auftrag fällt auf Valentin. "I bin eigentlich a Bläser!" sagt er. Bläser schaffen keine Pauken fort. Aber, na … Laatscht hin. Allein geht es nicht. Sein Kollege soll helfen. Und hier wird die Sache durchaus mondsüchtig. "Schafft die Pauke her!" ruft der Kapellmeister ungeduldig. Der Kollege kneetscht in seinen Bart: "Muß das gleich sein?" Der Kapellmeister: "Bringt die Pauke her!" Valentin: "Der Andre laßt fragen, wann." "Der Andre" – nicht: Peperl oder: Herr Schmidt oder: Kollege Hintermüller, sondern: der Andre. Der Andre wird Schicksal, Moira und nachbarlicher Kosmos. Sie drehen sich eine Weile um die Pauke, schließlich sagt "der Andre", er müsse hier stehen, denn er sei Linkshänder. Linkshänder? Vergessen sind Pauke, Kapellmeister und Theateraufführung – Linkshänder! Und nun, ganz Shakespearisch: "Linkshänder bist? Alles links? Beim Schreiben auch? Beim Essen auch? Beim Schlucken auch? Beim Denken auch?" Und dann triumphierend: "Der Andre sagt, er ist links!" Welche Distanz ist da vom "Andern" – wie diesseits ist man selbst, wie jenseits der Andre, wie verschieden, wie getrennt, wie weitab! Mitmensch? Nebenmensch.
-
-Sicherlich legen wir hier das Philosophische hinein. Sicherlich hat Valentin theoretisch diese Gedankengänge nicht gehabt. Aber man zeige uns doch erst einmal einen Komiker, ein Gefäß, in das man so etwas hineinlegen kann. Bei Herrn Westermeier käme man nicht auf solche Gedanken. Hier aber erhebt sich zum Schluß eine Unterhaltung über den Zufall, ein Hin und Her, kleine magische Funken, die aus einem merkwürdig konstruierten Gehirn sprühen. Er sei Unter den Linden spaziert, mit dem Nebenmann, da hätten sie von einem Radfahrer gesprochen – und da sei gerade einer des Wegs gekommen. Dies zum Kapitel: Zufall. Der Kapellmeister tobt. Das sei kein Zufall – das sei Unsinn. Da kämen tausend Radfahrer täglich vorbei. "Na ja", sagt Valentin, "aber es ist grad Einer kumma!" Unvorstellbar, wie so etwas ausgedacht, geschrieben, probiert wird. Die Komik der irrealen Potentialsätze, die monströse Zerlegung des Satzes: "Ich sehe, daß er nicht da ist!" (was sich da erhebt, ist überhaupt nicht zu sagen!) – die stille Dummheit dieses Witzes, der irrational ist und die leise Komponente des korrigierenden Menschenverstandes nicht aufweist, zwischendurch trinkt er aus einem Seidel Bier, kaut etwas, das er in der Tasche aufbewahrt hatte, denkt mit dem Zeigefinger und hat seine kleine Privatfreude, wenn sich der Kapellmeister geirrt hat. Eine kleine Seele. Als Hans Reimann einmal eine Rundfrage stellte, was sich Jedermann wünschen würde, wenn ihm eine Fee drei Wünsche freistellte, hat Karl Valentin geantwortet: "1.) Ewige Gesundheit. 2.) Einen Leibarzt." Eine kleine Seele.
-
-Und ein großer Künstler. Wenn ihn nur nicht die berliner Unternehmer einfangen möchten! Das Geheimnis dieses primitiven Ensembles ist seine kräftige Naivität. Das ist eben so, und wems nicht paßt, der soll nicht zuschauen. Gott behüte, wenn man den zu Duetten und komischen Couplets abrichtete! Mit diesen verdrossenen, verquälten, nervösen Regisseuren und Direktoren auf der Probe, die nicht zuhören und zunächst einmal zu Allem Nein sagen. Mit diesem Drum und Dran von unangenehmen berliner Typen, die vorgeben, zu wissen, was das Publikum will, mit dem sie ihren nicht sehr heitern Kreis identifizieren, mit diesen überarbeiteten und unfrohen Gesellen, die nicht mehr fähig sind, von Herzen über das Einfache zu lachen, "weil es schon dagewesen ist". Sie jedenfalls sind immer schon dagewesen. Karl Valentin aber nur ein Mal, weil er ein seltener, trauriger, unirdischer, maßlos lustiger Komiker ist, der links denkt.
-
-Quelle: http://de.wikisource.org/wiki/Der_Linksdenker
\ No newline at end of file
diff --git a/uberwriter_lib/pressagio/tests/test_data/profile_smoothedngram.ini b/uberwriter_lib/pressagio/tests/test_data/profile_smoothedngram.ini
deleted file mode 100644
index 6370d5f..0000000
--- a/uberwriter_lib/pressagio/tests/test_data/profile_smoothedngram.ini
+++ /dev/null
@@ -1,26 +0,0 @@
-# Template for profiles
-[Database]
-class = SqliteDatabaseConnector
-database = c:/Users/Peter/Projects/git-github/pressagio/src/pressagio/tests/test_data/test.db
-
-[PredictorRegistry]
-predictors = DefaultSmoothedNgramPredictor
-
-[DefaultSmoothedNgramPredictor]
-predictor_class = SmoothedNgramPredictor
-deltas = 0.01 0.1 0.89
-learn = True
-
-[ContextTracker]
-sliding_window_size = 80
-lowercase_mode = True
-
-[Selector]
-suggestions = 6
-repeat_suggestions = no
-greedy_suggestion_threshold = 0
-
-[PredictorActivator]
-predict_time = 100
-max_partial_prediction_size = 60
-combination_policy = Meritocracy
diff --git a/uberwriter_lib/pressagio/tests/test_dbconnector.py b/uberwriter_lib/pressagio/tests/test_dbconnector.py
deleted file mode 100644
index 5d5d02f..0000000
--- a/uberwriter_lib/pressagio/tests/test_dbconnector.py
+++ /dev/null
@@ -1,253 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2001-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-from __future__ import absolute_import, unicode_literals
-
-import os
-
-import pressagio.dbconnector
-
-psycopg2_installed = False
-try:
-    import psycopg2
-    psycopg2_installed = True
-except ImportError:
-    pass
-
-class TestSqliteDatabaseConnector():
-
-    def setup(self):
-        self.filename = os.path.abspath(os.path.join(os.path.dirname( __file__ ),
-            'test_data', 'test.db'))
-        self.connector = pressagio.dbconnector.SqliteDatabaseConnector(self.filename)
-        self.connector.open_database()
-
-    def test_execute_sql(self):
-        self.connector.execute_sql("CREATE TABLE IF NOT EXISTS test ( c1 TEXT, c2 INTEGER );")
-
-    def test_create_ngram_table(self):
-        self.connector.create_ngram_table(1)
-        result = self.connector.execute_sql(
-            "SELECT name FROM sqlite_master WHERE type='table' AND name='_1_gram';")
-        assert result == [('_1_gram',)]
-        self.connector.execute_sql("DROP TABLE _1_gram;")
-
-        self.connector.create_ngram_table(2)
-        result = self.connector.execute_sql(
-            "SELECT name FROM sqlite_master WHERE type='table' AND name='_2_gram';")
-        assert result == [('_2_gram',)]
-        self.connector.execute_sql("DROP TABLE _2_gram;")
-
-        self.connector.create_ngram_table(3)
-        result = self.connector.execute_sql(
-            "SELECT name FROM sqlite_master WHERE type='table' AND name='_3_gram';")
-        assert result == [('_3_gram',)]
-        self.connector.execute_sql("DROP TABLE _3_gram;")
-
-    def test_create_index(self):
-        self.connector.create_ngram_table(2)
-        self.connector.insert_ngram(('der', 'linksdenker'), 22)
-        self.connector.create_index(2)
-        result = self.connector.execute_sql(
-            "SELECT name FROM sqlite_master WHERE type='index' \
-            AND name='idx_2_gram_1';")
-        assert result == [('idx_2_gram_1',)]
-
-        self.connector.execute_sql("DROP TABLE _2_gram;")
-
-    def test_create_unigram_table(self):
-        self.connector.create_unigram_table()
-        result = self.connector.execute_sql(
-            "SELECT name FROM sqlite_master WHERE type='table' AND name='_1_gram';")
-        assert result == [('_1_gram',)]
-        self.connector.execute_sql("DROP TABLE _1_gram;")
-
-    def test_create_bigram_table(self):
-        self.connector.create_bigram_table()
-        result = self.connector.execute_sql(
-            "SELECT name FROM sqlite_master WHERE type='table' AND name='_2_gram';")
-        assert result == [('_2_gram',)]
-        self.connector.execute_sql("DROP TABLE _2_gram;")
-
-    def test_create_trigram_table(self):
-        self.connector.create_trigram_table()
-        result = self.connector.execute_sql(
-            "SELECT name FROM sqlite_master WHERE type='table' AND name='_3_gram';")
-        assert result == [('_3_gram',)]
-        self.connector.execute_sql("DROP TABLE _3_gram;")
-
-    def test_insert_ngram(self):
-        self.connector.create_bigram_table()
-        self.connector.insert_ngram(('der', 'linksdenker'), 22)
-        result = self.connector.execute_sql("SELECT * FROM _2_gram")
-        assert result == [('der', 'linksdenker', 22)]
-        self.connector.execute_sql("DROP TABLE _2_gram;")
-
-    def test_update_ngram(self):
-        self.connector.create_bigram_table()
-
-        # Insert
-        self.connector.insert_ngram(('der', 'linksdenker'), 22)
-        result = self.connector.execute_sql("SELECT * FROM _2_gram")
-        assert result == [('der', 'linksdenker', 22)]
-
-        # Update
-        self.connector.update_ngram(('der', 'linksdenker'), 44)
-        result = self.connector.execute_sql("SELECT * FROM _2_gram")
-        assert result == [('der', 'linksdenker', 44)]
-
-        self.connector.execute_sql("DROP TABLE _2_gram;")
-
-    def test_ngram_count(self):
-        self.connector.create_bigram_table()
-        self.connector.insert_ngram(('der', 'linksdenker'), 22)
-        result = self.connector.ngram_count(('der', 'linksdenker'))
-        assert result == 22
-        self.connector.execute_sql("DROP TABLE _2_gram;")
-
-    def test_ngram_like_table(self):
-        self.connector.create_bigram_table()
-        self.connector.insert_ngram(('der', 'linksdenker'), 22)
-        self.connector.insert_ngram(('der', 'linksabbieger'), 32)
-        result = self.connector.ngram_like_table(('der', 'links'))
-        assert result == [('der', 'linksabbieger', 32), (
-            'der', 'linksdenker', 22)]
-        self.connector.execute_sql("DROP TABLE _2_gram;")
-        
-    def teardown(self):
-        self.connector.close_database()
-        if os.path.isfile(self.filename):
-            os.remove(self.filename)
-
-if psycopg2_installed:
-    class TestPostgresDatabaseConnector():
-
-        def setup(self):
-            self.connector = pressagio.dbconnector.PostgresDatabaseConnector("test")
-            self.connector.create_database()
-            self.connector.open_database()
-
-        def test_create_database(self):
-            self.connector.create_database()
-
-        def test_create_ngram_table(self):
-            self.connector.create_ngram_table(1)
-            result = self.connector.execute_sql(
-                "SELECT * FROM information_schema.tables WHERE table_name='_1_gram';")
-            assert len(result) == 1
-            self.connector.execute_sql("DROP TABLE _1_gram;")
-
-            self.connector.create_ngram_table(2)
-            result = self.connector.execute_sql(
-                "SELECT * FROM information_schema.tables WHERE table_name='_2_gram';")
-            assert len(result) == 1
-            self.connector.execute_sql("DROP TABLE _2_gram;")
-
-            self.connector.create_ngram_table(3)
-            result = self.connector.execute_sql(
-                "SELECT * FROM information_schema.tables WHERE table_name='_3_gram';")
-            assert len(result) == 1
-            self.connector.execute_sql("DROP TABLE _3_gram;")
-
-        def test_create_unigram_table(self):
-            self.connector.create_unigram_table()
-            result = self.connector.execute_sql(
-                "SELECT * FROM information_schema.tables WHERE table_name='_1_gram';")
-            assert len(result) == 1
-            self.connector.execute_sql("DROP TABLE _1_gram;")
-
-        def test_create_bigram_table(self):
-            self.connector.create_bigram_table()
-            result = self.connector.execute_sql(
-                "SELECT * FROM information_schema.tables WHERE table_name='_2_gram';")
-            assert len(result) == 1
-            self.connector.execute_sql("DROP TABLE _2_gram;")
-
-        def test_create_trigram_table(self):
-            self.connector.create_trigram_table()
-            result = self.connector.execute_sql(
-                "SELECT * FROM information_schema.tables WHERE table_name='_3_gram';")
-            assert len(result) == 1
-            self.connector.execute_sql("DROP TABLE _3_gram;")
-
-        def test_insert_ngram(self):
-            self.connector.create_bigram_table()
-            self.connector.insert_ngram(('der', 'linksdenker'), 22)
-            result = self.connector.execute_sql("SELECT * FROM _2_gram")
-            assert result == [('der', 'linksdenker', 22)]
-            self.connector.execute_sql("DROP TABLE _2_gram;")
-
-        def test_update_ngram(self):
-            self.connector.create_bigram_table()
-
-            # Insert
-            self.connector.insert_ngram(('der', 'linksdenker'), 22)
-            result = self.connector.execute_sql("SELECT * FROM _2_gram")
-            assert result == [('der', 'linksdenker', 22)]
-
-            # Update
-            self.connector.update_ngram(('der', 'linksdenker'), 44)
-            result = self.connector.execute_sql("SELECT * FROM _2_gram")
-            assert result == [('der', 'linksdenker', 44)]
-
-            self.connector.execute_sql("DROP TABLE _2_gram;")
-
-        def test_ngram_count(self):
-            self.connector.create_bigram_table()
-            self.connector.insert_ngram(('der', 'linksdenker'), 22)
-            result = self.connector.ngram_count(('der', 'linksdenker'))
-            assert result == 22
-            self.connector.execute_sql("DROP TABLE _2_gram;")
-
-        def test_ngram_like_table(self):
-            self.connector.create_bigram_table()
-            self.connector.insert_ngram(('der', 'linksdenker'), 22)
-            self.connector.insert_ngram(('der', 'linksabbieger'), 32)
-            result = self.connector.ngram_like_table(('der', 'links'))
-            assert result == [('der', 'linksabbieger', 32), (
-                'der', 'linksdenker', 22)]
-            self.connector.execute_sql("DROP TABLE _2_gram;")
-
-            # testing lowercase mode
-            self.connector.lowercase = True
-            self.connector.close_database()
-            self.connector.reset_database()
-            self.connector.open_database()
-            self.connector.create_bigram_table()
-            self.connector.insert_ngram(('Der', 'Linksdenker'), 22)
-            self.connector.insert_ngram(('Der', 'Linksabbieger'), 32)
-            result = self.connector.ngram_like_table(('der', 'links'))
-            assert result == [('Der', 'Linksabbieger', 32), (
-                'Der', 'Linksdenker', 22)]
-            self.connector.execute_sql("DROP TABLE _2_gram;")
-
-            # testing normalize mode
-            self.connector.normalize = True
-            self.connector.close_database()
-            self.connector.reset_database()
-            self.connector.open_database()
-            self.connector.create_bigram_table()
-            self.connector.insert_ngram(('Der', 'Lünksdenker'), 22)
-            self.connector.insert_ngram(('Der', 'Lünksabbieger'), 32)
-            result = self.connector.ngram_like_table(('der', 'lunks'))
-            assert result == [('Der', 'Lünksabbieger', 32), (
-                'Der', 'Lünksdenker', 22)]
-            self.connector.execute_sql("DROP TABLE _2_gram;")
-
-            self.connector.normalize = False
-            self.connector.lowercase = False
-
-        def teardown(self):
-                self.connector.close_database()
-                con = psycopg2.connect(database="postgres", user="postgres")
-                con.set_isolation_level(
-                        psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT)
-                c = con.cursor()
-                c.execute("DROP DATABASE test;")
-                con.close()
diff --git a/uberwriter_lib/pressagio/tests/test_predictor.py b/uberwriter_lib/pressagio/tests/test_predictor.py
deleted file mode 100644
index d4e3be3..0000000
--- a/uberwriter_lib/pressagio/tests/test_predictor.py
+++ /dev/null
@@ -1,143 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-from __future__ import absolute_import, unicode_literals
-
-import os
-try:
-    import configparser
-except ImportError:
-    import ConfigParser as configparser
-
-import pressagio.predictor
-import pressagio.tokenizer
-import pressagio.dbconnector
-import pressagio.context_tracker
-import pressagio.callback
-
-class TestSuggestion():
-
-    def setup(self):
-        self.suggestion = pressagio.predictor.Suggestion("Test", 0.3)
-
-    def test_probability(self):
-        self.suggestion.probability = 0.1
-        assert self.suggestion.probability == 0.1
-
-
-class TestPrediction():
-
-    def setup(self):
-        self.prediction = pressagio.predictor.Prediction()
-
-    def test_add_suggestion(self):
-        self.prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test", 0.3))
-        assert self.prediction[0].word == "Test"
-        assert self.prediction[0].probability == 0.3
-
-        self.prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test2", 0.2))
-        assert self.prediction[0].word == "Test"
-        assert self.prediction[0].probability == 0.3
-        assert self.prediction[1].word == "Test2"
-        assert self.prediction[1].probability == 0.2
-
-        self.prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Test3", 0.6))
-        assert self.prediction[0].word == "Test3"
-        assert self.prediction[0].probability == 0.6
-        assert self.prediction[1].word == "Test"
-        assert self.prediction[1].probability == 0.3
-        assert self.prediction[2].word == "Test2"
-        assert self.prediction[2].probability == 0.2
-
-        self.prediction[:] = []
-
-    def test_suggestion_for_token(self):
-        self.prediction.add_suggestion(pressagio.predictor.Suggestion(
-            "Token", 0.8))
-        assert self.prediction.suggestion_for_token("Token").probability == 0.8
-        self.prediction[:] = []
-
-class StringStreamCallback(pressagio.callback.Callback):
-
-    def __init__(self, stream):
-        pressagio.callback.Callback.__init__(self)
-        self.stream = stream
-
-class TestSmoothedNgramPredictor():
-
-    def setup(self):
-        self.dbfilename = os.path.abspath(os.path.join(
-            os.path.dirname( __file__ ), 'test_data', 'test.db'))
-        self.infile = os.path.abspath(os.path.join(os.path.dirname( __file__ ),
-            'test_data', 'der_linksdenker.txt'))
-
-        for ngram_size in range(3):
-            ngram_map = pressagio.tokenizer.forward_tokenize_file(
-                self.infile, ngram_size + 1, False)
-            pressagio.dbconnector.insert_ngram_map_sqlite(ngram_map, ngram_size + 1,
-                self.dbfilename, False)
-
-        config_file = os.path.abspath(os.path.join(os.path.dirname( __file__ ),
-            'test_data', 'profile_smoothedngram.ini'))
-        config = configparser.ConfigParser()
-        config.read(config_file)
-        config.set("Database", "database", self.dbfilename)
-
-        self.predictor_registry = pressagio.predictor.PredictorRegistry(config)
-
-        self.callback = StringStreamCallback("")
-        context_tracker = pressagio.context_tracker.ContextTracker(
-            config, self.predictor_registry, self.callback)
-
-    def test_predict(self):
-        predictor = self.predictor_registry[0]
-        predictions = predictor.predict(6, None)
-        assert len(predictions) == 6
-        words = []
-        for p in predictions:
-            words.append(p.word)
-        assert "er" in words
-        assert "der" in words
-        assert "die" in words
-        assert "und" in words
-        assert "nicht" in words
-
-        self.callback.stream="d"
-        predictions = predictor.predict(6, None)
-        assert len(predictions) == 6
-        words = []
-        for p in predictions:
-            words.append(p.word)
-        assert "der" in words
-        assert "die" in words
-        assert "das" in words
-        assert "da" in words
-        assert "Der" in words
-
-        self.callback.stream="de"
-        predictions = predictor.predict(6, None)
-        assert len(predictions) == 6
-        words = []
-        for p in predictions:
-            words.append(p.word)
-        assert "der" in words
-        assert "Der" in words
-        assert "dem" in words
-        assert "den" in words
-        assert "des" in words
-
-    def teardown(self):
-        if self.predictor_registry[0].db:
-            self.predictor_registry[0].db.close_database()
-        del(self.predictor_registry[0])
-        if os.path.isfile(self.dbfilename):
-            os.remove(self.dbfilename)
diff --git a/uberwriter_lib/pressagio/tests/test_tokenizer.py b/uberwriter_lib/pressagio/tests/test_tokenizer.py
deleted file mode 100644
index 8813056..0000000
--- a/uberwriter_lib/pressagio/tests/test_tokenizer.py
+++ /dev/null
@@ -1,91 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-from __future__ import absolute_import, unicode_literals
-
-import os
-import codecs
-
-import pressagio.tokenizer
-
-
-class TestForwardTokenizer():
-
-    def setup(self):
-        filename = os.path.abspath(os.path.join(os.path.dirname( __file__ ),
-            'test_data', 'der_linksdenker.txt'))
-        self.tokenizer = pressagio.tokenizer.ForwardTokenizer(filename)
-
-    def test_reset_stream(self):
-        self.tokenizer.next_token()
-        assert self.tokenizer.offset != 0
-        self.tokenizer.reset_stream()
-        assert self.tokenizer.offset == 0
-
-    def test_count_characters(self):
-        # TODO: Windows tokenization is different, check why
-        assert self.tokenizer.count_characters() == 7954
-
-    def test_count_tokens(self):
-        assert self.tokenizer.count_tokens() == 1235
-
-    def test_has_more_tokens(self):
-        assert self.tokenizer.has_more_tokens() == True
-
-    def test_next_token(self):
-        assert self.tokenizer.next_token() == "Der"
-        self.tokenizer.reset_stream()
-
-    def test_is_blankspace(self):
-        assert self.tokenizer.is_blankspace('\n') == True
-        assert self.tokenizer.is_blankspace('a') == False
-
-    def test_is_separator(self):
-        assert self.tokenizer.is_separator('"') == True
-        assert self.tokenizer.is_separator('b') == False
-
-
-class TestReverseTokenizer():
-
-    def setup(self):
-        filename = os.path.abspath(os.path.join(os.path.dirname( __file__ ),
-            'test_data', 'der_linksdenker.txt'))
-        self.tokenizer = pressagio.tokenizer.ReverseTokenizer(filename)
-
-    def test_reset_stream(self):
-        self.tokenizer.next_token()
-        assert self.tokenizer.offset != self.tokenizer.offend
-        self.tokenizer.reset_stream()
-        assert self.tokenizer.offset == self.tokenizer.offend
-
-    def test_count_tokens(self):
-        assert self.tokenizer.count_tokens() == 1235
-
-    def test_has_more_tokens(self):
-        assert self.tokenizer.has_more_tokens() == True
-
-    def test_next_token(self):
-        assert self.tokenizer.next_token() == "Linksdenker"
-        self.tokenizer.reset_stream()
-
-
-def test_tokenizers_are_equal():
-        filename = os.path.abspath(os.path.join(os.path.dirname( __file__ ),
-            'test_data', 'der_linksdenker.txt'))
-        reverse_tokenizer = pressagio.tokenizer.ReverseTokenizer(filename)
-        forward_tokenizer = pressagio.tokenizer.ForwardTokenizer(filename)
-        forward_tokens = []
-        reverse_tokens = []
-        while forward_tokenizer.has_more_tokens():
-            forward_tokens.append(forward_tokenizer.next_token())
-        while reverse_tokenizer.has_more_tokens():
-            reverse_tokens.append(reverse_tokenizer.next_token())
-        diff = set(forward_tokens) ^ set(reverse_tokens)
-        assert forward_tokens == reverse_tokens[::-1]
-        assert len(diff) == 0
diff --git a/uberwriter_lib/pressagio/tokenizer.py b/uberwriter_lib/pressagio/tokenizer.py
deleted file mode 100644
index b9d32b7..0000000
--- a/uberwriter_lib/pressagio/tokenizer.py
+++ /dev/null
@@ -1,289 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Poio Tools for Linguists
-#
-# Copyright (C) 2009-2013 Poio Project
-# Author: Peter Bouda 
-# URL: 
-# For license information, see LICENSE
-
-"""
-Several classes to tokenize text.
-
-"""
-
-from __future__ import absolute_import, unicode_literals
-
-import abc
-import codecs
-import collections
-
-from . import character
-
-class Tokenizer(object):
-    """
-    Base class for all tokenizers.
-
-    """
-
-    __metaclass__ = abc.ABCMeta
-
-    def __init__(self, stream, blankspaces = character.blankspaces,
-            separators = character.separators):
-        """
-        Constructor of the Tokenizer base class.
-
-        Parameters
-        ----------
-        stream : str or io.IOBase
-            The stream to tokenize. Can be a filename or any open IO stream.
-
-        blankspaces : str
-            The characters that represent empty spaces.
-
-        separators : str
-            The characters that separate token units (e.g. word boundaries).
-
-        """
-        self.separators = separators
-        self.blankspaces = blankspaces
-        self.lowercase = False
-
-        self.offbeg = 0
-        self.offset = None
-        self.offend = None
-
-    def is_blankspace(self, char):
-        """
-        Test if a character is a blankspace.
-
-        Parameters
-        ----------
-        char : str
-            The character to test.
-
-        Returns
-        -------
-        ret : bool
-            True if character is a blankspace, False otherwise.
-
-        """
-        if len(char) > 1:
-            raise TypeError("Expected a char.")
-        if char in self.blankspaces:
-            return True
-        return False
-
-    def is_separator(self, char):
-        """
-        Test if a character is a separator.
-
-        Parameters
-        ----------
-        char : str
-            The character to test.
-
-        Returns
-        -------
-        ret : bool
-            True if character is a separator, False otherwise.
-
-        """
-        if len(char) > 1:
-            raise TypeError("Expected a char.")
-        if char in self.separators:
-            return True
-        return False
-
-    @abc.abstractmethod
-    def count_characters(self):
-        raise NotImplementedError("Method must be implemented")
-
-    @abc.abstractmethod
-    def reset_stream(self):
-        raise NotImplementedError("Method must be implemented")
-
-    @abc.abstractmethod
-    def count_tokens(self):
-        raise NotImplementedError("Method must be implemented")
-
-    @abc.abstractmethod
-    def has_more_tokens(self):
-        raise NotImplementedError("Method must be implemented")
-
-    @abc.abstractmethod
-    def next_token(self):
-        raise NotImplementedError("Method must be implemented")
-
-    @abc.abstractmethod
-    def progress(self):
-        raise NotImplementedError("Method must be implemented")
-
-
-class ForwardTokenizer(Tokenizer):
-
-    def __init__(self, stream, blankspaces = character.blankspaces,
-            separators = character.separators):
-        Tokenizer.__init__(self, stream, blankspaces, separators)
-        if not hasattr(stream, 'read'):
-            stream = codecs.open(stream, "r", "utf-8")
-        self.text = stream.read()
-        stream.close()
-
-
-        self.offend = self.count_characters() - 1
-        self.reset_stream()
-
-    def count_tokens(self):
-        count = 0
-        while(self.has_more_tokens()):
-            count += 1
-            self.next_token()
-
-        self.reset_stream()
-        
-        return count
-
-    def count_characters(self):
-        """
-        Counts the number of unicode characters in the IO stream.
-
-        """
-        return len(self.text)
-
-    def has_more_tokens(self):
-        if self.offset < self.offend:
-            return True
-        return False
-
-    def next_token(self):
-        current = self.text[self.offset]
-        self.offset += 1
-        token = ""
-
-        if self.offset <= self.offend:
-            while (self.is_blankspace(current) or self.is_separator(current)) \
-                    and self.offset < self.offend:
-                current = self.text[self.offset]
-                self.offset += 1
-
-            while not self.is_blankspace(current) and not self.is_separator(
-                    current) and self.offset <= self.offend:
-
-                if self.lowercase:
-                    current = current.lower()
-
-                token += current
-
-                current = self.text[self.offset]
-                self.offset += 1
-
-                if self.offset > self.offend:
-                    token += self.text[-1]
-
-
-        return token 
-
-    def progress(self):
-        return float(offset)/offend
-
-    def reset_stream(self):
-        self.offset = 0
-
-
-class ReverseTokenizer(Tokenizer):
-
-    def __init__(self, stream, blankspaces = character.blankspaces,
-            separators = character.separators):
-        Tokenizer.__init__(self, stream, blankspaces, separators)
-        if not hasattr(stream, 'read'):
-            stream = codecs.open(stream, "r", "utf-8")
-        self.text = stream.read()
-        stream.close()
-
-        self.offend = self.count_characters() - 1
-        self.offset = self.offend
-
-    def count_tokens(self):
-        curroff = self.offset
-        self.offset = self.offend
-        count = 0
-        while (self.has_more_tokens()):
-            self.next_token()
-            count += 1
-        self.offset = curroff
-        return count
-
-    def count_characters(self):
-        """
-        Counts the number of unicode characters in the IO stream.
-
-        """
-        return len(self.text)
-
-    def has_more_tokens(self):
-        if (self.offbeg <= self.offset):
-            return True
-        else:
-            return False
-
-    def next_token(self):
-        token = ""
-
-        while (self.offbeg <= self.offset) and len(token) == 0:
-            current = self.text[self.offset]
-
-            if (self.offset == self.offend) and (self.is_separator(current) \
-                    or self.is_blankspace(current)):
-                self.offset -= 1
-                return token
-
-            while (self.is_blankspace(current) or self.is_separator(current)) \
-                    and self.offbeg < self.offset:
-                self.offset -= 1
-                if (self.offbeg <= self.offset):
-                    current = self.text[self.offset]
-
-            while not self.is_blankspace(current) and not self.is_separator(
-                current) and self.offbeg <= self.offset:
-                if self.lowercase:
-                    current = current.lower()
-                token = current + token
-                self.offset -= 1
-                if (self.offbeg <= self.offset):
-                    current = self.text[self.offset]
-
-        return token
-
-    def progress(self):
-        return float(self.offend - self.offset) / (self.offend - self.offbeg)
-
-    def reset_stream(self):
-        self.offset = self.offend
-
-
-def forward_tokenize_file(infile, ngram_size, lowercase=False, cutoff=0):
-    ngram_map = collections.defaultdict(int)
-    ngram_list = []
-    tokenizer = ForwardTokenizer(infile)
-    tokenizer.lowercase = lowercase
-
-    for i in range(ngram_size - 1):
-        if not tokenizer.has_more_tokens():
-            break
-        ngram_list.append(tokenizer.next_token())
-
-    while (tokenizer.has_more_tokens()):
-        token = tokenizer.next_token()
-        ngram_list.append(token)
-        ngram_map[tuple(ngram_list)] += 1
-        ngram_list.pop(0)    
-
-    ngram_map_tmp = dict()
-    if cutoff > 0:
-        for k in ngram_map.keys():
-            if ngram_map[k] <= cutoff:
-                del(ngram_map[k])
-
-    return ngram_map
-
diff --git a/uberwriter_lib/pylocales/__init__.py b/uberwriter_lib/pylocales/__init__.py
deleted file mode 100644
index a04dbac..0000000
--- a/uberwriter_lib/pylocales/__init__.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# -*- coding:utf-8 -*-
-#
-# Copyright (C) 2012, Maximilian Köhl 
-#
-# 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 .
-
-from __future__ import unicode_literals
-
-__version__ = '1.2'
-__project__ = 'Python Locales'
-__short_name__ = 'pylocales'
-__authors__ = 'Maximilian Köhl'
-__emails__ = 'linuxmaxi@googlemail.com'
-__website__ = 'http://koehlma.github.com/projects/pygtkspellcheck.html'
-__source__ = 'https://github.com/koehlma/pygtkspellcheck/'
-__vcs__ = 'git://github.com/koehlma/pygtkspellcheck.git'
-__copyright__ = '2012, Maximilian Köhl'
-__desc_short__ = 'query the ISO 639/3166 database about a country or a language.'
-__desc_long__ = ('Query the ISO 639/3166 database about a country or a'
-                 'language. The locales database contains ISO 639 language'
-                 'definitions and ISO 3166 country definitions. This package'
-                 'provides translation for country and language names if'
-                 'the iso-code messages are installed on your system.')
-
-__metadata__ = {'__version__' : __version__,
-                '__project__' : __project__,
-                '__short_name__' : __short_name__,
-                '__authors__' : __authors__,
-                '__emails__' : __emails__,
-                '__website__' : __website__,
-                '__source__' : __source__,
-                '__vcs__' : __vcs__,
-                '__copyright__' : __copyright__,
-                '__desc_short__' : __desc_short__,
-                '__desc_long__' : __desc_long__}
-
-from .locales import (Country, Language, LanguageNotFound,
-                               CountryNotFound, code_to_name)
diff --git a/uberwriter_lib/pylocales/locales.db b/uberwriter_lib/pylocales/locales.db
deleted file mode 100644
index 76192ad..0000000
Binary files a/uberwriter_lib/pylocales/locales.db and /dev/null differ
diff --git a/uberwriter_lib/pylocales/locales.py b/uberwriter_lib/pylocales/locales.py
deleted file mode 100644
index 9d4f10f..0000000
--- a/uberwriter_lib/pylocales/locales.py
+++ /dev/null
@@ -1,156 +0,0 @@
-# -*- coding:utf-8 -*-
-#
-# Copyright (C) 2012, Maximilian Köhl 
-# Copyright (C) 2012, Carlos Jenkins 
-#
-# 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 .
-
-"""
-Query the ISO 639/3166 database about a country or a language. The locales
-database contains ISO 639 language definitions and ISO 3166 country definitions.
-This package provides translation for country and language names if the
-iso-code messages are installed on your system.
-"""
-
-import gettext
-import logging
-import os
-import sqlite3
-import sys
-
-# public objects
-__all__ = ['Country', 'Language', 'LanguageNotFound',
-           'CountryNotFound', 'code_to_name']
-
-# translation
-_translator_language = gettext.translation('iso_639', fallback=True).gettext
-_translator_country = gettext.translation('iso_3166', fallback=True).gettext
-
-# Decides where the database is located. If an application provides an
-# os.path.get_module_path monkey patch to determine the path where the module
-# is located it uses this. If not it searches in the directory of this source
-# code file.
-__path__ = None
-if hasattr(os.path, 'get_module_path'):
-    __path__ = os.path.get_module_path(__file__)
-    if not os.path.isfile(os.path.join(__path__, 'locales.db')):
-        __path__ = None
-if __path__ is None:
-    frozen = getattr(sys, 'frozen', None)
-    if frozen in ('dll', 'console_exe', 'windows_exe'):
-        __path__ = os.path.abspath(os.path.dirname(sys.executable))
-    elif frozen == 'macosx_app':
-        __path__ = os.path.abspath(os.environ['RESOURCEPATH'])
-    elif frozen is True:
-        # Handle executables produced by PyInstaller.
-        __path__ = sys._MEIPASS
-    else:
-        __path__ = os.path.abspath(os.path.realpath(os.path.dirname(__file__)))
-    
-
-# loading the database
-_database = sqlite3.connect(os.path.join(__path__, 'locales.db'))
-
-logger = logging.getLogger(__name__)
-
-class LanguageNotFound(Exception):
-    """
-    The specified language wasn't found in the database.
-    """
-    
-class CountryNotFound(Exception):
-    """
-    The specified country wasn't found in the database.
-    """
-
-class Country(object):
-    def __init__(self, rowid):
-        country = _database.execute('SELECT * FROM countries WHERE rowid == ?',
-                                    (rowid,)).fetchone()
-        self.name = country[0]
-        self.official_name = country[1]
-        self.alpha_2 = country[2]
-        self.alpha_3 = country[3]
-        self.numeric = country[4]
-        self.translation = _translator_country(self.name)
-        
-    @classmethod
-    def get_country(cls, code, codec):
-        country = _database.execute(
-            'SELECT rowid FROM countries WHERE %s == ?' % (codec),
-            (code,)).fetchone()
-        if country:
-            return cls(country[0])
-        raise CountryNotFound('code: %s, codec: %s' % (code, codec))
-    
-    @classmethod
-    def by_alpha_2(cls, code):
-        return Country.get_country(code, 'alpha_2')
-    
-    @classmethod
-    def by_alpha_3(cls, code):
-        return Country.get_country(code, 'alpha_3')
-    
-    @classmethod
-    def by_numeric(cls, code):
-        return Country.get_country(code, 'numeric')
-   
-class Language(object):
-    def __init__(self, rowid):
-        language = _database.execute('SELECT * FROM languages WHERE rowid == ?',
-                                     (rowid,)).fetchone()
-        self.name = language[0]
-        self.iso_639_2B = language[1]
-        self.iso_639_2T = language[2]
-        self.iso_639_1 = language[3]
-        self.translation = _translator_language(self.name)
-        
-    @classmethod
-    def get_language(cls, code, codec):
-        language = _database.execute(
-            'SELECT rowid FROM languages WHERE %s == ?' % (codec),
-            (code,)).fetchone()
-        if language:
-            return cls(language[0])
-        raise LanguageNotFound('code: %s, codec: %s' % (code, codec))
-        
-    @classmethod
-    def by_iso_639_2B(cls, code):
-        return Language.get_language(code, 'iso_639_2B')
-    
-    @classmethod
-    def by_iso_639_2T(cls, code):
-        return Language.get_language(code, 'iso_639_2T')
-    
-    @classmethod
-    def by_iso_639_1(cls, code):
-        return Language.get_language(code, 'iso_639_1')
-
-
-def code_to_name(code, separator='_'):
-    """  
-    Get the human readable and translated name of a language based on it's code.
-    
-    :param code: the code of the language (e.g. de_DE, en_US) 
-    :param target: separator used to separate language from country
-    :rtype: human readable and translated language name
-    """
-    logger.debug('requesting name for code "{}"'.format(code))
-    code = code.split(separator)
-    if len(code) > 1:
-        lang = Language.by_iso_639_1(code[0]).translation
-        country = Country.by_alpha_2(code[1]).translation
-        return '{} ({})'.format(lang, country)
-    else:
-        return Language.by_iso_639_1(code[0]).translation
diff --git a/uberwriter_lib/tables.py b/uberwriter_lib/tables.py
deleted file mode 100644
index c67fb32..0000000
--- a/uberwriter_lib/tables.py
+++ /dev/null
@@ -1,209 +0,0 @@
-# -*- encoding: utf-8 -*-
-import re
-import vim
-
-
-def cjk_width(text):
-    import sys
-    if sys.version_info[0] < 3:
-        if not isinstance(text, unicode):
-            text = text.decode("utf-8")
-    from unicodedata import east_asian_width
-    return sum(1+(east_asian_width(c) in "WF") for c in text)
-
-
-def create_separarator(widths, char):
-    """Genera una linea para separar filas de una tabla.
-
-    El parametro `widths` es un lista indicando el ancho de cada
-    columna. En cambio el argumento `char` es el caracter que se
-    tiene que utilizar para imprimir.
-
-    El valor retornado es un string.
-
-    Por ejemplo::
-
-        >>> create_separarator([2, 4], '-')
-        '+----+------+'
-    """
-
-    line = []
-
-    for w in widths:
-        line.append("+" + char * (w + 2))
-
-    line.append("+")
-    return ''.join(line)
-
-
-def create_line(columns, widths):
-    """Crea una fila de la tabla separando los campos con un '|'.
-
-    El argumento `columns` es una lista con las celdas que se
-    quieren imprimir y el argumento `widths` tiene el ancho
-    de cada columna. Si la columna es mas ancha que el texto
-    a imprimir se agregan espacios vacíos.
-
-    Por ejemplo::
-
-        >>> create_line(['nombre', 'apellido'], [7, 10])
-        '| nombre  | apellido   |'
-    """
-
-    line = zip(columns, widths)
-    result = []
-
-    for text, width in line:
-        spaces = " " * (width - cjk_width(text))
-        text = "| " + text + spaces + " "
-        result.append(text)
-
-    result.append("|")
-    return ''.join(result)
-
-
-def create_table(content):
-    """Imprime una tabla en formato restructuredText.
-
-    El argumento `content` tiene que ser una lista
-    de celdas.
-
-    Por ejemplo::
-
-        >>> print create_table([['software', 'vesion'], ['python', '3.2'], ['vim', '7.3']])
-        +----------+--------+
-        | software | vesion |
-        +==========+========+
-        | python   | 3.2    |
-        +----------+--------+
-        | vim      | 7.3    |
-        +----------+--------+
-    """
-
-    # obtiene las columnas de toda la tabla.
-    columns = zip(*content)
-    # calcula el tamano maximo que debe tener cada columna.
-    widths = [max([cjk_width(x) for x in i]) for i in columns]
-
-    result = []
-
-    result.append(create_separarator(widths, '-'))
-    result.append(create_line(content[0], widths))
-    result.append(create_separarator(widths, '='))
-
-    for line in content[1:]:
-        result.append(create_line(line, widths))
-        result.append(create_separarator(widths, '-'))
-
-    return '\n'.join(result)
-
-
-def are_in_a_table(current_line):
-    "Indica si el cursor se encuentra dentro de una tabla."
-    return "|" in current_line or "+" in current_line
-
-
-def are_in_a_paragraph(current_line):
-    "Indica si la linea actual es parte de algun parrafo"
-    return len(current_line.strip()) >= 1
-
-
-def get_table_bounds(current_row_index, are_in_callback):
-    """Obtiene el numero de fila donde comienza y termina la tabla.
-
-    el argumento `are_in_callback` tiene que ser una función
-    que indique si una determinada linea pertenece o no
-    a la tabla que se quiere medir (o crear).
-
-    Retorna ambos valores como una tupla.
-    """
-
-    top = 0
-    buffer = vim.current.buffer
-    max = len(buffer)
-    bottom = max - 1
-
-    for a in range(current_row_index, top, -1):
-        if not are_in_callback(buffer[a]):
-            top = a + 1
-            break
-
-    for b in range(current_row_index, max):
-        if not are_in_callback(buffer[b]):
-            bottom = b - 1
-            break
-
-    return top, bottom
-
-
-def remove_spaces(string):
-    "Elimina los espacios innecesarios de una fila de tabla."
-    return re.sub("\s\s+", " ", string)
-
-
-def create_separators_removing_spaces(string):
-    return re.sub("\s\s+", "|", string)
-
-
-def extract_cells_as_list(string):
-    "Extrae el texto de una fila de tabla y lo retorna como una lista."
-    string = remove_spaces(string)
-    return [item.strip() for item in string.split('|') if item]
-
-
-def extract_table(buffer, top, bottom):
-    full_table_text = buffer[top:bottom]
-    # selecciona solamente las lineas que tienen celdas con texto.
-    only_text_lines = [x for x in full_table_text if '|' in x]
-    # extrae las celdas y descarta los separadores innecesarios.
-    return [extract_cells_as_list(x) for x in only_text_lines]
-
-
-def extract_words_as_lists(buffer, top, bottom):
-    "Genera una lista de palabras para crear una lista."
-
-    lines = buffer[top:bottom + 1]
-    return [create_separators_removing_spaces(line).split('|') for line in lines]
-
-
-def copy_to_buffer(buffer, string, index):
-    lines = string.split('\n')
-    for line in lines:
-        buffer[index] = line
-        index += 1
-
-
-def fix_table(current_row_index):
-    """Arregla una tabla para que todas las columnas tengan el mismo ancho.
-
-    `initial_row` es un numero entero que indica en que
-    linea se encuenta el cursor."""
-
-    # obtiene el indice donde comienza y termina la tabla.
-    r1, r2 = get_table_bounds(current_row_index, are_in_a_table)
-
-    # extrae de la tabla solo las celdas de texto
-    table_as_list = extract_table(vim.current.buffer, r1, r2)
-
-    # genera una nueva tabla tipo restructured text y la dibuja en el buffer.
-    table_content = create_table(table_as_list)
-    copy_to_buffer(vim.current.buffer, table_content, r1)
-
-
-def FixTable():
-    (row, col) = vim.current.window.cursor
-    line = vim.current.buffer[row - 1]
-
-    if are_in_a_table(line):
-        fix_table(row - 1)
-    else:
-        print("No estoy en una tabla. Terminando...")
-
-
-def CreateTable():
-    (row, col) = vim.current.window.cursor
-
-    top, bottom = get_table_bounds(row - 1, are_in_a_paragraph)
-    lines = extract_words_as_lists(vim.current.buffer, top, bottom)
-    table_content = create_table(lines)
-    vim.current.buffer[top:bottom + 1] = table_content.split('\n')
diff --git a/uberwriter_lib/uberwriterconfig.py b/uberwriter_lib/uberwriterconfig.py
deleted file mode 100644
index 38e694c..0000000
--- a/uberwriter_lib/uberwriterconfig.py
+++ /dev/null
@@ -1,77 +0,0 @@
-# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
-### BEGIN LICENSE
-# Copyright (C) 2012, Wolf Vollprecht 
-# This program is free software: you can redistribute it and/or modify it 
-# under the terms of the GNU General Public License version 3, as published 
-# by the Free Software Foundation.
-# 
-# This program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, 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 .
-### END LICENSE
-
-### DO NOT EDIT THIS FILE ###
-
-__all__ = [
-    'project_path_not_found',
-    'get_data_file',
-    'get_data_path',
-    ]
-
-# Where your project will look for your data (for instance, images and ui
-# files). By default, this is ../data, relative your trunk layout
-__uberwriter_data_directory__ = '../data/'
-__license__ = 'GPL-3'
-__version__ = 'VERSION'
-
-import os
-
-from locale import gettext as _
-
-class project_path_not_found(Exception):
-    """Raised when we can't find the project directory."""
-
-
-def get_data_file(*path_segments):
-    """Get the full path to a data file.
-
-    Returns the path to a file underneath the data directory (as defined by
-    `get_data_path`). Equivalent to os.path.join(get_data_path(),
-    *path_segments).
-    """
-    return os.path.join(get_data_path(), *path_segments)
-
-
-def get_data_path():
-    """Retrieve uberwriter data path
-
-    This path is by default /../data/ in trunk
-    and /opt/uberwriter/data in an installed version but this path
-    is specified at installation time.
-    """
-
-    # Get pathname absolute or relative.
-    # TODO: Abstract this (the old env IN_FLATPAK)
-    if os.path.isfile("/.flatpak-info"):
-        return '/app/opt/uberwriter/data/'
-
-    path = os.path.join(
-        os.path.dirname(__file__), __uberwriter_data_directory__)
-
-    # We try first if the data exists in the local folder and then
-    # in the system installation path
-    abs_data_path = os.path.abspath(path)
-    if not os.path.exists(abs_data_path):
-        abs_data_path = '/opt/uberwriter/data/'
-    elif not os.path.exists(abs_data_path):
-        raise project_path_not_found
-
-    return abs_data_path
-
-
-def get_version():
-    return __version__
diff --git a/uberwriter_lib/webkit2png/webkit2png.py b/uberwriter_lib/webkit2png/webkit2png.py
deleted file mode 100755
index ffc2345..0000000
--- a/uberwriter_lib/webkit2png/webkit2png.py
+++ /dev/null
@@ -1,219 +0,0 @@
-#!/usr/bin/env python
-
-# webkit2png - makes screenshots of webpages
-# http://www.paulhammond.org/webkit2png
-
-# modified and updated version by @somas95 (Manuel Genovés)
-
-__version__=''
-    # Copyright (c) 2009 Paul Hammond
-    #
-    # Permission is hereby granted, free of charge, to any person obtaining a copy
-    # of this software and associated documentation files (the "Software"), to deal
-    # in the Software without restriction, including without limitation the rights
-    # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-    # copies of the Software, and to permit persons to whom the Software is
-    # furnished to do so, subject to the following conditions:
-    #
-    # The above copyright notice and this permission notice shall be included in
-    # all copies or substantial portions of the Software.
-    #
-    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-    # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-    # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-    # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-    # THE SOFTWARE.
-    #
-
-import optparse
-import sys
-import os
-
-try:
-    import gi
-    gi.require_version('WebKit2', '4.0')
-    gi.require_version('Gtk', '3.0')
-    from gi.repository import GObject as gobject
-    from gi.repository import Gtk as gtk
-    from gi.repository import Pango as pango
-    from gi.repository import WebKit2 as webkit
-    mode = "pygtk"
-except ImportError:
-    print("Cannot find python-webkit library files.  Are you sure they're installed?")
-    sys.exit()
-
-class PyGTKBrowser:
-
-    def _save_image(self, webview, res, data):
-        try:
-            original_surface = webview.get_snapshot_finish(res)
-
-            import cairo
-            new_surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, 1024, 768)
-            ctx = cairo.Context(new_surface)
-            ctx.set_source_surface(original_surface, 0, 0)
-            ctx.paint()
-
-            new_surface.write_to_png("test.png")
-
-            self.thumbnail = os.path.abspath("test.png")
-            #return new_surface
-        except Exception as e:
-            print("Could not draw thumbnail for %s: %s" % (self.title, str(e)))
-
-    def _view_load_finished_cb(self, view, event):
-        print(event)
-        if event == webkit.LoadEvent.FINISHED:
-            pixmap = view.get_snapshot(webkit.SnapshotRegion(1),
-                                        webkit.SnapshotOptions(0), 
-                                        None, self._save_image, None)
-            #size = get_size()
-
-            URL = view.get_main_frame().get_uri()
-            filename = makeFilename(URL, self.options)
-
-            pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, 8, size[0], size[1])
-            pixbuf.get_from_drawable(pixmap, pixmap.get_colormap(),0,0,0,0,-1,-1)
-            if self.options.fullsize:
-                pixbuf.save(filename + "-full.png", "png")
-
-            if self.options.thumb or self.options.clipped:
-                thumbWidth = int(size[0] * self.options.scale)
-                thumbHeight = int(size[1] * self.options.scale)
-
-                thumbbuf = pixbuf.scale_simple(thumbWidth, thumbHeight, gtk.gdk.INTERP_BILINEAR)
-                if self.options.thumb:
-                    thumbbuf.save(filename + "-thumb.png", "png")
-
-                if self.options.clipped:
-                    clipbuf = thumbbuf.subpixbuf(0,thumbHeight-int(self.options.clipheight),
-                                                    int(self.options.clipwidth), 
-                                                    int(self.options.clipheight))
-                    clipbuf.save(filename + "-clip.png", "png")
-
-            gtk.main_quit()
-
-    def __init__(self, options, args):
-        self.options = options
-
-        if options.delay:
-            print("--delay is only supported on Mac OS X (for now). Sorry!")
-
-        gobject.threads_init()
-        window = gtk.Window()
-        window.resize(int(options.initWidth),int(options.initHeight))
-        self.view = webkit.WebView()
-
-        settings = self.view.get_settings()
-        settings.set_property("auto-load-images", not options.noimages)
-        self.view.set_settings(settings)
-
-        self.view.connect("load_changed", self._view_load_finished_cb)
-
-        # window.add(self.view)
-        # window.show_all()
-        self.view.load_uri(args[0])
-        # go go go
-        gtk.main()
-
-
-
-def main():
-
-    # parse the command line
-    usage = """%prog [options] [http://example.net/ ...]
-examples:
-%prog http://google.com/            # screengrab google
-%prog -W 1000 -H 1000 http://google.com/ # bigger screengrab of google
-%prog -T http://google.com/         # just the thumbnail screengrab
-%prog -TF http://google.com/        # just thumbnail and fullsize grab
-%prog -o foo http://google.com/     # save images as "foo-thumb.png" etc
-%prog -                             # screengrab urls from stdin
-%prog -h | less                     # full documentation"""
-
-    cmdparser = optparse.OptionParser(usage,version=("webkit2png "+__version__))
-    # TODO: add quiet/verbose options
-    cmdparser.add_option("-W", "--width",type="float",default=800.0,
-        help="initial (and minimum) width of browser (default: 800)")
-    cmdparser.add_option("-H", "--height",type="float",default=600.0,
-        help="initial (and minimum) height of browser (default: 600)")
-    cmdparser.add_option("--clipwidth",type="float",default=200.0,
-        help="width of clipped thumbnail (default: 200)",
-        metavar="WIDTH")
-    cmdparser.add_option("--clipheight",type="float",default=150.0,
-        help="height of clipped thumbnail (default: 150)",
-        metavar="HEIGHT")
-    cmdparser.add_option("-s", "--scale",type="float",default=0.25,
-        help="scale factor for thumbnails (default: 0.25)")
-    cmdparser.add_option("-m", "--md5", action="store_true",
-        help="use md5 hash for filename (like del.icio.us)")
-    cmdparser.add_option("-o", "--filename", type="string",default="",
-        metavar="NAME", help="save images as NAME-full.png,NAME-thumb.png etc")
-    cmdparser.add_option("-F", "--fullsize", action="store_true",
-        help="only create fullsize screenshot")
-    cmdparser.add_option("-T", "--thumb", action="store_true",
-        help="only create thumbnail sreenshot")
-    cmdparser.add_option("-C", "--clipped", action="store_true",
-        help="only create clipped thumbnail screenshot")
-    cmdparser.add_option("-d", "--datestamp", action="store_true",
-        help="include date in filename")
-    cmdparser.add_option("-D", "--dir",type="string",default="./",
-        help="directory to place images into")
-    cmdparser.add_option("--delay",type="float",default=0,
-        help="delay between page load finishing and screenshot")
-    cmdparser.add_option("--noimages", action="store_true",
-        help="don't load images")
-    cmdparser.add_option("--debug", action="store_true",
-        help=optparse.SUPPRESS_HELP)
-    (options, args) = cmdparser.parse_args()
-    if len(args) == 0:
-        cmdparser.print_usage()
-        return
-    if options.filename:
-        if len(args) != 1 or args[0] == "-":
-            print("--filename option requires exactly one url")
-            return
-    if options.scale == 0:
-        cmdparser.error("scale cannot be zero")
-    # make sure we're outputing something
-    if not (options.fullsize or options.thumb or options.clipped):
-        options.fullsize = True
-        options.thumb = True
-        options.clipped = True
-    # work out the initial size of the browser window
-    #  (this might need to be larger so clipped image is right size)
-    options.initWidth = (options.clipwidth / options.scale)
-    options.initHeight = (options.clipheight / options.scale)
-    if options.width>options.initWidth:
-        options.initWidth = options.width
-    if options.height>options.initHeight:
-        options.initHeight = options.height
-
-    PyGTKBrowser(options, args)
-
-def makeFilename(self, URL, options):
-    # make the filename
-    if options.filename:
-        filename = options.filename
-    elif options.md5:
-        try:
-                import md5
-        except ImportError:
-                print("--md5 requires python md5 library")
-        filename = md5.new(URL).hexdigest()
-    else:
-        import re
-        filename = re.sub('\W','',URL)
-        filename = re.sub('^http','',filename)
-    if options.datestamp:
-        import time
-        now = time.strftime("%Y%m%d")
-        filename = now + "-" + filename
-    import os
-    dir = os.path.abspath(os.path.expanduser(options.dir))
-    return os.path.join(dir,filename)
-
-
-if __name__ == "__main__": main()