Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Local customization - external, v8 orgmode, plus presentation config …
Browse files Browse the repository at this point in the history
…marker skeleton - org-presentation-skeleton
  • Loading branch information
jaju committed Jul 9, 2013
1 parent ccb4cb8 commit 33a0a22
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions custom/orgmode.el
@@ -1,3 +1,4 @@
(setq load-path (cons "/usr/local/share/emacs/site-lisp" load-path))
(require 'org)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
Expand All @@ -13,3 +14,19 @@
(setq org-default-notes-file "~/.org/on-the-fly-notes.org")
(define-key global-map "\C-cc" 'org-capture)
(define-key global-map "\C-cr" 'remember)

(define-skeleton org-presentation-skeleton
"Inserts org directives for org buffers supposed to generate a slide-show presentation. See https://github.com/jblomo/org-html-slideshow"
"Base directory: "
"#+TAGS: slide(s) example(e) video(v) discuss(d) improve(i) fixme(f) quiz(q) exercise(x)\n"
"#+STYLE: <link rel=\"stylesheet\" type=\"text/css\" href=\"" str "/common.css\" />\n"
"#+STYLE: <link rel=\"stylesheet\" type=\"text/css\" href=\"" str "/screen.css\" media=\"screen\" />\n"
"#+STYLE: <link rel=\"stylesheet\" type=\"text/css\" href=\"" str "/projection.css\" media=\"projection\" />\n"
"#+STYLE: <link rel=\"stylesheet\" type=\"text/css\" href=\"" str "/presenter.css\" media=\"presenter\" />\n\n"
"#+BEGIN_HTML\n"
"<script type=\"text/javascript\" src=\"" str "/org-html-slideshow.js\"></script>\n"
"#+END_HTML\n\n"
"# Local Variables:\n"
"# org-export-html-style-include-default: nil\n"
"# org-export-html-style-include-scripts: nil\n"
"# End:")

0 comments on commit 33a0a22

Please sign in to comment.