Commit Graph

242 Commits

Author SHA1 Message Date
Yujie Wen 2cfaee9b49 Merge branch 'master' of https://github.com/jmhammond/org-reveal into jmhammond-master 2019-06-16 00:11:37 +08:00
Yujie Wen 29588ebf26
Merge pull request #357 from whatacold/support-percentage-width
Fix #356: support width and height in percentage.
2019-06-11 00:02:07 +08:00
Yujie Wen 5811fbde3b Use org-structure-template-alist's version attribute instead of org-version 2019-06-10 23:57:26 +08:00
Yujie Wen 1b7957f732
Merge pull request #364 from ezchi/hotfix/support-new-org-struct-template-alist-format
Support new org-structure-template-alist format in org-mode v9.2
2019-06-09 23:18:50 +08:00
Yujie Wen 3cebf32ffc
Merge pull request #365 from ertwro/patch-1
Trim long exported code blocks
2019-06-09 23:16:15 +08:00
admin@turbocafe.in.eu.org 9a7eef5640
update for reveal.js>3.7.0: missing head.min.js not needed anymore 2019-05-14 15:21:41 +03:00
John Hammond f9574b9093 Fixed org-structure-template-alist for compatibility with Org 9.2. 2019-01-31 09:49:07 -06:00
J.P. Silva 4c6681389a
Trim long exported code blocks
When using highlight js one can trim by using html but when exporting code blocks and using htmlize.el this doesn't seem possible.
2019-01-31 04:07:21 -05:00
Enze Chi e1132847c9 Support new org-structure-template-alist format in org-mode v9.2 2019-01-24 23:04:50 +11:00
whatacold 653e135b1a Fix #356: support width and height in percentage. 2018-11-13 12:58:12 +08:00
John Hammond 42bb04ed05 Conditional bibliography
Conditionally include a bibliography from org-ref, if it exists. Do nothing if
it does not.
2018-07-26 21:29:39 -05:00
John Hammond 03594e02b3 Include the org-ref bibliography at the end of the slides. 2018-07-26 18:48:11 -05:00
Yujie Wen 1cdd088ec5 Merge pull 2018-07-22 11:03:46 +08:00
Yujie Wen 7c0873ed19 Fixed #332. Need to change default-style to default-style-list when there is frag_idx 2018-07-22 11:00:47 +08:00
Yujie Wen 1e223119d9
Merge pull request #330 from jamieforth/fix/org-depend-version
Change Package-Requires to use an org-mode release version.
2018-07-18 00:14:56 +08:00
Yujie Wen f48077a11b Fix the org-html-checkbox error. 2018-07-18 00:00:25 +08:00
Yujie Wen 6052357f26 Fix TOC links 2018-07-16 00:17:21 +08:00
Yujie Wen 3b02186a81 Catch up with MELPA org-mode. 2018-07-12 00:46:29 +08:00
Yujie Wen 9df5f02b7e
Merge pull request #257 from titaniumbones/klipse-support
Support for live execution of code snippets
2018-06-20 00:33:11 +08:00
Jamie Forth ce469f4632 Change Package-Requires to use an org-mode release version.
Depending on an org timestamp makes ox-reveal uninstallable via
melpa if org is installed by any means that uses release versions.
2018-06-12 11:18:35 +01:00
Jb DOYON b06d581474
Fix incorrect org-reveal-title-slide docstring
%s is actually subtitle
2018-03-15 17:24:58 +00:00
Phillip Lord b814daa8f7 Enable stable numbering scheme for slides 2017-08-04 16:41:28 -04:00
Nicholas J Meyer 6d913caed8 assign HTML_CONTAINER_CLASS property to reveal section class 2017-07-29 15:27:25 -04:00
yujie 55e273ac9f Fix typo. 2017-02-06 16:35:52 +08:00
Matt Price 55c64c17a5 Complete support for klipsification of HTML blocks
Remove old debugging/failed attempts.

Do not allow  htmlize.el to syntax highlight html code.  Escape all
illegal characters from the iframe.  Double escape ampersands inside the
code block.
2016-12-14 14:43:13 -05:00
Matt Price eb71c78414 Moving towards functional klipsification of html
includes some dead code
2016-12-14 14:35:42 -05:00
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