[Back to Top]

                               Emacs icon
                   predoc-mode (WYSIWYG on Emacs)


* Abstract
  predoc-mode is an WYSIWYG editting mode for Emacs.

* Environment
  - GNU Emacs 22.0.90 or later
      - Linux         You have to get from CVS repositry and build it.
      - Windows       Meadow  3.00 or later
      - MacOS X       Carbon Emacs  January 2007 Edition or later
  - ImageMagick 6.0.0 or later
      - If you don't install 'ImageMagick', predoc-mode disable image
        resizing feature automatically.

* Download
  - Please download predoc-mode via sourceforge.jp.

* Install
  1. Copying predoc-mode.el to load-path of Emacs.
     e.g) ~/emacs/predoc-mode.el
  2. Adding a line as follows to ~/.emacs
     e.g) (load "~/emacs/predoc-mode.el")
  3. Checking after install.
     When you open a html file which includes <pre> tag at first line,
     predoc-mode.el detects it as Predoc format.
     If the mode-line indicates `Predoc' mode, the installation was succeed.
     

* Key bindings
  - Characters at cursor position can be modified with these keys.
    "C-c h"    ... inserting a tag.
    "C-c i"    ... inserting img tag.
    "&"        ... supporting entity input.
    "C-c C-c"  ... toggle openning tag status and closeing tag status.


     
                      ^
                      |

                  "C-c C-c"

                      |
                      v
     

     * You can toggle img tag, a tag and entity by "C-c C-c" key.

    "C-c l"    ... Inserting img tags from current directory.
                   predoc-mode finds all image files recursivly.
                   follows is an example.

             

* customize variables
  - `predoc-insert-image-size'
    default value: 100 dots
    description:   image's width dots by "C-c l" key.

  - `predoc-convert-program'
    default value: "/usr/bin/convert"
    description:   full-path of ImageMagick's 'convert' program.

[Back to Top]