Commit Graph

216 Commits

Author SHA1 Message Date
Matt Price 2a4ca5941c add defcustoms for klipsification
User now decides whether or not to klipsify in a defcustom.
2016-12-11 11:37:52 -05:00
Matt Price e6bb3e376e generate iframe directly
Removes need for a javascript snippet in the reveal.js directory by
directly generating iframe code on export.
2016-12-11 11:29:53 -05:00
Matt Price 7b1d8520bf Initial Support for klipse plugin
It is now possible to edit supported languages in a live environment,
and to display code output.
2016-12-11 06:57:40 -05:00
Matt Price 880f1dbe5d Add external plugins to dependencies list
This uses the extenral plugins defined in `org-reveal-external-plugins'
as dependencies when reveal.js is loaded in the final file.
2016-12-10 12:50:02 -05:00
Matt Price 2cb78ccbeb Add defcustom org-reveal-external-plugins 2016-12-10 09:07:47 -05:00
Stephanus Volke 9e8668c45b add global header/footer support 2016-11-22 07:32:43 +01:00
Yujie Wen 8f7cf6c308 Merge pull request #243 from ggreif/patch-1
fix emacs-lisp warning
2016-11-04 10:52:00 +08:00
Gabor Greif a6fa641f95 Typo in doc string 2016-10-31 12:01:15 +01:00
Gabor Greif f713a80f48 fix emacs-lisp warning
```
In org-reveal-parse-token:
ox-reveal.el:744:6:Warning: `format' called with 2 args to fill 1 format
    field(s)
```
2016-10-31 11:57:11 +01:00
yujie d7ffc3fd1b Fixed #238, add #+HTML_HEAD and #+HTML_HEAD_EXTRA 2016-10-27 17:26:48 +08:00
yujie 87d3c25ae4 Fixed #241, wrap plain list with <form> when exporing HTML checkbox in order to display the checkbox selection properly. 2016-10-27 16:55:00 +08:00
Kaushal Modi 85e23eb4c3 Support setting default slide properties
Below comment keywords are now supported to set the default properties
    for non-title slides

    #+REVEAL_DEFAULT_SLIDE_BACKGROUND
    #+REVEAL_DEFAULT_SLIDE_BACKGROUND_SIZE
    #+REVEAL_DEFAULT_SLIDE_BACKGROUND_POSITION
    #+REVEAL_DEFAULT_SLIDE_BACKGROUND_REPEAT
    #+REVEAL_DEFAULT_SLIDE_BACKGROUND_TRANSITION

Fix the section tag for slides created by splitting using "#+REVEAL:
split". If the parent slide from which the new slide got split off had a
background, the new slide would get no background. That's because
splitting a slide did not automatically copy the parent slide's section
tag metadata to the new slide.

This commit fixes that bug too.
2016-09-14 15:17:13 -04:00
yujie d6108aae7d Fixed #221, support multiple stylesheet. 2016-08-25 13:25:30 +08:00
yujie 2ec80e1abe Fixed #225, correct the export error with fragment list. 2016-08-24 18:17:28 +08:00
Yujie Wen ceb38e21e6 Merge pull request #218 from 7696122/master
add option of background position
2016-07-26 14:24:54 +08:00
yujie 7a1f9a8cc8 Fixed #216: Fix the missed default fragment style. 2016-07-25 16:30:41 +08:00
김용문 859630a6eb add option of background position 2016-07-22 12:10:16 +09:00
yujie 6ee0e547dd Fixed #213. Do not embed online images. 2016-07-19 15:28:52 +08:00
yujie e1d0dd773a Merge branch 'master' into stable 2016-07-13 09:53:31 +08:00
yujie 6d36c4d6e2 Merge branch 'master' of https://github.com/yjwen/org-reveal 2016-06-22 14:51:22 +08:00
yujie 44bb75db1f Fixed #206: Allow multiple lines of REVEAL_HEAD_PREAMBLE 2016-06-22 14:50:49 +08:00
Yujie Wen 8ca4e8745b Merge pull request #211 from vatai/master
Add attributes to the <code> tag
2016-06-21 17:59:01 +08:00
Yujie Wen 2ec671de1c Merge pull request #207 from alvarogonzalezsotillo/master
REVEAL_INIT_SCRIPT didn't work if reveal_single_file was set
2016-06-21 17:55:08 +08:00
Emil Vatai c71f293be2 Add attributes to the <code> tag
Added the possibility to add attributes to the code tag for code blocks
which make the following code export with the <mark> highlighting as
described in:
https://github.com/hakimel/reveal.js/#code-syntax-highlighting

