From: Jambunathan K <kjambunathan@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Tom Tromey <tromey@redhat.com>, Org Mode <emacs-orgmode@gnu.org>,
Phil Hagelberg <phil@hagelb.org>
Subject: Re: epresent and Org-mode: using Emacs to run presentations of Org-mode docs
Date: Fri, 29 Oct 2010 07:31:43 +0530 [thread overview]
Message-ID: <81mxpxeozc.fsf@gmail.com> (raw)
In-Reply-To: <87d3qudjhi.fsf@gmail.com> (Eric Schulte's message of "Thu, 28 Oct 2010 16:40:53 -0600")
"Eric Schulte" <schulte.eric@gmail.com> writes:
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> "Eric Schulte" <schulte.eric@gmail.com> 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.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-10-29 2:01 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-28 14:35 epresent and Org-mode: using Emacs to run presentations of Org-mode docs Eric Schulte
2010-10-28 14:55 ` Richard Riley
2010-10-28 19:01 ` Łukasz Stelmach
2010-10-28 22:41 ` Eric Schulte
2010-10-29 6:17 ` Łukasz Stelmach
2010-10-29 11:08 ` Eric S Fraga
2010-10-29 13:14 ` Łukasz Stelmach
2010-10-29 14:19 ` Eric S Fraga
2010-11-01 22:47 ` Christian Moe
2010-11-02 10:40 ` Rainer M Krug
2010-11-02 11:25 ` Christian Moe
2010-11-02 13:19 ` Rainer M Krug
2010-11-02 14:20 ` Nick Dokos
2010-11-02 20:05 ` Christian Moe
2010-11-02 17:51 ` Tom Short
2010-11-02 19:40 ` Christian Moe
2010-10-28 17:53 ` Jambunathan K
2010-10-28 22:40 ` Eric Schulte
2010-10-29 2:01 ` Jambunathan K [this message]
2010-10-29 4:27 ` Eric Schulte
2010-10-28 19:02 ` Łukasz Stelmach
2010-10-28 20:16 ` Scot Becker
2010-10-28 21:55 ` Christopher Allan Webber
2010-10-28 22:30 ` Eric Schulte
2010-10-28 22:42 ` Eric Schulte
2010-10-28 19:29 ` Sébastien Vauban
2010-10-28 22:43 ` Eric Schulte
2010-10-29 4:41 ` Eric Schulte
2010-10-28 20:30 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81mxpxeozc.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=phil@hagelb.org \
--cc=schulte.eric@gmail.com \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).