-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
46 lines (31 loc) · 2.01 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Note: This project is probably superseeded by ox-slidy.py by Rick Frankel. See:
http://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00781.html
This projects provides a glue to produce HTML Slidy based presentations from Org-Mode files.
INSTALL:
- copy org-htmlslidy.el somewhere in your Emacs' load-path
- (require 'org-htmlslidy) from your .emacs
- copy provided Org files into your sources directory
$ cp htmlslidy.org $ORG_SRC
- This archive contains slidy.js and slidy.css that was retrieved on Friday 2010-11-12 from:
http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js
http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css
Copy these files to your HTML export directory.
Note: that export directory depends entirely on your Org setup. You might
want to configure it using the `org-publish' feature. See
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php
for details.
- copy jquery.js and org-slides.js (from this project) at the right place
$ cp jquery.js org-slidy-slides.js $ORG_HTML_EXPORT
Now you're ready to export an Org file as a HTML presentation. This will be
automatically achieved through regular HTML export, provided that your Org file
contains the "magic" line:
#+SETUPFILE: htmlslidy.org
Note that the resulting output may be heavily modified by supplying
additional css setup. E.g. the following header to an org file may be
used to choose the color and icons used on the W3C pages (you have to
download them locally as well).
#+STYLE: <link rel='stylesheet' href='blue.css' type='text/css' /> <link rel='stylesheet' href='dov.css' type='text/css' />
#+BIND: org-htmlslidy-html-preamble-footer "<h1>A perl test</h1>"
#+BIND: org-export-html-preamble "<div class='background slanty'><img src='graphics/w3c-logo-slanted.jpg' alt='slanted W3C logo' /></div><div class='background'><img alt='' id='head-icon' src='graphics/icon-blue.png' /></a></object></div>"
Thanks a lot to the author of org-s5, Yann Hodique! org-htmlslidy is
just a slight modification of his module.