Table Maker: a Gedit plugin for automatic table creation
Gedit is a dead simple, highly effective text editor. Few frills, nothing extraneous, only what's needed. However, it also features a rich plugin system to allow us to extend its functionality.
A comprehensive list of Gedit plugins can be found right here.
Table Maker is a Gedit plugin which affords pseudo-Word Document style table creation. You open a little window, you pick some parameters, such as the amount of rows and columns, and a table gets inserted into the document. Done.
Note that since Gedit 3 broke compatibility with plugins for Gedit 2, there are different downloads of the plugin available based on your editor version. The Gedit 2 version features a
gedittables.pyfile instead of the aforementioned directory.
Copy the directory and file into the plugin directory of Gedit. Specifically:
Copy them into the user-plugin directory:
~/.local/share/gedit/plugins/, or, into the system-wide plugin directory:
/usr/lib/gedit/plugins/. So, something like:
$ cp gedittables.plugin ~/.local/share/gedit/plugins/
$ cp -R gedittables/ ~/.local/share/gedit/plugins/
Fire up Gedit and open the Preferences menu and then the list of available plugins. The Table Maker plugin entry will be inserted after installation. Enable the plugin by clicking the check mark to the ON position
Sip your favorite beverage because you're finished
When you wish to insert an empty table, open the Tools menu and click "Create Table" to bring up the dialog. Tune your table settings and click "Insert"
If you wish to auto-build a table around some data, open the dialog as in the previous step and check "Build around highlighted data". Then, highlight some data in your document, separated by a specified delimiter, and click "Insert". The highlighted data will be inserted into a freshly created table
Copyright (c) 2011 Joshua Essex
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.