1
0
mirror of https://github.com/yjwen/org-reveal.git synced 2024-06-24 07:26:35 +02:00
Commit Graph

262 Commits

Author SHA1 Message Date
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
Yujie Wen
df1ca20e81 Typo fix. 2015-02-06 23:08:30 +08:00
Yujie Wen
a93fc6f259 Change reveal.min.* to reveal.* 2015-02-06 23:01:08 +08:00
Yujie Wen
2f8ee48881 Add id to TOC section. 2015-02-04 22:40:44 +08:00
John D. Corless
954d6a5dd2 Removed min from revealjs file names 2015-02-03 15:47:57 -06:00
Yujie Wen
4a778f8f1c Add title slide background image 2015-02-04 00:36:54 +08:00
Yujie Wen
42f58f3cdc Merge from master branch 2015-02-02 23:14:19 +08:00
Gambhiro
2507b1ac72 option to disable title slide 2015-01-11 17:05:43 +00:00
Gambhiro
b4b5a9ccb3 fragment support for tables 2015-01-09 16:13:19 +00:00
Yujie Wen
216ae62f8c Deal with empty string in #+REVEA_PLUGINS 2014-12-09 23:01:52 +08:00
Yujie Wen
032dd10154 Add fragment support for quote block. 2014-12-03 22:38:02 +08:00
Yujie Wen
08db194120 Merge pull request #85 from EvanMisshula/org-publish
added publishing function for websites
2014-12-03 22:06:16 +08:00
Evan Misshula
f5183f369d added publishing function for websites 2014-11-27 22:12:42 -05:00
Stephen Barrett
7406c18503 added MULTIPLEX options to list 2014-11-04 10:51:23 +00:00
Stephen Barrett
1a2cc9e702 added documentation for multiplexing 2014-11-04 10:38:40 +00:00
Stephen Barrett
2622596302 added multiplex support via a few additional options 2014-11-04 10:33:03 +00:00
Yujie Wen
9ea30500e9 Suggest use stable branch for Org-mode stable release. 2014-10-16 23:40:22 +08:00
Yujie Wen
3ed122643a Add suggestion message if org-mode release versios are installed. 2014-10-13 10:14:55 +08:00
Yujie Wen
6a80a9950d Following new ox-html APIs. 2014-08-08 21:49:40 +08:00
Yujie Wen
3c839d0caa Add custom variable for extra JS, and fixed the bug of unexpected comma in joining builtin JS codes and empty extra JS codes. 2014-07-10 23:11:02 +08:00
Yujie Wen
0444db1cb0 Refined custom variable definition for org-reveal-plugins 2014-07-08 22:50:11 +08:00
Yujie Wen
2380fd7bc2 Configure built-in scripts by lisp list. 2014-06-12 21:38:35 +08:00
Yujie Wen
9381a76c91 Merge pull request #55 from maio/patch-1
Expand full path when opening exported HTML file
2014-04-10 00:29:43 +08:00
Marian Schubert
b623c2735f Expand full path when opening exported HTML file
Sometimes path is relative and browser fails to open the file.
2014-04-08 21:29:05 +02:00
Laurens Van Houtven
c971aa2d4b Add missing end quote for source blocks
Fixes #53.
2014-04-04 14:07:01 +02:00
Yujie Wen
8b11f09bd8 Fix the bug of exporting sub-tree. 2014-03-30 18:50:10 +08:00
Yujie Wen
6972b52ce5 Remove the abundant parenthesis in title. 2014-03-30 16:44:08 +08:00
Yujie Wen
3f998031a5 Add default fragment style. 2014-03-30 15:59:06 +08:00
Noah D. Brenowitz
a02e083198 fixed pdf export issue
I implement the fix in https://github.com/hakimel/reveal.js/issues/808 exactly.
This commit requires the use of a ?print-pdf modifier to the URL as detailed in
the issue above.
2014-03-25 02:41:41 -04:00
Christian Weilbach
c01bfab459 Merge branch 'master' of github.com:ghubber/org-reveal 2014-02-11 15:44:07 +01:00
yjwen
03dc77e650 To resolve the inconsistency of org-html-checkbox between Org-mode master and 8.2.5h 2014-02-11 15:10:08 +08:00
yjwen
6bff18a08c Updated to work with org-html 8.2.5g 2014-01-29 15:13:18 +08:00
yjwen
d3ecff2efb Merge branch 'master' of https://github.com/yjwen/org-reveal 2014-01-29 14:44:29 +08:00
yjwen
4b5c63e2cc change file mode. 2014-01-29 14:21:36 +08:00
Toby Crawley
e37f80007c Support overriding the title slide template with an option. 2014-01-10 10:21:09 -05:00
Christian Weilbach
b0ae84e510 Add reveal.js slide-number setting. 2014-01-05 11:58:40 +01:00
Sliim
6ac0be17e9 Add menu entry to export and browse HTML file.
Add function org-reveal-export-to-html-and-browse that call
org-reveal-export-to-html and browse generated file.

Add menu entry `C-c R B` to export and browse HTML file.
2013-11-10 23:51:25 +01:00
yujie
7f4974df36 change org-reveal-history and -roling-links to default nil 2013-10-19 22:53:31 +08:00
yjwen
36e4b26fd3 Add fragment to source blocks 2013-10-18 15:15:57 +08:00
yjwen
2cd595e9e1 Add data-transition 2013-10-12 16:37:31 +08:00
yjwen
7de94fb30f Extra JS and extra heading attribute. 2013-10-11 14:18:22 +08:00
Magnus Henoch
1acb41807f Handle standalone images as fragmented content
This now works as expected:

[[./my-image.png]]
2013-10-03 11:05:19 +01:00
Torstein Krause Johansen
f9bacaebc3 - generated markup is now well formed XML
- XML doc types should be uppercase.

- added a few new lines so that all elements are on their own line
2013-09-13 22:07:47 +02:00
yujie
5c5eb3ea5d Add HTML block support. 2013-09-11 20:56:42 +08:00
yjwen
525a554495 add background support. 2013-08-12 14:23:43 +08:00
yjwen
3fcf55b55b Full Org syntax support for speaker notes. 2013-07-29 10:07:57 +08:00
yjwen
cdb5eb78cb Speaker notes with markups. 2013-07-28 21:13:40 +08:00
yjwen
42a80007be Add support for speaker notes. 2013-07-23 14:10:32 +08:00
yjwen
d8e656009b Bold item list. 2013-07-04 09:59:48 +08:00
yjwen
a60af257ba add PDF.css to support print to PDF. 2013-07-04 09:41:44 +08:00
Constantine Vetoshev
5a3bde6606 Prevent type conversion export crashes when REVEAL_MARGIN, REVEAL_MIN_SCALE, or REVEAL_MAX_SCALE are not set in the input file. 2013-06-22 08:23:21 -07:00
yjwen
785aa05c55 Support custom slide size and scaling constraints. 2013-06-19 17:02:03 +08:00
yjwen
e88a93528f Add custom variable and option keyword for preambles in head part. 2013-06-19 12:11:11 +08:00
yjwen
d73e70736c Add REVEAL_HTML keyword for embedding raw HTML contents. 2013-06-19 11:51:33 +08:00
yjwen
da8be68719 add preamble/postamble support. 2013-06-17 18:04:27 +08:00