Example code:

  #+ATTR_REVEAL: :code_attribs data-noescape
  #+BEGIN_SRC python
    def implies(X,Y):
      return <mark>(not X) or Y</mark>
  #+END_SRC
2016-06-17 10:43:09 +02:00
yujie 84a445ce48 Fixed #205, fixed an error at calling org-html-format-spec 2016-05-31 16:11:29 +08:00
Álvaro González Sotillo 4e3cc6d4fd REVEAL_INIT_SCRIPT didn't work if reveal_single_file was set
:reveal-init-script should be included even if in-single-file is set
2016-05-30 21:21:56 +02:00
yujie 7917211a23 Fixed #164. Support #+HTML tag also. 2016-05-09 15:25:53 +08:00
yujie 45f1e3b586 Merge branch 'master' into stable 2016-05-05 11:08:16 +08:00
yujie a8e841aaa4 Fixed #182, add data-transition to both outer and inner <section> tag 2016-05-04 17:39:11 +08:00
yujie e9e2c6293a Add documents for setting the title slide. 2016-04-14 14:26:58 +08:00
yujie 2ce8c93512 Fixed #199: Automatic title slide to honor exporting options. 2016-04-13 18:27:37 +08:00
yujie 414ccf1626 Fixed #202: Embed extra CSS when in reveal_single_file 2016-04-12 17:14:44 +08:00
Anthony Cowley ca05044846 Don't use subr-x function.
This library wasn't properly required, so the previous patch for data-transition
didn't work with a compiled ox-reveal. Now we simply inline the
definition of string-empty-p ourselves as it is trivial.
2016-03-08 01:11:10 -05:00
Anthony Cowley 44ea78886e Attach data-transition attribute at outer section
The attribute to override slide transitions must be attached to the
outer section to have an effect.
2016-03-03 21:40:02 -05:00
yujie c4b6e7c3d6 Merge branch 'master' into stable 2016-02-25 10:19:05 +08:00
Anthony Cowley 19a3a95131 Wrap LaTeX environments in a div
This lets us add the =fragment= class when called for.

