emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Elasady, Summer" <sre@stowers.org>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Formatting issue when exporting with LaTeX/Beamer
Date: Fri, 7 Mar 2014 16:09:38 +0000	[thread overview]
Message-ID: <CF3F4B60.268F%sre@stowers.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1719 bytes --]

Hello-

Thanks in advance for any help/advice. I am new to LaTeX and Beamer and did not find any documentation on this specific issue.

I am trying to export to Beamer to create presentations out of my OrgMode documents and I’m running into a strange formatting issue. The headers are being printed out before any of the content. So my export will show all the headers in order, followed by all the content in order, instead of exporting header/content, header2/content2, etc.

I’ve even tried copying and pasting exactly the .emacs code and the template code from the following tutorials, and the same issue still occurs:


  *   http://orgmode.org/worg/exporters/beamer/tutorial.html
  *   http://www.crashcourse.ca/wiki/index.php/Using_Beamer_and_org_mode_to_write_slide_shows
  *   http://emacs-fu.blogspot.ca/2009/10/writing-presentations-with-org-mode-and.html

Here’s a screenshot of a template that I copied without alteration and attempted to export:

[cid:05F36DB2-7CF1-4722-82E2-E051CCBD3DD5]

And here’s a screenshot of the output, as you can see, the headings and content are out of order:

[cid:0352FCD4-8925-49D9-8C08-CA05DD61C3D3]

I’ve tried various combinations of the .emacs code from the websites listed above, but the only one that works is this (which is what I’m currently using to export):


(require 'ox-latex)
(add-to-list 'org-latex-classes
             '("beamer"
               "\\documentclass\[presentation\]\{beamer\}"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))


Thank you,

Summer Rae
SRE@stowers.org


[-- Attachment #1.2: Type: text/html, Size: 3773 bytes --]

[-- Attachment #2: Screen Shot 2014-03-07 at 9.45.48 AM.png --]
[-- Type: image/png, Size: 76838 bytes --]

[-- Attachment #3: Screen Shot 2014-03-07 at 10.04.15 AM.png --]
[-- Type: image/png, Size: 31069 bytes --]

             reply	other threads:[~2014-03-07 16:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-07 16:09 Elasady, Summer [this message]
2014-03-07 21:30 ` Formatting issue when exporting with LaTeX/Beamer Eric S Fraga
2014-03-07 22:06 ` Nick Dokos

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=CF3F4B60.268F%sre@stowers.org \
    --to=sre@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    /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).