Skip to content

Latest commit

 

History

History
134 lines (98 loc) · 3.08 KB

README.org

File metadata and controls

134 lines (98 loc) · 3.08 KB

org-impress-js.el

org-impress-js.el

This library implements a impress.js back-end for Org generic exporter based on ox-html.el.

http://kinjo.github.io/org-impress-js.el/ is a demo page.

I appreciate for their great works.

This requires Org-mode version 8.2.6 and GNU Emacs 24 or higher.

INSTALLATION

  1. First of all, check Org-mode version. This library has been tested on Org-mode 8.2.6.
    M-x org-version
        
  2. Get org-impress-js.el. For example,
    git clone https://github.com/kinjo/org-impress-js.el.git \
        ~/org-impress-js.el
        
  3. Add following to ~/.emacs.d/init.el and reboot emacs.
    (add-to-list 'load-path "~/org-impress-js.el")
    (require 'ox-impress-js)
        

USAGE

  1. Open README.org in your emacs.
  2. To convert to an impress.js HTML file, type C-c C-e.
  3. `*Org Export Dispatcher*’ buffer will open, so follow the menu. If you type `j’ and then `j’, README.html will be generated.
  4. Open the file with your web browser.

PROPERTIES

Following special properties are available.

  • data-x, data-y, data-z

    X, Y and Z position of the slide.

  • data-rotate-x, data-rotate-y, data-rotate-z

    Define the rotation of the slide around given axis in degrees.

  • trans-x, trans-y, trans-z

    Translate the slide to each axis.

  • rotate-x, rotate-y, rotate-z

    Rotate the slide to each axis in degrees.

KEYWORDS

Following special keywords are available.

  • IMPRESSJS_SRC

    Specify a path to the JavaScript file of impress.js.

  • IMPRESSJS_STYLE

    Specify a path to the CSS file of impress.js.

  • IMPRESSJS_TOC

    Specify the properties for TOC slide. The properties previously described are available.

KNOWN ISSUES

The following properties does not work in the nested headlines because ox.el processes Org-mode file by the depth-first.

  • trans-x, trans-y, trans-z
  • rotate-x, rotate-y, rotate-z, rotate

LICENSE

Licensed under the GPLv3 license.