nullpofy / org-impress-js.el Goto Github PK
View Code? Open in Web Editor NEWimpress.js Back-End for Org Export Engine.
impress.js Back-End for Org Export Engine.
Org-mode version 8.3.2 (8.3.2-37-gd45217-elpa @ d:/Program/Emacs/home/.emacs.d/elpa/org-20151116/)
I opened the README.org, C-c C-e j j , Emacs reported errors like:
apply: Wrong type argument: listp, #("Takumi KINJO" 0 12 (:parent (#0)))
I change another simple org file just with text:
try to export and got errors like:
org-impress-js-headline: Symbol's function definition is void: org-export-get-headline-id
Hi,
It would be nice if we could set the properties of the first "title" slide (data-/rotate-) etc., not just the TOC slide
Regards
Hi,
You said in the README that you tested on Org-mode version 8.3beta(release_8.3beta-891-g9e3c3e) , but can you give the exact tag/commit or version of the org-mode ? "891-g9e3c3e" doesn't match anything in the org-mod log, and your code doesn't work with the latest org-mode (30/03)
Regards,
Hey there,
do you still maintain it? It would be great help.
However, currently I am getting an error when trying to export:
'''Symbol's function definition is void: org-export-get-headline-id'''
I am using ORG version 8.3.6.7 on spacemacs.
Your help would be much appreciated.
When trying to export I get the above error message. This seems to be an issue with changed function names in ox-html. The same thing happened (and is still happening for me) on ox-reveal:
http://lists.gnu.org/archive/html/emacs-orgmode/2014-08/msg00328.html
My Versions:
Org-mode version 8.3beta (release_8.3beta-797-ga5c456 @ [...])
GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2014-10-21 on builder10-9.porkrind.org
Mac OSX 10.10.2
I'm getting this error with your README.org
(which I've copied for the test), and anything else I've tried to export.
emacs-24.5.1
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
org-impress-js-section((section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent (headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 (:parent #2))) :parent (org-data nil (section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent #4) (keyword (:key "TITLE" :value "Demo" :begin 1 :end 15 :post-blank 0 :post-affiliated 1 :parent #5)) (keyword (:key "AUTHOR" :value "Uri Sharf" :begin 15 :end 35 :post-blank 0 :post-affiliated 15 :parent #5)) (keyword (:key "OPTIONS" :value "num:nil ^:nil" :begin 35 :end 60 :post-blank 0 :post-affiliated 35 :parent #5)) (keyword (:key "IMPRESSJS_TITLE" :value "Test this" :begin 60 :end 89 :post-blank 0 :post-affiliated 60 :parent #5)) (keyword (:key "IMPRESSJS_SRC" :value "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :begin 89 :end 167 :post-blank 0 :post-affiliated 89 :parent #5)) (keyword (:key "STYLE" :value "<script src=\"http://bartaz.github.com/impress.js/js/impress.js\"></script><link href=\"http://bartaz.github.com/impress.js/css/impress-demo.css\" rel=\"stylesheet\" /><link href=\"/your/css/mystyle.css\" rel=\"stylesheet\" />" :begin 167 :end 393 :post-blank 0 :post-affiliated 167 :parent #5))) #2)) #0)) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #0) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #1)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #1)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #1)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #1))) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #0) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #1)))) #("<p>\nThis is an example text for slide 1, using impress.js.\n</p>\n" 4 59 (:parent (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent (section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent (headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title ... :parent ...) #4)) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #4) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #5)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #5)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #5)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #5))) #2)) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #2))))) (:export-options nil :input-file "/private/tmp/index.org" :input-buffer "index.org" :html-doctype "html5" :html-description "impress.js is a presentation tool based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com." :html-fallback-message " <p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>\n<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>\n" :html-hint-message " <p>Use a spacebar or arrow keys to navigate</p>\n" :html-hint-js "if (\"ontouchstart\" in document.documentElement) {\ndocument.querySelector(\".hint\").innerHTML = \"<p>Tap on the left or right to navigate</p>\";\n}\n" :html-impress-js-stylesheet "resources/css/impress-demo.css" :html-impress-js-javascript "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :impress-js-toc nil :impress-js-title "Test this" :html-extension "html" :html-link-org-as-html t :html-container "div" :html-html5-fancy nil :html-link-use-abs-url nil :html-link-home "" :html-link-up "" :html-mathjax "" :html-postamble auto :html-preamble t :html-head "" :html-head-extra "" :html-head-include-default-style t ...))
org-export-data((section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent (headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 (:parent #2))) :parent (org-data nil (section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent #4) (keyword (:key "TITLE" :value "Demo" :begin 1 :end 15 :post-blank 0 :post-affiliated 1 :parent #5)) (keyword (:key "AUTHOR" :value "Uri Sharf" :begin 15 :end 35 :post-blank 0 :post-affiliated 15 :parent #5)) (keyword (:key "OPTIONS" :value "num:nil ^:nil" :begin 35 :end 60 :post-blank 0 :post-affiliated 35 :parent #5)) (keyword (:key "IMPRESSJS_TITLE" :value "Test this" :begin 60 :end 89 :post-blank 0 :post-affiliated 60 :parent #5)) (keyword (:key "IMPRESSJS_SRC" :value "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :begin 89 :end 167 :post-blank 0 :post-affiliated 89 :parent #5)) (keyword (:key "STYLE" :value "<script src=\"http://bartaz.github.com/impress.js/js/impress.js\"></script><link href=\"http://bartaz.github.com/impress.js/css/impress-demo.css\" rel=\"stylesheet\" /><link href=\"/your/css/mystyle.css\" rel=\"stylesheet\" />" :begin 167 :end 393 :post-blank 0 :post-affiliated 167 :parent #5))) #2)) #0)) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #0) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #1)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #1)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #1)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #1))) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #0) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #1)))) (:export-options nil :input-file "/private/tmp/index.org" :input-buffer "index.org" :html-doctype "html5" :html-description "impress.js is a presentation tool based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com." :html-fallback-message " <p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>\n<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>\n" :html-hint-message " <p>Use a spacebar or arrow keys to navigate</p>\n" :html-hint-js "if (\"ontouchstart\" in document.documentElement) {\ndocument.querySelector(\".hint\").innerHTML = \"<p>Tap on the left or right to navigate</p>\";\n}\n" :html-impress-js-stylesheet "resources/css/impress-demo.css" :html-impress-js-javascript "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :impress-js-toc nil :impress-js-title "Test this" :html-extension "html" :html-link-org-as-html t :html-container "div" :html-html5-fancy nil :html-link-use-abs-url nil :html-link-home "" :html-link-up "" :html-mathjax "" :html-postamble auto :html-preamble t :html-head "" :html-head-extra "" :html-head-include-default-style t ...))
#[(element) "\302� \"\207" [element info org-export-data] 3]((section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent (headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 (:parent #2))) :parent (org-data nil (section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent #4) (keyword (:key "TITLE" :value "Demo" :begin 1 :end 15 :post-blank 0 :post-affiliated 1 :parent #5)) (keyword (:key "AUTHOR" :value "Uri Sharf" :begin 15 :end 35 :post-blank 0 :post-affiliated 15 :parent #5)) (keyword (:key "OPTIONS" :value "num:nil ^:nil" :begin 35 :end 60 :post-blank 0 :post-affiliated 35 :parent #5)) (keyword (:key "IMPRESSJS_TITLE" :value "Test this" :begin 60 :end 89 :post-blank 0 :post-affiliated 60 :parent #5)) (keyword (:key "IMPRESSJS_SRC" :value "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :begin 89 :end 167 :post-blank 0 :post-affiliated 89 :parent #5)) (keyword (:key "STYLE" :value "<script src=\"http://bartaz.github.com/impress.js/js/impress.js\"></script><link href=\"http://bartaz.github.com/impress.js/css/impress-demo.css\" rel=\"stylesheet\" /><link href=\"/your/css/mystyle.css\" rel=\"stylesheet\" />" :begin 167 :end 393 :post-blank 0 :post-affiliated 167 :parent #5))) #2)) #0)) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #0) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #1)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #1)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #1)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #1))) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #0) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #1)))))
mapconcat(#[(element) "\302� \"\207" [element info org-export-data] 3] ((section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent (headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 (:parent #3))) :parent (org-data nil (section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent #5) (keyword ...) (keyword ...) (keyword ...) (keyword ...) (keyword ...) (keyword ...)) #3)) #1)) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #1) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #2)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #2)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #2)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #2))) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #1) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #2))))) "")
org-export-data((headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 (:parent #0))) :parent (org-data nil (section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent #2) (keyword (:key "TITLE" :value "Demo" :begin 1 :end 15 :post-blank 0 :post-affiliated 1 :parent #3)) (keyword (:key "AUTHOR" :value "Uri Sharf" :begin 15 :end 35 :post-blank 0 :post-affiliated 15 :parent #3)) (keyword (:key "OPTIONS" :value "num:nil ^:nil" :begin 35 :end 60 :post-blank 0 :post-affiliated 35 :parent #3)) (keyword (:key "IMPRESSJS_TITLE" :value "Test this" :begin 60 :end 89 :post-blank 0 :post-affiliated 60 :parent #3)) (keyword (:key "IMPRESSJS_SRC" :value "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :begin 89 :end 167 :post-blank 0 :post-affiliated 89 :parent #3)) (keyword (:key "STYLE" :value "<script src=\"http://bartaz.github.com/impress.js/js/impress.js\"></script><link href=\"http://bartaz.github.com/impress.js/css/impress-demo.css\" rel=\"stylesheet\" /><link href=\"/your/css/mystyle.css\" rel=\"stylesheet\" />" :begin 167 :end 393 :post-blank 0 :post-affiliated 167 :parent #3))) #0)) (section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent #0) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #1) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #2)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #2)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #2)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #2))) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #1) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #2))))) (:export-options nil :input-file "/private/tmp/index.org" :input-buffer "index.org" :html-doctype "html5" :html-description "impress.js is a presentation tool based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com." :html-fallback-message " <p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>\n<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>\n" :html-hint-message " <p>Use a spacebar or arrow keys to navigate</p>\n" :html-hint-js "if (\"ontouchstart\" in document.documentElement) {\ndocument.querySelector(\".hint\").innerHTML = \"<p>Tap on the left or right to navigate</p>\";\n}\n" :html-impress-js-stylesheet "resources/css/impress-demo.css" :html-impress-js-javascript "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :impress-js-toc nil :impress-js-title "Test this" :html-extension "html" :html-link-org-as-html t :html-container "div" :html-html5-fancy nil :html-link-use-abs-url nil :html-link-home "" :html-link-up "" :html-mathjax "" :html-postamble auto :html-preamble t :html-head "" :html-head-extra "" :html-head-include-default-style t ...))
#[(element) "\302� \"\207" [element info org-export-data] 3]((headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 (:parent #0))) :parent (org-data nil (section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent #2) (keyword (:key "TITLE" :value "Demo" :begin 1 :end 15 :post-blank 0 :post-affiliated 1 :parent #3)) (keyword (:key "AUTHOR" :value "Uri Sharf" :begin 15 :end 35 :post-blank 0 :post-affiliated 15 :parent #3)) (keyword (:key "OPTIONS" :value "num:nil ^:nil" :begin 35 :end 60 :post-blank 0 :post-affiliated 35 :parent #3)) (keyword (:key "IMPRESSJS_TITLE" :value "Test this" :begin 60 :end 89 :post-blank 0 :post-affiliated 60 :parent #3)) (keyword (:key "IMPRESSJS_SRC" :value "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :begin 89 :end 167 :post-blank 0 :post-affiliated 89 :parent #3)) (keyword (:key "STYLE" :value "<script src=\"http://bartaz.github.com/impress.js/js/impress.js\"></script><link href=\"http://bartaz.github.com/impress.js/css/impress-demo.css\" rel=\"stylesheet\" /><link href=\"/your/css/mystyle.css\" rel=\"stylesheet\" />" :begin 167 :end 393 :post-blank 0 :post-affiliated 167 :parent #3))) #0)) (section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent #0) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #1) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #2)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #2)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #2)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #2))) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #1) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #2))))))
mapconcat(#[(element) "\302� \"\207" [element info org-export-data] 3] ((section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent (org-data nil #1 (headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 ...)) :parent #3) (section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent #4) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #5) (node-property ...) (node-property ...) (node-property ...) (node-property ...)) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #5) #("This is an example text for slide 1, using impress.js.\n" 0 55 ...)))))) (keyword (:key "TITLE" :value "Demo" :begin 1 :end 15 :post-blank 0 :post-affiliated 1 :parent #1)) (keyword (:key "AUTHOR" :value "Uri Sharf" :begin 15 :end 35 :post-blank 0 :post-affiliated 15 :parent #1)) (keyword (:key "OPTIONS" :value "num:nil ^:nil" :begin 35 :end 60 :post-blank 0 :post-affiliated 35 :parent #1)) (keyword (:key "IMPRESSJS_TITLE" :value "Test this" :begin 60 :end 89 :post-blank 0 :post-affiliated 60 :parent #1)) (keyword (:key "IMPRESSJS_SRC" :value "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :begin 89 :end 167 :post-blank 0 :post-affiliated 89 :parent #1)) (keyword (:key "STYLE" :value "<script src=\"http://bartaz.github.com/impress.js/js/impress.js\"></script><link href=\"http://bartaz.github.com/impress.js/css/impress-demo.css\" rel=\"stylesheet\" /><link href=\"/your/css/mystyle.css\" rel=\"stylesheet\" />" :begin 167 :end 393 :post-blank 0 :post-affiliated 167 :parent #1))) (headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 (:parent #1))) :parent (org-data nil (section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent #3) (keyword (:key "TITLE" :value "Demo" :begin 1 :end 15 :post-blank 0 :post-affiliated 1 :parent #4)) (keyword (:key "AUTHOR" :value "Uri Sharf" :begin 15 :end 35 :post-blank 0 :post-affiliated 15 :parent #4)) (keyword (:key "OPTIONS" :value "num:nil ^:nil" :begin 35 :end 60 :post-blank 0 :post-affiliated 35 :parent #4)) (keyword (:key "IMPRESSJS_TITLE" :value "Test this" :begin 60 :end 89 :post-blank 0 :post-affiliated 60 :parent #4)) (keyword (:key "IMPRESSJS_SRC" :value "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :begin 89 :end 167 :post-blank 0 :post-affiliated 89 :parent #4)) (keyword (:key "STYLE" :value "<script src=\"http://bartaz.github.com/impress.js/js/impress.js\"></script><link href=\"http://bartaz.github.com/impress.js/css/impress-demo.css\" rel=\"stylesheet\" /><link href=\"/your/css/mystyle.css\" rel=\"stylesheet\" />" :begin 167 :end 393 :post-blank 0 :post-affiliated 167 :parent #4))) #1)) (section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent #1) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #2) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #3)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #3)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #3)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #3))) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #2) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #3)))))) "")
org-export-data((org-data nil (section (:begin 1 :end 394 :contents-begin 1 :contents-end 393 :post-blank 1 :parent #0) (keyword (:key "TITLE" :value "Demo" :begin 1 :end 15 :post-blank 0 :post-affiliated 1 :parent #1)) (keyword (:key "AUTHOR" :value "Uri Sharf" :begin 15 :end 35 :post-blank 0 :post-affiliated 15 :parent #1)) (keyword (:key "OPTIONS" :value "num:nil ^:nil" :begin 35 :end 60 :post-blank 0 :post-affiliated 35 :parent #1)) (keyword (:key "IMPRESSJS_TITLE" :value "Test this" :begin 60 :end 89 :post-blank 0 :post-affiliated 60 :parent #1)) (keyword (:key "IMPRESSJS_SRC" :value "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :begin 89 :end 167 :post-blank 0 :post-affiliated 89 :parent #1)) (keyword (:key "STYLE" :value "<script src=\"http://bartaz.github.com/impress.js/js/impress.js\"></script><link href=\"http://bartaz.github.com/impress.js/css/impress-demo.css\" rel=\"stylesheet\" /><link href=\"/your/css/mystyle.css\" rel=\"stylesheet\" />" :begin 167 :end 393 :post-blank 0 :post-affiliated 167 :parent #1))) (headline (:raw-value "Slide 1" :begin 394 :end 546 :pre-blank 0 :hiddenp outline :contents-begin 404 :contents-end 546 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :ROTATE-Y "40" :TRANS-X "1000" :TRANS-Z "500" :CUSTOM_ID "properties" :CATEGORY "index" :title (#("Slide 1" 0 7 (:parent #1))) :parent #0) (section (:begin 404 :end 546 :contents-begin 404 :contents-end 546 :post-blank 0 :parent #1) (property-drawer (:begin 404 :end 491 :hiddenp outline :contents-begin 417 :contents-end 485 :post-blank 0 :post-affiliated 404 :parent #2) (node-property (:key "rotate-y" :value "40" :begin 417 :end 431 :post-blank 0 :parent #3)) (node-property (:key "trans-x" :value "1000" :begin 431 :end 447 :post-blank 0 :parent #3)) (node-property (:key "trans-z" :value "500" :begin 447 :end 462 :post-blank 0 :parent #3)) (node-property (:key "CUSTOM_ID" :value "properties" :begin 462 :end 485 :post-blank 0 :parent #3))) (paragraph (:begin 491 :end 546 :contents-begin 491 :contents-end 546 :post-blank 0 :post-affiliated 491 :parent #2) #("This is an example text for slide 1, using impress.js.\n" 0 55 (:parent #3)))))) (:export-options nil :input-file "/private/tmp/index.org" :input-buffer "index.org" :html-doctype "html5" :html-description "impress.js is a presentation tool based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com." :html-fallback-message " <p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>\n<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>\n" :html-hint-message " <p>Use a spacebar or arrow keys to navigate</p>\n" :html-hint-js "if (\"ontouchstart\" in document.documentElement) {\ndocument.querySelector(\".hint\").innerHTML = \"<p>Tap on the left or right to navigate</p>\";\n}\n" :html-impress-js-stylesheet "resources/css/impress-demo.css" :html-impress-js-javascript "http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js" :impress-js-toc nil :impress-js-title "Test this" :html-extension "html" :html-link-org-as-html t :html-container "div" :html-html5-fancy nil :html-link-use-abs-url nil :html-link-home "" :html-link-up "" :html-mathjax "" :html-postamble auto :html-preamble t :html-head "" :html-head-extra "" :html-head-include-default-style t ...))
org-export-as(impress-js nil nil nil (:output-file "./index.html"))
org-export-to-file(impress-js "./index.html" nil nil nil nil nil)
org-impress-js-export-to-html(nil nil nil nil)
org-export-dispatch(nil)
call-interactively(org-export-dispatch nil nil)
command-execute(org-export-dispatch)
This does not seem to be compatible with the 8.0 exporter.
Loading the package says that org-exp is missing. Providing an older org-exp from old repository leads to new error, org-exp-blocks missing. Could not find org-exp-blocks. Leaving require org-exp out results in new error, unknown function.
Porting required.
Iannis Z.
I would love to try to start using org-impress-js, but I also like to be able to post my presentations directly online when I'm done with them. With org-html5presentation.el all of hte necessary css and javascript ends up in my html page, so it is very portable. With org-impress-js I need to put my presentation in the right spot in order for it to work properly. Is there a way to set the location of impress.js javascript and css files to fixed URL's? Then I could maintain a copy of impress.js on my server, and just point all of my presentations to the server for that code.
Thank you Kinjo!
Matt
The animation effect is really impressive, but doest this support overview of all the slides?
Currently, custom_id
property doesn't work, it crashes in org-impress-js-headline
function, because extra-ids
got "link-solidified" two times. I could remove the second mapconcat
doing this, so it doesn't crash any more. Now it doesn't work as expected, in the toc the href
is set to the specified custom_id
, it's good but not in the generated link in actual slide where we see something like outline-container-<custom_id>
.
I think it would be nice if we could properly set this property to actually have something more significant url-tag names than outline-container-unnumbered-3
.
Getting this on export when using the test file:
org-export-impress-js-convert-special-strings: Symbol's value as variable is void: org-export-html-special-string-regexps
Just did a fresh clone. Details:
uname -a
Linux 3.8.4-1-ARCH #1 SMP PREEMPT Wed Mar 20 22:10:25 CET 2013 x86_64 GNU/Linux
M-x org-version
Org-mode version 8.0-pre (release_8.0-pre-146-g73fe0a @ /home/jwhendy/.elisp/org.git/lisp/)
Any other details that might be helpful?
You're probably familiar with the exporter news, but if not, here's some background info:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.