Linux for Designers

a blog by Eckhard M. Jäger

Subscribe to RSS feed

Posts tagged with "chm"

gEdit Language Reference Plugin Update

, , , ...

After GnoCHM makes no real progress in development CHMsee is a really good alternative to read Windows CHM-Helpfiles. The newest version 1.0.6 of CHMsee now shiped with the long missed index feature (for Ubuntu Jaunty a newer version of libgcrypt11 is required).
This le me think about my gEdit Language Reference Plugin again. So i added support for various CHM viewer like GnoCHM, CHMsee, XCHM or KCHMviewer. To support the project i created a complete german translation for CHMsee too that may ship with 1.0.7 one day smile
» Read more...

gEdit Language Reference plugin

, , , ...

On my way bringing SweeTS - delicious TypoScript development to Linux, i wrote an plugin for opening an external language reference for the language you are editing in gEdit. The additional "gedit-plugins" package must be installed first. The plugin is localized in german and english.

How it works:
* The external language reference can be an PDF, a DocBook XML, a CHM Windows helpfile, a PostScript file or a HTML page
* Copy the files of the gedit_reference_plugin.zip into "~/.gnome2/gedit/plugins"
* Create a folder "help" in "~/.gnome2/gedit/"
* Copy your language references to "~/.gnome2/gedit/help"
* Set the filename of your reference document as the programming language name (you can get the name easily from "View > Highlight Mode"). An example: if you have a CHM documentation "python25.chm" then rename it into "Python.chm"
* Start gEdit and enable the plugin "Language Reference" in the preferences
* After a restart the plugin appears in the help menu
* Assign the shortcut "Alt+F1" to it
* Yelp (Docbook XML), CHMsee-GnoChm-XCHM-KCHMviewer (Windows comiled Help CHM), Firefox (HTML) or Evince (PDF, PS) are required
* Error dialogs based on Zenity

So now you have an easy access to your programming guides and preferences smile
If you are using Ubuntu you can grap a up-to-date version of GnoCHM at GetDeb.net.

Download:
http://files.myopera.com/area42/files/gedit_reference_plugin.zip

Other gEdit plugins i wrote:
http://my.opera.com/area42/blog/gedit-template-plugin
http://my.opera.com/area42/blog/gedit-browser-preview-plugin
A lot of other gEdit plugins can be found here.