Permalink
Browse files

now displays inline images

  • Loading branch information...
eschulte committed Oct 29, 2010
1 parent 258a0d0 commit b2dd9b0509dac5bc1e609ae4b25b58e4e6e42335
Showing with 10 additions and 4 deletions.
  1. +3 −2 epresent.el
  2. BIN org-mode-unicorn.png
  3. +7 −2 present.org
View
@@ -200,7 +200,9 @@
(push (make-overlay (match-beginning 1) (match-end 1)) epresent-overlays)
(overlay-put (car epresent-overlays) 'invisible 'epresent-hide)
(push (make-overlay (match-beginning 2) (match-end 2)) epresent-overlays)
- (overlay-put (car epresent-overlays) 'face 'epresent-author-face))))
+ (overlay-put (car epresent-overlays) 'face 'epresent-author-face))
+ ;; inline images
+ (org-display-inline-images)))
(defvar epresent-mode-map
(let ((map (make-keymap)))
@@ -223,7 +225,6 @@
(text-scale-adjust epresent-text-scale)
;; make Org-mode be as pretty as possible
(setq epresent-inline-image-overlays org-inline-image-overlays)
- (setq org-inline-image-overlays t)
(setq epresent-src-fontify-natively org-src-fontify-natively)
(setq org-src-fontify-natively t)
(let ((org-format-latex-options
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -28,15 +28,15 @@ Call =epresent-run= to present an Org-mode buffer.
(epresent-top))
#+end_src
-* Three -- LaTeX Images
+* Three -- LaTeX images
Kinetic Energy:
\begin{equation*}
e = \frac{1}{2}mv^2
\end{equation*}
-* Four -- Tables
+* Four -- tables
Squares
| 1 | 1 |
@@ -46,3 +46,8 @@ Squares
| 5 | 25 |
| 6 | 36 |
#+TBLFM: $2=$1*$1
+
+* Five -- images
+
+in-line image display
+[[file:org-mode-unicorn.png]]

0 comments on commit b2dd9b0

Please sign in to comment.