Fixes 181
2016-02-19 20:56:17 -05:00
Yujie Wen 017c676a19 Fixed #183. Add default embedded CSS for underlining. 2015-12-30 22:59:41 +08:00
Yujie Wen 2ab7bd5999 Fixed #185. To follow Org-mode's change of exporting special blocks. 2015-12-30 00:36:08 +08:00
Yujie Wen 91458b93de Fixed #175, fragment for both description and terms in a description list. 2015-12-08 23:55:35 +08:00
Yujie Wen cd52246d1a Merge pull request #168 from zeph1e/master
Fix wrong-type-argument error from REVEAL_PLUGINS header
2015-12-01 17:53:48 +08:00
AdrieanKhisbe a7a603d7be Remove execution mode to files 2015-11-25 19:15:58 +01:00
Yunsik Jang 69920273cb Fix wrong-type-argument error from REVEAL_PLUGINS header 2015-11-05 10:48:27 +09:00
Yujie Wen f1c9d4a4c8 Fixed #166. Support custom format for slide numbering. 2015-11-03 11:03:19 +08:00
Yujie Wen 7695b7b58e Add CSS when using highlight.js. Fixed #151 2015-10-26 15:08:43 +08:00
Yujie Wen b92d0e843f Merge branch 'master' into stable 2015-10-23 14:06:55 +08:00
Yujie Wen 30ff6a40e6 require cl at evaluation. 2015-10-22 14:05:08 +08:00
Yujie Wen 61e2f1ae4d Enable MathJax automatically. Fix #149 2015-10-14 17:59:09 +08:00
Yujie Wen c36d736dc0 Add custom JS to reveal.initialize. 2015-10-13 01:01:15 +08:00
Yujie Wen 4f3cffd106 Export only corrent sub-tree. 2015-09-28 16:53:50 +08:00
Yujie Wen 238523734f Fix all system-dependent url-to-path conversions. 2015-09-23 10:52:48 +08:00
Yujie Wen ec4ffdb0c1 Concat multiple #+REVEAL_TITLE_SLIDE_TEMPLATE 2015-09-20 22:37:11 +08:00
Yujie Wen 2ebe544b6e Extract local file path from URL by OS type. 2015-09-17 17:38:09 +08:00
Yujie Wen fa67514b67 Add easy template for speaker notes. 2015-09-16 15:50:42 +08:00
Yujie Wen 9064745f4b Remove org-reveal-paragraph as fragment has been handled in element property. 2015-09-15 15:56:51 +08:00
Yujie Wen 61bd02d812 Merge pull request #141 from malcolmsparks/master
Fixes #140
2015-09-08 14:13:48 +08:00
Yujie Wen e279afd4b5 Fix internal link to slides. 2015-09-08 14:02:46 +08:00
Malcolm Sparks 84d3005697 Fixes #140 2015-09-07 10:47:54 +01:00
Erik Hetzner 5d58980bb1 Do not xml declaration
With HTML5, an xml declaration is not necessary.
2015-08-31 21:50:20 -07:00
Yujie Wen a0cb668577 Add attr_html to images in single-file-export mode. 2015-08-24 23:41:27 +08:00
Yujie Wen 67f35631e8 Merged from master 2015-08-24 17:14:44 +08:00
Yujie Wen a972ddd4a4 Change the required Org-mode version to "20150330". 2015-08-17 13:22:09 +08:00
Yujie Wen 7874f0ee89 Fix typo. 2015-08-15 00:01:22 +08:00
Yujie Wen 961bb80f6b Don't call org-export-solidify-link-text 2015-08-03 15:17:39 +08:00
Yujie Wen 4adf7cde86 Check if image url is readable. 2015-07-29 22:57:21 +08:00
Yujie Wen 44f3e701f8 Embed JS. 2015-07-27 15:15:50 +08:00
Yujie Wen 74b9a3c8cb Embed svg. 2015-07-25 22:55:53 +08:00
Yujie Wen 528d1ddca9 Support embedded jpg/png/gif. 2015-07-25 14:20:16 +08:00
Matt Price 6c4579c311 * org-reveal-extra-css
fixed a typo in last commit!
2015-07-09 16:22:23 -04:00
Matt Price cf2b72f637 *ox-reveal.el adds option for extra css
org-reveal-extra-css: new defcustom allows URL to extra CSS to be set
for all files.
2015-07-09 16:17:57 -04:00
Anand Reddy Pandikunta a437e18c10 Update mathjax url
When uploading slide to web(say github pages), if site is using https, this wont load as it is using http.
2015-06-10 20:38:53 +05:30
William Denton d902720f29 Change org-export-get-headline-id to org-export-get-reference
Reflects 13 Apr 2015 change in Org
Commit 186bae42a4f1c7dd6b7a6af0bc1aebeb18025527
http://orgmode.org/w/?p=org-mode.git;a=commit;h=186bae42a4f1c7dd6b7a6af0bc1aebeb18025527
2015-05-08 17:24:21 -04:00
Christoph Ruegge 0815f6f49e Enable using highlight.js instead of htmlize.el for code blocks
When using highlight plugin, wrap src blocks in the required <pre><code>
tags. Additionally, in that case, htmlize.el fontification of the code
is inhibitied, since it should be carried out by hightlight.js. Also, do
not include the plugin by default in order not to break existing
documents relying on htmlize.
2015-04-25 20:39:25 +02:00
Yujie Wen 67a17d0835 Add escaping character introduction to the document string about org-reveal-title-slide-template to
Signed-off-by: Yujie Wen <yjwen.ty@gmail.com>
2015-04-13 17:19:34 +08:00
Yujie Wen c4b66bafff Auto extend insufficient fragment style list. 2015-04-09 15:00:14 +08:00
Yujie Wen 81a5db0c5f Do not wrap paragraph with fragment when it is a standalone image. 2015-04-08 23:31:42 +08:00
Yujie Wen 3a1205e3b0 Fix bug in generating list fragment. Merged from master branch. 2015-04-05 23:22:04 +08:00
Yujie Wen 151cdeaeaf Fix a bug in generating list fragment. 2015-04-05 16:26:25 +08:00
Yujie Wen bf5a52869b Fix the bug of speaker notes. 2015-04-05 00:52:32 +08:00
Yujie Wen 23c7ba3248 Fix bug in spearker notes. 2015-04-05 00:20:50 +08:00
Yujie Wen df2a1f8245 To enable fragment for paragraphs. 2015-04-02 23:21:58 +08:00
Yujie Wen 87238c7917 Default fragment style. 2015-04-02 18:15:04 +08:00
Yujie Wen ca9541d394 Merged from master branch. 2015-03-26 14:13:12 +08:00
Yujie Wen d77969eda7 Wrap header/footer with division. Add document about header/footer. 2015-03-25 17:25:17 +08:00
Yujie Wen c1aa1506b9 Add primary header/footer support. 2015-03-24 23:27:19 +08:00
Yujie Wen f1a112659e To fix the mis-positioned issue of links. 2015-03-18 17:22:35 +08:00
Yujie Wen 6cdfb6186e Fix broken link in TOC when headings are not numbered. 2015-03-17 17:22:52 +08:00
Yujie Wen 681c850998 Merge branch 'master' of https://github.com/yjwen/org-reveal 2015-03-06 00:14:52 +08:00
Yujie Wen a124e751e4 Support fragment index for list items. 2015-03-06 00:14:14 +08:00
Johann Klähn 599a877499 fix typo 2015-03-04 20:58:32 +01:00
Yujie Wen a79ec359d9 Support attr_html attributes in list items. 2015-03-04 23:29:18 +08:00
Yujie Wen 4966b83002 Add fragment index to element's HTML attributes. 2015-03-03 23:53:36 +08:00
Yujie Wen 07900f29fa none in fragment style list to disable list item's fragment. 2015-02-25 22:42:28 +08:00
Yujie Wen 2aa5f1a819 Finer control of fragment on list items.
And Happy Chinese New Year!
2015-02-18 23:48:31 +08:00
Yujie Wen c69f7551aa To test my contribution. 2015-02-16 16:19:00 +08:00
Yujie Wen 53c4aba696 Add pre-filtering function to map attr_reveal value to corresponding attr_html values. 2015-02-15 15:25:39 +08:00
Yujie Wen c276f2739f Remove obsolete org-reveal-paragraph 2015-02-12 22:47:32 +08:00
Yujie Wen 091ef0d996 Add a wrapper function to convert reveal attributes to HTML attributes
. Change table and paragraph transcoder to wrapped ox-html ones.
2015-02-12 22:43:41 +08:00
Yujie Wen 45f43ebdef Change default theme to 'moon' as 'default' theme is removed from Reveal.js 2015-02-09 22:53:26 +08:00
Yujie Wen c9c265537b Merge branch 'reorg' 2015-02-09 16:32:15 +08:00
Yujie Wen 24bd4e484a Re-orginize codes. 2015-02-08 22:49:39 +08:00