emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: epresent and Org-mode: using Emacs to run presentations of


From: Jambunathan K
Subject: [Orgmode] Re: epresent and Org-mode: using Emacs to run presentations of Org-mode docs
Date: Fri, 29 Oct 2010 07:31:43 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (windows-nt)

"Eric Schulte" <address@hidden> writes:

> Jambunathan K <address@hidden> writes:
>
>> "Eric Schulte" <address@hidden> writes:
>>
>>> Hi,
>>>
>>> Phil Hagelberg recently introduced me to epresent.el by Tom Tromey.
>>> It's a very nice little utility for giving presentations using Emacs as
>>> the display engine.  Obviously I was aghast to learn that epresent
>>> didn't work with Org-mode documents.  I took the liberty of reworking it
>>> so that it runs off of Org-mode documents and uses Org-mode both to
>>> structure the presentation and to handle most of the fancy display
>>> elements.
>>>
>>> This re-working was mainly a series of quick hacks, and is certainly not
>>> "mature" in any way.  But I think it is usable in it's current state for
>>> running simple presentations, and thought it may be interesting or of
>>> use to people here.  If you're interested check out the example
>>> presentation included in the source code repository.
>>>
>>> http://github.com/eschulte/epresent
>>> (instructions in the README)
>>>
>>
>> I think (require 'org-exp) is required.
>>
>
> do you know what for?
>

This is the trace I got otherwise. (See the trace at the end of the mail)

>>
>> Looks like it walks you through the headline one at a time and
>> presents the entry contents as such.
>>
>
> yes
>

And it fontifies the headlines in bold fonts just as in slides (actually
too big for my NetBook).

Yesterday when I did a quick run the presentation was insipid and I
didn't get to see the big slide-like fonts. Honestly, I was a bit
surprised at why others were wowing. 

I ran the presentation today right after also doing a C-c C-e d (for
verifying Thomas' bug report on LaTeX internal links) and I see the
altered behaviour. I do think it is pretty impressive.

I think loading the org-latex.el makes this difference.

>>
>> When I get to the equations slide what should I expect to see? The
>> equation fully rendered (as in text books) or just the markup (as it is
>> literally typed).
>>
>
> I see an image overlay of the latex fragment.  Is that not what you see?
>

No I don't see any overlays. I will investigate the problem sometime
later. Possible that it has something to do with ltxpng or missing image
libraries.

Jambunathan K.

Trace: 

Debugger entered--Lisp error: (void-function org-infile-export-plist)
  (org-infile-export-plist)
  (plist-get (org-infile-export-plist) :latex-header-extra)
  (let* ((prefixnodir ...) (absprefix ...) (todir ...) (opt 
org-format-latex-options) (matchers ...) (re-list org-latex-regexps) 
(org-format-latex-header-extra ...) (cnt 0) txt hash link beg end re e checkdir 
executables-checked string m n block linkfile movefile ov) (while (setq e ...) 
(setq m ... re ... n ... block ...) (when ... ... ...)))
  org-format-latex("ltxpng/present" "c:/Documents and Settings/kjambunathan/My 
Documents/My Data/elisp/eschulte-epresent-016f027/" overlays "Creating images 
for entry...%s" nil forbuffer dvipng)
  (let (beg end at msg) (cond (... ...) (... ... ...) (t ... ...)) (message msg 
"") (narrow-to-region beg end) (goto-char beg) (org-format-latex (concat 
"ltxpng/" ...) default-directory (quote overlays) msg at (quote forbuffer) 
(quote dvipng)) (message msg "done.  Use `C-c C-c' to remove images."))
  (save-restriction (let (beg end at msg) (cond ... ... ...) (message msg "") 
(narrow-to-region beg end) (goto-char beg) (org-format-latex ... 
default-directory ... msg at ... ...) (message msg "done.  Use `C-c C-c' to 
remove images.")))
  (save-excursion (save-restriction (let ... ... ... ... ... ... ...)))
  org-preview-latex-fragment(16)
  (let ((org-format-latex-options ...)) (org-preview-latex-fragment 16))
  (let ((delay-mode-hooks t)) (org-mode) (setq major-mode (quote 
epresent-mode)) (setq mode-name "EPresent") (progn (if ... ...) (unless ... 
...) (let ... ...)) (use-local-map epresent-mode-map) (set-syntax-table 
epresent-mode-syntax-table) (setq local-abbrev-table 
epresent-mode-abbrev-table) (text-scale-adjust 0) (text-scale-adjust 
epresent-text-scale) (setq org-inline-image-overlays t) (setq 
org-src-fontify-natively t) (let (...) (org-preview-latex-fragment 16)) 
(add-to-invisibility-spec (quote ...)) (org-remove-flyspell-overlays-in 
(point-min) (point-max)) (epresent-fontify))
  (progn (make-local-variable (quote delay-mode-hooks)) (let (...) (org-mode) 
(setq major-mode ...) (setq mode-name "EPresent") (progn ... ... ...) 
(use-local-map epresent-mode-map) (set-syntax-table epresent-mode-syntax-table) 
(setq local-abbrev-table epresent-mode-abbrev-table) (text-scale-adjust 0) 
(text-scale-adjust epresent-text-scale) (setq org-inline-image-overlays t) 
(setq org-src-fontify-natively t) (let ... ...) (add-to-invisibility-spec ...) 
(org-remove-flyspell-overlays-in ... ...) (epresent-fontify)))
  (delay-mode-hooks (org-mode) (setq major-mode (quote epresent-mode)) (setq 
mode-name "EPresent") (progn (if ... ...) (unless ... ...) (let ... ...)) 
(use-local-map epresent-mode-map) (set-syntax-table epresent-mode-syntax-table) 
(setq local-abbrev-table epresent-mode-abbrev-table) (text-scale-adjust 0) 
(text-scale-adjust epresent-text-scale) (setq org-inline-image-overlays t) 
(setq org-src-fontify-natively t) (let (...) (org-preview-latex-fragment 16)) 
(add-to-invisibility-spec (quote ...)) (org-remove-flyspell-overlays-in 
(point-min) (point-max)) (epresent-fontify))
  epresent-mode()
  epresent-run()
  call-interactively(epresent-run t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)



>>
>> Jambunathan K.
>>
>>> Best -- Eric
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Please use `Reply All' to send replies to the list.
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]